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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x477c24]
cmp byte [eax + 0xc], 0
je 0x449f59
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449f52
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x478b64], 0
jne 0x449e40
push 0x449f60
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x449f68
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b64], eax
cmp dword [0x476c8c], 0
jne 0x449f3b
push 0x449f78
call sub.kernel32.dll_LoadLibraryA
mov dword [0x476c8c], eax
cmp dword [0x476c8c], 0
je 0x449f3b
push 0x449f84
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b68], eax
push 0x449f94
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b6c], eax
push 0x449fa8
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b70], eax
push 0x449fc0
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b74], eax
push 0x449fd8
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b78], eax
push 0x449fec
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b7c], eax
push 0x44a004
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b80], eax
push 0x44a01c
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b84], eax
push 0x44a038
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b88], eax
push 0x44a044
mov eax, dword [0x476c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449f59
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44de00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404678
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44de4f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004048e8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455594
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4555e4]
test si, 4
je 0x4555a8
or bl, 1
test si, 8
je 0x4555b2
or bl, 4
test si, 1
je 0x4555bc
or bl, 8
test si, 2
je 0x4555c6
or bl, 0x10
test si, 0x10
je 0x4555d0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4555df
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4555e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455620]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455601
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455610
or bl, 4
test esi, 0x20000000
je 0x45561b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45bcc8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45bcda
add esp, 0xfffffff0
call fcn.00403c4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419d40
mov eax, dword [0x4778c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c06c
mov eax, dword [0x4778d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c078
mov eax, ebx
call fcn.0045c084
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412038]
call fcn.004038f8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412038]
call fcn.004038f8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412038]
call fcn.004038f8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412038]
call fcn.004038f8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412038]
call fcn.004038f8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4584a0
push eax
push 0
push 0
mov eax, dword [0x477a24]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b7e4]
call fcn.0041cf58
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b7e4]
call fcn.0041cf58
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b7e4]
call fcn.0041cf58
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045c4a4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c380
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c380
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c380
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45be17
call fcn.00403ca4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45c164
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c30f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c2f0
mov dl, 1
mov eax, dword [0x412454]
call fcn.004038f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404678
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c2df
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.0044a14c
test al, al
je 0x45c2d2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45c320
lea eax, [ebp - 0x254]
call fcn.00409454
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c2d2
xor eax, eax
push ebp
push 0x45c2cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45c358
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c2b4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048e8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
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 + 0x3c]
jne 0x45c2b4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c2d2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c1d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415f30
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c316
lea eax, [ebp - 0x260]
call fcn.00404678
ret

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

Disassembly:
push ecx
mov eax, dword [0x478bb0]
cmp byte [eax + 0xa5], 0
jne 0x45ccb5
cmp dword [0x478bc8], 0
jne 0x45cc76
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45cc00
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x478bc8], eax
cmp dword [0x478bc4], 0
jne 0x45cc91
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x478bc4], eax
cmp dword [0x478bcc], 0
jne 0x45ccb5
push esp
push 0
push 0
push 0x45cba4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x478bcc], eax
pop edx
ret
Function at 0x45cdac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45cdc3
add esp, 0xfffffff0
call fcn.00403c4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419d40
mov eax, dword [0x477a10]
cmp word [eax + 2], 0
jne 0x45cdeb
mov eax, dword [0x477a10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e52c
mov eax, dword [0x477ac4]
cmp word [eax + 2], 0
jne 0x45ce05
mov eax, dword [0x477ac4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e724
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412038]
call fcn.004038f8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412038]
call fcn.004038f8
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c2c4]
call fcn.00423b2c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45cf8c
mov eax, dword [0x477930]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423efc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ecd4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x477930]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cbdc
test eax, eax
je 0x45cefa
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e48
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc04
test eax, eax
je 0x45cf0e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048e8
mov eax, dword [0x477804]
cmp byte [eax], 0
jne 0x45cf42
mov eax, ebx
call fcn.0045d0b4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045eeb0
mov eax, ebx
call fcn.0045f874
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45cf82
call fcn.00403ca4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d334
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x478bb0]
cmp dword [eax + 0x30], 0
je 0x45d3de
cmp dword [ebx + 0x94], 0
jne 0x45d3d8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d2c4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d3d8
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 0x45d39e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d3d8
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.004143a0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d3ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45df40
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 0x45df75
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.00404768
jmp 0x45df82
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046cc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f08c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f0cd
mov eax, esi
call fcn.00445758
test al, al
je 0x45f0cd
mov eax, dword [ebx + 0x84]
call fcn.00445454
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f0cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445454
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x462e7c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x462eaa
mov eax, ebx
call fcn.00463930
cmp dword [ebx + 0x40], 0
je 0x462ea3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x462f1b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x462f0d
cmp dword [ebx + 8], 0
je 0x462ecc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x462ede
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462f0d
cmp dword [ebx + 8], 0
je 0x462ebf
cmp eax, 3
je 0x462ef1
dec eax
jne 0x462ebf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x462ebf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x462ebf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x462f39
cmp dword [ebx + 0x14], 0xcc
je 0x462f39
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00462f44
pop ebx
ret
Function at 0x473b50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b28
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x473cbe
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0045fbc0
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0045fbe0
jmp 0x473c8a
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004048e8
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408cdc
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408324
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408324
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404a84
je 0x473c6a
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004048e8
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408324
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408324
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404a84
jne 0x473c81
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.0045fc00
test eax, eax
jne 0x473bcb
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473cc5
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040469c
lea eax, [ebp - 4]
call fcn.00404678
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Enumerate gui resources
Execute shellcode via windows callback function

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x40
push 0x1000
push 0x134
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
push 0x134
push section..data
mov eax, dword [ebp - 4]
push eax
call fcn.00401b90
add esp, 0xc
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push eax
call dword [sym.imp.USER32.dll_EnumDesktopsA]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401725
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401764
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401764
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401764
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401764
cmp dword [ecx + 0x74], 0xe
jbe 0x401764
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40bfc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bfed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bfed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4062ec
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 fcn.00404908
test eax, eax
jle 0x406325
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004033b0
jmp 0x40632e
mov eax, ebx
mov edx, esi
call fcn.00403364
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406338
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 fcn.00404908
test eax, eax
jle 0x406359
mov al, byte [esp]
jmp 0x40635b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e8fc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004032d0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call fcn.00404eb0
shl eax, 0x10
test eax, eax
je 0x40e95d
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call fcn.00404d60
cmp byte [ebp - 0x101], 0
jne 0x40e95d
cmp byte [ebp - 0x102], 0
je 0x40e95d
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040342c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fb90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x40fc11
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call fcn.00404d68
test ax, ax
jge 0x40fbc2
add word [ebp - 6], 0x2000
push 0x11
call fcn.00404d68
test ax, ax
jge 0x40fbd4
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x40fbe0
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.0040fa68
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40fc05
push ebp
mov eax, dword [ebp - 4]
call fcn.0040fb04
pop ecx
mov ebx, eax
cmp bl, 2
je 0x40fbe0
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41742c
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 0x417432
ret
Function at 0x41d7fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x44564c
cmp dword [edi], 0
jne 0x41d878
push 0x40
push 0x1000
push 0x1000
push 0
call fcn.004049c0
mov esi, eax
mov eax, dword [0x445648]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x444568
mov ecx, 2
call fcn.00402704
mov edx, 0x41d7d4
lea eax, [esi + 5]
call fcn.0041d7f4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d7f4
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 0x41d84d
mov dword [0x445648], 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 0x41d97c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41d9cc]
test si, 4
je 0x41d990
or bl, 1
test si, 8
je 0x41d99a
or bl, 4
test si, 1
je 0x41d9a4
or bl, 8
test si, 2
je 0x41d9ae
or bl, 0x10
test si, 0x10
je 0x41d9b8
or bl, 0x20
push 0x12
call fcn.00404d68
test ax, ax
jge 0x41d9c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41d9d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41da08]
push 0x10
call fcn.00404d68
test ax, ax
jge 0x41d9e9
or bl, 1
push 0x11
call fcn.00404d68
test ax, ax
jge 0x41d9f8
or bl, 4
test esi, 0x20000000
je 0x41da03
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

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

Disassembly:
push ecx
mov eax, dword [0x445624]
cmp byte [eax + 0x7f], 0
jne 0x4218eb
cmp dword [0x445650], 0
jne 0x4218c7
call fcn.00404900
push eax
push 0
mov eax, 0x421854
push eax
push 3
call fcn.00404ff0
mov dword [0x445650], eax
cmp dword [0x445654], 0
jne 0x4218eb
push esp
push 0
push 0
push 0x421804
push 0x3e8
push 0
call fcn.004048b0
mov dword [0x445654], eax
pop edx
ret

Function at 0x4218f0
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x445650], 0
je 0x421904
mov eax, dword [0x445650]
push eax
call fcn.00405038
xor eax, eax
mov dword [0x445650], eax
cmp dword [0x445654], 0
je 0x421921
push 0
mov eax, dword [0x445654]
push eax
call fcn.004049b8
xor eax, eax
mov dword [0x445654], eax
ret