joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b35f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042f540
and dword [ebp - 4], 0
cmp dword [0x1058a98], 0
mov ebx, eax
jne 0x43b410
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43b4c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4493d8
push edi
call esi
test eax, eax
je 0x43b4c1
push eax
call fcn.0042f4ce
mov dword [esp], 0x4493c8
push edi
mov dword [0x1058a98], eax
call esi
push eax
call fcn.0042f4ce
mov dword [esp], 0x4493b4
push edi
mov dword [0x1058a9c], eax
call esi
push eax
call fcn.0042f4ce
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1058aa0], eax
call esi
push eax
call fcn.0042f4ce
pop ecx
mov dword [0x1058aa8], eax
test eax, eax
je 0x43b410
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042f4ce
pop ecx
mov dword [0x1058aa4], eax
mov eax, dword [0x1058aa4]
cmp eax, ebx
je 0x43b468
cmp dword [0x1058aa8], ebx
je 0x43b468
push eax
call fcn.0042f549
push dword [0x1058aa8]
mov esi, eax
call fcn.0042f549
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43b468
test edi, edi
je 0x43b468
call esi
test eax, eax
je 0x43b45f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b45f
test byte [ebp - 0xc], 1
jne 0x43b468
or dword [ebp + 0x10], 0x200000
jmp 0x43b4a1
mov eax, dword [0x1058a9c]
cmp eax, ebx
je 0x43b4a1
push eax
call fcn.0042f549
pop ecx
test eax, eax
je 0x43b4a1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43b4a1
mov eax, dword [0x1058aa0]
cmp eax, ebx
je 0x43b4a1
push eax
call fcn.0042f549
pop ecx
test eax, eax
je 0x43b4a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1058a98]
call fcn.0042f549
pop ecx
test eax, eax
je 0x43b4c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43b4c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402950
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.00404010
test esi, esi
jne 0x402986
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.00404100
jmp 0x4029a4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402864
mov edi, eax
test esi, esi
je 0x4029a4
cmp dword [ebx], 0
je 0x4029a4
dec esi
jmp 0x40298d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403050
Capabilities:
Query or enumerate registry value

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

Function at 0x403e10
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43f044], 0
je 0x403e71
cmp word [0x43f218], 0xd7b2
jne 0x403e39
cmp dword [0x43f220], 0
jbe 0x403e39
mov eax, 0x43f214
call dword [0x43f230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x43d050
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 0x403e98
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x43d01c], 0
jne 0x403e8d
push 0
push 0x43d070
push 0x43d050
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403fc4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040266c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x43f045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403f8c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4054ec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405610
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405463
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405610
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405463
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40562c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4054ec
xor eax, eax
push ebp
push 0x4054e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405228
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4054ca
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40564c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4054ca
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4054ec
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405606
cmp byte [ebp - 0xd], 0
jne 0x405533
cmp byte [ebp - 0x12], 0
je 0x405606
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40554c
dec ebx
cmp byte [ebx], 0x2e
je 0x40555b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40554b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405606
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405598
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405606
cmp byte [ebp - 0xd], 0
je 0x405606
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405606
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408740
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 0x408779
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404100
jmp 0x408782
mov eax, ebx
mov edx, esi
call fcn.00404064
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x408e34
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x408cac
mov eax, dword [0x43e058]
cmp byte [eax], 0
je 0x408ea1
mov eax, dword [0x43df08]
call fcn.00402a20
call fcn.004027d4
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004079e8
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 0x408ee8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x408ed7
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x43dedc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x43f710]
call fcn.004051ec
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 0x409a44
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 0x409aa8
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.00404278
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407724
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409aaf
lea eax, [ebp - 0xc]
call fcn.00404010
ret

Function at 0x411914
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00411798
dec esi
jne 0x411936
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4120a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x43f898
cmp dword [edi], 0
jne 0x412124
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x43f894]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x43d2f0
mov ecx, 2
call fcn.00402824
mov edx, 0x412080
lea eax, [esi + 5]
call fcn.004120a0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004120a0
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 0x4120f9
mov dword [0x43f894], 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 0x413a64
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 0x413a6a
ret

Function at 0x415c50
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 0x415ca1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x415c88
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x415c78
jmp 0x415ca1
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 0x415c89
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41be80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41bed0]
test si, 4
je 0x41be94
or bl, 1
test si, 8
je 0x41be9e
or bl, 4
test si, 1
je 0x41bea8
or bl, 8
test si, 2
je 0x41beb2
or bl, 0x10
test si, 0x10
je 0x41bebc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41becb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41bed4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41bf0c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41beed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41befc
or bl, 4
test esi, 0x20000000
je 0x41bf07
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

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

Disassembly:
push ecx
mov eax, dword [0x43f940]
cmp byte [eax + 0x6f], 0
jne 0x41f0de
cmp dword [0x43f958], 0
jne 0x41f09f
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x41f02c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x43f958], eax
cmp dword [0x43f954], 0
jne 0x41f0ba
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x43f954], eax
cmp dword [0x43f95c], 0
jne 0x41f0de
push esp
push 0
push 0
push 0x41efd0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x43f95c], eax
pop edx
ret

Function at 0x41fc00
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x6e], 0
je 0x41fc32
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404100
jmp 0x41fc3c
mov eax, esi
mov edx, dword [ebx + 0x68]
call fcn.00404064
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4205e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x420618
mov eax, esi
call fcn.00426e98
test al, al
je 0x420618
mov eax, dword [ebx + 0x60]
call fcn.00426c6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x420618
push 0
mov eax, dword [ebx + 0x60]
call fcn.00426c6c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4258d0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x110], 0
je 0x4258ec
cmp dword [esi + 4], 0
je 0x425919
test byte [ebx + 0x45], 1
jne 0x42590b
mov eax, ebx
call fcn.0042468c
test eax, eax
jne 0x42590b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x425a29
mov edx, esi
mov eax, ebx
call fcn.00425448
jmp 0x425a29
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x425a22
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00426c6c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00423004
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004258d0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00426c6c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425a29
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ae78
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, eax
mov eax, 0xffffffff
push esi
test edx, edx
je 0x42ae9b
movzx esi, byte [ebx]
movzx ecx, al
xor ecx, esi
shr eax, 8
xor eax, dword [ecx*4 + 0x43d8f4]
inc ebx
dec edx
jne 0x42ae85
pop esi
not eax
pop ebx
ret

Function at 0x42b288
Capabilities:
Log keystrokes via polling

Disassembly:
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
mov edx, 9
call fcn.0042b280
test al, al
jne 0x42b2e8
mov eax, esp
mov edx, 0x25
call fcn.0042b280
test al, al
jne 0x42b2e8
mov eax, esp
mov edx, 0x26
call fcn.0042b280
test al, al
jne 0x42b2e8
mov eax, esp
mov edx, 0x27
call fcn.0042b280
test al, al
jne 0x42b2e8
mov eax, esp
mov edx, 0x28
call fcn.0042b280
test al, al
jne 0x42b2e8
xor eax, eax
jmp 0x42b2ea
mov al, 1
add esp, 0x100
ret

Function at 0x42b414
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x42b4b1
push dword fs:[edx]
mov dword fs:[edx], esp
cmp eax, 0xffff
jne 0x42b43c
mov bl, 1
jmp 0x42b49b
cmp eax, 0x411
jne 0x42b447
mov bl, 0x80
jmp 0x42b49b
mov ebx, 0x4e3
push pe_nt_image_headers32
lea edx, [ebp - 0x124]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x42b484
mov ecx, eax
dec ecx
lea edx, [ebp - 0x124]
lea eax, [ebp - 4]
call fcn.00404100
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407724
mov ebx, eax
push 2
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.gdi32.dll_TranslateCharsetInfo
test eax, eax
je 0x42b499
mov bl, byte [ebp - 0x24]
jmp 0x42b49b
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b4b8
lea eax, [ebp - 4]
call fcn.00404010
ret

Function at 0x4301e8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, edx
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x430251
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov dword [esp], eax
mov eax, edi
mov ecx, dword [esp]
xor edx, edx
call fcn.00404100
cmp dword [esp], 0
je 0x430249
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [edi]
push eax
push esi
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x430249
xor ebx, ebx
jmp 0x43024b
mov bl, 1
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x430278
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, edx
xor ebx, ebx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x4302d2
mov eax, edi
call fcn.004042c8
mov dword [esp], eax
cmp dword [esp], 0
je 0x4302ca
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
push edi
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4302ca
xor ebx, ebx
jmp 0x4302cc
mov bl, 1
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x430808
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push 0
push esi
push ebx
push 0x43082c
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
pop esi
pop ebx
ret

Function at 0x430834
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov ebx, ecx
mov dword [esp], edx
mov esi, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00402b94
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x43ddec]
or eax, 0x1100
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [esp + 4]
test edx, edx
setne al
test al, al
je 0x430888
mov ecx, dword [esp]
mov dword [ecx], edx
add esp, 0x164
pop esi
pop ebx
ret

Function at 0x431478
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 0x431550
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x43fa10], 0
jne 0x431534
lea eax, [ebp - 4]
mov edx, 0x431568
call fcn.004040a8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004044c0
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x431534
mov eax, ebx
call fcn.0040266c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43152d
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 0x431517
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x431578
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x431517
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x43fa10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431534
mov eax, dword [ebp - 0xc]
call fcn.0040268c
ret
mov ebx, dword [0x43fa10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431557
lea eax, [ebp - 4]
call fcn.00404010
ret

Function at 0x43925c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43932e
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x439300
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x4392ef
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402824
mov eax, dword [ebp - 4]
call fcn.00439198
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4392f6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret