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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x56485c]
cmp byte [eax + 0xc], 0
je 0x47c361
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47c35a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x565bf4], 0
jne 0x47c248
push 0x47c368
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x47c370
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565bf4], eax
cmp dword [0x562484], 0
jne 0x47c343
push 0x47c380
call sub.kernel32.dll_LoadLibraryA
mov dword [0x562484], eax
cmp dword [0x562484], 0
je 0x47c343
push 0x47c38c
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565bf8], eax
push 0x47c39c
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565bfc], eax
push 0x47c3b0
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c00], eax
push 0x47c3c8
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c04], eax
push 0x47c3e0
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c08], eax
push 0x47c3f4
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c0c], eax
push 0x47c40c
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c10], eax
push 0x47c424
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c14], eax
push 0x47c440
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c18], eax
push 0x47c44c
mov eax, dword [0x562484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c361
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x4879f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x487a48]
test si, 4
je 0x487a0c
or bl, 1
test si, 8
je 0x487a16
or bl, 4
test si, 1
je 0x487a20
or bl, 8
test si, 2
je 0x487a2a
or bl, 0x10
test si, 0x10
je 0x487a34
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x487a43
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x487a4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x487a84]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x487a65
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x487a74
or bl, 4
test esi, 0x20000000
je 0x487a7f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x48e12c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48e13e
add esp, 0xfffffff0
call fcn.00403e80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004258d4
mov eax, dword [0x564194]
mov dword [eax + 4], ebx
mov dword [eax], 0x48e4d0
mov eax, dword [0x5641a8]
mov dword [eax + 4], ebx
mov dword [eax], 0x48e4dc
mov eax, ebx
call fcn.0048e4e8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
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, 0x48a904
push eax
push 0
push 0
mov eax, dword [0x564454]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x45a3a0]
call fcn.0045bbb4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x45a3a0]
call fcn.0045bbb4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x45a3a0]
call fcn.0045bbb4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048e908
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48e7e4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48e7e4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48e7e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48e27b
call fcn.00403ed8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48e5c8
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 0x48e773
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48e754
mov dl, 1
mov eax, dword [0x41c860]
call fcn.00403b24
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a14
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48e743
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.0047c554
test al, al
je 0x48e736
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, 0x48e784
lea eax, [ebp - 0x254]
call fcn.0040a9d0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48e736
xor eax, eax
push ebp
push 0x48e72f
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 0x48e7bc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48e718
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c84
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 0x48e718
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e736
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48e639
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421888
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 0x48e77a
lea eax, [ebp - 0x260]
call fcn.00404a14
ret

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

Disassembly:
push ecx
mov eax, dword [0x565c40]
cmp byte [eax + 0xa5], 0
jne 0x48f119
cmp dword [0x565c58], 0
jne 0x48f0da
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48f064
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x565c58], eax
cmp dword [0x565c54], 0
jne 0x48f0f5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x565c54], eax
cmp dword [0x565c5c], 0
jne 0x48f119
push esp
push 0
push 0
push 0x48f008
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x565c5c], eax
pop edx
ret
Function at 0x48f210
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48f227
add esp, 0xfffffff0
call fcn.00403e80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004258d4
mov eax, dword [0x564434]
cmp word [eax + 2], 0
jne 0x48f24f
mov eax, dword [0x564434]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00490764
mov eax, dword [0x564594]
cmp word [eax + 2], 0
jne 0x48f269
mov eax, dword [0x564594]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0049095c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
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 [0x45af20]
call fcn.00462834
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x48f3f0
mov eax, dword [0x564254]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00462c04
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x490f0c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x564254]
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.0040e924
test eax, eax
je 0x48f35e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a394
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e94c
test eax, eax
je 0x48f372
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.00404c84
mov eax, dword [0x563ff4]
cmp byte [eax], 0
jne 0x48f3a6
mov eax, ebx
call fcn.0048f518
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.004910e8
mov eax, ebx
call fcn.00491aac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48f3e6
call fcn.00403ed8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48f798
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x565c40]
cmp dword [eax + 0x30], 0
je 0x48f842
cmp dword [ebx + 0x94], 0
jne 0x48f83c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48f728
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48f83c
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 0x48f802
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48f83c
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.0041ea24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48f811
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4903a4
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 0x4903d9
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.00404b04
jmp 0x4903e6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a68
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4912c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x491305
mov eax, esi
call fcn.00477c14
test al, al
je 0x491305
mov eax, dword [ebx + 0x84]
call fcn.0047793c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x491305
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047793c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4c0aff
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 0x5634ae
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4c0b57
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 0x5634cf
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4c0b4d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4c0b5b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4f7d70
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 0x4f7d8d
add esp, 0xfffffff0
call fcn.00403e80
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 0x4f7f29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004ee57c
test al, al
jne 0x4f7dca
mov ecx, 0x4f7f5c
mov dl, 1
mov eax, dword [0x4e2c78]
call fcn.0040da14
call fcn.004043ac
xor eax, eax
push ebp
push 0x4f7df6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004ed028
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004ecf14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f7e16
mov eax, dword [ebp - 0x10]
mov edx, 0x4f7f98
call fcn.0040549c
je 0x4f7e33
mov eax, esi
mov edx, 0x4f7f98
call fcn.0040549c
jne 0x4f7e57
mov eax, edi
mov edx, 0x4f7fa8
call fcn.0040549c
je 0x4f7e57
mov ecx, 0x4f7f80
mov dl, 1
mov eax, dword [0x4e2f20]
call fcn.0040da14
call fcn.004043ac
mov eax, edi
xor edx, edx
call fcn.0040549c
jne 0x4f7e84
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.0040549c
je 0x4f7e84
mov ecx, 0x4f7f80
mov dl, 1
mov eax, dword [0x4e2f20]
call fcn.0040da14
call fcn.004043ac
mov eax, dword [ebp - 0x10]
mov edx, 0x4f7fe8
call fcn.0040549c
jne 0x4f7eb7
mov eax, edi
mov edx, 0x4f7ff4
call fcn.0040549c
je 0x4f7eb7
mov ecx, 0x4f7f80
mov dl, 1
mov eax, dword [0x4e2f20]
call fcn.0040da14
call fcn.004043ac
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004f5e60
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405184
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00405184
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00405184
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405184
lea eax, [ebx + 8]
call fcn.00405148
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 [0x4f8040]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7f30
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405160
ret
Function at 0x4f9824
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 0x4f9841
add esp, 0xfffffff0
call fcn.00403e80
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 0x4f99dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004ee57c
test al, al
jne 0x4f987e
mov ecx, 0x4f9a10
mov dl, 1
mov eax, dword [0x4e2c78]
call fcn.0040da14
call fcn.004043ac
xor eax, eax
push ebp
push 0x4f98aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004ed028
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004ecf14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f98ca
mov eax, edi
xor edx, edx
call fcn.0040549c
jne 0x4f98f7
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.0040549c
je 0x4f98f7
mov ecx, 0x4f9a34
mov dl, 1
mov eax, dword [0x4e2f20]
call fcn.0040da14
call fcn.004043ac
mov eax, dword [ebp - 0x10]
mov edx, 0x4f9a4c
call fcn.0040549c
jne 0x4f992a
mov eax, edi
mov edx, 0x4f9a58
call fcn.0040549c
je 0x4f992a
mov ecx, 0x4f9a34
mov dl, 1
mov eax, dword [0x4e2f20]
call fcn.0040da14
call fcn.004043ac
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004f5e60
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405184
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00405184
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00405184
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405184
lea eax, [ebx + 8]
call fcn.00405148
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41c050]
call fcn.00403b24
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x4f9aa4]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4e5c9c]
call fcn.004f50b8
mov dword [ebx + 0x3c], eax
mov ax, word [0x4f9aa8]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f99e3
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405160
ret
Function at 0x4fc438
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 0x4fc45a
add esp, 0xfffffff0
call fcn.00403e80
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 0x4fc5c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004ee57c
test al, al
jne 0x4fc497
mov ecx, 0x4fc5f8
mov dl, 1
mov eax, dword [0x4e2c78]
call fcn.0040da14
call fcn.004043ac
push dword [0x563d1c]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x563d1c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405454
mov eax, dword [ebp - 0xc]
call fcn.004ef054
test al, al
jne 0x4fc569
push dword [0x563d18]
push dword [ebp + 8]
push dword [0x563d18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405454
mov eax, dword [ebp - 0x14]
call fcn.004ef054
test al, al
jne 0x4fc569
push dword [0x563d1c]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x563d1c]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405454
mov eax, dword [ebp - 0x18]
call fcn.004ef16c
test al, al
jne 0x4fc569
push dword [0x563d18]
push edi
push dword [0x563d18]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405454
mov eax, dword [ebp - 0x20]
call fcn.004ef16c
test al, al
jne 0x4fc569
mov ecx, 0x4fc5f8
mov dl, 1
mov eax, dword [0x4e2c78]
call fcn.0040da14
call fcn.004043ac
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004f5e60
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405184
lea eax, [ebx + 8]
call fcn.00405148
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.00405184
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.00405184
mov byte [ebx + 0xc], 0xc
mov ax, word [0x4fc614]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc5cc
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00405160
ret

Function at 0x5310c8
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 0x531143
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 0x53112a
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404c84
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.004095bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53114a
lea eax, [ebp - 0x104]
call fcn.00404a14
ret
Function at 0x551058
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55116e
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x551134
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040337c
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], 1
mov eax, esi
call fcn.00404ed4
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call sub.wininet.dll_InternetCrackUrlA
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffd
sub eax, 2
jb 0x5510fd
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0xb
lea eax, [ebp - 0x44]
push eax
push 0
push 0
lea edx, [ebp - 0x48]
mov eax, dword [0x564134]
call fcn.00407070
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x5505e8]
call fcn.00550cbc
call fcn.004043ac
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x64], eax
movzx eax, word [ebp - 0x24]
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
push eax
mov edx, dword [ebp - 0x2c]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0x28]
mov eax, esi
call fcn.00404f34
lea eax, [ebx + 0x5c]
push eax
mov edx, dword [ebp - 0x10]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404f34
jmp 0x55114e
xor eax, eax
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
call fcn.00404a14
lea eax, [ebx + 0x5c]
call fcn.00404a14
xor eax, eax
mov dword [ebx + 0x64], eax
lea eax, [ebx + 0x3c]
mov edx, esi
call fcn.00404a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551175
lea eax, [ebp - 0x48]
call fcn.00404a14
ret