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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x56b030]
cmp byte [eax + 0xc], 0
je 0x44a979
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a972
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56cb98], 0
jne 0x44a860
push 0x44a980
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x44a988
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cb98], eax
cmp dword [0x567e48], 0
jne 0x44a95b
push 0x44a998
call sub.kernel32.dll_LoadLibraryA
mov dword [0x567e48], eax
cmp dword [0x567e48], 0
je 0x44a95b
push 0x44a9a4
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cb9c], eax
push 0x44a9b4
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cba0], eax
push 0x44a9c8
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cba4], eax
push 0x44a9e0
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cba8], eax
push 0x44a9f8
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cbac], eax
push 0x44aa0c
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cbb0], eax
push 0x44aa24
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cbb4], eax
push 0x44aa3c
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cbb8], eax
push 0x44aa58
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cbbc], eax
push 0x44aa64
mov eax, dword [0x567e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56cbc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a979
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44e804
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.00404a20
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44e853
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.00404c90
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456010
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x456060]
test si, 4
je 0x456024
or bl, 1
test si, 8
je 0x45602e
or bl, 4
test si, 1
je 0x456038
or bl, 8
test si, 2
je 0x456042
or bl, 0x10
test si, 0x10
je 0x45604c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45605b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x456064
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45609c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45607d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45608c
or bl, 4
test esi, 0x20000000
je 0x456097
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45c744
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45c756
add esp, 0xfffffff0
call fcn.00403e8c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425794
mov eax, dword [0x56a860]
mov dword [eax + 4], ebx
mov dword [eax], 0x45cae8
mov eax, dword [0x56a878]
mov dword [eax + 4], ebx
mov dword [eax], 0x45caf4
mov eax, ebx
call fcn.0045cb00
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
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, 0x458f1c
push eax
push 0
push 0
mov eax, dword [0x56ab98]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427824]
call fcn.00429038
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427824]
call fcn.00429038
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427824]
call fcn.00429038
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045cf20
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45cdfc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45cdfc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45cdfc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c893
call fcn.00403ee4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45cbe0
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 0x45cd8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45cd6c
mov dl, 1
mov eax, dword [0x41c8e8]
call fcn.00403b30
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a20
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45cd5b
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.0044ab6c
test al, al
je 0x45cd4e
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, 0x45cd9c
lea eax, [ebp - 0x254]
call fcn.0040aa18
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45cd4e
xor eax, eax
push ebp
push 0x45cd47
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 0x45cdd4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45cd30
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c90
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 0x45cd30
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cd4e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45cc51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421748
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 0x45cd92
lea eax, [ebp - 0x260]
call fcn.00404a20
ret

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

Disassembly:
push ecx
mov eax, dword [0x56cbe4]
cmp byte [eax + 0xa5], 0
jne 0x45d731
cmp dword [0x56cbfc], 0
jne 0x45d6f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45d67c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x56cbfc], eax
cmp dword [0x56cbf8], 0
jne 0x45d70d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x56cbf8], eax
cmp dword [0x56cc00], 0
jne 0x45d731
push esp
push 0
push 0
push 0x45d620
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x56cc00], eax
pop edx
ret
Function at 0x45d828
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d83f
add esp, 0xfffffff0
call fcn.00403e8c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425794
mov eax, dword [0x56ab74]
cmp word [eax + 2], 0
jne 0x45d867
mov eax, dword [0x56ab74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ed7c
mov eax, dword [0x56ad0c]
cmp word [eax + 2], 0
jne 0x45d881
mov eax, dword [0x56ad0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ef74
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
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 [0x4283a4]
call fcn.0042fcb8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45da08
mov eax, dword [0x56a94c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430088
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f524
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x56a94c]
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.0040e9ac
test eax, eax
je 0x45d976
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a3dc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e9d4
test eax, eax
je 0x45d98a
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.00404c90
mov eax, dword [0x56a66c]
cmp byte [eax], 0
jne 0x45d9be
mov eax, ebx
call fcn.0045db30
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.0045f700
mov eax, ebx
call fcn.004600c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d9fe
call fcn.00403ee4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ddb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x56cbe4]
cmp dword [eax + 0x30], 0
je 0x45de5a
cmp dword [ebx + 0x94], 0
jne 0x45de54
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45dd40
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45de54
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 0x45de1a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45de54
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.0041eaac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45de29
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e9bc
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 0x45e9f1
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.00404b10
jmp 0x45e9fe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a74
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f8dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f91d
mov eax, esi
call fcn.0044622c
test al, al
je 0x45f91d
mov eax, dword [ebx + 0x84]
call fcn.00445f54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f91d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445f54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46710c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41b600]
call fcn.00405758
xor eax, eax
push ebp
push 0x467250
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x568128], 0
jne 0x46715f
mov ecx, dword [0x56a6c0]
mov dl, 1
mov eax, dword [0x4088a0]
call fcn.0040db18
call fcn.004043b8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040337c
mov eax, ebx
call fcn.00405380
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x467260
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406b28
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405390
test eax, eax
jle 0x4671f7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4671f0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404ca8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404c90
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409774
test eax, eax
jne 0x4671f0
mov ebx, 0x15
jmp 0x4671fc
mov ebx, 0x10
jmp 0x4671fc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x568128]
call fcn.00467064
mov eax, dword [ebp - 8]
call fcn.00467064
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467257
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404a44
lea eax, [ebp - 0x10]
mov edx, dword [0x41b600]
call fcn.00405828
ret

Function at 0x481344
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x481369
cmp dword [esp + 4], 5
jb 0x481369
mov al, 1
jmp 0x48136b
xor eax, eax
add esp, 0x94
ret
Function at 0x495343
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x569266
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49539b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x569287
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x495391
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x49539f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4fdbe4
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 0x4fdc01
add esp, 0xfffffff0
call fcn.00403e8c
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 0x4fdd9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004f43f0
test al, al
jne 0x4fdc3e
mov ecx, 0x4fddd0
mov dl, 1
mov eax, dword [0x4e8aec]
call fcn.0040da5c
call fcn.004043b8
xor eax, eax
push ebp
push 0x4fdc6a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004f2e9c
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004f2d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fdc8a
mov eax, dword [ebp - 0x10]
mov edx, 0x4fde0c
call fcn.004054a8
je 0x4fdca7
mov eax, esi
mov edx, 0x4fde0c
call fcn.004054a8
jne 0x4fdccb
mov eax, edi
mov edx, 0x4fde1c
call fcn.004054a8
je 0x4fdccb
mov ecx, 0x4fddf4
mov dl, 1
mov eax, dword [0x4e8d94]
call fcn.0040da5c
call fcn.004043b8
mov eax, edi
xor edx, edx
call fcn.004054a8
jne 0x4fdcf8
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.004054a8
je 0x4fdcf8
mov ecx, 0x4fddf4
mov dl, 1
mov eax, dword [0x4e8d94]
call fcn.0040da5c
call fcn.004043b8
mov eax, dword [ebp - 0x10]
mov edx, 0x4fde5c
call fcn.004054a8
jne 0x4fdd2b
mov eax, edi
mov edx, 0x4fde68
call fcn.004054a8
je 0x4fdd2b
mov ecx, 0x4fddf4
mov dl, 1
mov eax, dword [0x4e8d94]
call fcn.0040da5c
call fcn.004043b8
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004fbcd4
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405190
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00405190
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00405190
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405190
lea eax, [ebx + 8]
call fcn.00405154
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 [0x4fdeb4]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fdda4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040516c
ret
Function at 0x4ff698
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 0x4ff6b5
add esp, 0xfffffff0
call fcn.00403e8c
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 0x4ff850
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004f43f0
test al, al
jne 0x4ff6f2
mov ecx, 0x4ff884
mov dl, 1
mov eax, dword [0x4e8aec]
call fcn.0040da5c
call fcn.004043b8
xor eax, eax
push ebp
push 0x4ff71e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004f2e9c
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004f2d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ff73e
mov eax, edi
xor edx, edx
call fcn.004054a8
jne 0x4ff76b
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.004054a8
je 0x4ff76b
mov ecx, 0x4ff8a8
mov dl, 1
mov eax, dword [0x4e8d94]
call fcn.0040da5c
call fcn.004043b8
mov eax, dword [ebp - 0x10]
mov edx, 0x4ff8c0
call fcn.004054a8
jne 0x4ff79e
mov eax, edi
mov edx, 0x4ff8cc
call fcn.004054a8
je 0x4ff79e
mov ecx, 0x4ff8a8
mov dl, 1
mov eax, dword [0x4e8d94]
call fcn.0040da5c
call fcn.004043b8
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004fbcd4
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405190
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00405190
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00405190
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405190
lea eax, [ebx + 8]
call fcn.00405154
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41c0d8]
call fcn.00403b30
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x4ff918]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4ebb10]
call fcn.004faf2c
mov dword [ebx + 0x3c], eax
mov ax, word [0x4ff91c]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff857
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040516c
ret
Function at 0x5022ac
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 0x5022ce
add esp, 0xfffffff0
call fcn.00403e8c
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 0x502439
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004f43f0
test al, al
jne 0x50230b
mov ecx, 0x50246c
mov dl, 1
mov eax, dword [0x4e8aec]
call fcn.0040da5c
call fcn.004043b8
push dword [0x56a394]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x56a394]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405460
mov eax, dword [ebp - 0xc]
call fcn.004f4ec8
test al, al
jne 0x5023dd
push dword [0x56a390]
push dword [ebp + 8]
push dword [0x56a390]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405460
mov eax, dword [ebp - 0x14]
call fcn.004f4ec8
test al, al
jne 0x5023dd
push dword [0x56a394]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x56a394]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405460
mov eax, dword [ebp - 0x18]
call fcn.004f4fe0
test al, al
jne 0x5023dd
push dword [0x56a390]
push edi
push dword [0x56a390]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405460
mov eax, dword [ebp - 0x20]
call fcn.004f4fe0
test al, al
jne 0x5023dd
mov ecx, 0x50246c
mov dl, 1
mov eax, dword [0x4e8aec]
call fcn.0040da5c
call fcn.004043b8
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004fbcd4
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405190
lea eax, [ebx + 8]
call fcn.00405154
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.00405190
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.00405190
mov byte [ebx + 0xc], 0xc
mov ax, word [0x502488]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502440
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.0040516c
ret

Function at 0x536f3c
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 0x536fb7
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 0x536f9e
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404c90
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.004095d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536fbe
lea eax, [ebp - 0x104]
call fcn.00404a20
ret