joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100091d0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b559
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x1003d014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.RC::IAntiVEngine.0
mov dword [ebp - 4], 0
lea esi, [ebx + 0x10]
push 0x18
mov dword [ebx], vtable.RC::RCAntiVEsswEngine.0
mov word [ebx + 4], 0
mov dword [ebx + 8], 0x3a98
mov dword [ebx + 0xc], 0x200
mov dword [ebp - 0x14], esi
call fcn.10028d9f
add esp, 4
mov dword [esi], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
add esi, 4
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000b1d0
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [ebx + 0x1c]
mov dword [ebp - 0x18], esi
mov dword [esi], vtable.IQsCloudQuery.0
mov byte [ebp - 4], 6
xor eax, eax
mov dword [esi], vtable.RC::RCAvCloudQuery.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov byte [ebp - 4], 7
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
mov byte [ebp - 4], 8
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 9
push 0x18
mov dword [esi + 0x40], eax
call fcn.10028d9f
add esp, 4
mov dword [esi + 0x44], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0xb
mov dword [ebx + 0x64], 0
mov byte [ebp - 4], 0xc
sub esp, 0xc
lea ecx, [ebx + 0x68]
call fcn.10015180
mov byte [ebp - 4], 0xd
sub esp, 0xc
lea ecx, [ebx + 0x88]
call fcn.10015180
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100093d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b5f7
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1003d014]
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
mov ebx, ecx
cmp byte [ebx + 4], 0
jne 0x10009553
lea ecx, [ebx + 0x10]
mov byte [ebx + 5], 0
call fcn.1000ae20
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x1c]
mov eax, dword [eax]
call eax
test al, al
je 0x10009555
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x10009433
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [ebx + 0x64], 0
jne 0x1000954f
push 0xc
call fcn.10028d9f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push ebx
push ecx
movq qword [eax], xmm0
mov ecx, eax
mov dword [eax + 8], 0
call fcn.10014f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x64]
push eax
call fcn.1000aae0
mov edi, dword [ebx + 0x64]
mov esi, dword [edi + 8]
test esi, esi
je 0x1000954f
add esi, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], esi
je 0x100094a2
mov eax, dword [esi]
test eax, eax
je 0x100094a2
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
je 0x10009530
lea eax, [edi + 4]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, dword [edi + 8]
add eax, 0xc
push eax
push 4
push edi
push 0x10014d00
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [edi + 8]
add esp, 0x18
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 8]
cmp dword [eax + 0x10], 0
je 0x1000950f
mov byte [eax + 8], 1
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10009501
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x10009530
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
call eax
sub eax, 1
jne 0x10009528
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [edi + 8]
call fcn.10014ec0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1000954f
mov eax, dword [esi]
test eax, eax
je 0x10009548
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
mov byte [ebx + 4], 1
mov al, 1
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.10028d8e
mov esp, ebp
pop ebp
ret 4
Function at 0x10017780
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10038d10
push 0x10029151
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1003d014]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x100177e9
xor eax, eax
jmp 0x1001795f
mov dword [ebp - 4], ebx
push str.InitializeSecurityDescriptor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001792a
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1001792a
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001792a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x1001792a
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001792a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x1001792a
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001792a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x1001792a
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001792a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x1001792a
push str.SetSecurityDescriptorDacl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1001792a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10017913
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x10017900
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x10017910
jmp 0x1001792a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.10017986
test ebx, ebx
jne 0x1001795d
test esi, esi
je 0x1001794f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1001795d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10028d8e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018ff0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1003d014]
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
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10019026
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100190d6
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.10019100
test al, al
je 0x1001907f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100190c2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100190b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100190b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10028dcf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, edi
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.10028d8e
mov esp, ebp
pop ebp
ret
Function at 0x10019200
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d1f8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1003d014]
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
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x10019243
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.100175c0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1001926c
lea eax, [esi + 8]
jmp 0x1001926e
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x1001927e
cmp dword [ebx + 0x14], 8
jb 0x10019280
mov ebx, dword [ebx]
jmp 0x10019280
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x100192a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100192a1
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x100192ca
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100192df
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.10028dcf
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
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.10028d8e
mov esp, ebp
pop ebp
ret 4
Function at 0x10019fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d480
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1003d014]
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
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1001a0b7
cmp byte [eax + 0x54], 0
je 0x1001a0b7
add eax, 0x1c
lea ecx, [ebp - 0x34]
push eax
call fcn.10018f40
push 0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10013b10
add esp, 4
mov byte [ebp - 4], 1
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [esi]
cmovae edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
cmp dword [eax + 0x14], 8
jb 0x1001a052
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001a09c
push 2
push 0
push 0
push esi
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x2c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002440
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.10018f90
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.10028d8e
mov esp, ebp
pop ebp
ret 4

Function at 0x10023b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e8e5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1003d014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x1050
call fcn.10028d9f
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push 0x1050
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi + 0x44]
mov dword [esi], 0
mov eax, ecx
mov dword [esi + 4], 0
neg eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edx, [esi + 0x1044]
mov dword [esi + 0x10], 0
and eax, 3
mov dword [esi + 0x14], 0
add esp, 0x10
mov dword [esi + 0x18], 0
add eax, ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [edx], 0
mov dword [esi + 0x1048], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edx
mov byte [ebp - 4], 2
mov dword [esi + 0x104c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [edi], 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 0x10025c30
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x1003d014]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x10025cb2
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x10025cb2
test ecx, ecx
je 0x10025cae
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x10025c70
xor eax, eax
jmp 0x10025cb7
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10025cc1
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10028d8e
add esp, 0xc
ret 0xc

Function at 0x10025d40
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1003d014]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x10025d6e
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.10028d8e
add esp, 8
ret 4
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x10025d57
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10025db4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10025db4
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.10028d8e
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, edi
mov dword [esi], eax
adc ecx, 0
xor eax, eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.10028d8e
add esp, 8
ret 4
Function at 0x413cd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
or ebp, 0xffffffff
jmp 0x413cf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413cf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413ce8
mov eax, 1
add ebx, ebx
jne 0x413d0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413d00
jne 0x413d1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413d00
xor ecx, ecx
sub eax, 3
jb 0x413d30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x413da2
mov ebp, eax
add ebx, ebx
jne 0x413d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x413d48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x413d6c
inc ecx
add ebx, ebx
jne 0x413d58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x413d4d
jne 0x413d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413d4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x413d8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x413d7d
jmp 0x413cee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413d8c
add edi, ecx
jmp 0x413cee
pop esi
mov edi, esi
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x413daa
cmp byte [edi], 4
jne 0x413daa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x413daf
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x413e27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15b7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15bb8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413ddc
mov ecx, edi
jns 0x413e0b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15bbc]
or eax, eax
je 0x413e21
mov dword [ebx], eax
add ebx, 4
jmp 0x413df9
call dword [esi + 0x15bc0]
popal
jmp 0x4011ac
Function at 0x401000
Capabilities:
Execute command

Disassembly:
push str.start_Enginevcs.exe_vcsgamedata.iso
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
xor eax, eax
ret

Function at 0x401817
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x100389c1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.100460a1
add byte [eax], al
push edx
popal
inc esi
imul ebp, dword [ebp], 0x74530000
popal
jb 0x10038a4c
push ebx
jb 0x10038a52
imul esp, dword [ebx + 0x65], 0xe3290041
mov ebx, eax
bt bp, 0xd
call fcn.1003a59b
jns 0x10038a8f
aas
and al, 0x62
popal
jae 0x10038abe
arpl word [edi + 0x73], bx
je 0x10038acc
imul ebp, dword [esi + 0x67], 0x3f554440
and al, 0x63
push 0x745f7261
jb 0x10038acb
imul esi, dword [ebx + esi*2 + 0x40], 0x74734044
inc eax
inc eax
push esi
aas
and al, 0x61
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [ecx + 0x74], sp
outsd dx, dword [esi]
jb 0x10038ac2
inc esp
inc eax
xor al, byte [eax + 0x40]
jae 0x10038afd
inc eax
inc eax
inc ecx
inc ecx
inc ebp
pop eax
pop edi
dec esi
inc eax
pop edx
add byte [eax - 0x73], dl
push eax
lea esp, [esp + 0x10]
je 0x10039797
cmp dh, 0x53
push 0xb8a58771
call fcn.10045ce8
dec al
call fcn.10044974
add byte [eax], al
inc edi
insb byte es:[edi], dx
outsd dx, dword [esi]
bound esp, qword [ecx + 0x6c]
inc ecx
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [eax], ax
call fcn.100393ef
or byte [ebp + 0x2fb6534], cl
test byte [ebx - 0x17], ch
dec ebx
add al, 0
add byte [eax - 0x10], dl
pop ds
std
std
xchg bh, dh
xchg edx, eax
outsb dx, byte [esi]
cwde
mov ah, 0x40
ret 0x6d
mov dh, byte [edi + 0x4c6ff020]
lodsd eax, dword [esi]
jge 0x10038b82
or ebp, esp
mov cl, 0x78
dec esi
dec esp
shl dword [edi + eax*4], cl
aam 0x52
push ebp
iretd

Function at 0x10047293
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x10045dbc
test bp, 0x2071
test eax, eax
jmp 0x10038f3f
cmp bx, 0x8195
mov ebp, esp
ror eax, 0x17
sub esp, 0x10
movsx ax, cl
stc
push esi
sub ah, ah
movzx ax, dl
push edi
rcl ah, cl
push ebx
shl al, 2
push edx
sar ah, cl
mov eax, dword [ebp + 8]
jmp 0x100458ed
neg ax
add esp, 4
jge 0x1004650a
mov ebp, esp
or ah, 0x7a
xor ah, 0x60
sub esp, 0x10
movsx eax, cl
btc ax, di
Function at 0x403ba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x42b6dc]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0x40], 0
push edi
je 0x403ce4
cmp byte [ebx + 0x45], 0
je 0x403ce4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x403bed
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00409dff
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [esp + 0x14], 0
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
lea eax, [esp + 0x14]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], 8
mov byte [eax + 8], 0
lea esp, [esp]
cmp dword [esp + 0x28], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x28]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x403c61
dec eax
je 0x403c65
sub eax, 2
je 0x403cbb
xor bl, bl
jmp 0x403cbd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp ecx, 0x10
lea eax, [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x403c9c
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x1c]
cmovae eax, edx
push 1
push eax
call fcn.0040b303
add esp, 0x10
cmp esi, eax
jne 0x403c5d
cmp byte [ebx + 0x45], 0
je 0x403cbb
test esi, esi
jne 0x403c20
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.00403790
jmp 0x403c20
mov bl, 1
cmp dword [esp + 0x28], 0x10
jb 0x403cd0
push dword [esp + 0x14]
call fcn.0040b128
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00409dff
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00409dff
mov esp, ebp
pop ebp
ret