joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42254b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x422582
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x42257e
jmp 0x422570
cmp esi, eax
jae 0x422582
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x422570
cmp esi, eax
jb 0x422589
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42c0a0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x423da0
mov ecx, 0x5c1de4
call fcn.004435ed
test eax, eax
jne 0x42c0be
call fcn.00431768
push eax
lea ecx, [ebp - 8]
call fcn.00423110
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, dword [ebp + 0xc]
movzx eax, ax
mov dword [ecx], eax
cmp eax, 0x42d
je 0x42c2d4
cmp eax, 0x403
je 0x42c2d4
cmp eax, 0x402
je 0x42c2d4
cmp eax, 0x804
je 0x42c2d4
cmp eax, 0x41a
je 0x42c2d4
cmp eax, 0x405
je 0x42c2d4
cmp eax, 0x406
je 0x42c2d4
cmp eax, 0x40b
je 0x42c2d4
cmp eax, 0x408
je 0x42c2d4
cmp eax, 0x40e
je 0x42c2d4
cmp eax, 0x421
je 0x42c2d4
cmp eax, 0x411
je 0x42c2d4
cmp eax, 0x412
je 0x42c2d4
cmp eax, 0x415
je 0x42c2d4
cmp eax, 0x816
je 0x42c2d4
cmp eax, 0x416
je 0x42c2d4
cmp eax, 0x418
je 0x42c2d4
cmp eax, 0x419
je 0x42c2d4
cmp eax, 0x424
je 0x42c2d4
cmp eax, 0x41b
je 0x42c2d4
cmp eax, 0x41e
je 0x42c2d4
cmp eax, 0x41f
je 0x42c2d4
cmp eax, 0xc0c
je 0x42c2d4
cmp eax, 0xc1a
jne 0x42c1ef
mov dword [ecx], 0x81a
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
and eax, 0xff
add eax, 0xfffffffc
cmp eax, 0x19
ja case.0x42c207.5
movzx eax, byte [eax + 0x42c31c]
jmp dword [eax*4 + 0x42c2f4]
mov dword [ecx], 0x404
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov dword [ecx], 0x407
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov dword [ecx], 0x410
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov dword [ecx], 0x40a
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov dword [ecx], 0x40c
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov dword [ecx], 0x413
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov dword [ecx], 0x414
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov dword [ecx], 0x41d
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov dword [ecx], 0x409
lea ecx, [ebp - 8]
call fcn.004231a0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 4], 0
je 0x42c2eb
mov eax, dword [0x5c1b38]
test eax, eax
je 0x42c2eb
mov ecx, dword [ebp - 8]
push ecx
push 0
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x42c950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
push 0x423da0
mov ecx, 0x5c1de4
call fcn.004435ed
test eax, eax
jne 0x42c973
call fcn.00431768
push eax
lea ecx, [esp + 0xc]
call fcn.00423110
push 0x423d70
mov ecx, 0x5c1de0
call fcn.00443ae1
test eax, eax
jne 0x42c995
call fcn.00431768
mov eax, dword [eax + 4]
test eax, eax
jne 0x42c9b4
push 0x423da0
mov ecx, 0x5c1de4
call fcn.004435ed
test eax, eax
jne 0x42c9b4
call fcn.00431768
mov esi, dword [eax + 4]
cmp dword [esi + 0xb8], 0
lea edi, [esi + 0xb8]
jne 0x42ca0b
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
mov dword [0x5c1afc], eax
call fcn.00417e20
mov edi, dword [edi]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
lea edx, [esi + 0xc4]
push edx
push 0
push 0
push 0x416920
push 0
push 0
call fcn.00533661
add esp, 0x18
mov dword [esi + 0xc8], eax
cmp dword [esp + 0xc], 0
je 0x42ca24
mov eax, dword [0x5c1b38]
test eax, eax
je 0x42ca24
mov ecx, dword [esp + 8]
push ecx
push 0
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42db1d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x74]
cmp eax, 0x7530
jbe 0x42db59
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x5c], eax
xor eax, eax
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x74], eax
mov ecx, dword [esi + 0x64]
xor eax, eax
cmp ecx, eax
jne 0x42db67
mov eax, dword [esi + 0x5c]
jmp 0x42dbae
push 0xa
pop edi
mov dword [ebp - 4], eax
push ebx
test eax, eax
jne 0x42dbad
or eax, 0xffffffff
xor edx, edx
div edi
mov ebx, dword [esi + 0x5c]
cmp ebx, eax
jbe 0x42db8a
shr ebx, 1
shr ecx, 1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ecx
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x64]
imul eax, edi
xor edx, edx
div ecx
xor edx, edx
imul eax, eax, 0x3e8
div edi
imul edi, edi, 0xa
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jb 0x42db6e
pop ebx
pop edi
pop esi
leave
ret
Function at 0x42e85c
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [esi + 0x28], eax
mov dword [edi], eax
cmp dword [ebp + 0xc], eax
jbe 0x42e957
cmp dword [esi + 0x64], 0x2710
jbe 0x42e897
cmp dword [esi + 0x5c], 0
je 0x42e897
mov ecx, esi
call fcn.0042db1d
mov ebx, eax
imul ebx, ebx, 5
jmp 0x42e89c
mov ebx, 0x1f4
test ebx, ebx
jne 0x42e8a1
inc ebx
cmp byte [esi + 0x98], 0
je 0x42e8b6
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x42e8c3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi]
sub ecx, eax
cmp ecx, ebx
jb 0x42e8df
mov ecx, ebx
add eax, dword [ebp + 8]
lea edx, [ebp + 0x10]
push edx
push ecx
push eax
push dword [esi + 4]
call fcn.0042e044
add esp, 0x10
test eax, eax
jne 0x42e905
push dword [esi + 0x78]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test al, al
je 0x42e960
cmp byte [esi + 0x98], 0
je 0x42e91a
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x42e927
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42e957
push dword [ebp - 4]
add dword [edi], eax
push dword [ebp - 8]
add dword [esi + 0x54], eax
push dword [ebp - 0xc]
add dword [esi + 0x5c], eax
push dword [ebp - 0x10]
add dword [esi + 0x68], eax
mov ecx, esi
call fcn.0042da4e
mov eax, dword [ebp + 0xc]
cmp dword [edi], eax
jb 0x42e87a
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x42e959
Function at 0x42edac
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x364
mov eax, 0x550c02
call fcn.005348fe
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x218]
push eax
push str..htm
mov edi, SysReAllocString
push edi
mov ebx, ecx
mov dword [ebp - 0x368], 0x104
call esi
test eax, eax
jne 0x42eecb
push str._shellopencommand
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
mov dword [ebp - 0x368], 0x104
call esi
test eax, eax
jne 0x42eecb
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x114]
push str.netscape.exe
push eax
call fcn.00534410
pop ecx
pop ecx
test eax, eax
je 0x42eecb
lea ecx, [ebp - 0x114]
sub eax, ecx
add eax, 0xd
push eax
mov eax, ecx
push eax
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x364]
call fcn.004156e0
and dword [ebp - 4], 0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x364]
call fcn.0043086c
mov ecx, dword [ebp - 0x358]
mov eax, ecx
shr eax, 0x10
mov word [ebx + 0x16], cx
lea ecx, [ebp - 0x364]
mov word [ebx + 0x14], ax
mov dword [ebp - method.is::version_info.virtual_0], vtable.is::version_info.0
call fcn.004157a0
xor eax, eax
call fcn.00534981
ret
lea eax, [ebp - 0x36c]
push eax
push str.SOFTWAREMicrosoftInternet_Explorer
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x36c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42ef3d
lea eax, [ebp - 0x370]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push str.Version
push dword [ebp - 0x36c]
mov dword [ebp - 0x370], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42ef3d
movsx ax, byte [ebp - 0x218]
sub ax, 0x30
mov word [ebx + 0x14], ax
inc esi
lea ecx, [ebp - 0x36c]
call fcn.0042eb3b
mov eax, esi
jmp 0x42eec5
push 2
pop esi
jmp 0x42ef2e
Function at 0x42ef43
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550c35
mov eax, dword fs:[0]
push eax
mov eax, 0x1194
call fcn.00534ce0
mov eax, dword [0x5b7f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x118c], ecx
mov dword [ebp - 0x1180], ebx
mov esi, 0x823
push esi
lea eax, [ebp - 0x933]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x934], bl
call fcn.00534390
push esi
lea eax, [ebp - 0x1157]
push ebx
push eax
mov byte [ebp - 0x1158], bl
call fcn.00534390
add esp, 0x18
lea eax, [ebp - 0x1180]
push eax
push str.SOFTWARENetscapeNetscape_NavigatorProxy_Information
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42f19c
lea eax, [ebp - 0x1184]
push eax
lea eax, [ebp - 0x1194]
push eax
push ebx
push ebx
push str.Proxy_Type
push dword [ebp - 0x1180]
mov dword [ebp - 0x117c], str.http
mov dword [ebp - 0x1178], str.HTTP_Proxy
mov dword [ebp - 0x1174], str.HTTP_ProxyPort
mov dword [ebp - 0x1170], str.https
mov dword [ebp - 0x116c], str.HTTPS_Proxy
mov dword [ebp - 0x1168], str.HTTPS_ProxyPort
mov dword [ebp - 0x1164], str.ftp
mov dword [ebp - 0x1160], str.FTP_Proxy
mov dword [ebp - 0x115c], str.FTP_ProxyPort
mov dword [ebp - 0x1184], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f19c
cmp dword [ebp - 0x1194], 1
jne 0x42f19c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x117c]
mov dword [ebp - 0x1188], 3
lea eax, [ebp - 0x1184]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push dword [edi + 4]
mov dword [ebp - 0x1184], 0x100
push dword [ebp - 0x1180]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f14f
cmp byte [ebp - 0x110], bl
je 0x42f14f
push dword [edi]
lea eax, [ebp - 0x934]
push eax
call esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x934]
push eax
call esi
lea eax, [ebp - 0x1184]
push eax
lea eax, [ebp - 0x1190]
push eax
push ebx
push ebx
push dword [edi + 8]
mov dword [ebp - 0x1184], 4
push dword [ebp - 0x1180]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f141
push 0x563f70
lea eax, [ebp - 0x934]
push eax
call esi
push dword [ebp - 0x1190]
lea eax, [ebp - 0x934]
push 0x5641b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x934]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x58ef74
lea eax, [ebp - 0x934]
push eax
call esi
add edi, 0xc
dec dword [ebp - 0x1188]
jne 0x42f085
lea eax, [ebp - 0x934]
mov dword [ebp - 0x119c], eax
lea eax, [ebp - 0x1158]
mov dword [ebp - 0x1198], eax
push 0xc
lea eax, [ebp - 0x11a0]
push eax
mov eax, dword [ebp - 0x118c]
push 0x26
push dword [eax + 4]
mov dword [ebp - 0x11a0], 3
call fcn.0042e10b
add esp, 0x10
lea ecx, [ebp - 0x1180]
call fcn.0042eb3b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005319a6
leave
ret
Function at 0x42f793
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0x5b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x834], 1
call fcn.0042edac
push 3
pop ecx
mov dword [ebp - 0x83c], eax
cmp dword [ebp + 0xc], ecx
jne 0x42f7eb
mov dword [ebp - 0x834], ecx
jmp 0x42f8af
test eax, eax
je 0x42f8af
and dword [ebp - 0x82c], 0
lea eax, [ebp - 0x82c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42f8a4
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x838]
push eax
push 0
push 0
push str.ProxyEnable
push dword [ebp - 0x82c]
mov dword [ebp - 0x830], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42f851
and dword [ebp - 0x838], 0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push 0
push str.AutoConfigURL
push dword [ebp - 0x82c]
mov dword [ebp - 0x830], 0x824
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42f889
mov byte [ebp - 0x828], 0
cmp dword [ebp - 0x838], 0
jne 0x42f89b
cmp byte [ebp - 0x828], 0
je 0x42f8a4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x834], eax
lea ecx, [ebp - 0x82c]
call fcn.0042eb3b
push dword [ebp - 0x844]
push dword [ebp - 0x840]
push ebx
push dword [ebp - 0x834]
push edi
call fcn.0042df72
xor edi, edi
add esp, 0x14
mov dword [esi + 4], eax
cmp dword [ebp + 0xc], edi
je 0x42f8db
cmp dword [ebp + 0xc], 4
jne 0x42f8f8
cmp dword [ebp - 0x83c], edi
jne 0x42f8f8
cmp word [esi + 0x14], 3
mov ecx, esi
jne 0x42f8f3
call fcn.0042ef43
jmp 0x42f8f8
call fcn.0042f1c1
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 4], edi
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.005319a6
leave
ret 0x14
Function at 0x43086c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov ebx, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
test eax, eax
jne 0x43088f
xor al, al
jmp 0x43092b
push eax
call fcn.00430986
pop ecx
push eax
push dword [ebp - 4]
mov dword [ebx + 0x40], eax
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x430888
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5647a0
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x430888
push esi
mov esi, dword [ebp - 0xc]
push edi
push 0xd
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea edi, [ebx + 4]
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x430927
mov esi, dword [ebp - 4]
shr esi, 2
xor ecx, ecx
push 4
pop edx
mov eax, esi
mul edx
seto cl
mov dword [ebx + 0x3c], esi
neg ecx
or ecx, eax
push ecx
call fcn.00430986
mov dword [ebx + 0x38], eax
xor eax, eax
pop ecx
cmp dword [ebx + 0x3c], eax
jbe 0x430927
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx + 0x38]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x430915
pop edi
mov al, 1
pop esi
pop ebx
leave
ret 4

Function at 0x431e37
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x431e7f
push 0x564c90
push 4
push eax
call fcn.00533a8d
push eax
call fcn.00401750
add esp, 0x10
jmp 0x431e95
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x431f18
push edi
call fcn.00533d91
mov edi, dword [eax]
call fcn.00533d91
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00537d7d
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00533d91
cmp dword [eax], 0
je 0x431eec
call fcn.00533d91
push dword [eax]
call fcn.00430d0e
pop ecx
jmp 0x431ef3
call fcn.00533d91
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x431f18
cmp dword [ebp - 0x11c], esi
jae 0x431f18
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x431f1a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005319a6
leave
ret
Function at 0x431f27
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push 0x564744
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00431d22
pop ecx
cmp eax, esi
je 0x432011
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x432011
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00534390
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x432011
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x432011
cmp esi, 0x14
jge 0x432011
push 0x10
push 0
push edi
call fcn.00533d35
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x432000
call fcn.00533d91
cmp dword [eax], 0x22
je 0x432000
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00534496
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x431fd6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5bb5e8], 0
jne 0x43209c
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x4320c5
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00431e37
pop ecx
pop ecx
test eax, eax
jne 0x4320c7
inc edi
cmp edi, esi
jl 0x4320a2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005319a6
leave
ret 8
Function at 0x4363c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43640e
call fcn.00423750
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43640e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x436451
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43643a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x43643a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x43644e
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4381aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00423750
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4381e3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00437dec
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x438241
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x438265
cmp dword [edi + 0x74], 0
jne 0x438265
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00423750
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00438202
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8