joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a2c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fa4
mov eax, dword [ebp - 8]
call fcn.00403fa4
mov eax, dword [ebp - 0xc]
call fcn.00403fa4
xor eax, eax
push ebp
push 0x48a397
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x48a3b0
call fcn.00403df8
lea eax, [ebp - 8]
mov edx, 0x48a3b0
call fcn.00403df8
lea eax, [ebp - 0xc]
mov edx, 0x48a3b0
call fcn.00403df8
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.00403fc0
push eax
lea eax, [ebp - 8]
call fcn.00403fc0
push eax
lea eax, [ebp - 4]
call fcn.00403fc0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x48a37c
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x48a3bc
call fcn.00403e3c
mov eax, dword [ebp - 0x10]
mov cx, word [0x48a3d0]
mov dl, 1
call fcn.0044cc90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a39e
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403b98
ret

Function at 0x401647
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call sub.kernel32.dll_GetCommandLineA
mov dword [0x405120], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40508e], ecx
mov dword [0x405124], 0x30
mov dword [0x405128], 3
mov dword [0x405130], 0
mov dword [0x405134], 0
mov dword [0x40512c], 0x403148
mov eax, 0xffff0000
mov ebx, section..text
and ebx, eax
mov dword [0x405086], ebx
mov dword [0x405138], ebx
mov dword [0x405144], 0xf
mov dword [0x40514c], 0x405067
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x40513c], eax
mov dword [0x405150], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x405140], eax
push 0x405124
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x405086]
push 0
push 0
push 0x2bc
push 0x1f4
push 0xa0
push 0x12c
push 0x40000
push str.Hello_word
push str.2class
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x405118], eax
push 0
push dword [0x405118]
call sub.user32.dll_ShowWindow
push dword [0x405118]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
push 0x405154
call sub.user32.dll_GetMessageA
or eax, eax
je 0x40176b
push 0x405154
call sub.user32.dll_TranslateMessage
push 0x405154
call sub.user32.dll_DispatchMessageA
jmp 0x401741
mov eax, dword [0x40515c]
mov esi, dword [0x4051b4]
lea ecx, [0x405086]
add esi, eax
call esi
ret
Function at 0x403470
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.004063e0
test esi, esi
jne 0x4034a8
push 0x105
lea eax, [esp + 4]
push eax
push 0
call fcn.004013dc
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040651c
jmp 0x4034c6
call fcn.004013c4
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004033b4
mov edi, eax
test esi, esi
je 0x4034c6
cmp dword [ebx], 0
je 0x4034c6
dec esi
jmp 0x4034af
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403cb4
Capabilities:
Clear file content

Disassembly:
movzx edx, word [eax + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x403cd2
push dword [eax]
call fcn.00401354
dec eax
je 0x403cdc
jmp fcn.00403288
mov eax, 0x67
jmp fcn.00403278
ret

Function at 0x40412c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x51f024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4041c4
push 0x80000002
call fcn.00401434
test eax, eax
jne 0x4041a4
xor eax, eax
push ebp
push 0x40419d
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 0x4041fc
mov eax, dword [ebp - 4]
push eax
call fcn.0040143c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4041a4
mov eax, dword [ebp - 4]
push eax
call fcn.0040142c
ret
movzx eax, word [0x51f024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x51f024], ax
mov esp, ebp
pop ebp
ret

Function at 0x405398
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x527054], 0
je 0x4053f9
cmp word [0x527330], 0xd7b2
jne 0x4053c1
cmp dword [0x527338], 0
jbe 0x4053c1
mov eax, 0x52732c
call dword [0x527348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call fcn.00401334
push eax
call fcn.0040136c
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405424
push 0xfffffffffffffff5
call fcn.00401334
push eax
call fcn.0040136c
pop edx
ret
cmp byte [0x51f030], 0
jne 0x405415
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call fcn.004013a4
pop edx
ret
Function at 0x405428
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, 0x529aec
mov edi, 0x527050
cmp byte [esi + 0x28], 0
jne 0x405450
cmp dword [edi], 0
je 0x405450
mov eax, dword [edi]
mov ebx, eax
xor eax, eax
mov dword [edi], eax
call ebx
cmp dword [edi], 0
jne 0x405441
cmp dword [0x51f004], 0
je 0x40546a
call fcn.004052fc
call fcn.00405398
xor eax, eax
mov dword [0x51f004], eax
cmp byte [esi + 0x28], 2
jne 0x40547e
cmp dword [section..data], 0
jne 0x40547e
xor eax, eax
mov dword [esi + 0xc], eax
call fcn.004031b4
mov ebx, eax
test ebx, ebx
je 0x40549b
mov eax, ebx
call fcn.00404364
call fcn.004031b4
mov ebx, eax
test ebx, ebx
jne 0x405489
call fcn.004050b0
cmp byte [esi + 0x28], 1
jbe 0x4054af
cmp dword [section..data], 0
je 0x4054d5
mov ebp, dword [esi + 0x10]
test ebp, ebp
je 0x4054d5
mov eax, ebp
call fcn.004082c0
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 0x10]
mov eax, dword [esi + 0x10]
cmp edi, dword [eax + 4]
je 0x4054d5
test edi, edi
je 0x4054d5
push edi
call fcn.004013bc
call fcn.00405088
cmp byte [esi + 0x28], 1
jne 0x4054e3
call dword [esi + 0x24]
cmp byte [esi + 0x28], 0
je 0x4054ee
call fcn.00405368
cmp dword [esi], 0
jne 0x40550d
cmp dword [0x527030], 0
je 0x405502
call dword [0x527030]
mov eax, dword [section..data]
push eax
call fcn.0040139c
mov eax, dword [esi]
push esi
mov edi, esi
mov esi, eax
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x40546a

Function at 0x405598
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x51f038], 0
je 0x4055be
mov edx, esi
mov eax, ebx
call dword [0x51f038]
jmp 0x4055cd
mov eax, 8
call fcn.004030f0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x527055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405560
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call fcn.0040138c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x407e94
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x22a]
push eax
push 0
call fcn.004013dc
mov word [ebp - 0x1c], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x408114
push 0x80000001
call fcn.00401434
test eax, eax
je 0x407f37
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x408114
push 0x80000002
call fcn.00401434
test eax, eax
je 0x407f37
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x408148
push 0x80000001
call fcn.00401434
test eax, eax
je 0x407f37
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40817c
push 0x80000001
call fcn.00401434
test eax, eax
jne 0x407fcf
xor eax, eax
push ebp
push 0x407fc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0xa
lea eax, [ebp - 0x22a]
mov edx, 0x105
call fcn.00407c98
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
lea eax, [ebp - 0x22a]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0040143c
test eax, eax
je 0x407fa0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0x4081bc
mov eax, dword [ebp - 8]
push eax
call fcn.0040143c
test eax, eax
je 0x407fa0
mov word [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
sar eax, 1
jns 0x407faa
adc eax, 0
mov word [ebp + eax*2 - 0x1c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407fcf
mov eax, dword [ebp - 8]
push eax
call fcn.0040142c
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x22a]
push eax
call fcn.00401414
push 5
lea eax, [ebp - 0x12]
push eax
push 3
call fcn.004013fc
push eax
call fcn.004013d4
xor esi, esi
cmp word [ebp - 0x22a], 0
je 0x40810c
cmp word [ebp - 0x12], 0
jne 0x408019
cmp word [ebp - 0x1c], 0
je 0x40810c
lea eax, [ebp - 0x22a]
push eax
call fcn.0040141c
mov ebx, eax
add ebx, ebx
lea eax, [ebp - 0x22a]
add ebx, eax
jmp 0x408036
sub ebx, 2
cmp word [ebx], 0x2e
je 0x408046
lea eax, [ebp - 0x22a]
cmp ebx, eax
jne 0x408033
lea eax, [ebp - 0x22a]
cmp ebx, eax
je 0x40810c
add ebx, 2
cmp word [ebp - 0x1c], 0
je 0x40808d
mov edx, ebx
sub edx, eax
sar edx, 1
jns 0x408069
adc edx, 0
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.00401414
push 2
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.00401404
mov esi, eax
test esi, esi
jne 0x40810c
cmp word [ebp - 0x12], 0
je 0x40810c
lea eax, [ebp - 0x22a]
mov edx, ebx
sub edx, eax
sar edx, 1
jns 0x4080a9
adc edx, 0
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call fcn.00401414
push 2
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.00401404
mov esi, eax
test esi, esi
jne 0x40810c
mov word [ebp - 0xe], 0
lea eax, [ebp - 0x22a]
mov edx, ebx
sub edx, eax
sar edx, 1
jns 0x4080e8
adc edx, 0
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call fcn.00401414
push 2
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.00401404
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a9ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x529b30
push 0xa
push 0x40aa80
mov eax, dword [0x529b20]
push eax
call fcn.00408f44
mov ebx, eax
test ebx, ebx
jne 0x40aa10
call fcn.00415c64
push ebx
mov eax, dword [0x529b20]
push eax
call fcn.00409180
mov ebx, eax
test ebx, ebx
jne 0x40aa27
call fcn.00415c64
push ebx
call fcn.00409188
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40aa39
call fcn.00415c64
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x529b34], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x529b38], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x529b3c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x529b40], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x529b44], ecx
add edx, dword [eax + 0x14]
mov dword [0x529b48], edx
pop esi
pop ebx
ret

Function at 0x40c514
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40c5bd
test eax, edx
je 0x40c5c0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40c53d
push edx
mov edx, eax
mov eax, esp
call fcn.004065fc
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40c553
push eax
lea eax, [esp + 8]
call fcn.004065fc
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40c562
movzx eax, word [eax]
sub eax, ecx
jmp 0x40c589
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40c5a3
add ecx, 4
js 0x40c57a
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40c5a0
push eax
mov eax, ecx
mov edx, 2
call fcn.00405638
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40c587
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40c589
xor eax, eax
ret
test eax, eax
je 0x40c5d0
test edx, edx
jne 0x40c524
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40d9d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0040646c
push eax
call fcn.00408ff4
cmp eax, 0xffffffff
je 0x40d9ee
test al, 0x10
sete al
pop esi
pop ebx
ret
call fcn.0040900c
mov ebx, eax
cmp ebx, 2
je 0x40da0f
cmp ebx, 3
je 0x40da0f
cmp ebx, 0x7b
je 0x40da0f
mov eax, esi
call fcn.0040d990
test al, al
jne 0x40da13
xor eax, eax
jmp 0x40da15
mov al, 1
pop esi
pop ebx
ret

Function at 0x40da18
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040646c
push eax
call fcn.00408ff4
cmp eax, 0xffffffff
je 0x40da31
test al, 0x10
jne 0x40da35
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4132fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call fcn.0040901c
test eax, eax
jle 0x413335
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040651c
jmp 0x41333e
mov eax, ebx
mov edx, esi
call fcn.004063e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x413348
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call fcn.0040901c
test eax, eax
jle 0x41336a
movzx eax, word [esp]
jmp 0x41336c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x413ad0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.00413908
mov eax, dword [0x5269a8]
cmp byte [eax], 0
je 0x413b62
mov eax, dword [0x526508]
call fcn.004038e4
call fcn.00403258
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.004095a0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0040df84
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call fcn.004090c0
push eax
call fcn.00409280
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x413bb0
push 0xfffffffffffffff4
call fcn.004090c0
push eax
call fcn.00409280
jmp 0x413b9b
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x526458]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x529b20]
call fcn.00407c3c
push eax
call fcn.00409954
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call fcn.0040996c
add esp, 0x1084
ret

Function at 0x4147f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4148c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406434
lea eax, [ebp - 4]
call fcn.00406cf8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040646c
push eax
call fcn.004092a0
mov ebx, eax
test ebx, ebx
je 0x4148b0
mov eax, ebx
call fcn.004030f0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4148a9
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 - 4]
call fcn.0040646c
push eax
call fcn.00409298
test eax, eax
je 0x414893
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4148d8
mov eax, dword [ebp - 0x10]
push eax
call fcn.004092a8
test eax, eax
je 0x414893
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4148b0
mov eax, dword [ebp - 0x10]
call fcn.0040310c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4148cd
lea eax, [ebp - 4]
call fcn.004063d0
ret
Function at 0x415a93
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.004059b4
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.004091a8
mov edi, eax
cmp edi, 0x104
jbe 0x415ab6
mov eax, edi
add eax, eax
call fcn.004030f0
mov esi, eax
jmp 0x415ab8
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.004091a8
push edi
push esi
call fcn.004095a8
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x415af1
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 0x415adb
mov eax, esp
cmp esi, eax
je 0x415afe
mov eax, esi
call fcn.0040310c
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 0x415b38
cmp bl, 0
je 0x415b34
cmp bl, 0x41
jl 0x415b2f
cmp bl, 0x5a
jg 0x415b2f
or bl, 0x20
xor al, bl
inc esi
jmp 0x415b13
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x415a78

Function at 0x42c66c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call fcn.004091e0
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042c370
dec esi
jne 0x42c68e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42d838
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x52be64
cmp dword [edi], 0
jne 0x42d8b4
push 0x40
push 0x1000
push 0x1000
push 0
call fcn.00409250
mov esi, eax
mov eax, dword [0x52be60]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x51fdc8
mov ecx, 2
call fcn.004032b4
mov edx, 0x42d810
lea eax, [esi + 5]
call fcn.0042d830
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042d830
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 0x42d889
mov dword [0x52be60], 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 0x432410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040646c
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.00408ecc
test eax, eax
je 0x432468
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x526c14]
mov dl, 1
mov eax, dword [0x431e98]
call fcn.00413cdc
call fcn.00404e1c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00432020
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4338c0
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 0x4338c6
ret
Function at 0x451824
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.004063e0
push 0
mov eax, esi
movzx eax, al
push eax
call fcn.0040995c
shl eax, 0x10
test eax, eax
je 0x45186b
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call fcn.0040976c
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004065e0
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x456c84
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456dbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call fcn.0040978c
mov dl, 1
mov eax, dword [0x431f0c]
call fcn.00432048
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x456d93
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004320e8
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004065e0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x456dd8
call fcn.004067b4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0043214c
test al, al
je 0x456d7d
lea ecx, [ebp - 4]
mov edx, 0x456e4c
mov eax, dword [ebp - 0xc]
call fcn.00432398
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.004162e0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x456d76
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x456e64
mov eax, dword [ebp - 8]
push eax
call fcn.00409044
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x523fec]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d7d
mov eax, dword [ebp - 8]
push eax
call fcn.00408f5c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d9a
mov eax, dword [ebp - 0xc]
call fcn.00404364
ret

Function at 0x456ec8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x456f0f
push 0x10
call fcn.00409774
test ax, ax
jge 0x456ef2
add bx, 0x2000
push 0x11
call fcn.00409774
test ax, ax
jge 0x456f03
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x456f0f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x45ca78
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 - 0xc]
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 [0x52c130], 0
je 0x45cbb9
push 0x11
call fcn.00409774
test ax, 0x8000
setne al
mov edx, dword [0x5268c8]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x45cbb9
mov eax, dword [0x52c134]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x52c130]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45cb88
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x52c130]
call fcn.00423df8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45cb80
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x45cb80
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x45cb80
mov eax, dword [ebp - 0x14]
call fcn.00467cc0
push eax
call fcn.0040991c
test eax, eax
je 0x45cb80
push ebp
call fcn.0045ca34
pop ecx
test al, al
jne 0x45cb80
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404574
test al, al
je 0x45cb80
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00404574
cmp byte [ebp - 1], 0
je 0x45cb80
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00408d04
test al, al
je 0x45cb80
mov edx, dword [ebp - 0x14]
mov eax, dword [0x52c134]
call fcn.0045c1ac
inc edi
dec ebx
jne 0x45cadd
mov eax, dword [0x52c134]
cmp dword [eax + 8], 0
jle 0x45cba0
mov eax, dword [0x52c134]
call fcn.0045c264
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45cbb9
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045c898
pop ecx
test al, al
jne 0x45cbb9
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