Function at 0x4b0710
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626cc9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.engine.dll_public:_void___thiscall_KFile::constructor_void_]
mov dword [ebp - 4], 0
push 0x80
lea eax, [ebp - 0xa4]
push eax
call fcn.004b0960
add esp, 8
mov byte [ebp - 0xa5], 0
cmp dword [0x696b44], 0
jne 0x4b077c
cmp dword [0x696b4c], 0
jle 0x4b08da
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.engine.dll_public:_int___thiscall_KFile::Create_char_const__]
test eax, eax
jne 0x4b0795
jmp 0x4b08da
mov byte [ebp - 0xc0], 0
xor edx, edx
mov word [ebp - 0xbf], dx
mov byte [ebp - 0xbd], dl
xor eax, eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xc0], 0x46445400
cmp dword [0x696b44], 0
je 0x4b07ee
mov ecx, dword [0x696b44]
cmp dword [ecx], 0
jle 0x4b07ee
mov edx, dword [0x696b44]
mov eax, dword [edx]
add eax, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [0x696b4c]
mov dword [ebp - 0xb8], ecx
push 0x10
lea edx, [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.engine.dll_public:_unsigned_long_int___thiscall_KFile::Write_void___unsigned_long_int_]
cmp eax, 0x10
je 0x4b0816
jmp 0x4b08da
cmp dword [0x696b44], 0
je 0x4b0843
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [0x696b44]
push ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.engine.dll_public:_unsigned_long_int___thiscall_KFile::Write_void___unsigned_long_int_]
cmp eax, dword [ebp - 0xbc]
je 0x4b0843
jmp 0x4b08da
mov edx, dword [0x696b48]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], 0
jmp 0x4b086a
mov eax, dword [ebp - 0xac]
add eax, 1
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [0x696b4c]
jge 0x4b08be
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0xc]
add eax, 0xc
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xb0]
add edx, 4
push edx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.engine.dll_public:_unsigned_long_int___thiscall_KFile::Write_void___unsigned_long_int_]
cmp eax, dword [ebp - 0xc4]
je 0x4b08ae
jmp 0x4b08be
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
jmp 0x4b085b
mov edx, dword [ebp - 0xac]
cmp edx, dword [0x696b4c]
jl 0x4b08d3
mov byte [ebp - 0xa5], 1
jmp 0x4b08da
lea ecx, [ebp - 0x1c]
call dword [sym.imp.engine.dll_public:_void___thiscall_KFile::Close_void_]
movzx eax, byte [ebp - 0xa5]
test eax, eax
jne 0x4b0917
lea ecx, [ebp - 0xa4]
push ecx
push 0x104
lea edx, [ebp - 0x1cc]
push edx
call dword [sym.imp.engine.dll_void___cdecl_g_GetFullPath_char___unsigned_int__char_const__]
add esp, 0xc
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov cl, byte [ebp - 0xa5]
mov byte [ebp - 0x1cd], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [sym.imp.engine.dll_public:_void___thiscall_KFile::destructor_void_]
mov al, byte [ebp - 0x1cd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret