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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x54b600]
cmp byte [eax + 0xc], 0
je 0x44d44d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d446
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x54cb70], 0
jne 0x44d334
push 0x44d454
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44d45c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb70], eax
cmp dword [0x545e68], 0
jne 0x44d42f
push 0x44d46c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x545e68], eax
cmp dword [0x545e68], 0
je 0x44d42f
push 0x44d478
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb74], eax
push 0x44d488
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb78], eax
push 0x44d49c
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb7c], eax
push 0x44d4b4
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb80], eax
push 0x44d4cc
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb84], eax
push 0x44d4e0
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb88], eax
push 0x44d4f8
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb8c], eax
push 0x44d510
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb90], eax
push 0x44d52c
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb94], eax
push 0x44d538
mov eax, dword [0x545e68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54cb98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d44d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x458b78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458bc8]
test si, 4
je 0x458b8c
or bl, 1
test si, 8
je 0x458b96
or bl, 4
test si, 1
je 0x458ba0
or bl, 8
test si, 2
je 0x458baa
or bl, 0x10
test si, 0x10
je 0x458bb4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458bc3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x458bcc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458c04]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458be5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458bf4
or bl, 4
test esi, 0x20000000
je 0x458bff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45f2c8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f2da
add esp, 0xfffffff0
call fcn.00403d88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004244a8
mov eax, dword [0x54b058]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f66c
mov eax, dword [0x54b070]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f678
mov eax, ebx
call fcn.0045f684
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b8a4]
call fcn.00403a10
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b8a4]
call fcn.00403a10
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b8a4]
call fcn.00403a10
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b8a4]
call fcn.00403a10
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b8a4]
call fcn.00403a10
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, 0x45ba9c
push eax
push 0
push 0
mov eax, dword [0x54b2a4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425f50]
call fcn.00427788
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425f50]
call fcn.00427788
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425f50]
call fcn.00427788
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045fad4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f99c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f99c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f99c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f417
call fcn.00403de0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45f780
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 0x45f92b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45f90c
mov dl, 1
mov eax, dword [0x41be6c]
call fcn.00403a10
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45f8fb
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.0044d640
test al, al
je 0x45f8ee
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, 0x45f93c
lea eax, [ebp - 0x254]
call fcn.0040a7fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45f8ee
xor eax, eax
push ebp
push 0x45f8e7
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 0x45f974
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45f8d0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b2c
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 0x45f8d0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f8ee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45f7f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420410
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 0x45f932
lea eax, [ebp - 0x260]
call fcn.004048bc
ret

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

Disassembly:
push ecx
mov eax, dword [0x54cbbc]
cmp byte [eax + 0xa5], 0
jne 0x4602e5
cmp dword [0x54cbd4], 0
jne 0x4602a6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x460230
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x54cbd4], eax
cmp dword [0x54cbd0], 0
jne 0x4602c1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x54cbd0], eax
cmp dword [0x54cbd8], 0
jne 0x4602e5
push esp
push 0
push 0
push 0x4601d4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x54cbd8], eax
pop edx
ret
Function at 0x460978
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x54cbbc]
cmp dword [eax + 0x30], 0
je 0x460a22
cmp dword [ebx + 0x94], 0
jne 0x460a1c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460908
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460a1c
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 0x4609e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460a1c
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.0041e13c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4609f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461580
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 0x4615b5
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.004049ac
jmp 0x4615c2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404910
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46278c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4627cd
mov eax, esi
call fcn.00448cbc
test al, al
je 0x4627cd
mov eax, dword [ebx + 0x84]
call fcn.004489b8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4627cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.004489b8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4688c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x468b20
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x468923
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00468568
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040dda8
cmp al, 1
jne 0x468923
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00468830
test al, al
je 0x468aaf
cmp dword [ebp - 8], 0
jge 0x468941
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00468568
mov eax, dword [ebp - 0x210]
call fcn.00404b7c
cmp ebx, eax
jge 0x46898b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00468568
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x54b5dc]
and eax, 0xff
bt dword [edx], eax
jae 0x46898b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x46899f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046889c
cmp ebx, dword [ebp - 8]
je 0x468aa1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4689cb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c58
and eax, 0x7f
movzx eax, word [eax*2 + 0x54652c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x468a8e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c58
and eax, 0x7f
movzx eax, word [eax*2 + 0x54652c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004489b8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c58
and eax, 0x7f
movzx eax, word [eax*2 + 0x54652c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004489b8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468a95
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x468b02
cmp dword [ebp - 8], 0
jge 0x468aba
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00468568
mov eax, dword [ebp - 0x218]
call fcn.00404b7c
cmp eax, dword [ebp - 8]
jg 0x468af4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00468568
mov eax, dword [ebp - 0x21c]
call fcn.00404b7c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046889c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468b27
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004048e0
ret
Function at 0x47444c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x47447b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4744fa
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00472ce0
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4744c8
mov cx, word [esp]
sub cx, si
jmp 0x4744ca
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4744b1
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4744f0
mov cx, word [esp]
sub cx, si
jmp 0x4744f2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4744d9
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x474557
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00474120
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x474542
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x474557
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x474456
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47abd4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and eax, 1
test al, al
je 0x47ac03
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x47ac06
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x47abea
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x54dd60], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x47abdf
mov byte [0x54e160], 1
mov esp, ebp
pop ebp
ret

Function at 0x47ac34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp byte [0x54e160], 0
jne 0x47ac57
call fcn.0047abd4
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x47ac96
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x54dd60]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x47ac6a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4e05c8
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 0x4e05e5
add esp, 0xfffffff0
call fcn.00403d88
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 0x4e0781
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d6dd4
test al, al
jne 0x4e0622
mov ecx, 0x4e07b4
mov dl, 1
mov eax, dword [0x4cb4d0]
call fcn.0040d3a4
call fcn.004042b4
xor eax, eax
push ebp
push 0x4e064e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004d5880
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004d576c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e066e
mov eax, dword [ebp - 0x10]
mov edx, 0x4e07f0
call fcn.004052f0
je 0x4e068b
mov eax, esi
mov edx, 0x4e07f0
call fcn.004052f0
jne 0x4e06af
mov eax, edi
mov edx, 0x4e0800
call fcn.004052f0
je 0x4e06af
mov ecx, 0x4e07d8
mov dl, 1
mov eax, dword [0x4cb778]
call fcn.0040d3a4
call fcn.004042b4
mov eax, edi
xor edx, edx
call fcn.004052f0
jne 0x4e06dc
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.004052f0
je 0x4e06dc
mov ecx, 0x4e07d8
mov dl, 1
mov eax, dword [0x4cb778]
call fcn.0040d3a4
call fcn.004042b4
mov eax, dword [ebp - 0x10]
mov edx, 0x4e0840
call fcn.004052f0
jne 0x4e070f
mov eax, edi
mov edx, 0x4e084c
call fcn.004052f0
je 0x4e070f
mov ecx, 0x4e07d8
mov dl, 1
mov eax, dword [0x4cb778]
call fcn.0040d3a4
call fcn.004042b4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004de6b8
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405004
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00405004
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00405004
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405004
lea eax, [ebx + 8]
call fcn.00404fc8
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 [0x4e0898]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0788
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404fe0
ret
Function at 0x4e207c
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 0x4e2099
add esp, 0xfffffff0
call fcn.00403d88
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 0x4e2234
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d6dd4
test al, al
jne 0x4e20d6
mov ecx, 0x4e2268
mov dl, 1
mov eax, dword [0x4cb4d0]
call fcn.0040d3a4
call fcn.004042b4
xor eax, eax
push ebp
push 0x4e2102
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004d5880
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004d576c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e2122
mov eax, edi
xor edx, edx
call fcn.004052f0
jne 0x4e214f
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.004052f0
je 0x4e214f
mov ecx, 0x4e228c
mov dl, 1
mov eax, dword [0x4cb778]
call fcn.0040d3a4
call fcn.004042b4
mov eax, dword [ebp - 0x10]
mov edx, 0x4e22a4
call fcn.004052f0
jne 0x4e2182
mov eax, edi
mov edx, 0x4e22b0
call fcn.004052f0
je 0x4e2182
mov ecx, 0x4e228c
mov dl, 1
mov eax, dword [0x4cb778]
call fcn.0040d3a4
call fcn.004042b4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004de6b8
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405004
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00405004
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00405004
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405004
lea eax, [ebx + 8]
call fcn.00404fc8
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41b8a4]
call fcn.00403a10
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41b8a4]
call fcn.00403a10
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41b8a4]
call fcn.00403a10
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x4e22fc]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4ce4f4]
call fcn.004dd910
mov dword [ebx + 0x3c], eax
mov ax, word [0x4e2300]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e223b
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404fe0
ret
Function at 0x4e4c90
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 0x4e4cb2
add esp, 0xfffffff0
call fcn.00403d88
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 0x4e4e1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d6dd4
test al, al
jne 0x4e4cef
mov ecx, 0x4e4e50
mov dl, 1
mov eax, dword [0x4cb4d0]
call fcn.0040d3a4
call fcn.004042b4
push dword [0x54abb8]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x54abb8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004052a8
mov eax, dword [ebp - 0xc]
call fcn.004d78ac
test al, al
jne 0x4e4dc1
push dword [0x54abb4]
push dword [ebp + 8]
push dword [0x54abb4]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004052a8
mov eax, dword [ebp - 0x14]
call fcn.004d78ac
test al, al
jne 0x4e4dc1
push dword [0x54abb8]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x54abb8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004052a8
mov eax, dword [ebp - 0x18]
call fcn.004d79c4
test al, al
jne 0x4e4dc1
push dword [0x54abb4]
push edi
push dword [0x54abb4]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004052a8
mov eax, dword [ebp - 0x20]
call fcn.004d79c4
test al, al
jne 0x4e4dc1
mov ecx, 0x4e4e50
mov dl, 1
mov eax, dword [0x4cb4d0]
call fcn.0040d3a4
call fcn.004042b4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004de6b8
lea eax, [ebx + 4]
mov edx, esi
call fcn.00405004
lea eax, [ebx + 8]
call fcn.00404fc8
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.00405004
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.00405004
mov byte [ebx + 0xc], 0xc
mov ax, word [0x4e4e6c]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4e24
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404fe0
ret

Function at 0x519920
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 0x51999b
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 0x519982
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404b2c
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.004094ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5199a2
lea eax, [ebp - 0x104]
call fcn.004048bc
ret