Function at 0x448c70
Capabilities:
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x68d078
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x18], 0
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x38], ebx
je 0x448cbf
push 0
call fcn.00449230
mov ecx, dword [ebp + 0x9c]
test ecx, ecx
je 0x448cd3
mov eax, dword [ecx]
push dword [ebp + 0xa0]
call dword [eax]
lea esi, [ebp + 4]
mov dword [esp + 0x28], esi
test esi, esi
je 0x448ceb
mov eax, dword [esi]
test eax, eax
je 0x448ceb
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x94], 0
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.00449620
mov byte [esp + 0x94], 1
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
call fcn.00449720
mov byte [esp + 0x94], 2
cmp dword [esp + 0x7c], 0
je 0x449130
cmp dword [esp + 0x64], 0
je 0x449130
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmovae eax, dword [esp + 0x54]
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push eax
call edi
mov dword [ebp + 0x18], eax
cmp eax, 0xffffffff
je 0x449127
test eax, eax
je 0x449127
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
push 0
cmovae eax, dword [esp + 0x70]
push 0x80
push 4
push 0
push 0
push 0xc0000000
push eax
call edi
mov edi, eax
mov dword [esp + 0x3c], edi
cmp edi, 0xffffffff
je 0x449100
test edi, edi
je 0x449100
lea ecx, [esp + 0x28]
call fcn.004110f0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x4c], eax
cmp eax, 0x1400000
jbe 0x448e4f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
call fcn.004110c0
mov byte [esp + 0x94], 3
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x448e03
push eax
call edi
mov dword [ebp + 0x18], 0
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [esp + 0x6c]
push eax
call esi
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push eax
call esi
mov dword [ebp + 0x1c], 0
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x24]
call fcn.004110f0
mov esi, dword [esp + 0x28]
jmp 0x449171
mov byte [esp + 0x1b], 1
mov byte [esp + 0x24], 0
test eax, eax
je 0x448f96
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x94], 4
lea eax, [esp + 0x23]
push eax
push dword [esp + 0x50]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2b], 0
call fcn.0042c290
push 0
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x54]
push dword [esp + 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x448ed5
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x4c]
je 0x448f19
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov byte [esp + 0x94], 5
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
call fcn.0042c350
mov byte [esp + 0x94], 4
lea ecx, [esp + 0x40]
call fcn.0041db30
mov byte [esp + 0x1b], 0
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
je 0x448f7a
mov ecx, ebx
call fcn.00449ca0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
sub eax, dword [esp + 0x2c]
je 0x448f63
lea esp, [esp]
push ebx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x30]
call fcn.0045b8e0
add esp, 4
test al, al
je 0x448f63
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
cmp dword [esp + 0x1c], eax
jb 0x448f40
mov eax, dword [esp + 0x24]
mov ecx, 1
cmp dword [ebx + 4], 0
movzx eax, al
cmove eax, ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x2c]
call fcn.0041db30
cmp byte [esp + 0x1b], 0
je 0x44909d
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
call fcn.004110c0
mov byte [esp + 0x94], 6
mov eax, dword [esp + 0x4c]
push 0
push 0
push 0
push dword [ebp + 0x18]
mov dword [ebp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push eax
push 4
lea eax, [esp + 0x58]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
neg ebx
sbb bl, bl
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x1c]
call fcn.004110f0
and bl, byte [esp + 0x1b]
je 0x44909d
lea ecx, [ebp + 0x10]
call fcn.00449ca0
cmp dword [ebp + 0xc], 0
je 0x44903a
mov eax, dword [ebp + 8]
lea edi, [ebp + 8]
mov ecx, dword [esp + 0x38]
push eax
push dword [eax]
lea eax, [esp + 0x40]
push dword [ecx]
push eax
call fcn.00449dc0
push edi
lea ecx, [ebp + 0x10]
call fcn.00449ce0
mov edi, dword [esp + 0x3c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
cmp byte [esp + 0x24], 0
je 0x449094
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
call fcn.004110c0
mov byte [esp + 0x94], 8
mov dword [ebp + 0x1c], 0
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x1c]
call fcn.004110f0
mov esi, dword [esp + 0x28]
jmp 0x449171
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
call fcn.004110c0
mov byte [esp + 0x94], 7
mov eax, dword [ebp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4490ce
push eax
call ebx
mov dword [ebp + 0x18], 0
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp + 0x1c], 0
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x1c]
call fcn.004110f0
jmp 0x449040
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
mov dword [ebp + 0x18], 0
cmovae eax, dword [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x449171
mov dword [ebp + 0x18], 0
jmp 0x449171
lea edi, [ebp + 0x10]
mov ecx, edi
call fcn.00449ca0
cmp dword [ebp + 0xc], 0
je 0x449171
mov eax, dword [ebp + 8]
add ebp, 8
push eax
mov ecx, ebx
push dword [eax]
lea eax, [esp + 0x44]
push dword [ebx]
push eax
call fcn.00449dc0
cmp edi, ebp
je 0x449171
mov ecx, dword [edi]
mov eax, dword [ebp]
mov dword [edi], eax
mov dword [ebp], ecx
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov dword [ebp + 4], ecx
mov byte [esp + 0x94], 1
cmp dword [esp + 0x68], 8
jb 0x44918c
push dword [esp + 0x54]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov byte [esp + 0x94], al
cmp dword [esp + 0x80], 8
jb 0x4491c0
push dword [esp + 0x6c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
mov dword [esp + 0x94], 0xffffffff
test esi, esi
je 0x4491fe
mov eax, dword [esi]
test eax, eax
je 0x4491f6
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005472b9
add esp, 0x84
ret 4