joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5506b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push edi
mov edi, ecx
mov dword [esp + 8], 0
mov dword [esp + 4], vtable.CBitmap.0
mov dword [esp + 0x34], 0
call fcn.0053abfb
movzx ecx, word [esp + 0x3c]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [sym.imp.user32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 8]
call fcn.00528920
test eax, eax
jne 0x47e423
lea ecx, [esp + 4]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 4], vtable.CGdiObject.0
call fcn.00528977
xor eax, eax
pop edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
push esi
lea ecx, [esp + 0x10]
call fcn.0051d66b
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push 0x18
push eax
mov byte [esp + 0x44], 1
call dword [sym.imp.gdi32.dll_GetObjectA]
mov esi, dword [esp + 0x48]
movzx ecx, word [esp + 0x2a]
xor eax, eax
cmp esi, 0xffffffff
setne al
add ecx, 0xfffffff8
cmp ecx, 0x18
ja case.0x47e464.9
movzx ecx, byte [ecx + 0x47e514]
jmp dword [ecx*4 + 0x47e500]
or eax, 8
jmp 0x47e482
or eax, 0x10
jmp 0x47e482
or eax, 0x18
jmp 0x47e482
or eax, 0x20
jmp 0x47e482
or eax, 4
mov edx, dword [esp + 0x20]
push 0
push 0
push eax
mov eax, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.0051d845
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push esi
push ecx
push edx
call dword [sym.imp.comctl32.dll_ImageList_AddMasked]
mov eax, dword [esp + 0x14]
push eax
call fcn.0051d734
push eax
lea ecx, [edi + 0x1c80]
call fcn.0051e4b2
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.0051d83a
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 8], vtable.CGdiObject.0
call fcn.00528977
mov ecx, dword [esp + 0x30]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
Function at 0x484b50
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], 0x572c08
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 8], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call dword [sym.imp.kernel32.dll_LoadLibraryA]
cmp eax, edi
mov dword [esi + 0x40], eax
je 0x484c0c
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x40]
push str.CloseThemeData
push eax
call edi
mov ecx, dword [esi + 0x40]
push str.DrawThemeBackground
push ecx
mov dword [esi + 0x48], eax
call edi
mov edx, dword [esi + 0x40]
push str.GetThemeColor
push edx
mov dword [esi + 0x4c], eax
call edi
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x40]
push str.GetThemeSysColor
push eax
call edi
mov ecx, dword [esi + 0x40]
push str.GetCurrentThemeName
push ecx
mov dword [esi + 0x54], eax
call edi
mov edx, dword [esi + 0x40]
push str.GetWindowTheme
push edx
mov dword [esi + 0x58], eax
call edi
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.004846e0
pop edi
mov eax, esi
pop esi
ret
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
pop edi
mov eax, esi
pop esi
ret

Function at 0x48d280
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x551138
push eax
mov dword fs:[0], esp
sub esp, 0x20
test esi, esi
je 0x48d2d7
lea ecx, [esp + 0x10]
call fcn.005256d9
mov eax, dword [esp + 0x30]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0
call fcn.00525971
test eax, eax
jne 0x48d2e8
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00525718
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ax, word [esi + 0xe]
push ebx
push edi
mov edi, 1
mov cl, al
shl edi, cl
cmp edi, 0x100
jg 0x48d305
cmp ax, 0x20
jne 0x48d307
xor edi, edi
mov ebx, dword [sym.imp.kernel32.dll_GlobalSize]
push esi
mov word [esp + 0xc], 0x4d42
call ebx
mov ecx, dword [esi]
add eax, 0xe
mov dword [esp + 0xa], eax
lea edx, [ecx + edi*4 + 0xe]
push 0xe
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
mov word [esp + 0x16], 0
mov word [esp + 0x18], 0
mov dword [esp + 0x1a], edx
call fcn.0052542c
push esi
call ebx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.0052542c
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00525718
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x48ffb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x551348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x573234
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
xor edi, edi
mov eax, 0xa
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], 0x573210
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0x57321c
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], 0x573228
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x11
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], eax
lea ecx, [esi + 0x84]
mov byte [esp + 0x14], 3
call fcn.005280aa
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], vtable.CBitmap.0
cmp dword [0x5a7aec], edi
mov byte [esp + 0x14], 5
mov dword [esi + 0x24], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
jne 0x4900f0
push ebx
mov ebx, dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push edi
call ebx
push edi
mov dword [0x5a7ae0], eax
call ebx
cmp dword [0x5a7ae0], edi
mov dword [0x5a7ae4], eax
pop ebx
je 0x4900ac
cmp eax, edi
jne 0x4900b1
call fcn.00528076
cmp dword [0x5a7a78], edi
jne 0x4900e6
cmp dword [0x5a7a74], edi
jne 0x4900e6
push str.msimg32.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
cmp eax, edi
mov dword [0x5a7ad8], eax
je 0x4900e6
push str.AlphaBlend
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x5a7adc], eax
mov dword [0x5a7aec], 1
mov ecx, 0xf
mov dword [esi + 8], ecx
mov eax, 0x10
xor ecx, ecx
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 0x10], ecx
mov ecx, esi
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0xc], eax
mov dword [esi + 0x80], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
call fcn.0048fec0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x495e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x551796
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x10], esi
mov dword [esi], 0x573bc4
mov dword [esi + 4], eax
mov dword [esi + 8], edi
call fcn.005280aa
lea ebp, [esi + 0x1c]
mov dword [esp + 0x1c], edi
mov dword [ebp + 4], edi
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x24], edi
mov ecx, dword [ebx + 0x1c]
lea edi, [esi + 0x28]
push edi
push ecx
mov byte [esp + 0x24], 1
call dword [sym.imp.user32.dll_GetClientRect]
push 0
mov ecx, ebx
call fcn.00521873
add dword [esi + 0x30], eax
push 1
mov ecx, ebx
call fcn.00521873
add dword [esi + 0x34], eax
mov eax, dword [0x5a4308]
test eax, eax
je 0x495f79
mov eax, dword [esi + 4]
test eax, eax
je 0x495f20
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xc]
call fcn.00528623
test eax, eax
je 0x495f79
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov ebx, dword [edi]
mov edx, dword [esi + 4]
mov edx, dword [edx + 4]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, ebx
push ecx
push edx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.00528920
test eax, eax
je 0x495f79
test ebp, ebp
mov dword [esi + 8], 1
je 0x495f6c
mov ebp, dword [ebp + 4]
mov eax, dword [esi + 0x10]
push ebp
push eax
call fcn.005289a9
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x49d840
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x552158
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.0049cc70
mov ebx, eax
lea ecx, [esp + 0x1c]
lea esi, [ebx + 8]
push ecx
mov ecx, esi
call fcn.00401a70
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x49d8ac
mov dword [eax], ebx
jmp 0x49d8af
mov dword [edi + 4], ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [edi + 8], ebx
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49d8d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18
Function at 0x49db10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55219e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x574b50
lea edi, [esi + 4]
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esp + 0x12c]
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0x130]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x124]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x134]
push ecx
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x120], ebx
mov dword [esi + 0x30], edx
mov dword [esi + 0x44], eax
call fcn.00401a70
lea edx, [esi + 0x10]
push edx
call dword [sym.imp.user32.dll_SetRectEmpty]
mov eax, dword [esi + 0x24]
or edi, 0xffffffff
cmp eax, ebx
mov dword [esi + 0x20], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
je 0x49dc18
mov eax, dword [eax + 0x1c]
push 0xff
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.user32.dll_GetClassNameA]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
call fcn.00401bc0
mov eax, dword [esp + 0xc]
push 0x566fec
push eax
call fcn.004656e2
add esp, 8
neg eax
sbb al, al
inc al
movzx ecx, al
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esi + 0x28], ecx
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x49dc1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x49dc1b
mov dword [esi + 0x28], ebx
mov ecx, dword [esp + 0x114]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 0x14

Function at 0x4a7760
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x108
push esi
mov esi, dword [esp + 0x110]
cmp esi, 0x60
push edi
mov edi, dword [sym.imp.user32.dll_GetAsyncKeyState]
jb 0x4a7787
cmp esi, 0x69
ja 0x4a7787
push 0x12
call edi
test ah, ah
jns 0x4a77bf
mov eax, dword [0x5a7ed8]
test eax, eax
jne 0x4a77bf
cmp esi, 0x41
jb 0x4a77a5
cmp esi, 0x5a
ja 0x4a77a5
pop edi
mov eax, esi
pop esi
add esp, 0x108
ret
push 0x12
call edi
test ah, ah
js 0x4a779a
push esi
call fcn.00474347
add esp, 4
pop edi
pop esi
add esp, 0x108
ret
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.user32.dll_GetKeyboardState]
call fcn.00525e10
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.user32.dll_GetKeyboardLayout]
push eax
push 1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push esi
call dword [sym.imp.user32.dll_MapVirtualKeyA]
push eax
push esi
call dword [sym.imp.user32.dll_ToAsciiEx]
mov cl, byte [esp + 0xc]
lea edx, [esp + 8]
push edx
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], 0
call dword [sym.imp.user32.dll_CharUpperA]
movsx eax, byte [esp + 8]
pop edi
pop esi
add esp, 0x108
ret
Function at 0x4a7bf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x552770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x14]
push str._sBCGKeyboard__d
xor esi, esi
push edx
mov dword [esp + 0x30], esi
call fcn.00405cd0
add esp, 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
push esi
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.004b41a0
push esi
mov ebx, eax
mov eax, dword [esp + 0x34]
push esi
push eax
call dword [sym.imp.user32.dll_CopyAcceleratorTableA]
mov edi, eax
cmp edi, esi
jne 0x4a7cbd
mov ecx, dword [esp + 0x10]
cmp ecx, esi
mov byte [esp + 0x20], 0
je 0x4a7c81
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7ca7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
mov eax, dword [ebx]
push ebp
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, ebx
call dword [eax + 0x18]
test eax, eax
jne 0x4a7d1a
mov ecx, dword [esp + 0x14]
cmp ecx, esi
mov byte [esp + 0x24], al
je 0x4a7ce1
mov edx, dword [ecx]
push 1
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7d03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
lea esi, [edi + edi*2]
shl esi, 1
push esi
call fcn.005253dd
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x34]
push edi
push ebp
push eax
call dword [sym.imp.user32.dll_CopyAcceleratorTableA]
mov edx, dword [ebx]
push esi
push ebp
push str.Accelerators
mov ecx, ebx
call dword [edx + 0x38]
push ebp
call fcn.005253e2
mov ecx, dword [esp + 0x18]
add esp, 4
test ecx, ecx
mov byte [esp + 0x24], 0
je 0x4a7d62
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7d88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x4a93d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
test eax, eax
push ebp
mov ebp, ecx
je 0x4a93e4
mov dword [eax], 1
mov eax, dword [0x5a7ac8]
test eax, eax
je 0x4a9423
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x4a9423
mov ecx, dword [esp + 0x10]
mov edx, dword [0x5a7ac8]
mov eax, dword [edx + 0x1c]
push 0
push ecx
push 0x100
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, 1
pop ebp
add esp, 8
ret 8
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.user32.dll_IsIconic]
test eax, eax
jne 0x4a9417
mov eax, dword [0x5a7ec4]
test eax, eax
je 0x4a9446
xor eax, eax
pop ebp
add esp, 8
ret 8
push ebx
mov ebx, dword [0x5a7f24]
push esi
mov dword [esp + 0x10], 0
push edi
test ebx, ebx
je 0x4a94ac
mov eax, ebx
mov esi, dword [eax + 8]
mov edx, dword [esi + 0x1c]
mov ebx, dword [ebx]
push edx
call fcn.00522236
test eax, eax
je 0x4a9457
mov ecx, esi
xor edi, edi
call fcn.0053dd60
test eax, eax
jle 0x4a9457
lea esp, [esp]
push edi
mov ecx, esi
call fcn.005302a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xa0]
test eax, eax
jne 0x4a94a4
mov ecx, esi
inc edi
call fcn.0053dd60
cmp edi, eax
jl 0x4a9480
jmp 0x4a9457
mov dword [esp + 0x14], 1
mov esi, dword [sym.imp.user32.dll_GetAsyncKeyState]
push 0x11
mov byte [esp + 0x17], 0
call esi
test ah, ah
jns 0x4a94c4
mov byte [esp + 0x13], 8
push 0x12
call esi
test ah, ah
jns 0x4a94d1
or byte [esp + 0x13], 0x10
push 0x10
call esi
test ah, ah
jns 0x4a94de
or byte [esp + 0x13], 4
mov edi, dword [esp + 0x14]
test edi, edi
mov esi, dword [esp + 0x1c]
jne 0x4a9522
mov eax, dword [ebp + 0x50]
xor ebx, ebx
mov bl, byte [esp + 0x13]
push 1
push eax
or ebx, 1
push ebx
push esi
call fcn.004a7860
add esp, 0x10
test eax, eax
jne 0x4a9556
mov ecx, dword [ebp + 0x50]
mov edx, dword [ecx]
push eax
call dword [edx + 0x13c]
push eax
push ebx
push esi
call fcn.004a7860
add esp, 0x10
test eax, eax
jne 0x4a9556
cmp byte [esp + 0x13], 0x10
jne 0x4a9544
push esi
mov ecx, ebp
call fcn.004a8c70
test eax, eax
je 0x4a9544
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 8
ret 8
test edi, edi
je 0x4a9556
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a9556
mov dword [eax], 0
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 8
ret 8
Function at 0x4b2d20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x552e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [0x5a8828]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.004a89d0
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x24], ebx
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push str._sBCGCommandManager
push ecx
mov byte [esp + 0x30], 1
call fcn.00405cd0
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.004b41a0
mov ebp, dword [esp + 0x10]
mov esi, eax
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x18]
test eax, eax
je 0x4b2e3b
mov eax, dword [esi]
add edi, 0x58
push edi
push str.CommandsWithoutImages
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov esi, eax
mov byte [esp + 0x24], 1
je 0x4b2de0
mov edx, dword [ecx]
push 1
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2dfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2e24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov byte [esp + 0x24], 1
je 0x4b2e4f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2e6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2e93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4c3470
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5536e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [esp + 0xc], ebx
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0
push 5
mov dword [esp + 0x20], 0
call fcn.0046dfb6
add esp, 8
push eax
lea ecx, [esp + 8]
call fcn.00401bc0
push eax
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.00401a70
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c34ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push esi
push edi
push 0
push 0
push 0x1001
push 0x400
call ebp
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.005253dd
add esp, 4
push edi
mov esi, eax
push esi
push 0x1001
push 0x400
mov byte [esi + edi], 0
call ebp
push esi
lea ecx, [esp + 0x18]
call fcn.00401bc0
push 0x56bad8
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x30], 2
call fcn.00410e40
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c356e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.005253e2
add esp, 4
push 0
push 0
push 0x1002
push 0x400
call ebp
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.005253dd
add esp, 4
push edi
mov esi, eax
push esi
push 0x1002
push 0x400
mov byte [esi + edi], 0
call ebp
test esi, esi
jne 0x4c35b1
xor eax, eax
jmp 0x4c35bf
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c35b6
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00401840
push esi
call fcn.005253e2
mov esi, dword [esp + 0x14]
push esi
push 5
call fcn.0046dfb6
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
jg 0x4c3601
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret