joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f8c7
Capabilities:
Check if file exists

Disassembly:
push 0x15c
mov eax, 0x478d27
call fcn.0045fd3a
push 0x118
xor ebx, ebx
lea eax, [ebp - 0x164]
push ebx
push eax
mov dword [ebp - 0x168], 0x11c
call fcn.00460930
add esp, 0xc
call fcn.0040c4ac
mov edi, 0x483838
test eax, eax
je 0x41f9b3
push edi
call fcn.0040dd1a
test eax, eax
je 0x41f9b3
push edi
call fcn.0040ddd4
test eax, eax
jne 0x41f9b3
lea esi, [ebp - 0x168]
call fcn.0040c4fe
test eax, eax
je 0x41f9b3
cmp dword [ebp - 0x164], 6
jne 0x41f9b3
push edi
push 0x483900
lea ecx, [ebp - 0x48]
call fcn.0040d940
pop ecx
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x41f95c
lea eax, [ebp - 0x44]
push str.ImagePath
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x2c]
call fcn.0040da6b
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x41f999
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41f983
lea eax, [ebp - 0x28]
push str.swvv64_win7.sys
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x41f999
push edi
call fcn.0040dd7e
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.0040144b
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.0040144b
push edi
call fcn.0040dd1a
test eax, eax
je 0x41f9e9
push edi
call fcn.0040dcb3
test eax, eax
je 0x41f9cc
xor eax, eax
inc eax
jmp 0x41f9fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41f9e3
cmp eax, 3
je 0x41f9e3
cmp eax, 0x241
jne 0x41f9fc
push edi
call fcn.0040dd7e
call fcn.0041e4a6
test eax, eax
je 0x41f9fc
push edi
call fcn.0040dcb3
test eax, eax
jne 0x41f9c7
xor eax, eax
call fcn.0045fdbd
ret
Function at 0x421ded
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x495040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x128], 0
push esi
push edi
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0xc]
push 0x3f
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0xab]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0xac], 0
call fcn.00460930
lea edi, [ebp - 0xac]
add esp, 0xc
movsd dword es:[edi], dword [esi]
xor eax, eax
mov cl, byte [ebp + eax - 0xac]
mov dl, cl
xor dl, 0x36
xor cl, 0x5c
mov byte [ebp + eax - 0x104], dl
mov byte [ebp + eax - 0x6c], cl
inc eax
cmp eax, 0x40
jb 0x421e40
lea eax, [ebp - 0xc4]
call fcn.00423dc3
lea eax, [ebp - 0x104]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xc4]
call fcn.00423de7
push dword [ebp - 0x124]
mov eax, dword [ebp + 0x10]
call fcn.00423de7
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00423e7d
lea eax, [ebp - 0x11c]
call fcn.00423dc3
lea eax, [ebp - 0x6c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x11c]
call fcn.00423de7
lea eax, [ebp - 0x18]
push eax
push 0x10
pop eax
call fcn.00423de7
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00423e7d
mov esi, dword [ebp - 0x120]
add esp, 0x18
push 0x10
lea eax, [ebp - 0x28]
push eax
call fcn.0040e440
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045e86d
leave
ret

Function at 0x4220f2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.0046a3d0
mov eax, dword [0x495040]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.004221d5
test al, al
je 0x4221c8
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push str.__ls__ls
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x483bd0
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.00422015
cmp dword [eax + 0x18], 8
pop ecx
jb 0x422163
mov eax, dword [eax + 4]
jmp 0x422166
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 1
lea esi, [ebp - 0x2028]
call fcn.0040144b
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.0045e86d
leave
ret
Function at 0x4222ae
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea eax, [ebp - 0x30]
push 0x483fe0
push eax
call fcn.0040b891
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x10]
lea esi, [ebp - 8]
mov dword [ebp - 0x10], eax
call fcn.0041b3a5
test al, al
jne 0x422313
call fcn.0040f0bc
cmp dword [eax + 0x18], 8
jb 0x4222ff
mov eax, dword [eax + 4]
jmp 0x422302
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 8]
call fcn.00403151
jmp 0x4222d4
lea eax, [ebp - 0x30]
push eax
call fcn.00402d68
pop edi
pop esi
leave
ret
Function at 0x422683
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x495040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
call fcn.0040c914
mov dword [ebp - 0x234], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.00460930
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x484004
lea eax, [ebp - 0x214]
push eax
call esi
lea ecx, [ebp - 0x214]
call fcn.004222ae
push ebx
lea eax, [ebp - 0x214]
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422733
push eax
lea eax, [ebp - 0x214]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
jmp 0x4227c4
push edi
lea ecx, [ebp - 0x214]
call fcn.0040c0e3
test eax, eax
jne 0x4227c2
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x214]
push eax
push edi
call esi
test eax, eax
jne 0x4227c2
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00422288
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
pop ecx
pop ecx
jae 0x422784
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4227af
push ebx
lea eax, [ebp - 0x214]
push eax
push edi
call esi
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
jmp 0x4227b2
push 9
pop edi
push ebx
push 1
lea esi, [ebp - 0x230]
call fcn.0040144b
jmp 0x4227c4
xor edi, edi
push dword [ebp - 0x234]
call fcn.0040c954
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e86d
leave
ret

Function at 0x422b14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x422b2e
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x422b2a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x495040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.00422e1d
mov bl, al
mov al, dl
call fcn.00422e1d
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.00422e1d
mov bl, al
mov al, byte [esi - 4]
call fcn.00422e1d
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.00422e1d
mov bl, al
mov al, byte [esi]
call fcn.00422e1d
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.00422e1d
mov bl, al
mov al, byte [esi - 0xc]
call fcn.00422e1d
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x422c7f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e86d
leave
ret 4

Function at 0x422d0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x495040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.00422e99
push ebx
mov dl, al
call fcn.00422e72
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.00422e2d
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.00422e4b
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.00422e2d
push ebx
mov byte [ebp - 0x15], al
call fcn.00422e4b
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.00422e72
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.00422e99
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.00422e72
mov bl, al
mov al, byte [edi + 4]
call fcn.00422e99
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.00422e4b
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.00422e2d
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.00422e4b
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.00422e2d
xor bl, al
mov al, dl
call fcn.00422e99
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.00422e72
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x422d38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e86d
leave
ret 4
Function at 0x423568
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x477d18
call fcn.0045fd3a
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x30], esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423587
sub eax, edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.004034a2
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
jbe 0x42368d
jmp 0x4235b6
mov ebx, dword [ebp + 0xc]
movsx eax, byte [esi + ebx]
mov al, byte [eax + 0x482cf0]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x4235ca
cmp al, 0xff
je 0x4235b6
cmp al, 0xff
je 0x42368d
movsx ecx, byte [esi + ebx]
mov cl, byte [ecx + 0x482cf0]
inc esi
mov byte [ebp - 0x31], cl
cmp esi, dword [ebp - 0x30]
jae 0x4235ea
cmp cl, 0xff
je 0x4235d2
cmp cl, 0xff
je 0x42368d
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
push 1
lea edi, [ebp - 0x2c]
call fcn.0040ea63
jmp 0x423611
mov ebx, dword [ebp + 0xc]
mov bl, byte [esi + ebx]
inc esi
cmp bl, 0x3d
je 0x42368d
movsx eax, bl
mov bl, byte [eax + 0x482cf0]
cmp esi, dword [ebp - 0x30]
jae 0x42362d
cmp bl, 0xff
je 0x42360e
cmp bl, 0xff
je 0x42368d
mov al, byte [ebp - 0x31]
mov cl, bl
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
push 1
lea edi, [ebp - 0x2c]
call fcn.0040ea63
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x42368d
movsx eax, al
mov al, byte [eax + 0x482cf0]
cmp esi, dword [ebp - 0x30]
jae 0x42366d
cmp al, 0xff
je 0x423650
cmp al, 0xff
je 0x42368d
shl bl, 6
or bl, al
movzx eax, bl
push eax
push 1
lea edi, [ebp - 0x2c]
call fcn.0040ea63
cmp esi, dword [ebp - 0x30]
jb 0x4235b3
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.00402c8b
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403021
mov eax, dword [ebp - 0x38]
call fcn.0045fdbd
ret

Function at 0x423dc3
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x42437c
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c8
mov eax, 0x47916c
call fcn.0045fd3a
mov eax, dword [ebp + 8]
mov edi, ecx
mov esi, edi
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2cc], eax
call fcn.004245a5
push 0x497038
lea eax, [ebp - 0x98]
call fcn.0042554b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4970c0]
cmp word [eax], bx
jne 0x4244bb
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x98]
push eax
call fcn.0042576c
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x424423
push str.Error_opening_file
mov eax, edi
call fcn.00424de7
mov bl, al
lea ecx, [ebp - 0x98]
call fcn.0042556b
mov al, bl
call fcn.0045fdbd
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x424438
push ebx
push 0x4841b0
jmp 0x424405
cmp esi, 0x400000
jbe 0x424448
push ebx
push 0x4841cc
jmp 0x424405
push esi
mov dword [ebp - 0x2cc], ebx
call fcn.0046a8ba
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x2cc]
push eax
push esi
push edi
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], esi
je 0x4244a0
push edi
call fcn.0046b152
mov esi, dword [ebp - 0x2d4]
pop ecx
call fcn.004245a5
push ebx
push 0x4841ec
mov eax, esi
jmp 0x424407
push esi
push edi
push dword [ebp - 0x2d4]
call fcn.004242f1
push edi
mov bl, al
call fcn.0046b152
pop ecx
jmp 0x42440e
push eax
lea eax, [ebp - 0x98]
call fcn.0042557c
cmp byte [0x49663f], bl
je 0x4244d7
mov esi, dword [0x49a354]
jmp 0x4244e5
push dword [ebp - 0x98]
call fcn.0043bb14
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x4244f4
push ebx
push 0x484214
jmp 0x424405
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2c8]
push eax
push esi
lea edx, [ebp - 0x2d0]
call fcn.0043bb6a
pop ecx
pop ecx
test eax, eax
je 0x42451e
push ebx
push 0x484244
jmp 0x424405
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2cc], eax
cmp eax, ebx
je 0x424430
cmp eax, 0x400000
ja 0x424440
push eax
call fcn.0046a8ba
pop ecx
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
mov eax, esi
call fcn.0043bc3c
add esp, 0xc
cmp eax, ebx
je 0x42458d
cmp eax, 0x600
je 0x42458d
push edi
call fcn.0046b152
pop ecx
cmp byte [0x49663f], bl
jne 0x42457c
call fcn.0043bc6e
mov eax, dword [ebp - 0x2d4]
push ebx
push 0x484278
jmp 0x424407
cmp byte [0x49663f], bl
jne 0x42459a
call fcn.0043bc6e
push dword [ebp - 0x2cc]
jmp 0x4244a1

Function at 0x425e66
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x425e7c
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x425e88
or edi, 2
push 1
call esi
test ax, ax
jge 0x425e94
or edi, 1
push 0x10
call esi
test ax, ax
jge 0x425ea0
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x425eac
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x426811
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x2dc], edi
jle 0x426854
mov eax, dword [esi + 0x2d8]
lea edx, [ebp + 0xf]
push edx
push dword [ebp + 0x10]
mov byte [ebp + 0xf], 0
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
push ebx
push dword [ebp + 8]
call dword [eax]
cmp byte [ebp + 0xf], 0
jne 0x4268c2
inc edi
cmp edi, dword [esi + 0x2dc]
jl 0x426829
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x426927
sub eax, 4
je 0x4268c6
dec eax
dec eax
jne 0x42691e
cmp dword [esi + 0xe4], eax
je 0x42691e
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
push ebx
stosw word es:[edi], ax
call fcn.0046b74b
pop ecx
mov ecx, dword [esi + 0xe4]
push send
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x42ad18
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x42691e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov al, 1
jmp 0x426920
mov edx, dword [esi + 0xe8]
test edx, edx
je 0x42691e
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], edx
mov word [ebp - 0x10], bx
mov dword [ebp - 0x14], eax
call fcn.00425e66
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp ebx, 9
jne 0x42691e
cmp dword [esi + 0xe8], 0
je 0x426984
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x426984
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
call dword [eax + 0xe8]
test al, al
je 0x426984
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
push 0x4844b4
call dword [eax + 0x10]
push eax
call fcn.0046bfcd
pop ecx
pop ecx
test eax, eax
je 0x426984
mov eax, dword [esi + 0xe8]
cmp byte [eax + 0x699], 0
jne 0x42691e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
call fcn.00429486
jmp 0x4268c2
Function at 0x42904c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
je 0x42908b
mov ecx, dword [esi + 0x84]
cmp eax, ecx
je 0x42908b
cmp ebx, dword [esi + 0xe8]
je 0x42908b
cmp byte [esi + 0xe0], 0
jne 0x42908b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xe8]
cmp ebx, eax
je 0x42916a
test eax, eax
je 0x4290ee
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
xor edi, edi
push edi
push edi
push edi
push dword [esi + 0xe8]
mov ecx, 0x484504
call fcn.00429777
mov dword [esi + 0xe8], edi
test ebx, ebx
je 0x42916a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
cmp eax, esi
jne 0x42916a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xdc]
test al, al
je 0x42916a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
je 0x42916a
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esi + 0xe8], ebx
mov dword [esp + 0x10], 0x15
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
xor eax, eax
push eax
push eax
push eax
push dword [esi + 0xe8]
mov ecx, 0x484518
call fcn.00429777
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43a034
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, dword [esp + 8]
test ecx, ecx
jne 0x43a041
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x43a0f3
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x482768]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x482768]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x482768]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x482768]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x482768]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x482768]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x482768]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x482768]
inc ecx
sub edi, 8
dec esi
jne 0x43a058
pop ebx
test edi, edi
je 0x43a10c
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x482768]
inc ecx
dec edi
jne 0x43a0f7
pop esi
not eax
pop edi
ret

Function at 0x43a7f7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x43a827
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43a822
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x43a84f
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x43a838
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004609b0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x43cc73
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x694], ebx
je 0x43ccdf
cmp dword [ebp + 8], 0x100
jne 0x43ccce
cmp word [ebp + 0xc], 0xd
jne 0x43ccce
cmp byte [edi + 0x69a], bl
jne 0x43ccb1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x43ccce
cmp byte [edi + 0x69b], bl
je 0x43ccce
push esi
mov esi, dword [edi + 0x5c]
cmp esi, ebx
je 0x43ccc9
push 1
push ebx
push ebx
push ebx
push edi
mov ecx, 0x485a94
call fcn.00429777
xor eax, eax
pop esi
jmp 0x43cce2
mov eax, dword [edi + 0x694]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop edi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x4436ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, 0x4865e8
push esi
mov si, word [eax]
cmp si, word [edx]
jne 0x4436fa
test si, si
je 0x4436f6
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x4436fa
add eax, 4
add edx, 4
test si, si
jne 0x4436d4
xor eax, eax
jmp 0x4436ff
sbb eax, eax
sbb eax, 0xffffffff
pop esi
test eax, eax
jne 0x443716
add ecx, 0x658
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0x1c]
ret 8
jmp fcn.004318df