joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556e4b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58829c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0xc1a00000
mov dword [ecx + 8], 0x41a00000
mov dword [ecx + 0xc], 0x42c80000
mov dword [ecx + 0x10], 0x42c80000
mov byte [ecx + 0x14], 0
mov dword [ecx + 0x18], 1
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xc1a00000
mov dword [edi + 0x2c], 0x41a00000
mov dword [edi + 0x30], 0x42c80000
mov dword [edi + 0x34], 0x42c80000
mov byte [edi + 0x38], 0
mov dword [edi + 0x3c], 1
mov dword [edi + 0x44], vtable.phVector2d.0
mov dword [ebp - 4], 0
movss xmm3, dword [0x5774e8]
movss xmm2, dword [0x577570]
movss xmm1, dword [0x577564]
push ecx
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004c9c00
movss xmm3, dword [0x577754]
movss xmm2, dword [0x577724]
movss xmm1, dword [0x577ca0]
push ecx
lea ecx, [edi + 0x24]
call fcn.004c9c00
mov ecx, dword [0x588fe4]
push str.s_hintArrow
call fcn.00542ea0
mov dword [edi + 0x40], eax
mov eax, edi
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 1
mov dword [edi + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x465ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], edx
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x465afa
mov dword [edi + 8], ebx
mov eax, edi
mov dword [edi], 1
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp + 8]
mov dword [ebp + 8], 0
mov ecx, ebx
call fcn.004640b0
mov esi, eax
test esi, esi
je 0x465b34
push ebx
call dword [sym.imp.msvcr120.dll_fclose]
add esp, 4
mov dword [edi + 8], 0
mov dword [edi], esi
mov eax, edi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov eax, 1
test esi, esi
cmovne eax, esi
push eax
call dword [0x5882d4]
add esp, 4
mov dword [ebp - 4], eax
push ebx
test eax, eax
jne 0x465b79
call dword [sym.imp.msvcr120.dll_fclose]
add esp, 4
mov dword [edi + 8], 0
mov dword [edi], 3
mov eax, edi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
push eax
call dword [sym.imp.msvcr120.dll_fread]
push ebx
mov esi, eax
call dword [sym.imp.msvcr120.dll_fclose]
mov eax, dword [ebp + 8]
add esp, 0x14
cmp esi, eax
je 0x465bbf
push dword [ebp - 4]
call dword [0x5882d0]
add esp, 4
mov dword [edi + 8], 0
mov dword [edi], 2
mov eax, edi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push 1
push 1
sub esp, 8
push eax
push dword [ebp - 4]
push edi
call fcn.004659f0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46c630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55784b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58829c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x3c]
mov dword [esi], 0x56acd8
call fcn.004995e0
mov dword [ebp - 4], 0
push 0x50
mov dword [esi + 0xc0], 0xc47a0000
mov byte [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 1
mov word [esi + 0xd4], 0
mov byte [esi + 0xd6], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 8], 0
mov byte [esi + 0xbc], 0
mov dword [esi + 0x10], 0x437f0000
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0x437f0000
mov dword [esi + 0x20], 0x3f800000
mov dword [esi + 0x24], 0
call dword [sym.imp.msvcr120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x46c756
mov ecx, eax
call fcn.004ca370
jmp 0x46c758
xor eax, eax
mov dword [esi + 0xc4], eax
mov eax, esi
mov dword [esi + 0xb4], 0x437f0000
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46da80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557a38
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x58829c]
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 edx, dword [ecx + 0x30]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], edx
lea eax, [edx + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
add eax, 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x14238]
mov edx, dword [eax + 0xc3cc]
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
jmp 0x46daf0
mov dword [ebp - 0x54], 0x5752f0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
push ecx
push dword [ebp + eax - 0x20]
mov ecx, edx
push dword [ebp + eax - 0x30]
call fcn.0050cbb0
mov ebx, dword [ebp - 0x44]
xor esi, esi
mov edi, dword [ebp - 0x3c]
test ebx, ebx
jle 0x46db51
mov ecx, dword [edi + esi*4]
cmp dword [ecx + 0x28], 0x9c4
jne 0x46db4c
cmp byte [ecx + 0x12a], 0
jne 0x46db4c
call fcn.0046d990
inc esi
cmp esi, ebx
jl 0x46db32
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0
je 0x46db68
push edi
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jl 0x46daf0
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.00551c1f
mov esp, ebp
pop ebp
ret
Function at 0x46e420
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557b08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x58829c]
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 edx, dword [ecx + 0x30]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], edx
lea eax, [edx + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
add eax, 2
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x14238]
mov ecx, dword [eax + 0xc3cc]
mov dword [ebp - 0x34], ecx
jmp 0x46e490
mov dword [ebp - 0x50], 0x5752f0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
push dword [ebp + ebx - 0x20]
push dword [ebp + ebx - 0x30]
call fcn.0050cbb0
mov edi, dword [ebp - 0x40]
xor ecx, ecx
mov esi, dword [ebp - 0x38]
test edi, edi
jle 0x46e562
mov eax, dword [esi + ecx*4]
cmp dword [eax + 0x28], 0x9c4
jne 0x46e559
cmp byte [eax + 0x12a], 0
jne 0x46e559
mov edx, dword [eax + 0x140]
cmp edx, 0xffffffff
jne 0x46e50c
cmp dword [eax + 0x144], edx
jne 0x46e50c
cmp dword [eax + 0x148], edx
jne 0x46e50c
cmp dword [eax + 0x14c], edx
je 0x46e559
cmp byte [eax + 0x164], 0
jne 0x46e51a
cmp edx, 0xffffffff
jne 0x46e559
cmp byte [eax + 0x165], 0
jne 0x46e52c
cmp dword [eax + 0x144], 0xffffffff
jne 0x46e559
cmp byte [eax + 0x166], 0
jne 0x46e53e
cmp dword [eax + 0x148], 0xffffffff
jne 0x46e559
cmp byte [eax + 0x167], 0
jne 0x46e550
cmp dword [eax + 0x14c], 0xffffffff
jne 0x46e559
mov word [eax + 0x129], 0x101
inc ecx
cmp ecx, edi
jl 0x46e4d4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x3c], 0
je 0x46e579
push esi
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov ecx, dword [ebp - 0x34]
add ebx, 4
cmp ebx, 0x10
jl 0x46e490
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.00551c1f
mov esp, ebp
pop ebp
ret
Function at 0x46e9a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557b08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x58829c]
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 edx, dword [ecx + 0x30]
mov ebx, dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete___void__]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], edx
lea eax, [edx + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
add eax, 2
mov dword [ebp - 0x18], eax
xor edi, edi
mov dword [ebp - 0x14], eax
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x14238]
mov eax, dword [eax + 0xc3cc]
mov dword [ebp - 0x34], eax
jmp 0x46ea10
mov dword [ebp - 0x50], 0x5752f0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
push ecx
push dword [ebp + edi - 0x20]
mov ecx, eax
push dword [ebp + edi - 0x30]
call fcn.0050cbb0
mov esi, dword [ebp - 0x40]
xor eax, eax
mov edx, dword [ebp - 0x38]
test esi, esi
jle 0x46ea6c
mov ecx, dword [edx + eax*4]
cmp dword [ecx + 0x28], 0x9c4
jne 0x46ea67
cmp byte [ecx + 0x12a], 0
jne 0x46ea8c
inc eax
cmp eax, esi
jl 0x46ea52
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x3c], 0
je 0x46ea7f
push edx
call ebx
add esp, 4
add edi, 4
cmp edi, 0x10
jge 0x46ea9c
mov eax, dword [ebp - 0x34]
jmp 0x46ea10
cmp dword [ebp - 0x3c], 0
je 0x46ea98
push edx
call ebx
add esp, 4
mov al, 1
jmp 0x46ea9e
xor al, al
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.00551c1f
mov esp, ebp
pop ebp
ret
Function at 0x4995e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557f43
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58829c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], 0x56c6c0
mov dword [edi + 0x10], vtable.phVector2d.0
push fcn.00472f30
push 0x42fc50
push 4
push 0xc
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
push esi
call fcn.00551e94
mov dword [edi + 0x50], 0x40800000
mov eax, edi
mov dword [edi + 0x54], 0x40800000
mov dword [edi + 0x5c], 0x43c80000
mov dword [edi + 0x60], 0x43c80000
mov dword [edi + 0x4c], vtable.phVector2d.0
mov dword [edi + 0x58], vtable.phVector2d.0
mov dword [edi + 4], 0x42c80000
mov dword [edi + 8], 0x42480000
mov dword [edi + 0x14], 0x42480000
mov dword [edi + 0x18], 0x41c80000
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [edi + 0x2c], 0x42c80000
mov dword [edi + 0x30], 0
mov dword [edi + 0x38], 0x42c80000
mov dword [edi + 0x3c], 0x42480000
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0x42480000
mov dword [edi + 0xc], 0x40a00000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4996e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a5ab
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x58829c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x10], xmm2
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov dword [edi], 0x56c6c0
mov dword [edi + 0x10], vtable.phVector2d.0
push fcn.00472f30
push 0x42fc50
push 4
push 0xc
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 2
push esi
call fcn.00551e94
movss xmm0, dword [ebp - 0x10]
mov eax, edi
movss xmm5, dword [ebp + 0xc]
movss xmm4, dword [ebp + 0x10]
movss xmm3, dword [0x577514]
movaps xmm2, xmm4
mov dword [edi + 0x50], 0x40800000
mov dword [edi + 0x54], 0x40800000
mov dword [edi + 0x5c], 0x43c80000
mov dword [edi + 0x60], 0x43c80000
mov dword [edi + 0x4c], vtable.phVector2d.0
mov dword [edi + 0x58], vtable.phVector2d.0
movss dword [edi + 4], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [edi + 8], xmm0
movss dword [edi + 0x14], xmm5
movss dword [edi + 0x18], xmm4
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
mulss xmm0, xmm3
mulss xmm1, xmm3
subss xmm2, xmm0
movaps xmm0, xmm5
subss xmm0, xmm1
movaps xmm1, xmm4
movss dword [esi + 8], xmm2
movss dword [esi + 4], xmm0
movss xmm0, dword [edi + 8]
mulss xmm0, xmm3
subss xmm1, xmm0
movss xmm0, dword [edi + 4]
mulss xmm0, xmm3
addss xmm0, xmm5
movss dword [edi + 0x30], xmm1
movss dword [edi + 0x2c], xmm0
movss xmm1, dword [edi + 8]
movss xmm0, dword [edi + 4]
mulss xmm1, xmm3
mulss xmm0, xmm3
addss xmm1, xmm4
addss xmm0, xmm5
movss dword [edi + 0x3c], xmm1
movss dword [edi + 0x38], xmm0
movss xmm1, dword [edi + 8]
movss xmm0, dword [edi + 4]
mulss xmm1, xmm3
mulss xmm0, xmm3
addss xmm1, xmm4
subss xmm5, xmm0
movss dword [edi + 0x48], xmm1
movss dword [edi + 0x44], xmm5
mov dword [edi + 0xc], 0x40a00000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d72f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cc9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58829c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x14], vtable.phVector2d.0
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0xc47a0000
mov dword [esi], 1
mov dword [esi + 4], 1
mov dword [esi + 8], 3
mov dword [esi + 0xc], 3
mov dword [esi + 0x10], 0x5dc
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0x50
mov dword [esi + 0x20], 0x437f0000
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x437f0000
mov dword [esi + 0x30], 0x3f800000
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call dword [sym.imp.msvcr120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x4d73c1
mov ecx, eax
call fcn.004ca370
mov dword [esi + 0x44], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x44], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e8b10
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ecx + 0x188]
push esi
push edi
xor esi, esi
mov dword [ebp - 4], ecx
xor edi, edi
test ebx, ebx
jle 0x4e8b70
mov eax, dword [ecx + 0x18c]
mov edi, edi
mov eax, dword [eax + edi*4]
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x4e8b65
mov eax, dword [ecx + 0x18c]
mov ecx, dword [eax + edi*4]
mov ecx, dword [ecx + 0x18]
jmp 0x4e8b50
mov eax, dword [ecx]
cmp dword [eax + 0x20], 0xcc
je 0x4e8b5c
inc esi
add ecx, 4
dec edx
jne 0x4e8b50
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18c]
inc edi
cmp edi, ebx
jl 0x4e8b30
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ed380
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, ecx
mov ecx, dword [0x58d464]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], edx
mov eax, dword [ecx + 0x54]
push edi
mov dword [ebp - 8], esi
mov ebx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
dec ebx
dec eax
mov dword [ebp - 4], eax
cmp dword [edx + 0x188], esi
jle 0x4ed4a8
mov eax, dword [edx + 0x18c]
xor edi, edi
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x10], edi
jle 0x4ed498
mov eax, dword [eax + 0x18]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x4ed482
cmp dword [esi + 0x9c], 0
je 0x4ed3eb
cmp dword [esi + 0x20], 0xcc
je 0x4ed482
mov ecx, dword [ecx + 0x14ba0]
mov eax, dword [esi + 0xd8]
mov dword [ecx + 0x1d0], eax
mov eax, dword [esi + 0x20]
cmp eax, 0x190
jne 0x4ed40d
push 3
push ebx
push eax
jmp 0x4ed42d
cmp eax, 0x40b
jne 0x4ed41b
push dword [esi + 0x6c]
push ebx
push eax
jmp 0x4ed42d
push dword [ebp - 4]
cmp eax, 0xd1
jne 0x4ed42b
push dword [esi + 0x6c]
push eax
jmp 0x4ed42d
push ebx
push eax
mov ecx, dword [0x58d464]
mov ecx, dword [ecx + 0x14ba0]
call fcn.004c6750
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x9c], eax
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x14ba0]
mov eax, dword [eax + 0x1d0]
mov dword [esi + 0xd8], eax
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x14ba0]
mov eax, dword [eax + 0x48]
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], 0
mov ecx, dword [0x58d464]
mov eax, dword [edx + 0x18c]
inc edi
mov esi, dword [ebp - 8]
mov eax, dword [eax + esi*4]
cmp edi, dword [eax + 0x10]
jl 0x4ed3c7
inc esi
mov dword [ebp - 8], esi
cmp esi, dword [edx + 0x188]
jl 0x4ed3b3
xor esi, esi
mov dword [ebp - 8], esi
cmp dword [edx + 0x1c0], esi
jle 0x4ed5b5
lea esp, [esp]
mov eax, dword [edx + 0x1c4]
xor edi, edi
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x10], edi
jle 0x4ed5a5
mov esi, dword [eax + 0x18]
mov esi, dword [esi + edi*4]
test esi, esi
je 0x4ed58f
cmp dword [esi + 0x9c], 0
je 0x4ed4f8
cmp dword [esi + 0x20], 0xcc
je 0x4ed58f
mov ecx, dword [ecx + 0x14ba0]
mov eax, dword [esi + 0xd8]
mov dword [ecx + 0x1d0], eax
mov eax, dword [esi + 0x20]
cmp eax, 0x190
jne 0x4ed51a
push 3
push ebx
push eax
jmp 0x4ed53a
cmp eax, 0x40b
jne 0x4ed528
push dword [esi + 0x6c]
push ebx
push eax
jmp 0x4ed53a
push dword [ebp - 4]
cmp eax, 0xd1
jne 0x4ed538
push dword [esi + 0x6c]
push eax
jmp 0x4ed53a
push ebx
push eax
mov ecx, dword [0x58d464]
mov ecx, dword [ecx + 0x14ba0]
call fcn.004c6750
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x9c], eax
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x14ba0]
mov eax, dword [eax + 0x1d0]
mov dword [esi + 0xd8], eax
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x14ba0]
mov eax, dword [eax + 0x48]
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], 0
mov ecx, dword [0x58d464]
mov eax, dword [edx + 0x1c4]
inc edi
mov esi, dword [ebp - 8]
mov eax, dword [eax + esi*4]
cmp edi, dword [eax + 0x10]
jl 0x4ed4d4
inc esi
mov dword [ebp - 8], esi
cmp esi, dword [edx + 0x1c0]
jl 0x4ed4c0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fec10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ee0b
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x58829c]
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
mov eax, dword [ebp + 8]
movss xmm0, dword [eax]
comiss xmm0, dword [0x577754]
jb 0x4fedf6
push str.levels_auto_save_
mov dword [eax], 0
call dword [sym.imp.shlwapi.dll_PathFileExistsW]
test eax, eax
jne 0x4fec6e
call fcn.005399b0
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 0
call fcn.004025a0
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 4], 0
call fcn.00402520
lea ecx, [ebp - 0x4d8]
call fcn.004025a0
push 0x56a748
push str.levels_auto_save_curFile.xml
call dword [sym.imp.msvcr120.dll_fopen]
push eax
lea edx, [ebp - 0x4d8]
lea ecx, [ebp - 0x4f0]
call fcn.00465ad0
add esp, 0xc
lea eax, [ebp - 0x4e4]
lea ecx, [ebp - 0x4d8]
push str.root
push eax
call fcn.00402490
cmp dword [ebp - 0x4e4], 0
jne 0x4fed12
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4dc]
push str.root
push eax
call fcn.004c9050
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x4e4], eax
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e0], 0
push eax
mov edx, str.file
lea ecx, [ebp - 0x4dc]
call fcn.004c8fb0
add esp, 4
lea eax, [ebp - 0x4e0]
lea edx, [ebp - 0x4dc]
mov ecx, 0x564370
push eax
call fcn.004c8d80
mov esi, dword [ebp - 0x4e0]
add esp, 4
inc esi
mov eax, 1
cmp esi, 0x64
cmovg esi, eax
lea eax, [ebp - 0x410]
push esi
push str.levels_auto_save__d.xml
push 0x400
push eax
call dword [sym.imp.msvcr120.dll_sprintf_s]
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x410], 0
jne 0x4fed9d
xor ecx, ecx
jmp 0x4fedaf
lea ecx, [ebp - 0x410]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4feda6
sub ecx, edi
push ecx
lea eax, [ebp - 0x410]
mov ecx, edx
push eax
call fcn.00401ea0
mov ecx, ebx
call fcn.004f4db0
push esi
lea edx, [ebp - 0x4dc]
mov ecx, 0x564370
call fcn.004c8c80
sub esp, 0xc
lea ecx, [ebp - 0x4d8]
call fcn.00465be0
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 4], 0xffffffff
call fcn.00402520
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.00551c1f
mov esp, ebp
pop ebp
ret 8
Function at 0x51f710
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560226
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58829c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], vtable.phVector2d.0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], vtable.phVector2d.0
xor eax, eax
mov dword [edi + 0x30], 7
mov dword [edi + 0x2c], 0
mov word [edi + 0x1c], ax
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 2
call fcn.0051f500
lea ecx, [edi + 0x104]
mov byte [ebp - 4], 3
call fcn.0051f500
lea ecx, [edi + 0x1cc]
mov byte [ebp - 4], 4
call fcn.0051f500
lea ecx, [edi + 0x294]
mov byte [ebp - 4], 5
call fcn.0051f500
push 0
push 0x568a60
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 6
call fcn.00444990
mov eax, dword [ebp + 8]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi], eax
mov eax, edi
mov dword [edi + 0x34], 0
mov byte [edi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4