joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4882e3
Capabilities:
Terminate process

Disassembly:
push 0xd0
mov eax, 0x4d8513
call fcn.004aea40
xor ebx, ebx
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], ebx
cmovae eax, dword [ebp + 8]
push eax
call fcn.00410cc0
push 0xa
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.0048b624
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa8]
mov esi, eax
push ebx
push 1
call fcn.00411670
push 0x1e
pop eax
test esi, esi
cmove esi, eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x5085ec
call fcn.00447430
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.fbid
call fcn.00410cc0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov edi, str.feedback
push edi
call fcn.00410cc0
mov byte [ebp - 4], bl
call fcn.004888a5
push 0x3f
lea eax, [ebp - 0x8f]
mov byte [ebp - 0x90], bl
push ebx
push eax
call fcn.004ad430
add esp, 0x54
lea eax, [ebp - 0x90]
mov ebx, 0x4e25a0
push esi
push ebx
push eax
call fcn.004ae6c2
sub esp, 0xc
lea eax, [ebp - 0x90]
mov ecx, esp
mov dword [ebp - 0xc4], esp
push eax
call fcn.00410cc0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.days
call fcn.00410cc0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push edi
call fcn.00410cc0
mov byte [ebp - 4], 0
call fcn.004888a5
push 0
call fcn.004b21ff
add esp, 0x4c
mov byte [ebp - 0x50], 0
mov edi, eax
mov esi, edx
lea eax, [ebp - 0x4f]
push 0x3f
push 0
push eax
call fcn.004ad430
push esi
push edi
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.004ae6c2
pop ecx
lea eax, [ebp - 0x50]
mov dword [ebp - 0xc4], esp
mov ecx, esp
push eax
call fcn.00410cc0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.date
call fcn.00410cc0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push str.feedback
call fcn.00410cc0
xor ebx, ebx
mov byte [ebp - 4], bl
call fcn.004888a5
add esp, 0x48
lea ecx, [ebp - 0xc0]
push str.userclick_
call fcn.00410cc0
push 0xffffffffffffffff
push ebx
push 0x5085ec
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 8
call fcn.0044b1e0
mov esi, str._webfeedback
push esi
call fcn.004ae950
pop ecx
push eax
push esi
lea ecx, [ebp - 0xc0]
call fcn.0044b2a0
push ebx
lea ecx, [ebp - 0xdc]
call fcn.00490f60
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xa0]
call fcn.00490edb
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xdc]
call fcn.004914b5
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.004910a4
sub esp, 0x10
lea eax, [ebp - 0xdc]
mov ecx, esp
push eax
call fcn.00490dbe
call fcn.00494351
add esp, 0x10
push ebx
call fcn.004afa84
int3
Function at 0x488b22
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x4d8645
call fcn.004aea40
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x488c19
cmp byte [ebx + 0x45], 0
je 0x488c19
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x488b57
xor al, al
jmp 0x488c1b
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00489705
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x488bb1
dec eax
je 0x488bb5
dec eax
dec eax
je 0x488c07
xor bl, bl
jmp 0x488c09
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x488bed
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004af2d0
add esp, 0x10
cmp esi, eax
jne 0x488bad
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x45], 0
je 0x488c07
test esi, esi
jne 0x488b7b
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0043ed40
jmp 0x488b75
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00411670
mov al, bl
jmp 0x488c1b
mov al, 1
call fcn.004ae9ef
ret
Function at 0x494950
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
xor edx, edx
xor esi, esi
test edi, edi
jle 0x494a83
mov ebx, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], eax
cmp eax, 2
jl 0x49498d
movzx eax, byte [esi + ebx]
cmp eax, 0x2f72
jne 0x49498d
movzx eax, byte [esi + ebx + 1]
cmp eax, 0x2f6e
je 0x4949c5
mov al, byte [esi + ebx]
movzx edi, al
mov dword [ebp - 8], edi
cmp edi, 0x2f6e
mov edi, dword [ebp + 0xc]
je 0x4949c5
cmp al, 0x3d
jne 0x4949ab
inc edx
cmp edx, 2
jg 0x4949ef
cmp al, 0x7f
ja 0x4949ef
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x4e3a08]
cmp al, 0x7f
je 0x4949ef
cmp al, 0x40
jae 0x4949c4
test edx, edx
jne 0x4949ef
inc ecx
mov eax, dword [ebp - 4]
inc esi
dec eax
mov dword [ebp - 4], eax
cmp esi, edi
jl 0x494971
test ecx, ecx
je 0x494a83
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jae 0x4949f7
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x4949f1
push 0xffffffffffffffee
pop eax
jmp 0x494a85
mov edx, dword [ebp + 0x10]
xor ebx, ebx
and dword [ebp - 8], ebx
push 3
pop ecx
mov dword [ebp + 0xc], ecx
test esi, esi
jle 0x494a7e
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 8]
movzx ecx, byte [eax]
cmp ecx, 0x2f72
je 0x494a72
cmp ecx, 0x2f6e
je 0x494a72
mov cl, byte [ecx + 0x4e3a08]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub dword [ebp + 0xc], eax
movzx eax, cl
and eax, 0x3f
or ebx, eax
inc edi
cmp edi, 4
jne 0x494a6f
mov ecx, dword [ebp + 0xc]
xor edi, edi
test ecx, ecx
jle 0x494a55
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp ecx, 1
jle 0x494a62
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
mov eax, dword [ebp + 8]
cmp ecx, 2
jle 0x494a72
mov byte [edx], bl
inc edx
jmp 0x494a72
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x494a0f
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2167
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x402dec
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004043d4
test esi, esi
jne 0x402e23
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004044c4
jmp 0x402e44
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c88
mov dword [esp], eax
test esi, esi
je 0x402e44
cmp dword [ebx], 0
je 0x402e44
dec esi
jmp 0x402e2b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4034b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x450020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40354c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40352c
xor eax, eax
push ebp
push 0x403525
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403568
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40352c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x450020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x450020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404230
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x452044], 0
je 0x404291
cmp word [0x452218], 0xd7b2
jne 0x404259
cmp dword [0x452220], 0
jbe 0x404259
mov eax, 0x452214
call dword [0x452230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45006c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4042b8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x450030], 0
jne 0x4042ad
push 0
push 0x450064
push 0x45006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ff8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40605e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404644
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403078
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406048
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406065
lea eax, [ebp - 0x10]
call fcn.004043d4
ret

Function at 0x40afe4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b01d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044c4
jmp 0x40b026
mov eax, ebx
mov edx, esi
call fcn.00404428
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b030
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b051
mov al, byte [esp]
jmp 0x40b053
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b6e8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b550
mov eax, dword [0x4514fc]
cmp byte [eax], 0
je 0x40b764
mov eax, dword [0x4512d4]
call fcn.00402ee4
call fcn.00402bb4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004087d4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b7ac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b79a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451274]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x452660]
call fcn.00405464
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c008
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c0de
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040446c
lea eax, [ebp - 8]
call fcn.004048e4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404894
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c0c8
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c0c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404894
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0ab
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c0f0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c0ab
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0c8
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0e5
lea eax, [ebp - 8]
call fcn.004043d4
ret

Function at 0x40c5b8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c61c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404644
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408350
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c623
lea eax, [ebp - 0xc]
call fcn.004043d4
ret

Function at 0x41a7b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x452880
cmp dword [edi], 0
jne 0x41a834
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45287c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4503e8
mov ecx, 2
call fcn.00402c48
mov edx, 0x41a790
lea eax, [esi + 5]
call fcn.0041a7b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a7b0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41a809
mov dword [0x45287c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41b8a4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41ba24
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403058
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x450850], eax
mov eax, dword [ebp - 0xc]
mov dword [0x450854], eax
mov eax, dword [ebp - 0x24]
mov dword [0x450858], eax
mov eax, dword [0x451634]
cmp dword [eax], 2
sete byte [0x450430]
push 0x41ba30
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0041bd9c
cmp byte [0x450430], 0
jne 0x41b930
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0041bdcc
test al, al
je 0x41b930
mov eax, dword [ebp - 0x4c]
mov dword [0x452920], eax
jmp 0x41b937
xor eax, eax
mov dword [0x452920], eax
call fcn.0041b73c
and eax, 0x7f
cmp eax, 0xc
ja case.0x41b948.0
jmp dword [eax*4 + 0x41b94f]
mov byte [0x45041c], 1
jmp case.0x41b948.0
mov byte [0x450420], 1
jmp case.0x41b948.0
mov byte [0x450424], 1
jmp case.0x41b948.0
mov byte [0x450428], 1
jmp case.0x41b948.0
mov byte [0x45042c], 1
jmp case.0x41b948.0
mov byte [0x450434], 1
mov byte [0x450438], 1
jmp case.0x41b948.0
mov byte [0x450434], 1
mov byte [0x45043c], 1
jmp case.0x41b948.0
mov byte [0x450434], 1
mov byte [0x45043c], 1
mov byte [0x450440], 1
jmp case.0x41b948.0
mov byte [0x450444], 1
jmp case.0x41b948.0
mov byte [0x450448], 1
jmp case.0x41b948.0
mov byte [0x45044c], 1
jmp case.0x41b948.0
mov byte [0x450450], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ba2b
lea eax, [ebp - 4]
call fcn.004043d4
ret

Function at 0x41bdcc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x41be73
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404894
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x41be5d
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404a20
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404894
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x41be5d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41be84
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x41be5d
cmp dword [ebp - 8], 0x34
jne 0x41be5d
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41be7a
lea eax, [ebp - 0x10]
call fcn.004043d4
ret

Function at 0x41d35c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41d362
ret
Function at 0x41f7d4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41f825
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41f80c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41f7fc
jmp 0x41f825
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41f80d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428134
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x428080
call sub.user32.dll_EnumWindows
ret

Function at 0x428254
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4282d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00427cb4
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x428279
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004278b4
cmp dword [ebp - 4], 0
je 0x4282bb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404894
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4282d8
lea eax, [ebp - 4]
call fcn.004043d4
ret

Function at 0x42af74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4530e8], 0
je 0x42b0c3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x451490]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42b0c3
mov eax, dword [0x4530ec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4530e8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42b092
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4530e8]
call fcn.00413d88
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42b08a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42b08a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42b08a
mov eax, dword [ebp - 0x14]
call fcn.00433ad8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b08a
push ebp
call fcn.0042af30
pop ecx
test al, al
jne 0x42b08a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42b046
mov eax, dword [ebp - 0x14]
call fcn.00432608
dec eax
jle 0x42b08a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403848
cmp byte [ebp - 1], 0
je 0x42b08a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42b08a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4530ec]
call fcn.0042a6fc
inc edi
dec ebx
jne 0x42afd9
mov eax, dword [0x4530ec]
cmp dword [eax + 8], 0
jle 0x42b0aa
mov eax, dword [0x4530ec]
call fcn.0042a78c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b0c3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ad98
pop ecx
test al, al
jne 0x42b0c3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e65c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42e6a8
mov eax, esi
call fcn.00443b0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e6a8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42e6a8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42e7e7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42e6e8
cmp eax, 0x108
ja 0x42e6e8
mov eax, esi
call fcn.00443b0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e7de
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42e7e7
jmp 0x42e7de
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42e7c7
cmp eax, 0x20a
ja 0x42e7c7
test byte [esi + 0x50], 0x80
jne 0x42e71a
sub eax, 0x203
je 0x42e717
sub eax, 3
je 0x42e717
sub eax, 3
jne 0x42e71a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42e72e
dec eax
je 0x42e743
dec eax
je 0x42e760
dec eax
je 0x42e743
jmp 0x42e767
mov ecx, ebx
mov eax, dword [0x451490]
mov eax, dword [eax]
mov edx, esi
call fcn.0044d250
jmp 0x42e7de
cmp byte [esi + 0x5d], 1
jne 0x42e759
mov eax, esi
mov si, 0xffed
call fcn.00403848
jmp 0x42e7e7
or word [esi + 0x54], 1
jmp 0x42e7de
and word [esi + 0x54], 0xfffe
jmp 0x42e7de
mov eax, dword [0x4530a4]
cmp byte [eax + 0x20], 0
je 0x42e7de
mov eax, dword [0x4530a4]
cmp dword [eax + 0x1c], 0
je 0x42e7de
mov eax, dword [ebx]
mov edx, dword [0x4530a4]
cmp eax, dword [edx + 0x1c]
jne 0x42e7de
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00443a50
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403848
jmp 0x42e7e7
cmp eax, 0xb00b
jne 0x42e7de
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042cfc4
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret