joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441d50
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 + 0x1f8], 0
je 0x441d6c
cmp dword [esi + 4], 0
je 0x441d99
test byte [ebx + 0x55], 1
jne 0x441d8b
mov eax, ebx
call fcn.004408f0
test eax, eax
jne 0x441d8b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x441ea9
mov edx, esi
mov eax, ebx
call fcn.00441874
jmp 0x441ea9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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 0x441ea2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00443bc0
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.0043e58c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00441d50
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 + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.00443bc0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441ea9
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 0x448538
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4f37a0]
cmp byte [eax + 0xc], 0
je 0x4486a5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44869e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f4b68], 0
jne 0x44858c
push 0x4486ac
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4486b4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b68], eax
cmp dword [0x4f1e34], 0
jne 0x448687
push 0x4486c4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4f1e34], eax
cmp dword [0x4f1e34], 0
je 0x448687
push 0x4486d0
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b6c], eax
push 0x4486e0
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b70], eax
push 0x4486f4
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b74], eax
push 0x44870c
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b78], eax
push 0x448724
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b7c], eax
push 0x448738
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b80], eax
push 0x448750
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b84], eax
push 0x448768
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b88], eax
push 0x448784
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b8c], eax
push 0x448790
mov eax, dword [0x4f1e34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4486a5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44c530
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.0040426c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c57f
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.004044dc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453cbc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453d0c]
test si, 4
je 0x453cd0
or bl, 1
test si, 8
je 0x453cda
or bl, 4
test si, 1
je 0x453ce4
or bl, 8
test si, 2
je 0x453cee
or bl, 0x10
test si, 0x10
je 0x453cf8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453d07
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x453d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453d48]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453d29
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453d38
or bl, 4
test esi, 0x20000000
je 0x453d43
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a3f0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a402
add esp, 0xfffffff0
call fcn.00403760
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004263c0
mov eax, dword [0x4f32f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a794
mov eax, dword [0x4f330c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a7a0
mov eax, ebx
call fcn.0045a7ac
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
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, 0x456bc8
push eax
push 0
push 0
mov eax, dword [0x4f34cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427e88]
call fcn.004292cc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427e88]
call fcn.004292cc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427e88]
call fcn.004292cc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045abcc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45aaa8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45aaa8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45aaa8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a53f
call fcn.004037b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45a88c
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 0x45aa37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45aa18
mov dl, 1
mov eax, dword [0x41af9c]
call fcn.004033dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040426c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45aa07
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.00448898
test al, al
je 0x45a9fa
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, 0x45aa48
lea eax, [ebp - 0x254]
call fcn.00409cf0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45a9fa
xor eax, eax
push ebp
push 0x45a9f3
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 0x45aa80
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45a9dc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044dc
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 0x45a9dc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a9fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a8fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0042025c
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 0x45aa3e
lea eax, [ebp - 0x260]
call fcn.0040426c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f4bb4]
cmp byte [eax + 0xa5], 0
jne 0x45b3dd
cmp dword [0x4f4bcc], 0
jne 0x45b39e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b328
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f4bcc], eax
cmp dword [0x4f4bc8], 0
jne 0x45b3b9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f4bc8], eax
cmp dword [0x4f4bd0], 0
jne 0x45b3dd
push esp
push 0
push 0
push 0x45b2cc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4f4bd0], eax
pop edx
ret
Function at 0x45b4d4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45b4eb
add esp, 0xfffffff0
call fcn.00403760
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004263c0
mov eax, dword [0x4f34b8]
cmp word [eax + 2], 0
jne 0x45b513
mov eax, dword [0x4f34b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045cbac
mov eax, dword [0x4f35b8]
cmp word [eax + 2], 0
jne 0x45b52d
mov eax, dword [0x4f35b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045cda4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
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 [0x428638]
call fcn.0042e280
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45b6b4
mov eax, dword [0x4f337c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e650
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45d344
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f337c]
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.0040d564
test eax, eax
je 0x45b622
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004096e4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d58c
test eax, eax
je 0x45b636
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.004044dc
mov eax, dword [0x4f3200]
cmp byte [eax], 0
jne 0x45b66a
mov eax, ebx
call fcn.0045b7dc
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.0045d520
mov eax, ebx
call fcn.0045dee4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b6aa
call fcn.004037b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ba5c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f4bb4]
cmp dword [eax + 0x30], 0
je 0x45bb06
cmp dword [ebx + 0x94], 0
jne 0x45bb00
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b9ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45bb00
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 0x45bac6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45bb00
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.0041d288
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45bad5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c668
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 0x45c69d
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.0040435c
jmp 0x45c6aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d6fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d73d
mov eax, esi
call fcn.00443ec4
test al, al
je 0x45d73d
mov eax, dword [ebx + 0x84]
call fcn.00443bc0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d73d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443bc0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4866c4
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 0x4866e1
add esp, 0xfffffff0
call fcn.00403760
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 0x48687d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0047ced0
test al, al
jne 0x48671e
mov ecx, 0x4868b0
mov dl, 1
mov eax, dword [0x4715cc]
call fcn.0040c734
call fcn.00403c8c
xor eax, eax
push ebp
push 0x48674a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0047b97c
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0047b868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48676a
mov eax, dword [ebp - 0x10]
mov edx, 0x4868ec
call fcn.00404c20
je 0x486787
mov eax, esi
mov edx, 0x4868ec
call fcn.00404c20
jne 0x4867ab
mov eax, edi
mov edx, 0x4868fc
call fcn.00404c20
je 0x4867ab
mov ecx, 0x4868d4
mov dl, 1
mov eax, dword [0x471874]
call fcn.0040c734
call fcn.00403c8c
mov eax, edi
xor edx, edx
call fcn.00404c20
jne 0x4867d8
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404c20
je 0x4867d8
mov ecx, 0x4868d4
mov dl, 1
mov eax, dword [0x471874]
call fcn.0040c734
call fcn.00403c8c
mov eax, dword [ebp - 0x10]
mov edx, 0x48693c
call fcn.00404c20
jne 0x48680b
mov eax, edi
mov edx, 0x486948
call fcn.00404c20
je 0x48680b
mov ecx, 0x4868d4
mov dl, 1
mov eax, dword [0x471874]
call fcn.0040c734
call fcn.00403c8c
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004847b4
lea eax, [ebx + 4]
mov edx, esi
call fcn.004049b4
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.004049b4
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.004049b4
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.004049b4
lea eax, [ebx + 8]
call fcn.00404978
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 [0x486994]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486884
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404990
ret
Function at 0x488178
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 0x488195
add esp, 0xfffffff0
call fcn.00403760
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 0x488330
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0047ced0
test al, al
jne 0x4881d2
mov ecx, 0x488364
mov dl, 1
mov eax, dword [0x4715cc]
call fcn.0040c734
call fcn.00403c8c
xor eax, eax
push ebp
push 0x4881fe
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0047b97c
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0047b868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48821e
mov eax, edi
xor edx, edx
call fcn.00404c20
jne 0x48824b
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404c20
je 0x48824b
mov ecx, 0x488388
mov dl, 1
mov eax, dword [0x471874]
call fcn.0040c734
call fcn.00403c8c
mov eax, dword [ebp - 0x10]
mov edx, 0x4883a0
call fcn.00404c20
jne 0x48827e
mov eax, edi
mov edx, 0x4883ac
call fcn.00404c20
je 0x48827e
mov ecx, 0x488388
mov dl, 1
mov eax, dword [0x471874]
call fcn.0040c734
call fcn.00403c8c
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004847b4
lea eax, [ebx + 4]
mov edx, esi
call fcn.004049b4
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.004049b4
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.004049b4
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.004049b4
lea eax, [ebx + 8]
call fcn.00404978
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41a848]
call fcn.004033dc
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x4883f8]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4745f0]
call fcn.00483a0c
mov dword [ebx + 0x3c], eax
mov ax, word [0x4883fc]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488337
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404990
ret
Function at 0x48ad8c
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 0x48adae
add esp, 0xfffffff0
call fcn.00403760
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 0x48af19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0047ced0
test al, al
jne 0x48adeb
mov ecx, 0x48af4c
mov dl, 1
mov eax, dword [0x4715cc]
call fcn.0040c734
call fcn.00403c8c
push dword [0x4f2750]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x4f2750]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd8
mov eax, dword [ebp - 0xc]
call fcn.0047d9a8
test al, al
jne 0x48aebd
push dword [0x4f274c]
push dword [ebp + 8]
push dword [0x4f274c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404bd8
mov eax, dword [ebp - 0x14]
call fcn.0047d9a8
test al, al
jne 0x48aebd
push dword [0x4f2750]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x4f2750]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404bd8
mov eax, dword [ebp - 0x18]
call fcn.0047dac0
test al, al
jne 0x48aebd
push dword [0x4f274c]
push edi
push dword [0x4f274c]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404bd8
mov eax, dword [ebp - 0x20]
call fcn.0047dac0
test al, al
jne 0x48aebd
mov ecx, 0x48af4c
mov dl, 1
mov eax, dword [0x4715cc]
call fcn.0040c734
call fcn.00403c8c
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004847b4
lea eax, [ebx + 4]
mov edx, esi
call fcn.004049b4
lea eax, [ebx + 8]
call fcn.00404978
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.004049b4
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.004049b4
mov byte [ebx + 0xc], 0xc
mov ax, word [0x48af68]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48af20
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404990
ret

Function at 0x4bfa1c
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 0x4bfa97
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 0x4bfa7e
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.004044dc
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.00408824
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfa9e
lea eax, [ebp - 0x104]
call fcn.0040426c
ret
Function at 0x4cea60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ceb1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x10]
add dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x20]
mov dl, byte [ebx + 0x30]
mov byte [eax], dl
mov esi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x1c]
sub esi, eax
test esi, esi
je 0x4cea9f
mov edx, dword [ebx + 0x10]
mov ecx, esi
call fcn.00402b04
add esi, dword [ebx + 0x10]
mov dword [ebx + 0x14], esi
mov ecx, dword [ebx + 0x18]
sub ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 4]
mov esi, dword [eax]
call dword [esi + 0xc]
add dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x1c], eax
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0x20], esi
cmp esi, dword [ebx + 0x18]
jne 0x4ceaf6
mov edx, esi
dec edx
mov eax, dword [ebx + 0x10]
call fcn.0041d09c
mov edi, eax
mov dword [ebx + 0x20], edi
cmp edi, dword [ebx + 0x10]
jne 0x4ceaf6
lea edx, [ebp - 4]
mov eax, dword [0x4f34f4]
call fcn.004064fc
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004ce960
mov eax, dword [ebx + 0x20]
mov al, byte [eax]
mov byte [ebx + 0x30], al
mov eax, dword [ebx + 0x20]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ceb21
lea eax, [ebp - 4]
call fcn.0040426c
ret