joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b37f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b380a
add esp, 0xfffffff0
call fcn.00405364
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00440508
mov eax, dword [0x51e1ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b3c54
mov eax, dword [0x51e200]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b3c60
mov eax, ebx
call fcn.004b3c6c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4296f8]
call fcn.00404e00
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4296f8]
call fcn.00404e00
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4296f8]
call fcn.00404e00
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4296f8]
call fcn.00404e00
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4296f8]
call fcn.00404e00
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4ae4ec
push eax
push 0
push 0
mov eax, dword [0x51e498]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44da70]
call fcn.00453d44
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44da70]
call fcn.00453d44
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44da70]
call fcn.00453d44
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44da70]
call fcn.00453d44
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44da70]
call fcn.00453d44
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004b41cc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b403c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b403c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b403c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b403c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b403c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b3985
call fcn.004053bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b3ddc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b3f89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b3f6a
mov dl, 1
mov eax, dword [0x42bdf8]
call fcn.00437eb4
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406964
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b3f59
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00496470
test al, al
je 0x4b3f4c
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4b3f98
lea eax, [ebp - 0x394]
call fcn.00413d84
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b3f4c
xor eax, eax
push ebp
push 0x4b3f45
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4b4008
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b3f2e
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406b5c
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4b3f2e
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3f4c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b3e4f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00437df0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3f90
lea eax, [ebp - 0x3a0]
call fcn.00406954
ret

Function at 0x4b4ae8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5242bc]
cmp byte [eax + 0xad], 0
jne 0x4b4b5a
cmp dword [0x5242d4], 0
jne 0x4b4b1a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x51c084]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5242d4], eax
cmp dword [0x5242d0], 0
jne 0x4b4b35
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5242d0], eax
cmp dword [0x5242d8], 0
jne 0x4b4b5a
push esp
push 0
push 0
mov eax, dword [0x51c080]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5242d8], eax
pop edx
ret
Function at 0x4b4e80
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b4e97
add esp, 0xfffffff0
call fcn.00405364
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00440508
mov eax, dword [0x51e05c]
cmp byte [eax], 0
jne 0x4b4ec4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x51e464]
cmp word [eax + 2], 0
jne 0x4b4ede
mov eax, dword [0x51e464]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b6f78
mov eax, dword [0x51e5d8]
cmp word [eax + 2], 0
jne 0x4b4ef8
mov eax, dword [0x51e5d8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b7188
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44da70]
call fcn.00453d44
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b7738
mov dl, 1
mov eax, dword [0x4296f8]
call fcn.00404e00
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4296f8]
call fcn.00404e00
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x451f08]
call fcn.0045d1b4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b50d8
mov eax, dword [0x51e2c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045d648
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b7a20
mov dl, 1
mov eax, dword [0x4296f8]
call fcn.00404e00
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x51e2c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00413b90
test eax, eax
je 0x4b5009
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00413974
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00413b74
test eax, eax
je 0x4b5021
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406b5c
push ebx
push 0x4b6948
call fcn.004aaad4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x51e05c]
cmp byte [eax], 0
jne 0x4b5072
mov eax, ebx
call fcn.004b524c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b7c4c
mov eax, ebx
call fcn.004b8880
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b50cf
call fcn.004053bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b5520
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b55c2
cmp dword [ebx + 0x94], 0
jne 0x4b55bc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b546c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b55bc
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 0x4b5582
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b55bc
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.00434600
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b5591
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5242bc]
cmp dword [eax + 0x170], 0
je 0x4b5945
test bl, bl
jne 0x4b5893
cmp dword [esi + 0x9c], 0
jne 0x4b5888
mov eax, esi
call fcn.004b86d0
push eax
push 0x4b56ec
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b5859
mov eax, dword [0x5242bc]
cmp byte [eax + 0xd3], 0
je 0x4b5859
mov eax, dword [esi + 0xd8]
call fcn.0040808c
mov edi, eax
cmp edi, 0
jl 0x4b5859
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b5842
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b5888
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434600
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b5868
inc dword [esi + 0x9c]
jmp 0x4b5945
cmp dword [esi + 0x9c], 0
jle 0x4b5945
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b5945
cmp dword [esi + 0x44], 0
je 0x4b58f0
mov eax, dword [0x5242bc]
cmp byte [eax + 0xd3], 0
je 0x4b58f0
mov eax, dword [esi + 0xd8]
call fcn.0040808c
mov edi, eax
cmp edi, 0
jl 0x4b58f0
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b58d9
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b591f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434600
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b58ff
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a89ac]
call fcn.0040824c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b6594
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b65ff
cmp byte [ebx + 0xd3], 0
jne 0x4b65ff
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406aa0
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b65ec
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b660c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406964
jmp 0x4b660c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406964
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b7e34
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b7ea2
mov eax, esi
call fcn.004904f0
test al, al
je 0x4b7ea2
mov eax, dword [ebx + 0x84]
call fcn.00490170
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b7ea2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b7e96
push 0
mov eax, dword [ebx + 0x84]
call fcn.00490170
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00487148
jmp 0x4b7ea2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b7c6c
pop esi
pop ebx
ret

Function at 0x4fd684
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, 8
test byte [edx + 1], 0x80
setne bl
movzx edi, word [edx]
add edi, edi
movzx esi, cl
mov ebp, esi
shr ebp, 7
or edi, ebp
cmp edi, 0xffff
jbe 0x4fd6b0
call fcn.00404cf0
mov word [edx], di
test bl, bl
je 0x4fd6bc
xor word [edx], 0x1021
add esi, esi
and esi, 0xff
cmp esi, 0xff
jbe 0x4fd6d1
call fcn.00404cf0
mov ecx, esi
dec eax
jne 0x4fd68d
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x403108
Capabilities:
Query or enumerate registry value

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

Function at 0x403e94
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49904c], 0
je 0x403ef5
cmp word [0x499220], 0xd7b2
jne 0x403ebd
cmp dword [0x499228], 0
jbe 0x403ebd
mov eax, 0x49921c
call dword [0x499238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49506c
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 0x403f1c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x495030], 0
jne 0x403f11
push 0
push 0x495064
push 0x49506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40613c
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 0x4061a2
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.00402cac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40618c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061a9
lea eax, [ebp - 0x10]
call fcn.00404010
ret

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

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

Function at 0x40c324
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c19c
mov eax, dword [0x4982d4]
cmp byte [eax], 0
je 0x40c3a0
mov eax, dword [0x497e88]
call fcn.00402a70
call fcn.004028e0
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.00408df4
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 0x40c3e8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c3d6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x497df4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x499668]
call fcn.00405650
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 0x40cca8
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 0x40cd7e
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 0x40cd68
mov eax, ebx
call fcn.00402778
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cd61
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 0x40cd4b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cd90
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cd4b
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 0x40cd68
mov eax, dword [ebp - 0x10]
call fcn.00402798
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd85
lea eax, [ebp - 8]
call fcn.00404010
ret

Function at 0x40d2fc
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 0x40d360
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.00408964
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d367
lea eax, [ebp - 0xc]
call fcn.00404010
ret

Function at 0x425364
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x499888
cmp dword [edi], 0
jne 0x4253e0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x499884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4955d0
mov ecx, 2
call fcn.00402974
mov edx, 0x42533c
lea eax, [esi + 5]
call fcn.0042535c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042535c
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 0x4253b5
mov dword [0x499884], 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 0x4265fc
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 0x426602
ret
Function at 0x428a44
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 0x428a95
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428a7c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428a6c
jmp 0x428a95
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 0x428a7d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435b74
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 0x435ac0
call sub.user32.dll_EnumWindows
ret

Function at 0x435c94
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 0x435d11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004356f4
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 0x435cb9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004352f4
cmp dword [ebp - 4], 0
je 0x435cfb
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 0x435d18
lea eax, [ebp - 4]
call fcn.00404010
ret

Function at 0x438cdc
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 [0x499b58], 0
je 0x438e2b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x498210]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x438e2b
mov eax, dword [0x499b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x499b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x438dfa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x499b58]
call fcn.0041bdc4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x438df2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x438df2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x438df2
mov eax, dword [ebp - 0x14]
call fcn.00441974
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x438df2
push ebp
call fcn.00438c98
pop ecx
test al, al
jne 0x438df2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x438dae
mov eax, dword [ebp - 0x14]
call fcn.004404a4
dec eax
jle 0x438df2
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.00403494
cmp byte [ebp - 1], 0
je 0x438df2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x438df2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x499b5c]
call fcn.00438464
inc edi
dec ebx
jne 0x438d41
mov eax, dword [0x499b5c]
cmp dword [eax + 8], 0
jle 0x438e12
mov eax, dword [0x499b5c]
call fcn.004384f4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x438e2b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00438b00
pop ecx
test al, al
jne 0x438e2b
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