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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x477c04]
cmp dword [eax + 0x30], 0
je 0x457a16
cmp dword [ebx + 0x94], 0
jne 0x457a10
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4578fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457a10
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 0x4579d6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457a10
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.00414030
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4579e5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4584f4
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 0x458529
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.00404384
jmp 0x458536
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459544
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459585
mov eax, esi
call fcn.0043f53c
test al, al
je 0x459585
mov eax, dword [ebx + 0x84]
call fcn.0043f238
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459585
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f238
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45d578
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.0045d1dc
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.00404744
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45d5d6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47613c]
mov dl, 1
mov eax, dword [0x45d0d4]
call fcn.0040a314
call fcn.00403cf4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45d5e0
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.00404744
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45d638
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47631c]
mov dl, 1
mov eax, dword [0x45d0d4]
call fcn.0040a314
call fcn.00403cf4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045d20c
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 0x464ac4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464c82
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004658d8
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0040aa98
cmp al, 2
jne 0x464b22
dec esi
mov eax, ebx
call fcn.004658ec
test al, al
je 0x464c1d
test esi, esi
jge 0x464b37
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.004658d8
mov eax, dword [ebp - 0x208]
call fcn.0040454c
cmp edi, eax
jge 0x464b7e
lea edx, [ebp - 0x20c]
mov eax, ebx
call fcn.004658d8
mov eax, dword [ebp - 0x20c]
mov al, byte [eax + edi - 1]
mov edx, dword [0x4762fc]
and eax, 0xff
bt dword [edx], eax
jae 0x464b7e
inc edi
mov eax, dword [ebx + 0x2b8]
cmp esi, eax
jl 0x464b8c
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.00464d9c
cmp edi, esi
je 0x464c15
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
push esi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x200]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop esi
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
mov byte [ebp - 0x1ef], 0
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.0043f238
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.0043f238
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x2ac], esi
jmp 0x464c64
test esi, esi
jge 0x464c23
xor esi, esi
lea edx, [ebp - 0x210]
mov eax, ebx
call fcn.004658d8
mov eax, dword [ebp - 0x210]
call fcn.0040454c
cmp esi, eax
jl 0x464c59
lea edx, [ebp - 0x214]
mov eax, ebx
call fcn.004658d8
mov eax, dword [ebp - 0x214]
call fcn.0040454c
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.00464d9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c89
lea eax, [ebp - 0x214]
mov edx, 5
call fcn.004042b8
ret
Function at 0x46decc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46dfa4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477d8c], 0
jne 0x46df88
lea eax, [ebp - 4]
mov edx, 0x46dfbc
call fcn.0040432c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404744
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46df88
mov eax, ebx
call fcn.0040272c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46df81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46df6b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46dfcc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46df6b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x477d8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46df88
mov eax, dword [ebp - 0xc]
call fcn.0040274c
ret
mov ebx, dword [0x477d8c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dfab
lea eax, [ebp - 4]
call fcn.00404294
ret
Function at 0x473c68
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x473e2b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [0x411974]
call fcn.004034f8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x14]
push eax
push 0
push 2
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x473e15
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0x2000
mov eax, dword [ebp - 0x10]
call fcn.0040272c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x473e15
test eax, eax
jne 0x473e15
mov esi, dword [ebp - 8]
mov ax, word [ebp - 0xc]
dec eax
test ax, ax
jl 0x473d1f
inc eax
mov word [ebp - 0x1e], ax
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.00413ed4
add esi, 0x20
dec word [ebp - 0x1e]
jne 0x473d0c
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
jne 0x473e15
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 8]
dec eax
test ax, ax
jl 0x473e01
inc eax
mov word [ebp - 0x1e], ax
mov word [ebp - 0x16], 0
movsx edx, word [ebp - 0x16]
mov eax, dword [ebp - 0x1c]
call fcn.00414030
mov esi, eax
lea edi, [ebp - 0x3e]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3e]
push eax
push 2
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x473e01
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0x2000
mov eax, dword [ebp - 0x10]
call fcn.0040272c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x473de6
test eax, eax
jne 0x473de6
mov esi, dword [ebp - 8]
mov bx, word [ebp - 0xc]
dec ebx
test bx, bx
jl 0x473d7f
inc ebx
lea edx, [ebp - 0x44]
mov eax, dword [esi + 0x14]
call fcn.00408de0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add esi, 0x20
dec bx
jne 0x473dc6
jmp 0x473d7f
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
jne 0x473e01
inc word [ebp - 0x16]
dec word [ebp - 0x1e]
jne 0x473d4c
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.0040274c
mov dl, 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473e32
lea eax, [ebp - 0x44]
call fcn.00404294
ret
Function at 0x473e3c
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404734
xor eax, eax
push ebp
push 0x473f51
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x20
call fcn.00402e3c
lea eax, [ebp - 4]
call fcn.0040479c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
push 2
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x473f33
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0x2000
mov eax, dword [ebp - 0x18]
call fcn.0040272c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x473f1a
test eax, eax
jne 0x473f33
mov esi, ebx
mov ebx, dword [ebp - 0x14]
dec ebx
test ebx, ebx
jl 0x473eb6
inc ebx
lea eax, [ebp - 0x3c]
mov edx, dword [esi + 0x14]
add edx, 2
call fcn.00404484
mov edx, dword [ebp - 0x3c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
add esi, 0x20
dec ebx
jne 0x473efa
jmp 0x473eb6
mov eax, dword [ebp - 0x10]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
jne 0x473f33
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0xc]
call fcn.0040274c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473f58
lea eax, [ebp - 0x3c]
call fcn.00404294
lea eax, [ebp - 4]
call fcn.00404294
ret
Function at 0x402a58
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.00404438
test esi, esi
jne 0x402a8e
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.00404528
jmp 0x402aac
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040296c
mov edi, eax
test esi, esi
je 0x402aac
cmp dword [ebx], 0
je 0x402aac
dec esi
jmp 0x402a95
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403544
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47200c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4035dc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4035bc
xor eax, eax
push ebp
push 0x4035b5
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 0x4035f8
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 0x4035bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x47200c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47200c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042bc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47404c], 0
je 0x40431d
cmp word [0x474220], 0xd7b2
jne 0x4042e5
cmp dword [0x474228], 0
jbe 0x4042e5
mov eax, 0x47421c
call dword [0x474238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x472054
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 0x404344
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47201c], 0
jne 0x404339
push 0
push 0x472074
push 0x472054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408a44
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004048e8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408a5d
test al, 0x10
jne 0x408a61
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b694
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 0x40b6cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404528
jmp 0x40b6d6
mov eax, ebx
mov edx, esi
call fcn.0040448c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bd88
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bc00
mov eax, dword [0x47394c]
cmp byte [eax], 0
je 0x40bdf0
mov eax, dword [0x47376c]
call fcn.00402e60
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408d28
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 0x40be38
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40be26
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x473724]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x474718]
call fcn.00405ba4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]

Function at 0x40cbe8
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 0x40cc4c
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.004046a0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408838
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc53
lea eax, [ebp - 0xc]
call fcn.00404438
ret
Function at 0x41e9ac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x474a24
cmp dword [edi], 0
jne 0x41ea28
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x474a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x472590
mov ecx, 2
call fcn.0040292c
mov edx, 0x41e984
lea eax, [esi + 5]
call fcn.0041e9a4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e9a4
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 0x41e9fd
mov dword [0x474a20], 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 0x41ff1c
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 0x41ff22
ret

Function at 0x422520
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 0x422571
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422558
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422548
jmp 0x422571
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 0x422559
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431acc
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 0x431a18
call sub.user32.dll_EnumWindows
ret

Function at 0x431bf0
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 0x431c6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043163c
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 0x431c15
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00431294
cmp dword [ebp - 4], 0
je 0x431c57
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004048e8
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 0x431c74
lea eax, [ebp - 4]
call fcn.00404438
ret

Function at 0x434a0c
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 [0x474bac], 0
je 0x434b5b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4738e8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x434b5b
mov eax, dword [0x474bb0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x474bac]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x434b2a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x474bac]
call fcn.00415f94
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x434b22
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x434b22
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x434b22
mov eax, dword [ebp - 0x14]
call fcn.0043d524
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x434b22
push ebp
call fcn.004349c8
pop ecx
test al, al
jne 0x434b22
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x434ade
mov eax, dword [ebp - 0x14]
call fcn.0043c0b8
dec eax
jle 0x434b22
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.004038c8
cmp byte [ebp - 1], 0
je 0x434b22
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x434b22
mov edx, dword [ebp - 0x14]
mov eax, dword [0x474bb0]
call fcn.00434190
inc edi
dec ebx
jne 0x434a71
mov eax, dword [0x474bb0]
cmp dword [eax + 8], 0
jle 0x434b42
mov eax, dword [0x474bb0]
call fcn.00434220
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x434b5b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00434830
pop ecx
test al, al
jne 0x434b5b
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 0x438124
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 0x438170
mov eax, esi
call fcn.0044daec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x438170
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x438170
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 0x4382b4
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4381b0
cmp eax, 0x108
ja 0x4381b0
mov eax, esi
call fcn.0044daec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4382ab
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4382b4
jmp 0x4382ab
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x438292
cmp eax, 0x20a
ja 0x438292
test byte [esi + 0x50], 0x80
jne 0x4381e2
sub eax, 0x203
je 0x4381df
sub eax, 3
je 0x4381df
sub eax, 3
jne 0x4381e2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4381f6
dec eax
je 0x43820b
dec eax
je 0x43822b
dec eax
je 0x43820b
jmp 0x438232
mov ecx, ebx
mov eax, dword [0x4738e8]
mov eax, dword [eax]
mov edx, esi
call fcn.004571d8
jmp 0x4382ab
cmp byte [esi + 0x5d], 1
jne 0x438221
mov eax, esi
mov si, 0xffed
call fcn.004038c8
jmp 0x4382b4
or word [esi + 0x54], 1
jmp 0x4382ab
and word [esi + 0x54], 0xfffe
jmp 0x4382ab
mov eax, dword [0x474b68]
cmp byte [eax + 0x20], 0
je 0x4382ab
mov eax, dword [0x474b68]
cmp dword [eax + 0x1c], 0
je 0x4382ab
mov eax, dword [ebx]
mov edx, dword [0x474b68]
cmp eax, dword [edx + 0x1c]
jne 0x4382ab
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.0044da30
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.004038c8
jmp 0x4382b4
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x4382ab
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00436a44
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