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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5665ea
cmp dword [ebx + 0xac], 0
jne 0x5665e4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x566484
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5665e4
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_GetWindowLongW
test al, 8
je 0x5665aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5665e4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.0048d118
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5665b9
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x566828
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x62c71c]
cmp dword [eax + 0x188], 0
je 0x5669a2
test bl, bl
jne 0x5668ed
cmp dword [esi + 0xb4], 0
jne 0x5668e2
mov eax, esi
call fcn.0056968c
push eax
push 0x56671c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5668b3
mov eax, dword [0x62c71c]
cmp byte [eax + 0xeb], 0
je 0x5668b3
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x566894
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5668b3
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x56689c
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5668e2
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.0048d118
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5668c2
inc dword [esi + 0xb4]
jmp 0x5669a2
cmp dword [esi + 0xb4], 0
jle 0x5669a2
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5669a2
cmp dword [esi + 0x58], 0
je 0x566957
mov eax, dword [0x62c71c]
cmp byte [eax + 0xeb], 0
je 0x566957
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x566938
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x566957
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x566940
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x566986
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.0048d118
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x566966
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x558970]
call fcn.0040c074
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5675c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x56761d
cmp byte [ebx + 0xeb], 0
jne 0x56761d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409f10
mov eax, dword [esi]
test eax, eax
je 0x56760a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x56762a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a168
jmp 0x56762a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a168
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x568db8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x568e29
mov eax, esi
call fcn.004e43f8
test al, al
je 0x568e29
mov eax, dword [ebx + 0x98]
call fcn.004e4028
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x568e29
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x118]
test al, al
je 0x568e1a
push 0
mov eax, dword [ebx + 0x98]
call fcn.004e4028
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.004db034
jmp 0x568e29
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.00568bf0
pop esi
pop ebx
ret
Function at 0x5ba2d0
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.00409d88
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x5ba301
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.00409f10
add esp, 0x24
pop ebx
ret

Function at 0x5ceac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x5ceac8
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5cec7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x5cec98
call fcn.0040acd0
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.005cccf8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x5cecac
call fcn.0057bf9c
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5ceb43
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5ceb84
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0xc]
call fcn.005cccf8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5ced14
call fcn.0057bf9c
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040ac78
mov eax, esi
mov edx, 0x5ced40
call fcn.0040ac78
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x5ceb9c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5cec0a
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5ced54
call fcn.0057bf9c
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040ac78
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5cebd3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5cebfe
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5ced84
call fcn.0057bf9c
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040ac78
mov eax, esi
mov edx, 0x5ced40
call fcn.0040ac78
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x5cec16
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5cec41
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5cedb0
call fcn.0057bf9c
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040ac78
mov eax, esi
mov edx, 0x5ced40
call fcn.0040ac78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cec84
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409de8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409de8
lea eax, [ebp - 4]
call fcn.00409d88
ret
Function at 0x60fad8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00409e6c
xor eax, eax
push ebp
push 0x60fcbc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.0060d9b8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x244], 0x22c
xor eax, eax
push ebp
push 0x60fc84
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 0x10]
call fcn.0060d9d8
mov dword [ebp - 0xc], eax
jmp 0x60fc63
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x220]
mov ecx, 0x104
call fcn.0040ab20
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.0041f5dc
mov edi, dword [ebp - 0x248]
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 4]
call fcn.0041f5dc
mov esi, dword [ebp - 0x250]
cmp edi, esi
jne 0x60fba2
mov bl, 1
jmp 0x60fbd0
test edi, edi
je 0x60fbaa
test esi, esi
jne 0x60fbae
xor ebx, ebx
jmp 0x60fbd0
mov dword [ebp - 0x254], esi
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x258], edi
mov eax, dword [ebp - 0x258]
call fcn.0041e0c4
test eax, eax
sete bl
test bl, bl
je 0x60fbda
mov byte [ebp - 0x16], 1
jmp 0x60fc31
lea eax, [ebp - 0x25c]
lea edx, [ebp - 0x220]
mov ecx, 0x104
call fcn.0040ab20
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 4]
jne 0x60fc07
mov byte [ebp - 0x15], 1
jmp 0x60fc2a
cmp dword [ebp - 0x14], 0
je 0x60fc13
cmp dword [ebp - 4], 0
jne 0x60fc19
mov byte [ebp - 0x15], 0
jmp 0x60fc2a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0041e0c4
test eax, eax
sete byte [ebp - 0x15]
movzx eax, byte [ebp - 0x15]
mov byte [ebp - 0x16], al
cmp byte [ebp - 0x16], 0
je 0x60fc52
push 0
mov eax, dword [ebp - 0x23c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 0x10]
call fcn.0060d9f8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x60fb59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60fc8b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x612488
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00409e6c
mov eax, dword [ebp - 8]
call fcn.00409e6c
lea ebx, [ebp - 0x44]
xor eax, eax
push ebp
push 0x61252c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x3c
call fcn.004076c4
mov dword [ebx], 0x3c
mov dword [ebx + 4], 0x40
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0040aa64
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.0040aa64
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
push ebx
call sub.shell32.dll_ShellExecuteExW
push 0xffffffffffffffff
mov eax, dword [ebx + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x612533
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409de8
ret
Function at 0x402ddc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404890
test esi, esi
jne 0x402e12
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404980
jmp 0x402e30
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402c90
mov edi, eax
test esi, esi
je 0x402e30
cmp dword [ebx], 0
je 0x402e30
dec esi
jmp 0x402e19
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403994
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x484010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403a2c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403a0c
xor eax, eax
push ebp
push 0x403a05
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 0x403a48
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a0c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x484010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x484010], ax
mov esp, ebp
pop ebp
ret

Function at 0x404714
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48a048], 0
je 0x404775
cmp word [0x48a21c], 0xd7b2
jne 0x40473d
cmp dword [0x48a224], 0
jbe 0x40473d
mov eax, 0x48a218
call dword [0x48a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x484058
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40479c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x484020], 0
jne 0x404791
push 0
push 0x484078
push 0x484058
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40ad90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d40
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40ada9
test al, 0x10
jne 0x40adad
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40dbc0
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 0x40dbf9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404980
jmp 0x40dc02
mov eax, ebx
mov edx, esi
call fcn.004048e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40e2b4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e12c
mov eax, dword [0x489388]
cmp byte [eax], 0
je 0x40e321
mov eax, dword [0x489144]
call fcn.00403218
call fcn.00402bb0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040b270
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40e368
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e357
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4890e8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48a714]
call fcn.00405fdc
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 0x40f134
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 0x40f198
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.00404af8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a8d4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f19f
lea eax, [ebp - 0xc]
call fcn.00404890
ret
Function at 0x426750
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48cca0
cmp dword [edi], 0
jne 0x4267cc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48cc9c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x484d88
mov ecx, 2
call fcn.00402c50
mov edx, 0x426728
lea eax, [esi + 5]
call fcn.00426748
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00426748
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 0x4267a1
mov dword [0x48cc9c], 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 0x42a0c8
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 0x42a0ce
ret

Function at 0x42c5a4
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 0x42c5f5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42c5dc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42c5cc
jmp 0x42c5f5
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 0x42c5dd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440154
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 0x4400a0
call sub.user32.dll_EnumWindows
ret

Function at 0x440278
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 0x4402f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043fcc4
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 0x44029d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043f91c
cmp dword [ebp - 4], 0
je 0x4402df
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404d40
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 0x4402fc
lea eax, [ebp - 4]
call fcn.00404890
ret

Function at 0x443668
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 [0x48d758], 0
je 0x4437b7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x489318]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4437b7
mov eax, dword [0x48d75c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48d758]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x443786
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48d758]
call fcn.0041db68
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44377e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44377e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44377e
mov eax, dword [ebp - 0x14]
call fcn.0044c218
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44377e
push ebp
call fcn.00443624
pop ecx
test al, al
jne 0x44377e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44373a
mov eax, dword [ebp - 0x14]
call fcn.0044adac
dec eax
jle 0x44377e
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.00403d20
cmp byte [ebp - 1], 0
je 0x44377e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44377e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48d75c]
call fcn.00442dec
inc edi
dec ebx
jne 0x4436cd
mov eax, dword [0x48d75c]
cmp dword [eax + 8], 0
jle 0x44379e
mov eax, dword [0x48d75c]
call fcn.00442e7c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4437b7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044348c
pop ecx
test al, al
jne 0x4437b7
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 0x446d80
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 0x446dcc
mov eax, esi
call fcn.0045ce50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x446dcc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x446dcc
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 0x446f0b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x446e0c
cmp eax, 0x108
ja 0x446e0c
mov eax, esi
call fcn.0045ce50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x446f02
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x446f0b
jmp 0x446f02
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x446eeb
cmp eax, 0x20a
ja 0x446eeb
test byte [esi + 0x50], 0x80
jne 0x446e3e
sub eax, 0x203
je 0x446e3b
sub eax, 3
je 0x446e3b
sub eax, 3
jne 0x446e3e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x446e52
dec eax
je 0x446e67
dec eax
je 0x446e84
dec eax
je 0x446e67
jmp 0x446e8b
mov ecx, ebx
mov eax, dword [0x489318]
mov eax, dword [eax]
mov edx, esi
call fcn.00466544
jmp 0x446f02
cmp byte [esi + 0x5d], 1
jne 0x446e7d
mov eax, esi
mov si, 0xffed
call fcn.00403d20
jmp 0x446f0b
or word [esi + 0x54], 1
jmp 0x446f02
and word [esi + 0x54], 0xfffe
jmp 0x446f02
mov eax, dword [0x48d714]
cmp byte [eax + 0x20], 0
je 0x446f02
mov eax, dword [0x48d714]
cmp dword [eax + 0x1c], 0
je 0x446f02
mov eax, dword [ebx]
mov edx, dword [0x48d714]
cmp eax, dword [edx + 0x1c]
jne 0x446f02
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.0045cd94
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.00403d20
jmp 0x446f0b
cmp eax, 0xb00b
jne 0x446f02
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004456a0
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