joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422fed
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x431008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x431e68], 0x28
jl 0x415788
push 0x431e6c
call fcn.0041a980
mov ecx, dword [0x431e64]
add esp, 4
test ecx, ecx
je 0x41577a
mov eax, dword [ecx]
mov dword [0x431e64], eax
mov dword [0x431e6c], 1
test ecx, ecx
jne 0x4157a7
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4157a7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ecx
call fcn.00415ad0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4158a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4265f5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x431008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x431e68], 0x28
jl 0x4158fc
push 0x431e6c
call fcn.0041a980
mov esi, dword [0x431e64]
add esp, 4
test esi, esi
je 0x4158ee
mov eax, dword [esi]
mov dword [0x431e64], eax
mov dword [0x431e6c], 1
test esi, esi
jne 0x41591b
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x41591b
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push ecx
mov ecx, esi
call fcn.00415ad0
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.CVolObjectArray.0
call fcn.00415a40
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x415f10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4267c0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x431008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x431e68], 0x3c
jl 0x415f68
push 0x431e6c
call fcn.0041a980
mov edx, dword [0x431e64]
add esp, 4
test edx, edx
je 0x415f5a
mov eax, dword [edx]
mov dword [0x431e64], eax
mov dword [0x431e6c], 1
test edx, edx
jne 0x415f87
push 0x3c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
jne 0x415f87
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
mov dword [edx], vtable.CVolObject.0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 1
lea ecx, [edx + 0x10]
mov dword [edx], vtable.CVolException.0
call fcn.004029d0
mov byte [ebp - 4], 2
mov dword [edx + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x416120
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426848
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x431008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x431e68], 0x3c
jl 0x41617d
push 0x431e6c
call fcn.0041a980
mov edi, dword [0x431e64]
add esp, 4
test edi, edi
je 0x41616f
mov eax, dword [edi]
mov dword [0x431e64], eax
mov dword [0x431e6c], 1
test edi, edi
jne 0x41619c
push 0x3c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x41619c
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.CVolObject.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CVolException.0
call fcn.004029d0
mov byte [ebp - 4], 2
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x20]
mov dword [edi], vtable.CVolException.0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
call dword [eax + 0x44]
lea eax, [ebx + 0x20]
push eax
lea ecx, [edi + 0x20]
call fcn.004032c0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416650
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422eed
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x431008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x431e68], 0xc
jl 0x4166ab
push 0x431e6c
call fcn.0041a980
mov ecx, dword [0x431e64]
add esp, 4
test ecx, ecx
je 0x41669d
mov eax, dword [ecx]
mov dword [0x431e64], eax
mov dword [0x431e6c], 1
test ecx, ecx
jne 0x4166ca
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4166ca
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x431e90], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolUserApp.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4169a0
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x431008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400000
mov dword [0x431e50], 0x429b48
mov dword [0x431e58], 0x429cb4
push 0
mov dword [ebp - 0x14], 0x431e50
mov dword [0x431e6c], 1
mov dword [0x431e68], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x416a17
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea eax, [ecx + 0x400000]
mov dword [0x431e64], ecx
mov dword [0x431e60], eax
mov edx, 0x1555
mov eax, dword [0x431e68]
mov dword [0x431e5c], ecx
nop dword [eax + eax]
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x431e68]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x431e68]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x431e68]
add ecx, eax
sub edx, 1
jne 0x416a40
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x431e70
mov dword [ebp - 0x18], 0x431e70
mov dword [ebp - 0x1c], 0x431e70
mov dword [0x431e70], 0x42879c
mov dword [0x431e74], edx
mov dword [0x431e78], edx
mov byte [ebp - 4], 1
mov dword [0x431e70], 0x4286a0
mov dword [0x431e7c], edx
mov dword [0x431e84], edx
mov dword [0x431e80], edx
mov dword [0x431e88], 0x40
mov byte [ebp - 4], 2
mov dword [0x431e88], 0x80
mov byte [ebp - 4], 5
mov dword [0x431e8c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x431ea0
mov dword [ebp - 0x20], 0x431ea0
call esi
mov byte [ebp - 4], 7
mov dword [0x431eb8], 0
mov byte [ebp - 4], 8
push 0x431ec4
mov dword [ebp - 0x24], 0x431ec4
call esi
mov byte [ebp - 4], 9
mov dword [0x431edc], 0x3e8
mov dword [ebp - 0x28], 0x431ef0
mov dword [ebp - 0x2c], 0x431ef0
mov dword [0x431ef0], 0x42879c
mov dword [0x431ef4], 0
mov dword [0x431ef8], 0
mov byte [ebp - 4], 0xa
mov dword [0x431ef0], 0x4286a0
mov dword [0x431efc], 0
mov dword [0x431f04], 0
mov dword [0x431f00], 0
mov dword [0x431f08], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x431f08], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x431ee4], 0x3e80
mov dword [0x431ee8], 1
mov dword [0x431eec], 0
lea eax, [eax*2 + 2]
mov dword [0x431ee0], eax
mov byte [ebp - 4], 0xe
push 0x431f0c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x431f24
call fcn.00415ad0
mov byte [ebp - 4], 0x10
mov dword [0x431e90], 0
mov dword [0x431f4c], 0
movsd xmm0, qword [0x42a338]
movsd qword [0x431e98], xmm0
xorps xmm0, xmm0
mov dword [0x431f50], 0
mov dword [0x431f54], 0
mov dword [0x431f58], 0
mov dword [0x431e94], 0
movq qword [0x431ebc], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x431e50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4176f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x41770f
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x4177e5
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x4177e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4177dc
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x4177c0
cmp edi, 1
jne 0x417785
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x4177d7
cmp edi, 2
jne 0x417798
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x4177d7
cmp edi, 4
jne 0x4177a9
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x4177d7
cmp edi, 8
jne 0x4177c0
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x4177d7
test edi, edi
jle 0x4177d7
push edi
mov ecx, esi
call fcn.00419e30
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x417b20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x431e68]
jg 0x417b5b
push 0x431e6c
call fcn.0041a980
mov ecx, dword [0x431e64]
add esp, 4
test ecx, ecx
je 0x417b4d
mov eax, dword [ecx]
mov dword [0x431e64], eax
mov dword [0x431e6c], 1
test ecx, ecx
jne 0x417b79
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x417b79
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x417be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x431e5c]
jb 0x417c54
cmp esi, dword [0x431e60]
jae 0x417c54
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x431e68]
jle 0x417c69
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x417c6d
push dword [0x431e68]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push 0x431e6c
call fcn.0041a980
mov eax, dword [0x431e64]
add esp, 0x10
mov dword [esi], eax
mov dword [0x431e64], esi
mov esi, edi
mov dword [0x431e6c], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
jne 0x417c4d
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x418db0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426d6d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x431008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x418f23
cmp word [esi], 0
je 0x418f23
push 0x44
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
or dword [ebp - 0x50], 1
mov eax, 1
mov dword [ebp - 0x38], vtable.CVolCommonBaseWithMemManager.0
add esp, 0xc
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x38]
push esi
call fcn.00419ee0
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x418e90
xor esi, esi
jmp 0x418eb3
push 0x1f4
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x418eee
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x418ee9
mov ecx, 0x431e58
call fcn.0041ab40
jmp 0x418eee
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418f40
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426da0
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x431008]
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
test esi, esi
je 0x4190a9
cmp word [esi], 0
je 0x4190a9
lea ecx, [ebp - 0x244]
call fcn.004029d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x418fb7
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x418ff0
test ax, ax
je 0x419023
cmp word [esi + 2], 0x3a
jne 0x419023
cmp word [esi + 4], 0x5c
jne 0x419023
push 0x5c
push esi
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x419023
cmp eax, esi
jbe 0x41900f
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.0041b500
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x41903f
cmp dword [ebp - 0x220], edi
je 0x41908a
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x41908a
cmp word [edi], 0
je 0x41908a
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41908a
cmp word [edi], 0
je 0x419068
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x419093
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x419093
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00402c70
mov eax, esi
jmp 0x4190ab
xor eax, eax
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.00421eac
mov esp, ebp
pop ebp
ret
Function at 0x41a130
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
je 0x41a245
cmp word [eax], 0
je 0x41a245
push ebx
push esi
push 0x429bfc
push eax
or esi, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41a218
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov ecx, dword [ebp + 8]
add esp, 0x1c
test ecx, ecx
jle 0x41a20c
cmp dword [edi + 0xc], 0
je 0x41a1a6
push ecx
mov ecx, edi
call fcn.00419e30
mov ecx, eax
mov eax, dword [ebp + 8]
jmp 0x41a1d1
mov esi, dword [edi + 0x18]
mov eax, 0x40
test esi, esi
cmovle esi, eax
mov eax, ecx
cdq
idiv esi
mov eax, dword [edi]
sub esi, edx
add esi, ecx
mov ecx, edi
push esi
call dword [eax]
mov ecx, eax
mov dword [edi + 0x10], esi
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], eax
push ebx
push eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x41a207
push esi
mov ecx, edi
call fcn.00419e30
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret 8
or esi, 0xffffffff
jmp 0x41a20e
xor esi, esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x41a227
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx + 0xc]
mov eax, esi
mov dword [edi + 0xc], 0
pop esi
pop ebx
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
pop edi
pop ebp
ret 8
or eax, 0xffffffff
pop edi
pop ebp
ret 8
Function at 0x41a250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426ead
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x431008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x30], vtable.CVolObject.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x14]
mov esi, dword [ebp - 0x18]
lea edi, [eax*4 + 6]
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp - 0x30]
sub esi, edx
add esi, edi
push esi
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x41a306
mov ecx, 0x431e58
call fcn.0041aa60
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x41a30e
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov esi, eax
mov dword [ebp - 0x24], eax
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0xc]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
jle 0x41a354
nop dword [eax + eax]
movzx eax, byte [edi]
push eax
push str._02X
push esi
call fcn.00418100
mov eax, dword [ebp - 0x14]
lea edi, [edi + 1]
inc ebx
add esp, 0xc
add esi, 4
cmp ebx, dword [eax + 0x14]
jl 0x41a330
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x41a36b
cmp dword [edi + 0x24], ecx
mov ecx, 0x428a5c
je 0x41a36b
mov ecx, dword [edi + 0x1c]
cmp eax, ecx
je 0x41a3e0
mov dword [edi + 0xc], 0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x41a38a
mov eax, dword [edi + 0x10]
push ecx
lea ecx, [edi + 0x10]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
cmp word [eax], 0
je 0x41a3e0
mov edx, eax
lea ecx, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41a3b0
sub edx, ecx
sar edx, 1
lea ebx, [edx*2 + 2]
test ebx, ebx
jle 0x41a3e0
push ebx
lea ecx, [edi + 0x10]
call fcn.00419e30
push ebx
push dword [ebp - 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x41a41b
mov eax, dword [ebp - 0x30]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x41a416
mov ecx, 0x431e58
call fcn.0041ab40
jmp 0x41a41b
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [ebp - 0x30], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41d6e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4273bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x431008]
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
push str.SIMDUTF_FORCE_IMPLEMENTATION
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x41d75d
push eax
lea ecx, [ebp - 0x28]
call fcn.004201c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0041c3b0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00420130
call sym.fff.exe_class_simdutf::internal::atomic_ptr_class_simdutf::implementation_const______cdecl_simdutf::get_active_implementation_void_
test esi, esi
je 0x41d754
xchg dword [eax], esi
jmp 0x41d790
mov ecx, 0x431fe8
xchg dword [eax], ecx
jmp 0x41d790
call fcn.0041d460
mov esi, dword [eax]
mov ebx, dword [eax + 4]
cmp esi, ebx
je 0x41d784
nop dword [eax + eax]
mov edi, dword [esi]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x10]
test eax, eax
je 0x41d789
add esi, 4
cmp esi, ebx
jne 0x41d770
mov edi, 0x431fe8
call sym.fff.exe_class_simdutf::internal::atomic_ptr_class_simdutf::implementation_const______cdecl_simdutf::get_active_implementation_void_
xchg dword [eax], edi
mov eax, dword [eax]
nop
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.00421eac
mov esp, ebp
pop ebp
ret

Function at 0x42283c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42287b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42287b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42287b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42287b
cmp dword [ecx + 0x74], 0xe
jbe 0x42287b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret