joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ac30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001ac5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001ac5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x886058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008861a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x88607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88606a
add dl, dl
jne 0x886089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8860dc
xor eax, eax
add dl, dl
jne 0x886096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88617d
add dl, dl
jne 0x8860a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8860b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8860bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8860c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8860d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x886075
mov eax, 1
add dl, dl
jne 0x8860ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8860f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8860e1
sub eax, ebx
mov ebx, 1
jne 0x886128
mov ecx, 1
add dl, dl
jne 0x88610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x886119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x886105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x886075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x88613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x88614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x886136
cmp eax, 0x7d00
jae 0x88616d
cmp eax, 0x500
jb 0x886168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x886075
cmp eax, 0x7f
ja 0x886170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x886075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x88619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x886075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401a14
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401a53
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401a53
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401a53
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401a53
cmp dword [ecx + 0x74], 0xe
jbe 0x401a53
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40752c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4075c9
push ebx
push esi
call fcn.004074f5
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00407489
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x407576
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4075c8
push edi
push eax
call fcn.00407dbf
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x407596
call fcn.00405fd1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4075c7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407489
add esp, 0x20
test eax, eax
jne 0x4075b5
push edi
call fcn.00405fd1
jmp 0x4075bd
push ebx
call fcn.00405fd1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4084c5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40fff0
push 0x40ffe8
push 0x40ec04
push 0x1f
call fcn.004083e1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4084f9
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e134]
call esi
jmp 0x4084ff
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408543
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410000
push 0x40fff8
push 0x40ec28
push 0x21
call fcn.004083e1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40857a
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x408582
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410008
push 0x410000
push 0x40ec3c
push 0x22
call fcn.004083e1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4085bc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e134]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40d470
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d49d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d49d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402a14
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404124
test esi, esi
jne 0x402a4a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404214
jmp 0x402a68
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402928
mov edi, eax
test esi, esi
je 0x402a68
cmp dword [ebx], 0
je 0x402a68
dec esi
jmp 0x402a51
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402cdc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x485008], 0x8088405
inc edx
mov dword [ebx + 0x485008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x485024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031b8
xor eax, eax
push ebp
push 0x4031b1
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 0x4031f4
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 0x4031b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x485024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x485024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f24
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x488044], 0
je 0x403f85
cmp word [0x488218], 0xd7b2
jne 0x403f4d
cmp dword [0x488220], 0
jbe 0x403f4d
mov eax, 0x488214
call dword [0x488230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x485070
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 0x403fac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x485034], 0
jne 0x403fa1
push 0
push 0x485068
push 0x485070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4040d8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026ec
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x488045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4040a0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405e0c
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 0x405e72
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.00404394
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cf8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e5c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e79
lea eax, [ebp - 0x10]
call fcn.00404124
ret

Function at 0x40b5a8
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 0x40b5e1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404214
jmp 0x40b5ea
mov eax, ebx
mov edx, esi
call fcn.00404178
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b5f4
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 0x40b615
mov al, byte [esp]
jmp 0x40b617
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bc9c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb14
mov eax, dword [0x487650]
cmp byte [eax], 0
je 0x40bd18
mov eax, dword [0x4872c0]
call fcn.00402b48
call fcn.00402854
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.00408d34
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 0x40bd60
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd4e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48722c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x488660]
call fcn.00405320
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 0x40c5b4
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 0x40c68a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004041bc
lea eax, [ebp - 8]
call fcn.00404634
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045e4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c674
mov eax, ebx
call fcn.004026ec
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c66d
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.004045e4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c657
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c69c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c657
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 0x40c674
mov eax, dword [ebp - 0x10]
call fcn.0040270c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c691
lea eax, [ebp - 8]
call fcn.00404124
ret

Function at 0x40cc10
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 0x40cc74
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.00404394
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004087d0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc7b
lea eax, [ebp - 0xc]
call fcn.00404124
ret

Function at 0x41b448
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041b2a0
dec esi
jne 0x41b46a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41c5ac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x488888
cmp dword [edi], 0
jne 0x41c628
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x488884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4853fc
mov ecx, 2
call fcn.004028e8
mov edx, 0x41c584
lea eax, [esi + 5]
call fcn.0041c5a4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c5a4
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 0x41c5fd
mov dword [0x488884], 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 0x41dbdc
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 0x41dbe2
ret

Function at 0x420138
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 0x420189
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420170
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420160
jmp 0x420189
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 0x420171
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425df8
Capabilities:
Terminate process

Disassembly:
push ebx
test eax, eax
jne 0x425e02
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x401
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x425e23
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle
pop ebx
ret

Function at 0x426408
Capabilities:
Terminate process

Disassembly:
push ebx
push ecx
mov ebx, eax
test eax, eax
je 0x426445
push ebx
call sub.user32.dll_IsWindow
test eax, eax
je 0x426445
push esp
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [esp]
push eax
push 0
push 0x401
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x426445
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle
pop edx
pop ebx
ret

Function at 0x42ad68
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004045d4
xor eax, eax
push ebp
push 0x42ae96
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42ae69
xor eax, eax
push ebp
push 0x42ae62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043e4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42ae37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42ae26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043e4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004045e4
mov edx, ebx
pop ecx
call fcn.004028e8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ae2d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x487154]
mov dl, 1
mov eax, dword [0x4073a0]
call fcn.0040be20
call fcn.00403a54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ae9d
lea eax, [ebp - 4]
call fcn.00404124
ret
Function at 0x42aea4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b055
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004047d4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42b06c
call fcn.00404430
mov eax, ebx
call fcn.0041bb40
mov edi, eax
dec edi
test edi, edi
jl 0x42af5c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041bb14
mov edx, dword [0x432298]
call fcn.00403454
test al, al
je 0x42af58
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041bb14
lea edx, [ebp - 0x14]
call fcn.00450234
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004047d4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004044a4
inc esi
dec edi
jne 0x42af0a
mov al, byte [0x42b070]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42b07c
mov eax, dword [ebp - 0xc]
call fcn.0040d1e8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004041bc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00450234
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42b06c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00450234
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42b06c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42b06c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42b088
call fcn.00409410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b05c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404148
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404148
lea eax, [ebp - 0x14]
call fcn.00404124
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404148
ret

Function at 0x435308
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 0x435254
call sub.user32.dll_EnumWindows
ret
Function at 0x435428
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 0x4354a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00434e88
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43544d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434a88
cmp dword [ebp - 4], 0
je 0x43548f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004045e4
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 0x4354ac
lea eax, [ebp - 4]
call fcn.00404124
ret

Function at 0x439048
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x439098]
test si, 4
je 0x43905c
or bl, 1
test si, 8
je 0x439066
or bl, 4
test si, 1
je 0x439070
or bl, 8
test si, 2
je 0x43907a
or bl, 0x10
test si, 0x10
je 0x439084
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x439093
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43909c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4390d4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4390b5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4390c4
or bl, 4
test esi, 0x20000000
je 0x4390cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43f77c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43f78e
add esp, 0xfffffff0
call fcn.004035ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b51c
mov eax, dword [0x487244]
mov dword [eax + 4], ebx
mov dword [eax], 0x43fb20
mov eax, dword [0x487258]
mov dword [eax + 4], ebx
mov dword [eax], 0x43fb2c
mov eax, ebx
call fcn.0043fb38
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4121e4]
call fcn.00403298
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4121e4]
call fcn.00403298
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4121e4]
call fcn.00403298
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4121e4]
call fcn.00403298
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4121e4]
call fcn.00403298
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x43bf54
push eax
push 0
push 0
mov eax, dword [0x4874c4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41cfb0]
call fcn.0041e724
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41cfb0]
call fcn.0041e724
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41cfb0]
call fcn.0041e724
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0043ff58
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43fe34
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43fe34
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43fe34
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43f8cb
call fcn.00403644
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret