joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x28], 0
je 0x40210b
cmp dword [esi + 0x34], 0
je 0x40210b
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40210b
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [esi + 0x34]
push dword [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dfc3
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040dfc3
mov esp, ebp
pop ebp
ret 4

Function at 0x402950
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [edx + 8]
test edi, edi
je 0x4029a9
mov esi, dword [edx + 0xc]
test esi, 0x2000000
je 0x4029be
mov esi, dword [edx]
cmp esi, dword [edx + 4]
jne 0x4029a9
cmp dword [edx + 0x10], 0
push ebx
jne 0x402996
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x3c]
cmp dword [eax + 0x38], ebx
je 0x402996
xor edx, edx
mov eax, edi
div ebx
test edx, edx
jne 0x4029a8
push dword [ecx + 0x34]
mov eax, dword [ecx + 0x20]
push 0x4000
push edi
push esi
call eax
add esp, 0x10
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dfc3
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov eax, esi
shr eax, 0x1e
and eax, 1
shr ecx, 0x1d
and ecx, 1
lea ecx, [eax + ecx*2]
mov eax, esi
shr eax, 0x1f
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + 0x435798]
lea eax, [ebp - 8]
push eax
mov eax, ecx
or eax, 0x200
and esi, 0x4000000
cmove eax, ecx
push eax
push edi
push dword [edx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4029a9
push eax
push eax
lea eax, [ebp - 0xc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402a27
sub ecx, edx
lea eax, [ecx + 0x1f]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 0xc]
mov esi, eax
push str.Error_protecting_memory_page
push str._s:__s
push esi
call fcn.004028e0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0xc]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040dfc3
mov esp, ebp
pop ebp
ret
Function at 0x404b40
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428412
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x608], esi
mov dword [ebp - 0x630], esi
xorps xmm0, xmm0
mov dword [ebp - 0x60c], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [ebp - 0x604]
mov dword [ebp - 4], 0
push eax
push 0x400
mov dword [ebp - 0x60c], 1
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor edi, edi
mov dword [ebp - 0x608], eax
test eax, eax
jle 0x404cea
nop word [eax + eax]
movzx eax, word [ebp + edi*4 - 0x604]
lea ecx, [ebp - 0x204]
push 0x1f4
push ecx
push 2
push eax
mov dword [ebp - 0x610], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x61c], 0
lea edx, [eax + 1]
mov dword [ebp - 0x618], 0xf
mov byte [ebp - 0x62c], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c31
sub eax, edx
lea ecx, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00402470
mov ecx, dword [ebp - 0x610]
mov dword [ebp - 0x614], ecx
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x404c94
movups xmm0, xmmword [ebp - 0x62c]
mov edx, 0xf
mov byte [ebp - 0x62c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x61c]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], ecx
add dword [esi + 4], 0x1c
jmp 0x404ca9
lea ecx, [ebp - 0x62c]
push ecx
push eax
mov ecx, esi
call fcn.0040bfe0
mov edx, dword [ebp - 0x618]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x404cdd
mov ecx, dword [ebp - 0x62c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404cd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404d07
push edx
push ecx
call fcn.0040e203
add esp, 8
inc edi
cmp edi, dword [ebp - 0x608]
jl 0x404be0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dfc3
mov esp, ebp
pop ebp
ret
call fcn.004127d7
int3
Function at 0x404ea0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x110], edi
mov ax, word [0x4359c8]
movq xmm0, qword [str._unknown_]
push 0xfa
mov word [ebp - 0x100], ax
lea eax, [ebp - 0xfe]
push 0
push eax
movq qword [ebp - 0x108], xmm0
call fcn.0040fdb0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404f40
lea eax, [ebp - 0x10c]
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x404f40
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x108]
mov dword [edi], 0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404f67
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
mov ecx, edi
call fcn.00402470
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0040dfc3
mov esp, ebp
pop ebp
ret

Function at 0x405040
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4284b3
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
lea ecx, [ebp - 0xa0]
mov edx, esi
call fcn.00404fa0
mov edi, eax
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00404ea0
push eax
mov edx, str._c_taskkill__im__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0040bd10
push str.___f__erase__
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040bd80
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040bf40
push str.___exit
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040bd80
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00402200
lea ecx, [ebp - 0x58]
call fcn.00402200
lea ecx, [ebp - 0x70]
call fcn.00402200
lea ecx, [ebp - 0x88]
call fcn.00402200
lea ecx, [ebp - 0xa0]
call fcn.00402200
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004021c0
push eax
push str.C:WindowsSystem32cmd.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call fcn.00416230
int3
Function at 0x40b460
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x15], 0
je 0x40b48a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [str.................]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x16
jb 0x40b480
mov eax, ecx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x422a00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x524678
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0x40835c
xor eax, eax
mov dword [edi + 4], 0
mov word [edi + 8], ax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], eax
mov byte [edi + 0x18], al
mov dword [edi + 0x14], 0x408308
mov dword [edi + 0x48], 0xf
mov dword [edi + 0x44], eax
mov byte [edi + 0x34], al
mov dword [edi + 0x30], 0x408308
mov dword [edi + 0x64], 0xf
mov dword [edi + 0x60], eax
mov byte [edi + 0x50], al
mov dword [edi + 0x4c], 0x408308
mov byte [edi + 0x68], al
mov dword [edi + 0x6c], eax
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
mov byte [edi + 0x8c], 1
mov dword [edi + 0x90], 1
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], eax
mov dword [edi + 0x7c], 0x408354
mov dword [esp + 0x18], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
push 0x128
lea esi, [edi + 0x18c]
mov byte [esp + 0x1c], 1
push eax
push esi
mov byte [esi + 0x128], al
call fcn.004fa8e0
xor eax, eax
cmp byte [esi + 0x128], al
setne al
push eax
push esi
call fcn.0046a790
add esp, 0x14
mov dword [edi + 0x2b8], 0
mov dword [edi + 0x2c4], 0
mov dword [edi + 0x2c8], 0
mov dword [edi + 0x2cc], 0
lea ecx, [edi + 0x2d0]
mov byte [esp + 0x18], 3
mov dword [edi + 0x2d0], 0
mov dword [edi + 0x2d4], 0
call fcn.00427250
mov dword [edi + 0x2d0], eax
mov dword [edi + 0x2d8], 0
mov dword [edi + 0x2dc], 0
mov dword [edi + 0x2e0], 0
mov dword [edi + 0x2ec], 0
mov dword [edi + 0x2f0], 0
mov dword [edi + 0x2f4], 0
mov eax, dword [0x558100]
test al, 1
jne 0x422bb7
or eax, 1
mov dword [0x558100], eax
push 0x557fb0
mov byte [esp + 0x1c], 7
call fcn.0046b830
push 0x5350f0
call fcn.004f9475
add esp, 8
mov dword [edi + 0x2f8], 0x557fb0
mov dword [edi + 0x310], 0
mov dword [edi + 0x314], 0
mov dword [edi + 0x318], 0
mov byte [edi + 0x31c], 1
mov dword [edi + 0x320], 1
mov dword [edi + 0x324], 0
mov dword [edi + 0x328], 0
mov dword [edi + 0x32c], 0
mov dword [edi + 0x30c], 0x408354
mov ecx, edi
mov byte [esp + 0x18], 8
call fcn.004259f0
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x423140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52484a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
push 0
mov dword [esp + 0x10], esi
call fcn.004f87f2
mov dword [esp + 0x2c], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x2c], 6
test edi, edi
jne 0x4231f5
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x408124
push eax
lea ecx, [esp + 0x14]
call fcn.004f9c0a
push 0x536550
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x40811c
push eax
call fcn.004f9e41
push edi
push esi
call fcn.004f8e95
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
Function at 0x42c6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52543b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xcc]
shr eax, 0xb
test al, 1
je 0x42c8f0
mov eax, dword [edi + 0xd0]
shr eax, 8
test al, 1
je 0x42c8f0
lea ecx, [esp + 0x80]
call fcn.00473c90
lea ecx, [esp + 0x80]
mov dword [esp + 0xa8], 0
call fcn.00474d80
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x88]
call fcn.00474490
mov esi, eax
mov eax, dword [esi + 0x14]
mov byte [esp + 0xa8], 1
test eax, eax
je 0x42c767
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
jb 0x42c75f
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharLowerBuffA]
push 0xffffffffffffffff
lea eax, [esi + 4]
mov dword [esp + 0x80], 0xf
push 0
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.00429170
mov dword [esp + 0x64], 0x408308
lea ecx, [esp + 0x48]
mov byte [esp + 0xa8], 3
call fcn.00473d10
cmp dword [edi + 0x7c], 0
je 0x42c8a9
mov esi, dword [edi + 0x78]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x10]
lea ecx, [edi + 0x78]
push eax
call fcn.0044f090
cmp dword [eax], esi
setne al
test al, al
jne 0x42c8a9
mov ax, word [0x557f5e]
mov ecx, dword [edi + 0xfc]
mov word [esp + 0xc], ax
push dword [esp + 0xc]
call fcn.00471e80
push eax
lea ecx, [esp + 0x30]
call fcn.00421be0
movzx eax, word [0x557f6c]
mov ecx, dword [edi + 0xfc]
push eax
mov byte [esp + 0xac], 4
call fcn.00471e80
push eax
lea ecx, [esp + 0x14]
call fcn.00421be0
push 1
push 1
push 0
push 0x186ad
lea eax, [esp + 0x3c]
mov byte [esp + 0xb8], 5
push eax
lea eax, [esp + 0x24]
push eax
push 4
push 0
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push eax
call fcn.004316c0
add esp, 0x28
mov dword [esp + 0x10], 0x408308
cmp dword [esp + 0x28], 0x10
jb 0x42c86c
push dword [esp + 0x14]
call fcn.004f9345
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0xa8], 3
mov dword [esp + 0x2c], 0x408308
jb 0x42c8a4
push dword [esp + 0x30]
call fcn.004f9345
add esp, 4
call fcn.004449d0
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x64], 0x408308
jb 0x42c8c4
push dword [esp + 0x68]
call fcn.004f9345
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
mov dword [esp + 0xa8], 0xffffffff
call fcn.00473d10
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004f9e32
add esp, 0xa0
ret
Function at 0x42dfa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5255a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x42dfe1
mov ecx, edi
call fcn.0042de90
mov byte [edi + 0xbc], al
jmp 0x42dfe8
mov byte [edi + 0xbc], 0
mov ecx, edi
call fcn.0042e220
mov byte [edi + 0xbd], al
mov ax, word [0x557f6c]
test ax, ax
je 0x42e021
mov ecx, dword [edi + 0xfc]
movzx eax, ax
push eax
call fcn.00471e80
mov ecx, dword [edi + 0xa8]
push eax
add ecx, 0x330
call fcn.00472410
mov ax, word [0x557f8c]
test ax, ax
je 0x42e04d
mov ecx, dword [edi + 0xfc]
movzx eax, ax
push eax
call fcn.00471e80
mov ecx, dword [edi + 0xa8]
push eax
add ecx, 0x34c
call fcn.00472410
mov ax, word [0x557f8e]
test ax, ax
je 0x42e07e
mov ecx, dword [edi + 0xfc]
mov word [esp + 0xc], ax
push dword [esp + 0xc]
call fcn.00471e80
mov ecx, dword [edi + 0xa8]
push eax
add ecx, 0x368
call fcn.00472410
mov ax, word [0x557f8a]
test ax, ax
je 0x42e0af
mov ecx, dword [edi + 0xfc]
mov word [esp + 0xc], ax
push dword [esp + 0xc]
call fcn.00471e80
mov ecx, dword [edi + 0xa8]
push eax
add ecx, 0x384
call fcn.00472410
mov ax, word [0x557f6a]
test ax, ax
je 0x42e0e0
mov ecx, dword [edi + 0xfc]
mov word [esp + 0xc], ax
push dword [esp + 0xc]
call fcn.00471e80
mov ecx, dword [edi + 0xa8]
push eax
add ecx, 0x3a0
call fcn.00472410
mov ax, word [0x557f5a]
test ax, ax
je 0x42e111
mov ecx, dword [edi + 0xfc]
mov word [esp + 0xc], ax
push dword [esp + 0xc]
call fcn.00471e80
mov ecx, dword [edi + 0xa8]
push eax
add ecx, 0x3bc
call fcn.00472410
lea esi, [edi + 4]
mov ecx, esi
call fcn.00431ba0
call fcn.0042dc00
mov dword [eax + 4], esi
cmp byte [edi + 0xbc], 0
jne 0x42e201
cmp byte [edi + 0xbd], 0
jne 0x42e201
mov ecx, dword [edi + 0xcc]
mov eax, ecx
shr eax, 3
test al, 1
jne 0x42e201
shr ecx, 1
test cl, 1
je 0x42e164
test byte [edi + 0xcc], 1
je 0x42e201
mov ax, word [0x557f5a]
mov ecx, dword [edi + 0xfc]
mov word [esp + 0xc], ax
push dword [esp + 0xc]
call fcn.00471e80
push eax
lea ecx, [esp + 0x34]
call fcn.00421be0
movzx eax, word [0x557f6c]
mov ecx, dword [edi + 0xfc]
push eax
mov dword [esp + 0x58], 0
call fcn.00471e80
push eax
lea ecx, [esp + 0x18]
call fcn.00421be0
push 0
push 1
push 0
push 0xfffffffffffffffa
lea eax, [esp + 0x40]
mov byte [esp + 0x64], 1
push eax
lea eax, [esp + 0x28]
push eax
push 4
push 0
push dword [edi + 0xb0]
lea eax, [esp + 0x34]
push eax
call fcn.004316c0
add esp, 0x28
lea ecx, [esp + 0x14]
call fcn.00473d10
lea ecx, [esp + 0x30]
call fcn.00473d10
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x42e220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5255d8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
movdqu xmmword [esp + 0x44], xmm0
mov dword [esp + 0x44], 0x408318
movdqu xmmword [esp + 0x54], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x54], 1
movdqu xmmword [esp + 0x58], xmm0
push 5
push 0x408600
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], 0
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00429350
mov dword [esp + 0x28], 0x408308
push 0x29
push 0x408608
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 1
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00429350
mov dword [esp + 0xc], 0x408308
push 0
lea eax, [esp + 0x48]
mov byte [esp + 0x74], 2
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0042cfb0
add esp, 0x10
mov dword [esp + 0xc], 0x408308
cmp dword [esp + 0x24], 0x10
mov bl, al
jb 0x42e329
push dword [esp + 0x10]
call fcn.004f9345
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x70], 0
mov dword [esp + 0x28], 0x408308
jb 0x42e35e
push dword [esp + 0x2c]
call fcn.004f9345
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
test bl, bl
je 0x42e424
mov eax, dword [0x559f84]
test eax, eax
jne 0x42e3b1
push 0x40
call fcn.004f92f4
mov esi, eax
add esp, 4
test esi, esi
je 0x42e3aa
push 0x40
push 0
push esi
call fcn.004fa8e0
add esp, 0xc
mov ecx, esi
call fcn.0042c280
jmp 0x42e3ac
xor eax, eax
mov dword [0x559f84], eax
mov dword [eax], 0x4d11c0
mov dword [eax + 4], fcn.004d11e0
mov dword [eax + 8], fcn.004d07c0
mov dword [eax + 0xc], 0x4d1c90
mov dword [eax + 0x10], 0x4d1c70
mov dword [eax + 0x14], fcn.004d19f0
mov dword [eax + 0x18], 0x4d2f50
mov dword [eax + 0x1c], 0x4d11b0
mov dword [eax + 0x20], fcn.004d1320
mov dword [eax + 0x24], 0x4d1ab0
mov dword [eax + 0x28], 0x4d2200
mov dword [eax + 0x2c], 0x4d1720
mov dword [eax + 0x30], 0x4d1100
mov dword [eax + 0x34], 0x4d3590
mov dword [eax + 0x38], 0x4d39d0
mov byte [eax + 0x3c], 1
call fcn.004cfc40
mov bl, 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], 0xffffffff
call fcn.00423560
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x68
ret
Function at 0x434cc0
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0x55816c]
push edi
mov edi, ecx
test al, 1
jne 0x434ce2
or eax, 1
cmp dword [edi + 4], 0
mov dword [0x55816c], eax
sete al
mov byte [0x558168], al
jmp 0x434ce7
mov al, byte [0x558168]
test al, al
jne 0x434cef
mov al, 1
pop edi
ret
push esi
mov byte [0x558168], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
mov ecx, 8
and edx, 0x3ff
mov eax, edx
or eax, 0x800
xor esi, esi
cmp eax, dword [ecx + 0x4086d0]
je 0x434d4c
cmp eax, dword [ecx + 0x4086d4]
je 0x434d4b
cmp eax, dword [ecx + 0x4086d8]
je 0x434d46
cmp eax, dword [ecx + 0x4086dc]
je 0x434d41
add ecx, 0x10
add esi, 4
cmp ecx, 0x48
jb 0x434d14
jmp 0x434d51
add esi, 3
jmp 0x434d4c
add esi, 2
jmp 0x434d4c
inc esi
cmp esi, 0x10
jb 0x434d95
xor esi, esi
mov eax, 8
cmp edx, dword [eax + 0x4086d0]
je 0x434d90
cmp edx, dword [eax + 0x4086d4]
je 0x434d8f
cmp edx, dword [eax + 0x4086d8]
je 0x434d8a
cmp edx, dword [eax + 0x4086dc]
je 0x434d85
add eax, 0x10
add esi, 4
cmp eax, 0x48
jb 0x434d58
jmp 0x434da3
add esi, 3
jmp 0x434d90
add esi, 2
jmp 0x434d90
inc esi
cmp esi, 0x10
jae 0x434da3
push dword [esi*4 + 0x54c010]
mov ecx, edi
call fcn.00434e20
cmp dword [edi + 4], 0
jne 0x434dc0
cmp esi, 0x10
jae 0x434dbc
push dword [esi*4 + 0x54c010]
mov ecx, edi
call fcn.00434f60
cmp dword [edi + 4], 0
pop esi
jne 0x434dd0
push dword [0x54c010]
mov ecx, edi
call fcn.00434e20
cmp dword [edi + 4], 0
jne 0x434e07
push dword [0x54c010]
mov ecx, edi
call fcn.00434f60
cmp dword [edi + 4], 0
jne 0x434e07
push 0x408154
mov ecx, edi
call fcn.00434e20
cmp dword [edi + 4], 0
jne 0x434e07
push 0x408154
mov ecx, edi
call fcn.00434f60
xor eax, eax
cmp dword [edi + 4], eax
pop edi
setne al
ret