joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428274
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x42839b
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042807c
mov esi, eax
mov eax, dword [0x4d9e9c]
cmp byte [eax], 0
je 0x428341
mov eax, dword [0x4d9ccc]
call fcn.0040799c
call fcn.00406f44
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x428244]
call fcn.0040ce6c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4283b4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42837d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4d9c88]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4dd634]
call fcn.0040d53c
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4283a2
lea eax, [ebp - 4]
mov edx, dword [0x428244]
call fcn.0040cf90
pop eax
jmp eax

Function at 0x42a6bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a4c4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004101b8
mov edi, eax
cmp edi, 0x104
jbe 0x42a667
mov eax, edi
add eax, eax
call fcn.00406dd0
mov esi, eax
jmp 0x42a669
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004101b8
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42a6a2
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42a68c
mov eax, esp
cmp esi, eax
je 0x42a6af
mov eax, esi
call fcn.00406dec
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42a6e8
cmp bl, 0
je 0x42a6e4
cmp bl, 0x41
jl 0x42a6df
cmp bl, 0x5a
jg 0x42a6df
or bl, 0x20
xor al, bl
inc esi
jmp 0x42a6c3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42a628

Function at 0x42b004
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040aae0
add esp, 0x800
pop ebx
ret
Function at 0x42d7b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42d7ce
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42d7e6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42d7e1
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42d7eb
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42d859
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42d8a2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42d817
inc dword [ebp - 0xc]
jmp 0x42d82f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42d82f
cmp dword [ebp - 0xc], 0
jle 0x42d82f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42d851
xor eax, eax
jmp 0x42d84d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42d84c
mov eax, esi
jmp 0x42d8a5
inc eax
cmp eax, ecx
jle 0x42d839
inc esi
cmp esi, dword [ebp - 8]
jl 0x42d803
jmp 0x42d8a2
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42d8a2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42d87a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42d89c
xor eax, eax
jmp 0x42d898
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42d897
mov eax, esi
jmp 0x42d8a5
inc eax
cmp eax, ecx
jle 0x42d884
inc esi
cmp esi, dword [ebp - 8]
jl 0x42d862
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42da94
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42dab1
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42dabf
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42dbe1
test ebx, ebx
jl 0x42dbe1
test esi, esi
jle 0x42dbe1
mov eax, dword [ebp - 8]
call fcn.0040aa44
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040aa44
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42db7e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42dbe1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42db63
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42db32
inc dword [ebp - 0x14]
jmp 0x42db42
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42db42
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42db4d
or eax, 0xffffffff
jmp 0x42db63
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42db60
inc eax
jmp 0x42db63
or eax, 0xffffffff
test eax, eax
jl 0x42db6b
cmp esi, eax
jg 0x42db20
cmp esi, eax
jg 0x42db76
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42dbe4
inc edx
dec dword [ebp - 0x1c]
jne 0x42db1c
jmp 0x42dbe1
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42dbe1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42dbc8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42dba7
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42dbb2
or eax, 0xffffffff
jmp 0x42dbc8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42dbc5
inc eax
jmp 0x42dbc8
or eax, 0xffffffff
test eax, eax
jl 0x42dbd0
cmp esi, eax
jg 0x42db90
cmp esi, eax
jg 0x42dbdb
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42dbe4
inc edx
dec dword [ebp - 0x1c]
jne 0x42db8c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43ddf8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x43de00
mov eax, edx
pop esi
pop ebx
ret

Function at 0x440a74
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x440a8b
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x440a7b
mov eax, ecx
pop ebx
ret
Function at 0x454f60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x454f74
add esp, 0xfffffff0
call fcn.0040877c
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44eee4]
call fcn.004739c0
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x453f30]
call fcn.00476774
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x453f30]
call fcn.00476774
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x454fc9
call fcn.004087d4
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b88d8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b891b
cmp byte [ebx + 0x11], 0
jne 0x4b891b
cmp byte [ebx + 0x24], 0
jne 0x4b891b
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b8932
mov ecx, dword [0x4d9e50]
mov dl, 1
mov eax, dword [0x48b714]
call fcn.00428500
call fcn.0040964c
pop ebx
ret
mov ecx, dword [0x4d9e50]
mov dl, 1
mov eax, dword [0x48b714]
call fcn.00428500
call fcn.0040964c
pop ebx
ret

Function at 0x4b92a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b92ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b8784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b9307
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b9310
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b8784
dec esi
jne 0x4b9332
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x405ab4
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 0x405b1a
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.004041cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c60
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b04
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b21
lea eax, [ebp - 0x10]
call fcn.00403f5c
ret

Function at 0x40ad7c
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 0x40adb5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040404c
jmp 0x40adbe
mov eax, ebx
mov edx, esi
call fcn.00403fb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b470
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b2e8
mov eax, dword [0x4540ac]
cmp byte [eax], 0
je 0x40b4ec
mov eax, dword [0x453ec4]
call fcn.00402acc
call fcn.00402824
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.00408518
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 0x40b534
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b522
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453e74]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455664]
call fcn.00404fc8
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 0x40bd88
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 0x40be5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ff4
lea eax, [ebp - 8]
call fcn.0040446c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40be48
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40be41
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.0040441c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40be2b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40be70
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40be2b
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 0x40be48
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be65
lea eax, [ebp - 8]
call fcn.00403f5c
ret

Function at 0x40c2dc
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 0x40c340
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.004041cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407fe4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c347
lea eax, [ebp - 0xc]
call fcn.00403f5c
ret

Function at 0x41a490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x455884
cmp dword [edi], 0
jne 0x41a50c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x455880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4533ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a468
lea eax, [esi + 5]
call fcn.0041a488
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a488
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 0x41a4e1
mov dword [0x455880], 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 0x41b728
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 0x41b72e
ret
Function at 0x41dbac
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 0x41dbfd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dbe4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dbd4
jmp 0x41dbfd
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 0x41dbe5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c574
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 0x42c4c0
call sub.user32.dll_EnumWindows
ret

Function at 0x42c694
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 0x42c711
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042c0f4
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 0x42c6b9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042bcf4
cmp dword [ebp - 4], 0
je 0x42c6fb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040441c
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 0x42c718
lea eax, [ebp - 4]
call fcn.00403f5c
ret

Function at 0x42f6c0
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 [0x455b54], 0
je 0x42f80f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x454048]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42f80f
mov eax, dword [0x455b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x455b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f7de
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x455b54]
call fcn.00413a60
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f7d6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f7d6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f7d6
mov eax, dword [ebp - 0x14]
call fcn.00438358
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f7d6
push ebp
call fcn.0042f67c
pop ecx
test al, al
jne 0x42f7d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f792
mov eax, dword [ebp - 0x14]
call fcn.00436e88
dec eax
jle 0x42f7d6
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.00403420
cmp byte [ebp - 1], 0
je 0x42f7d6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f7d6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x455b58]
call fcn.0042ee48
inc edi
dec ebx
jne 0x42f725
mov eax, dword [0x455b58]
cmp dword [eax + 8], 0
jle 0x42f7f6
mov eax, dword [0x455b58]
call fcn.0042eed8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f80f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f4e4
pop ecx
test al, al
jne 0x42f80f
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 0x432df0
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 0x432e3c
mov eax, esi
call fcn.004485e4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432e3c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x432e3c
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 0x432f7b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x432e7c
cmp eax, 0x108
ja 0x432e7c
mov eax, esi
call fcn.004485e4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432f72
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x432f7b
jmp 0x432f72
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x432f5b
cmp eax, 0x20a
ja 0x432f5b
test byte [esi + 0x50], 0x80
jne 0x432eae
sub eax, 0x203
je 0x432eab
sub eax, 3
je 0x432eab
sub eax, 3
jne 0x432eae
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x432ec2
dec eax
je 0x432ed7
dec eax
je 0x432ef4
dec eax
je 0x432ed7
jmp 0x432efb
mov ecx, ebx
mov eax, dword [0x454048]
mov eax, dword [eax]
mov edx, esi
call fcn.00451da0
jmp 0x432f72
cmp byte [esi + 0x5d], 1
jne 0x432eed
mov eax, esi
mov si, 0xffed
call fcn.00403420
jmp 0x432f7b
or word [esi + 0x54], 1
jmp 0x432f72
and word [esi + 0x54], 0xfffe
jmp 0x432f72
mov eax, dword [0x455b10]
cmp byte [eax + 0x20], 0
je 0x432f72
mov eax, dword [0x455b10]
cmp dword [eax + 0x1c], 0
je 0x432f72
mov eax, dword [ebx]
mov edx, dword [0x455b10]
cmp eax, dword [edx + 0x1c]
jne 0x432f72
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.00448528
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.00403420
jmp 0x432f7b
cmp eax, 0xb00b
jne 0x432f72
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00431710
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
Function at 0x4364e8
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 0x436504
cmp dword [esi + 4], 0
je 0x436531
test byte [ebx + 0x55], 1
jne 0x436523
mov eax, ebx
call fcn.00435088
test eax, eax
jne 0x436523
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x436641
mov edx, esi
mov eax, ebx
call fcn.0043600c
jmp 0x436641
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 sub.user32.dll_ReleaseDC
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 0x43663a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00438358
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.00432d24
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004364e8
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.00438358
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436641
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