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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x52b434]
cmp byte [eax + 0xc], 0
je 0x4542ad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4542a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x52cb74], 0
jne 0x454194
push 0x4542b4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4542bc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb74], eax
cmp dword [0x528f24], 0
jne 0x45428f
push 0x4542cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x528f24], eax
cmp dword [0x528f24], 0
je 0x45428f
push 0x4542d8
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb78], eax
push 0x4542e8
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb7c], eax
push 0x4542fc
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb80], eax
push 0x454314
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb84], eax
push 0x45432c
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb88], eax
push 0x454340
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb8c], eax
push 0x454358
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb90], eax
push 0x454370
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb94], eax
push 0x45438c
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb98], eax
push 0x454398
mov eax, dword [0x528f24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52cb9c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4542ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4585f0
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.00404348
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45863f
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.004045b8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45fd7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45fdcc]
test si, 4
je 0x45fd90
or bl, 1
test si, 8
je 0x45fd9a
or bl, 4
test si, 1
je 0x45fda4
or bl, 8
test si, 2
je 0x45fdae
or bl, 0x10
test si, 0x10
je 0x45fdb8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fdc7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45fdd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45fe08]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fde9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fdf8
or bl, 4
test esi, 0x20000000
je 0x45fe03
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4664b0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4664c2
add esp, 0xfffffff0
call fcn.004037b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004249d0
mov eax, dword [0x52ab68]
mov dword [eax + 4], ebx
mov dword [eax], 0x466854
mov eax, dword [0x52ab7c]
mov dword [eax + 4], ebx
mov dword [eax], 0x466860
mov eax, ebx
call fcn.0046686c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
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, 0x462c88
push eax
push 0
push 0
mov eax, dword [0x52aee8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42642c]
call fcn.00427ac8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42642c]
call fcn.00427ac8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42642c]
call fcn.00427ac8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00466d1c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466bb0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466bb0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466bb0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4665ff
call fcn.00403810
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x466994
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 0x466b3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x466b20
mov dl, 1
mov eax, dword [0x41b68c]
call fcn.0040345c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404348
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x466b0f
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.004544a0
test al, al
je 0x466b02
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, 0x466b50
lea eax, [ebp - 0x254]
call fcn.00409f3c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x466b02
xor eax, eax
push ebp
push 0x466afb
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 0x466b88
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x466ae4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045b8
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 0x466ae4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466b02
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x466a05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041fe24
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 0x466b46
lea eax, [ebp - 0x260]
call fcn.00404348
ret

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

Disassembly:
push ecx
mov eax, dword [0x52cbc0]
cmp byte [eax + 0xa5], 0
jne 0x46752d
cmp dword [0x52cbd8], 0
jne 0x4674ee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x467478
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x52cbd8], eax
cmp dword [0x52cbd4], 0
jne 0x467509
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x52cbd4], eax
cmp dword [0x52cbdc], 0
jne 0x46752d
push esp
push 0
push 0
push 0x46741c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x52cbdc], eax
pop edx
ret
Function at 0x467624
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46763b
add esp, 0xfffffff0
call fcn.004037b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004249d0
mov eax, dword [0x52aea8]
cmp word [eax + 2], 0
jne 0x467663
mov eax, dword [0x52aea8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468cfc
mov eax, dword [0x52b08c]
cmp word [eax + 2], 0
jne 0x46767d
mov eax, dword [0x52b08c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468ef4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
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 [0x426e34]
call fcn.0042e378
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x467804
mov eax, dword [0x52ac48]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e748
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x469494
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x52ac48]
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.0040de50
test eax, eax
je 0x467772
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040991c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040de78
test eax, eax
je 0x467786
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.004045b8
mov eax, dword [0x52a960]
cmp byte [eax], 0
jne 0x4677ba
mov eax, ebx
call fcn.0046792c
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.00469670
mov eax, ebx
call fcn.0046a034
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4677fa
call fcn.00403810
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467bac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x52cbc0]
cmp dword [eax + 0x30], 0
je 0x467c56
cmp dword [ebx + 0x94], 0
jne 0x467c50
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x467b3c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x467c50
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 0x467c16
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x467c50
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.0041d810
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467c25
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4687b8
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 0x4687ed
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.00404438
jmp 0x4687fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040439c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46984c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46988d
mov eax, esi
call fcn.0044fa44
test al, al
je 0x46988d
mov eax, dword [ebx + 0x84]
call fcn.0044f740
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46988d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044f740
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4de9a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x4de9c5
add esp, 0xfffffff0
call fcn.004037b8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x4deb61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d51b4
test al, al
jne 0x4dea02
mov ecx, 0x4deb94
mov dl, 1
mov eax, dword [0x4c98b0]
call fcn.0040cf64
call fcn.00403ce4
xor eax, eax
push ebp
push 0x4dea2e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004d3c60
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004d3b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dea4e
mov eax, dword [ebp - 0x10]
mov edx, 0x4debd0
call fcn.00404cfc
je 0x4dea6b
mov eax, esi
mov edx, 0x4debd0
call fcn.00404cfc
jne 0x4dea8f
mov eax, edi
mov edx, 0x4debe0
call fcn.00404cfc
je 0x4dea8f
mov ecx, 0x4debb8
mov dl, 1
mov eax, dword [0x4c9b58]
call fcn.0040cf64
call fcn.00403ce4
mov eax, edi
xor edx, edx
call fcn.00404cfc
jne 0x4deabc
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404cfc
je 0x4deabc
mov ecx, 0x4debb8
mov dl, 1
mov eax, dword [0x4c9b58]
call fcn.0040cf64
call fcn.00403ce4
mov eax, dword [ebp - 0x10]
mov edx, 0x4dec20
call fcn.00404cfc
jne 0x4deaef
mov eax, edi
mov edx, 0x4dec2c
call fcn.00404cfc
je 0x4deaef
mov ecx, 0x4debb8
mov dl, 1
mov eax, dword [0x4c9b58]
call fcn.0040cf64
call fcn.00403ce4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004dca98
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404a90
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404a90
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404a90
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404a90
lea eax, [ebx + 8]
call fcn.00404a54
mov byte [ebx + 0xc], 2
xor eax, eax
mov dword [ebx + 0x30], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x34], al
mov ax, word [0x4dec78]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4deb68
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404a6c
ret
Function at 0x4e045c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x4e0479
add esp, 0xfffffff0
call fcn.004037b8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4e0614
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d51b4
test al, al
jne 0x4e04b6
mov ecx, 0x4e0648
mov dl, 1
mov eax, dword [0x4c98b0]
call fcn.0040cf64
call fcn.00403ce4
xor eax, eax
push ebp
push 0x4e04e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004d3c60
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004d3b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e0502
mov eax, edi
xor edx, edx
call fcn.00404cfc
jne 0x4e052f
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404cfc
je 0x4e052f
mov ecx, 0x4e066c
mov dl, 1
mov eax, dword [0x4c9b58]
call fcn.0040cf64
call fcn.00403ce4
mov eax, dword [ebp - 0x10]
mov edx, 0x4e0684
call fcn.00404cfc
jne 0x4e0562
mov eax, edi
mov edx, 0x4e0690
call fcn.00404cfc
je 0x4e0562
mov ecx, 0x4e066c
mov dl, 1
mov eax, dword [0x4c9b58]
call fcn.0040cf64
call fcn.00403ce4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004dca98
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404a90
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404a90
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404a90
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404a90
lea eax, [ebx + 8]
call fcn.00404a54
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41b028]
call fcn.0040345c
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x4e06dc]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4cc8d4]
call fcn.004dbcf0
mov dword [ebx + 0x3c], eax
mov ax, word [0x4e06e0]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e061b
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404a6c
ret
Function at 0x4e3070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4e3092
add esp, 0xfffffff0
call fcn.004037b8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x4e31fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d51b4
test al, al
jne 0x4e30cf
mov ecx, 0x4e3230
mov dl, 1
mov eax, dword [0x4c98b0]
call fcn.0040cf64
call fcn.00403ce4
push dword [0x52a678]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x52a678]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cb4
mov eax, dword [ebp - 0xc]
call fcn.004d5c8c
test al, al
jne 0x4e31a1
push dword [0x52a674]
push dword [ebp + 8]
push dword [0x52a674]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404cb4
mov eax, dword [ebp - 0x14]
call fcn.004d5c8c
test al, al
jne 0x4e31a1
push dword [0x52a678]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x52a678]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404cb4
mov eax, dword [ebp - 0x18]
call fcn.004d5da4
test al, al
jne 0x4e31a1
push dword [0x52a674]
push edi
push dword [0x52a674]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404cb4
mov eax, dword [ebp - 0x20]
call fcn.004d5da4
test al, al
jne 0x4e31a1
mov ecx, 0x4e3230
mov dl, 1
mov eax, dword [0x4c98b0]
call fcn.0040cf64
call fcn.00403ce4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004dca98
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404a90
lea eax, [ebx + 8]
call fcn.00404a54
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.00404a90
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.00404a90
mov byte [ebx + 0xc], 0xc
mov ax, word [0x4e324c]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3204
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404a6c
ret

Function at 0x517d00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x517d7b
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push 0x59
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x517d62
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.004045b8
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.00408c5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x517d82
lea eax, [ebp - 0x104]
call fcn.00404348
ret
Function at 0x10001480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10033ce0], 0
je 0x10001513
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 4
pop ebx
lea esi, [eax + 0x12fe]
mov dword [ebp - 8], ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x20
push eax
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
push eax
call edi
push eax
call fcn.1000a663
add esp, 0x14
test eax, eax
js 0x10001510
mov eax, dword [0x10033ce0]
sub eax, esi
sub eax, ebx
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
call edi
push eax
call fcn.1000a663
add esp, 0x14
test eax, eax
jns 0x10001510
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100090b6
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ecx
push ecx
cmp dword [0x10032228], 0
push ebx
push esi
push edi
jne 0x10009205
mov eax, dword fs:[0x30]
xor edx, edx
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x1000920e
mov ebx, 0x20202020
mov edi, eax
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
test eax, eax
je 0x10009112
lea edx, [eax + edi]
mov esi, dword [edx + 0xc]
mov eax, dword [esi + edi]
or eax, ebx
cmp eax, 0x6c64746e
jne 0x10009112
mov eax, dword [esi + edi + 4]
or eax, ebx
cmp eax, 0x6c642e6c
je 0x1000911b
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x100090e6
test edx, edx
je 0x1000920e
mov eax, dword [edx + 0x1c]
mov ebx, dword [edx + 0x18]
add eax, edi
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x10], eax
add ecx, edi
mov eax, dword [edx + 0x24]
add eax, edi
lea edx, [ebx - 1]
push ebp
lea ebp, [ebx - 1]
xor esi, esi
lea ebp, [ecx + ebp*4]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], edx
mov eax, dword [ebp]
mov ecx, 0x775a
add eax, edi
cmp word [eax], cx
jne 0x10009187
push eax
call fcn.10009096
mov edx, dword [esp + 0x14]
mov dword [esi*8 + 0x1003222c], eax
pop ecx
mov ecx, dword [esp + 0x14]
movzx eax, word [edx]
mov eax, dword [ecx + eax*4]
mov dword [esi*8 + 0x10032230], eax
inc esi
cmp esi, 0x258
je 0x10009196
sub edx, 2
sub ebp, 4
mov dword [esp + 0x10], edx
sub ebx, 1
jne 0x1000914c
lea eax, [esi - 1]
mov dword [0x10032228], esi
xor edi, edi
test eax, eax
je 0x10009204
mov eax, esi
xor edx, edx
sub eax, edi
sub eax, 1
je 0x100091fc
mov ebp, dword [edx*8 + 0x10032230]
mov ebx, dword [edx*8 + 0x10032238]
cmp ebp, ebx
jbe 0x100091f2
mov ecx, dword [edx*8 + 0x1003222c]
mov eax, dword [edx*8 + 0x10032234]
mov dword [edx*8 + 0x1003222c], eax
mov dword [edx*8 + 0x10032230], ebx
mov dword [edx*8 + 0x10032234], ecx
mov dword [edx*8 + 0x10032238], ebp
mov esi, dword [0x10032228]
mov eax, esi
inc edx
sub eax, edi
dec eax
cmp edx, eax
jb 0x100091b0
inc edi
lea eax, [esi - 1]
cmp edi, eax
jb 0x100091a5
pop ebp
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret
xor eax, eax
jmp 0x10009208

Function at 0x10009212
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x10009273
mov eax, dword [esp + 0x18]
dec ebp
push ebx
mov ebx, dword [esp + 0x20]
push esi
lea ecx, [eax + 0xb0]
shr ebp, 4
push edi
mov dword [esp + 0x2c], ecx
inc ebp
mov esi, ebx
lea edi, [esp + 0x10]
push eax
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100092a8
mov edi, dword [esp + 0x34]
pop ecx
pop ecx
push 0x10
mov ecx, edi
pop edx
mov al, byte [ecx]
xor byte [ebx], al
inc ecx
inc ebx
sub edx, 1
jne 0x10009254
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub ebp, 1
jne 0x10009238
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x10
ret