joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458598
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x473c04]
cmp dword [eax + 0x30], 0
je 0x458642
cmp dword [ebx + 0x94], 0
jne 0x45863c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458528
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45863c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458602
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45863c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415d44
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458611
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459120
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459155
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404488
jmp 0x459162
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a210
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a251
mov eax, esi
call fcn.0044048c
test al, al
je 0x45a251
mov eax, dword [ebx + 0x84]
call fcn.00440188
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a251
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440188
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45c148
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0045bd8c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404848
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45c1a6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x472118]
mov dl, 1
mov eax, dword [0x45bc84]
call fcn.0040bc1c
call fcn.00403df8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45c1b0
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.00404848
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45c208
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x472310]
mov dl, 1
mov eax, dword [0x45bc84]
call fcn.0040bc1c
call fcn.00403df8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045bdbc
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 0x46ef1c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404838
xor eax, eax
push ebp
push 0x46ef5f
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
call fcn.00404848
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ef66
lea eax, [ebp - 4]
call fcn.00404398
ret

Function at 0x46efa0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0
push 0
mov eax, ebx
call fcn.00404848
push eax
push 0
mov eax, dword [0x47218c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x46f0c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd60
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46f23d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0046effc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.00467868
mov eax, dword [0x473cf4]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x46f217
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [0x473cf4]
call fcn.00415d44
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x134]
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 8]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404600
mov eax, dword [ebp - 4]
cmp byte [eax + 0x215], 2
jne 0x46f175
lea edx, [ebp - 0x298]
mov eax, dword [ebp - 8]
call fcn.004089fc
mov edx, dword [ebp - 0x298]
lea eax, [ebp - 8]
call fcn.00404430
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
call fcn.00467718
mov ebx, eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], eax
push 0x4201
push 0x160
lea eax, [ebp - 0x294]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404848
push eax
call sub.shell32.dll_SHGetFileInfoA
lea eax, [ebp - 0x29c]
lea edx, [ebp - 0x288]
mov ecx, 0x104
call fcn.00404600
mov edx, dword [ebp - 0x29c]
mov eax, ebx
call fcn.004671b8
mov ecx, dword [ebp - 0x290]
xor edx, edx
mov eax, ebx
call fcn.00467370
lea edx, [ebp - 0x2a0]
mov eax, dword [ebp - 8]
call fcn.004089c8
mov edx, dword [ebp - 0x2a0]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, esi
mov eax, dword [0x473cf4]
call fcn.00415d44
mov edx, eax
mov eax, ebx
call fcn.00467268
inc esi
dec edi
jne 0x46f11b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f244
lea eax, [ebp - 0x2a0]
mov edx, 3
call fcn.004043bc
lea eax, [ebp - 8]
call fcn.00404398
ret

Function at 0x46f24c
Capabilities:
Shutdown system

Disassembly:
sub eax, 1
jb 0x46f25b
je 0x46f25f
dec eax
je 0x46f266
dec eax
je 0x46f26d
jmp 0x46f27a
xor eax, eax
jmp 0x46f272
mov eax, 9
jmp 0x46f272
mov eax, 2
jmp 0x46f272
mov eax, 0xd
push 0
push eax
call sub.user32.dll_ExitWindowsEx
ret
Function at 0x46f630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], ecx
mov esi, edx
lea edi, [ebp - 0x12c]
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
mov esi, eax
xor eax, eax
push ebp
push 0x46f6fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x124]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_TerminateProcess
test eax, eax
jne 0x46f6e0
lea eax, [ebp - 0x130]
push eax
lea edx, [ebp - 0x134]
mov eax, 0x46ef0c
call fcn.00406598
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x108]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 0x138], 6
lea edx, [ebp - 0x13c]
xor ecx, ecx
call fcn.00409264
mov edx, dword [ebp - 0x130]
mov eax, esi
call fcn.0046f27c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f705
lea eax, [ebp - 0x134]
mov edx, 2
call fcn.004043bc
ret
Function at 0x40cf20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4778cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4934c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov ecx, dword [0x47c288]
mov dword [esi + 0xc], ecx
mov edx, dword [0x47c28c]
mov dword [esi + 0x10], edx
mov ecx, dword [0x47c290]
mov dword [esi + 0x14], ecx
mov edx, dword [0x47c294]
mov dword [esi + 0x18], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [esi + 0x30], edi
cmp edi, ebx
je 0x40cff4
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push esi
push edi
call ecx
cmp eax, ebx
mov eax, dword [esi + 0x30]
jl 0x40cfe5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebx
jl 0x40cff4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esi + 4]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40cff4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 8], ebx
jmp 0x40cff4
cmp eax, ebx
je 0x40cff4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x30], ebx
push 8
call fcn.0045571d
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x40d025
mov dword [ebx], 0x47e398
mov dword [ebx + 4], edi
test edi, edi
je 0x40d027
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
jmp 0x40d027
xor ebx, ebx
mov dword [esi + 0x28], ebx
lea eax, [esi + 0x34]
mov ecx, 0x96
mov dword [eax], 0
add eax, 0x10
dec ecx
jne 0x40d032
mov eax, dword [0x4961f8]
mov dword [esi + 0x994], eax
inc eax
mov dword [0x4961f8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x431210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, 0x47d940
push esi
sub eax, 0xbc
push edi
mov dword [esp + 0x14], 0xbc
mov dword [esp + 0x1c], eax
jmp 0x431238
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx]
mov eax, esi
mov dword [esp + 0x10], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431248
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x18], edi
mov edx, edi
cmp edi, ecx
jb 0x431288
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0x10]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x431265
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4312f6
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x4312f0
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x4312c4
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x4312e8
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4312b0
test ecx, ecx
je 0x431336
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x4312e8
cmp ecx, 1
jbe 0x431336
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x4312e8
cmp ecx, 2
jbe 0x431336
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x431336
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x4312a0
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.00432890
add esp, 8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
mov dword [ecx + esi], eax
mov edx, dword [edx + 0x10]
mov eax, dword [ecx + edx]
or byte [eax + 5], 0x20
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, 0x100
jl 0x431234
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x431305
xor cl, 3
mov byte [eax + 5], cl
jmp 0x431305

Function at 0x432960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0xc], edi
mov edx, edi
cmp edi, ecx
jb 0x4329a1
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x43297f
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x432a0a
Function at 0x405e38
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 0x405e9e
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.00404280
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cf4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e88
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ea5
lea eax, [ebp - 0x10]
call fcn.00404010
ret

Function at 0x40af04
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 0x40af3d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404100
jmp 0x40af46
mov eax, ebx
mov edx, esi
call fcn.00404064
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b5f8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b470
mov eax, dword [0x45c174]
cmp byte [eax], 0
je 0x40b674
mov eax, dword [0x45bf78]
call fcn.00402b60
call fcn.004028ac
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.00408744
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 0x40b6bc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b6aa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45bf24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45d668]
call fcn.00405330
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 0x40bf64
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 0x40c03a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040a8
lea eax, [ebp - 8]
call fcn.00404520
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c024
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c01d
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.004044d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c007
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c04c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c007
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 0x40c024
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c041
lea eax, [ebp - 8]
call fcn.00404010
ret

Function at 0x40c544
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 0x40c5a8
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.00404280
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040826c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5af
lea eax, [ebp - 0xc]
call fcn.00404010
ret

Function at 0x41dc60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45d888
cmp dword [edi], 0
jne 0x41dcdc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45d884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45b3fc
mov ecx, 2
call fcn.00402940
mov edx, 0x41dc38
lea eax, [esi + 5]
call fcn.0041dc58
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041dc58
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 0x41dcb1
mov dword [0x45d884], 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 0x41f218
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 0x41f21e
ret
Function at 0x42166c
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 0x4216bd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4216a4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421694
jmp 0x4216bd
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 0x4216a5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c8b8
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 0x42c804
call sub.user32.dll_EnumWindows
ret

Function at 0x42c9d8
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 0x42ca55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042c438
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 0x42c9fd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042c038
cmp dword [ebp - 4], 0
je 0x42ca3f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004044d0
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 0x42ca5c
lea eax, [ebp - 4]
call fcn.00404010
ret

Function at 0x42f758
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 [0x45db58], 0
je 0x42f8a7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45c10c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42f8a7
mov eax, dword [0x45db5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45db58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f876
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45db58]
call fcn.00417230
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f86e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f86e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f86e
mov eax, dword [ebp - 0x14]
call fcn.00438320
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f86e
push ebp
call fcn.0042f714
pop ecx
test al, al
jne 0x42f86e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f82a
mov eax, dword [ebp - 0x14]
call fcn.00436e18
dec eax
jle 0x42f86e
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.004034bc
cmp byte [ebp - 1], 0
je 0x42f86e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f86e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45db5c]
call fcn.0042eee0
inc edi
dec ebx
jne 0x42f7bd
mov eax, dword [0x45db5c]
cmp dword [eax + 8], 0
jle 0x42f88e
mov eax, dword [0x45db5c]
call fcn.0042ef70
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f8a7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f57c
pop ecx
test al, al
jne 0x42f8a7
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