joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4195a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x834
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x834]
push 0x824
push 0
push ebx
call fcn.00460af0
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x4196bf
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push dword [ebp + 0x10]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
push 0x823
push ebx
call fcn.0048d9f0
add esp, 0x18
push ebx
call fcn.0047ab60
add esp, 4
mov dword [ebp - 0x838], eax
push 0x4d248b
push esi
call fcn.0047699e
add esp, 8
test eax, eax
je 0x4196b4
mov esi, eax
xor ebx, ebx
push 2
push ebx
push eax
call fcn.004789cc
add esp, 0xc
push esi
call fcn.00478cef
add esp, 4
mov edi, eax
push ebx
push ebx
push esi
call fcn.004789cc
add esp, 0xc
mov dword [ebp - 0x840], edi
mov eax, dword [ebp - 0x838]
lea ecx, [eax + edi]
add ecx, 2
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax]
jae 0x4196a4
mov ebx, dword [ebp - 0x838]
push ebx
lea eax, [ebp - 0x834]
push eax
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x83c], ecx
call fcn.00460570
add esp, 0xc
add edi, ebx
push esi
push 1
mov ebx, dword [ebp - 0x840]
push ebx
push edi
call fcn.004786dc
add esp, 0x10
mov word [ebx + edi], 0xa0d
mov ebx, dword [ebp - 0x83c]
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
push esi
call fcn.00477f55
add esp, 4
jmp 0x4196fd
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
jmp 0x4196fd
push esi
push dword [ebp + 0x10]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push 0x823
push ebx
call fcn.0048d9f0
add esp, 0x18
push ebx
call fcn.0047ab60
add esp, 4
mov esi, eax
xor eax, eax
cmp esi, dword [edi]
jae 0x4196fb
push esi
push ebx
push dword [ebp + 8]
call fcn.00460570
add esp, 0xc
mov eax, esi
mov dword [edi], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
add esp, 0x834
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x419da0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x10004
call fcn.0045dd50
mov esi, dword [ebp + 8]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.004480c0
test al, al
je 0x419dee
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, ebx
add esp, 0x10004
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
call fcn.00477f55
add esp, 4
mov bl, 1
jmp 0x419dca
cmp byte [esi + 0xb], 0
jns 0x419df6
mov esi, dword [esi]
push 0x40
push 0x4d2c9c
push esi
call fcn.00476993
add esp, 0xc
test eax, eax
je 0x419dc8
mov esi, eax
mov edi, dword [ebp + 0xc]
lea ebx, [ebp - 0x10010]
push 0x10000
push 0xff
push ebx
call fcn.00460af0
add esp, 0xc
push esi
push 0x10000
push 1
push ebx
call fcn.004786dc
add esp, 0x10
test eax, eax
je 0x419de1
test edi, edi
je 0x419e28
mov ecx, edi
push eax
push ebx
call fcn.00443950
jmp 0x419e28

Function at 0x41a230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [ebp + 8]
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x4e6418]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], 0
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x20], 0
test eax, eax
je 0x41a319
mov esi, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x41a319
mov ebx, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41a319
mov esi, eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
je 0x41a319
mov edi, eax
push ebx
push esi
push eax
call fcn.00460570
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x1c]
mov dword [ecx], eax
push ecx
push eax
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41a30c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
mov dword [eax], fcn.0048dc60
lea esi, [ebp - 0x14]
mov dword [esi], 0
push esi
push dword [ebp - 0x20]
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [ebx + 8], eax
mov eax, dword [esi]
mov dword [ebx + 4], eax
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x4e097c]
push esi
call ecx
test ebx, ebx
jne 0x41a32e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, dword [ebp - 0x20]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebx + 8], 0
mov dword [ebx + 8], 0
jne 0x41a350
lea eax, [ebp - 0x18]
push 0
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x41a350
mov dword [ebx + 8], eax
mov ecx, ebx
push 1
call fcn.0048dc60
jmp 0x41a30c
Function at 0x41baa0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, ecx
mov ebx, dword [ebp + 0x14]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push eax
push eax
push 0x412260
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x660], eax
test eax, eax
jne 0x41bb71
xor edi, edi
dec edi
lea eax, [ebp - 0x1c]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
push 0x879
push eax
call fcn.004162d0
add esp, 8
lea ebx, [ebp - 0x28]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
push 0xadc
push ebx
call fcn.004162d0
add esp, 8
mov eax, 5
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push eax
push dword [esi + 4]
call edi
push 4
push dword [esi + 4]
call edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x344]
call edi
mov eax, 5
push eax
push dword [esi + 0x30]
call edi
mov ecx, esi
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.0041bb90
cmp byte [ebx + 0xb], 0
jns 0x41bb5d
push dword [ebp - 0x28]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x41bb6e
push dword [ebp - 0x1c]
call fcn.0045702d
add esp, 4
mov ebx, dword [ebp + 0x14]
xor edi, edi
inc edi
mov dword [ebx], edi
mov dword [esi + 0x24], edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x41e0e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov esi, esp
mov edi, ecx
lea ebx, [ebp + 8]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [esi + 0x28], eax
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x10]
movdqa xmmword [eax], xmm0
push eax
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebx]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [edi + 0x84]
cmp eax, 0xffffffff
jne 0x41e12f
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebx]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [edi + 0x24]
push dword [ebx]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0xc], eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41e1dc
lea ecx, [eax + 1]
mov dword [esi + 8], ecx
lea ecx, [eax*2 + 2]
lea eax, [eax*2 + 5]
and eax, 0xfffffffc
call fcn.0045dd50
mov ebx, esp
and ebx, 0xfffffff0
mov esp, ebx
push ecx
push 0xff
push ebx
call fcn.00460af0
add esp, 0xc
push dword [esi + 8]
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x41e1dc
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 2
xor edx, edx
inc edx
test al, 1
cmove edx, ecx
lea ecx, [edx + 0x24]
test al, 0xb
cmove ecx, edx
shl eax, 0xd
and eax, 0x100000
add eax, ecx
add eax, 0x200
push eax
lea eax, [esi + 0x10]
push eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
push dword [eax]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esi + 0xc]
lea eax, [ebp + 8]
push dword [eax]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x28]
xor ecx, ebp
call fcn.0045901d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x420260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, ecx
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ecx + 0x2c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor esi, esi
inc esi
test eax, eax
je 0x420362
cmp byte [edi + 0x370], 0
je 0x420358
mov ecx, 0x4ea63c
call fcn.00411900
lea ebx, [ebp - 0x1c]
push 0x8f0
push ebx
call fcn.004162d0
add esp, 8
cmp byte [ebx + 0xb], 0
jns 0x4202ba
mov ebx, dword [ebp - 0x1c]
lea esi, [ebp - 0x28]
push 0x8ef
push esi
call fcn.004162d0
add esp, 8
cmp byte [esi + 0xb], 0
jns 0x4202d4
mov esi, dword [ebp - 0x28]
push 0x40044
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
cmp byte [ebp - 0x1d], 0
jns 0x4202f7
push dword [ebp - 0x28]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x11], 0
mov esi, 1
jns 0x42030d
push dword [ebp - 0x1c]
call fcn.0045702d
add esp, 4
cmp ebx, 6
je 0x420328
mov dword [edi + 0x380], 0
mov ecx, 0x4ea63c
call fcn.004118e0
jmp 0x420362
mov dword [edi + 0x380], 1
mov ecx, 0x4ea63c
call fcn.004118e0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xa
call fcn.00411a50
add esp, 4
call fcn.00411a20
jmp 0x420362
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x420c90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x448
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x4edc44], 0
je 0x420cc8
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, ebx
add esp, 0x448
pop esi
pop edi
pop ebx
pop ebp
ret
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.UpdateLayeredWindow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4edc44], eax
xor ebx, ebx
test eax, eax
je 0x420cb1
mov eax, 0x20a
lea edi, [ebp - 0x21a]
push eax
push ebx
push edi
call fcn.00460af0
add esp, 0xc
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea esi, [ebp - 0x424]
mov eax, 0x20a
push eax
push ebx
push esi
call fcn.00460af0
add esp, 0xc
push 0xffffffffffffffff
push str.dwmapi.dll
push edi
push 0x4d2dd8
push 0x209
push esi
call fcn.0048e500
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x420d60
mov byte [0x4edc48], 1
push str.DwmIsCompositionEnabled
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4edc4c], eax
mov ecx, dword [ebp + 8]
mov dword [0x4e7124], ecx
lea edi, [ebp - 0x454]
mov dword [edi], 0x30
mov dword [edi + 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 8], eax
xor esi, esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], esi
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 6
mov dword [edi + 0x24], esi
mov eax, dword [str.PerryShadowWnd]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], esi
push edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov bl, 1
jmp 0x420cb1

Function at 0x420f50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [ebp + 8]
mov dl, byte [ecx + 0xc]
mov ecx, edx
and cl, 9
mov byte [esi + 0xc], cl
test dl, 1
je 0x420f97
cmp cl, 7
ja 0x420f97
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1c
mov dl, byte [esi + 0xc]
jae 0x420f95
mov ecx, edx
or cl, 4
mov byte [esi + 0xc], cl
test eax, 0x21000000
jne 0x420f97
or dl, 6
mov byte [esi + 0xc], dl
mov ecx, edx
mov eax, dword [esi + 4]
test cl, 2
jne 0x420fad
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
pop esi
pop ebp
jmp fcn.00421330
Function at 0x4252a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4293c0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ecx + 4], 1
jne 0x425311
movzx edi, byte [ebp + 0x18]
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [0x4e097c]
movsx eax, byte [ebp + 0x14]
mov ecx, esi
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x2c]
push esi
call fcn.00442810
mov dword [ebp - 0x10], 0
mov ecx, esi
push 0x4ee280
call fcn.004433a0
mov esi, eax
mov edi, dword [ebp - 0x2c]
cmp edi, 0x4ee190
je 0x425364
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x425364
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
call dword [0x4e097c]
mov ecx, edi
call ebx
xor eax, eax
dec eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov ecx, dword [esi]
mov dl, byte [ebp + 0x18]
xor dl, 1
movzx edx, dl
mov edi, dword [ecx + edx*4 + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, edi
call dword [0x4e097c]
mov ecx, esi
lea eax, [ebp - 0x2c]
push eax
call edi
movzx eax, byte [ebp - 0x21]
mov edx, eax
test al, al
jns 0x42539f
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
test edx, edx
je 0x425438
test al, al
lea eax, [ebp - 0x2c]
cmovns ecx, eax
mov dword [ebp - 0x30], ecx
jmp 0x425415
movzx edi, al
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0x4e097c]
mov dword [ebp - 0x10], 1
mov ecx, ebx
push edi
call esi
xor ecx, ecx
cmp eax, 0xffffffff
je 0x4253e7
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
jmp 0x4253f3
mov dword [ebp - 0x20], 0
movzx eax, byte [ebp - 0x21]
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x2c]
mov esi, eax
test al, al
jns 0x425408
mov esi, dword [ebp - 0x28]
mov edx, ecx
add edx, esi
mov esi, dword [ebp - 0x30]
inc esi
mov dword [ebp - 0x30], esi
cmp esi, edx
je 0x425438
cmp dword [ebp - 0x20], 0
je 0x4253ec
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
je 0x4253b7
lea edx, [ecx + 1]
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x18], edx
mov byte [ecx], al
jmp 0x4253f3
shr al, 7
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
mov dword [edx], esi
test al, al
je 0x425450
push ecx
call fcn.0045702d
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x425307
Function at 0x42b6f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x20b
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.004479e0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00434450
cmp byte [edi + 0xb], 0
jns 0x42b74c
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.004344c0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.0045901d
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42b860
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x10]
push 0x4d
push str....._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.004479e0
add esp, 0x10
mov ecx, esi
push 0
push edi
call fcn.00434450
mov dword [esp + 0xc], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x42b8c3
mov ebx, dword [ebx]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], ebx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x42b9f3
mov ebx, eax
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
test eax, eax
js 0x42b9ea
push ebx
call fcn.00456ffd
add esp, 4
mov edi, eax
mov dword [esp + 0x10], eax
add eax, ebx
mov dword [esp + 0x18], eax
mov ecx, edi
add ecx, esi
je 0x42b9d8
mov byte [ecx], 0
inc esi
cmp ebx, esi
jne 0x42b907
mov dword [esp + 0x14], eax
push edi
push ebx
push dword [esp + 0x14]
push dword [esp + 0x14]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42b9df
lea eax, [esp + 0x54]
mov dword [eax], 0
lea ecx, [esp + 0x50]
mov dword [ecx], 0xffffffff
push ecx
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42b9df
mov esi, dword [esp + 0x54]
test esi, esi
je 0x42b9df
push 0x1c
call fcn.00456ffd
add esp, 4
mov edi, eax
movzx eax, word [esi + 2]
movzx edx, word [esi]
mov ecx, edi
push eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0042ba00
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x42b9b1
lea ecx, [esp + 0x20]
call fcn.004344c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0045901d
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x14]
mov ecx, eax
sub ecx, edi
dec eax
cmp ecx, eax
jbe 0x42b9cd
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x4d143c
call fcn.0048e9c0
push edi
call fcn.0045702d
add esp, 4
jmp 0x42b993
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x42b9c3
mov esi, dword [ebp + 8]
mov dword [esi], 0
jmp 0x42b98f
lea ecx, [esp + 0x10]
call fcn.0048e190
mov esi, dword [ebp + 8]
mov dword [esi], 0
jmp 0x42b993
Function at 0x42bb30
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov dword [ebp - 0x234], eax
movzx eax, word [ecx + 0x16]
mov dword [ebp - 0x230], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x222], ax
movzx eax, word [ebx + 0x16]
mov dword [ebp - 0x228], eax
movzx eax, word [ebx + 0x14]
mov dword [ebp - 0x22c], eax
call esi
mov esi, edi
mov word [ebp - 0x224], ax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.00460af0
add esp, 0xc
mov eax, 0x104
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push str.StringFileInfo_04x_04x_ls
push eax
push eax
push edi
call fcn.0041a000
add esp, 0x1c
lea eax, [ebp - 0x21c]
mov dword [eax], 0
lea ecx, [ebp - 0x220]
mov dword [ecx], 0xffffffff
push ecx
push eax
push edi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42bc29
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x42bc29
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x42bc29
mov ecx, dword [ebp + 0xc]
dec edx
push edx
push eax
call fcn.0042bde0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x208
push 0xff
push edi
call fcn.00460af0
add esp, 0xc
movzx eax, word [ebp - 0x222]
push esi
push dword [ebp - 0x228]
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.0041a000
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42bca7
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x42bca7
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x42bc03
push 0x208
push 0xff
push edi
call fcn.00460af0
add esp, 0xc
mov eax, 0x104
push esi
push 0x4e4
push dword [ebp - 0x22c]
push str.StringFileInfo_04x_04x_ls
push eax
push eax
push edi
call fcn.0041a000
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42bd22
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x42bd22
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x42bc03
push 0x208
push 0xff
push edi
call fcn.00460af0
add esp, 0xc
movzx eax, word [ebp - 0x224]
push esi
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.0041a000
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42bd9f
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x42bd9f
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x42bc03
xor ebx, ebx
jmp 0x42bc10
Function at 0x430710
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x4eefc8]
test ebx, ebx
jne 0x430794
push 0x28
call fcn.00456ffd
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov byte [eax + 8], 0
push 0xc
call fcn.00456ffd
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x43079e
mov dword [eax + 8], edi
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x4eefc8], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4307a5
mov edi, eax
push eax
call fcn.0047b6dc
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004307c0
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x4307aa
push str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x4d143c
call fcn.0048e9c0
int3