joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3e9b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.004a4b53
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004a3ffb
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a3fe5
test ebx, ebx
jl 0x4a3f89
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd5a2ff
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a3faa
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4a3f9c
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.004a596b
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.004a596b
add esp, 8
mov ebx, 0x80070057
jmp 0x4a3f89
Function at 0x4b9449
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c1360
cmp edx, dword [eax]
je 0x4b946b
add eax, 8
inc ecx
cmp eax, 0x4c13f0
jl 0x4b945c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c1360]
jne 0x4b9599
mov eax, dword [0x4c5cec]
cmp eax, 1
je 0x4b9573
test eax, eax
jne 0x4b949c
cmp dword [0x4c128c], 1
je 0x4b9573
cmp edx, 0xfc
je 0x4b9599
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b94d3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b9e30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba2c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b9516
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba2c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be93c
push edi
call fcn.004bc190
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b9e30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9e40
lea eax, [ebp - 0xa0]
push 0x4be91c
push eax
call fcn.004b9e40
push dword [esi + 0x4c1364]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9e40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bc104
add esp, 0x2c
pop edi
jmp 0x4b9599
lea eax, [ebp + 8]
lea esi, [esi + 0x4c1364]
push 0
push eax
push dword [esi]
call fcn.004ba2c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x28], 0
je 0x4020db
cmp dword [esi + 0x34], 0
je 0x4020db
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4020db
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [esi + 0x34]
push dword [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e593
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040e593
mov esp, ebp
pop ebp
ret 4

Function at 0x4028e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [edx + 8]
test edi, edi
je 0x402939
mov esi, dword [edx + 0xc]
test esi, 0x2000000
je 0x40294e
mov esi, dword [edx]
cmp esi, dword [edx + 4]
jne 0x402939
cmp dword [edx + 0x10], 0
push ebx
jne 0x402926
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x3c]
cmp dword [eax + 0x38], ebx
je 0x402926
xor edx, edx
mov eax, edi
div ebx
test edx, edx
jne 0x402938
push dword [ecx + 0x34]
mov eax, dword [ecx + 0x20]
push 0x4000
push edi
push esi
call eax
add esp, 0x10
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e593
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov eax, esi
shr eax, 0x1e
and eax, 1
shr ecx, 0x1d
and ecx, 1
lea ecx, [eax + ecx*2]
mov eax, esi
shr eax, 0x1f
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + 0x435798]
lea eax, [ebp - 8]
push eax
mov eax, ecx
or eax, 0x200
and esi, 0x4000000
cmove eax, ecx
push eax
push edi
push dword [edx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x402939
push eax
push eax
lea eax, [ebp - 0xc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4029b7
sub ecx, edx
lea eax, [ecx + 0x1f]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 0xc]
mov esi, eax
push str.Error_protecting_memory_page
push str._s:__s
push esi
call fcn.00402870
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0xc]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040e593
mov esp, ebp
pop ebp
ret
Function at 0x404ad0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4289e2
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x608], esi
mov dword [ebp - 0x630], esi
xorps xmm0, xmm0
mov dword [ebp - 0x60c], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [ebp - 0x604]
mov dword [ebp - 4], 0
push eax
push 0x400
mov dword [ebp - 0x60c], 1
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor edi, edi
mov dword [ebp - 0x608], eax
test eax, eax
jle 0x404c7a
nop word [eax + eax]
movzx eax, word [ebp + edi*4 - 0x604]
lea ecx, [ebp - 0x204]
push 0x1f4
push ecx
push 2
push eax
mov dword [ebp - 0x610], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x61c], 0
lea edx, [eax + 1]
mov dword [ebp - 0x618], 0xf
mov byte [ebp - 0x62c], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404bc1
sub eax, edx
lea ecx, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00402400
mov ecx, dword [ebp - 0x610]
mov dword [ebp - 0x614], ecx
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x404c24
movups xmm0, xmmword [ebp - 0x62c]
mov edx, 0xf
mov byte [ebp - 0x62c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x61c]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], ecx
add dword [esi + 4], 0x1c
jmp 0x404c39
lea ecx, [ebp - 0x62c]
push ecx
push eax
mov ecx, esi
call fcn.0040c5b0
mov edx, dword [ebp - 0x618]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x404c6d
mov ecx, dword [ebp - 0x62c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404c63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404c97
push edx
push ecx
call fcn.0040e7d3
add esp, 8
inc edi
cmp edi, dword [ebp - 0x608]
jl 0x404b70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e593
mov esp, ebp
pop ebp
ret
call fcn.00412da7
int3
Function at 0x404e30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x110], edi
mov ax, word [0x4359c8]
movq xmm0, qword [str._unknown_]
push 0xfa
mov word [ebp - 0x100], ax
lea eax, [ebp - 0xfe]
push 0
push eax
movq qword [ebp - 0x108], xmm0
call fcn.00410380
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404ed0
lea eax, [ebp - 0x10c]
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x404ed0
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x108]
mov dword [edi], 0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404ef7
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
mov ecx, edi
call fcn.00402400
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0040e593
mov esp, ebp
pop ebp
ret

Function at 0x404fe0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428a83
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00404f30
mov edi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00404e30
push eax
mov edx, str._c_taskkill__im__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0040c2e0
push str.___f__erase__
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040c350
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040c510
push str.___exit
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040c350
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00402190
lea ecx, [ebp - 0x58]
call fcn.00402190
lea ecx, [ebp - 0x70]
call fcn.00402190
lea ecx, [ebp - 0x88]
call fcn.00402190
lea ecx, [ebp - 0xa0]
call fcn.00402190
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00402150
push eax
push str.C:WindowsSystem32cmd.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call fcn.004167fd
int3
Function at 0x4074b4
Capabilities:
Enumerate pe sections

Disassembly:
mov bl, byte [edx + 2]
test bl, bl
je fcn.004074a4
xor byte [ecx], bl
je 0x4074b1
inc ecx
jmp 0x40749b
mov byte [edx + 3], 1
pop ebx
ret

Function at 0x4074bc
Capabilities:
Enumerate pe sections

Disassembly:
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
mov bh, 0x71
push es
test esi, esi
lea eax, [eax + ecx + 0x18]
sbb byte [esi + 0x23], dh
xor eax, eax

Function at 0x407674
Capabilities:
Enumerate pe sections

Disassembly:
js 0x4076b2
add edi, eax
movzx eax, word [edi + 0x14]
cmp eax, ebx

Function at 0x407730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0040743c
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x407765
invalid
test dword [edi + edi*8 - 1], esi

Function at 0x40915c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop dword [edx]
add byte [eax], al
cmp dword [ebp - 0x6fc], 3
jne 0x409201
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
invalid
test dword [esi - 8], edx
invalid

Function at 0x40b198
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 0x40b1d1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404374
jmp 0x40b1da
mov eax, ebx
mov edx, esi
call fcn.004042d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c548
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 0x40c5ac
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.004044fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408da4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5b3
lea eax, [ebp - 0xc]
call fcn.00404284
ret
Function at 0x423110
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x486a24
cmp dword [edi], 0
jne 0x42318c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x486a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4845e4
mov ecx, 2
call fcn.004028fc
mov edx, 0x4230e8
lea eax, [esi + 5]
call fcn.00423108
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423108
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 0x423161
mov dword [0x486a20], 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 0x424688
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 0x42468e
ret

Function at 0x426c50
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 0x426ca1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426c88
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426c78
jmp 0x426ca1
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 0x426c89
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439668
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 0x4396e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004390b4
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 0x43968d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00438d0c
cmp dword [ebp - 4], 0
je 0x4396cf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404744
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call fcn.00407654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4396ec
lea eax, [ebp - 4]
call fcn.00404284
ret

Function at 0x43ca74
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 [0x486be0], 0
je 0x43cbc3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x485490]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43cbc3
mov eax, dword [0x486be4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x486be0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43cb92
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x486be0]
call fcn.0041a278
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43cb8a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43cb8a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43cb8a
mov eax, dword [ebp - 0x14]
call fcn.004455d0
push eax
call fcn.004073f4
test eax, eax
je 0x43cb8a
push ebp
call fcn.0043ca30
pop ecx
test al, al
jne 0x43cb8a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43cb46
mov eax, dword [ebp - 0x14]
call fcn.00444164
dec eax
jle 0x43cb8a
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.004036f0
cmp byte [ebp - 1], 0
je 0x43cb8a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call fcn.0040748c
test eax, eax
je 0x43cb8a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x486be4]
call fcn.0043c1f8
inc edi
dec ebx
jne 0x43cad9
mov eax, dword [0x486be4]
cmp dword [eax + 8], 0
jle 0x43cbaa
mov eax, dword [0x486be4]
call fcn.0043c288
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43cbc3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043c898
pop ecx
test al, al
jne 0x43cbc3
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 0x443800
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44381c
cmp dword [esi + 4], 0
je 0x443849
test byte [ebx + 0x55], 1
jne 0x44383b
mov eax, ebx
call fcn.00442458
test eax, eax
jne 0x44383b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x443959
mov edx, esi
mov eax, ebx
call fcn.00443320
jmp 0x443959
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call fcn.004074cc
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x443952
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004455d0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004400f4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00443800
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004455d0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443959
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret