Function at 0x4458c0
Capabilities:
Delete file
Get file size
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c3c68
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4f55dc]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f55dc]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x18], 0
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x1c], ebx
je 0x44590f
push 0
call fcn.00445e60
mov ecx, dword [ebp + 0x9c]
test ecx, ecx
je 0x445923
mov eax, dword [ecx]
push dword [ebp + 0xa0]
call dword [eax]
lea esi, [ebp + 4]
mov dword [esp + 0x34], esi
test esi, esi
je 0x44593b
mov eax, dword [esi]
test eax, eax
je 0x44593b
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x64]
push eax
mov ecx, ebp
call fcn.00446250
mov byte [esp + 0x8c], 1
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.00446350
mov byte [esp + 0x8c], 2
cmp dword [esp + 0x74], 0
je 0x445d6f
cmp dword [esp + 0x5c], 0
je 0x445d6f
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmovae eax, dword [esp + 0x4c]
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 0x445d66
test eax, eax
je 0x445d66
cmp dword [esp + 0x78], 8
lea eax, [esp + 0x64]
push 0
cmovae eax, dword [esp + 0x68]
push 0x80
push 4
push 0
push 0
push 0xc0000000
push eax
call edi
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x445d3f
test edi, edi
je 0x445d3f
lea ecx, [esp + 0x34]
call fcn.00402da0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x38], eax
cmp eax, 0x1400000
jbe 0x445a95
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0
call fcn.00402d80
mov byte [esp + 0x8c], 3
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x445a4c
push eax
call edi
mov dword [ebp + 0x18], 0
cmp dword [esp + 0x78], 8
lea eax, [esp + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [esp + 0x64]
push eax
call esi
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push eax
call esi
mov dword [ebp + 0x1c], 0
mov byte [esp + 0x8c], 2
lea ecx, [esp + 0x30]
call fcn.00402da0
mov esi, dword [esp + 0x34]
jmp 0x445db0
mov byte [esp + 0x16], 1
mov byte [esp + 0x30], 0
test eax, eax
je 0x445bd8
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x8c], 4
lea eax, [esp + 0x17]
push eax
push dword [esp + 0x3c]
lea ecx, [esp + 0x44]
mov byte [esp + 0x1f], 0
call fcn.004181d0
push 0
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x40]
push dword [esp + 0x48]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445b1b
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x38]
je 0x445b5f
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x8c], 5
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.0041afb0
mov byte [esp + 0x8c], 4
lea ecx, [esp + 0x20]
call fcn.00409ff0
mov byte [esp + 0x16], 0
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
je 0x445bbc
mov ecx, ebx
call fcn.00446850
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], 0
sub eax, dword [esp + 0x3c]
je 0x445ba5
push ebx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x40]
call fcn.0044dc70
add esp, 4
test al, al
je 0x445ba5
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
cmp dword [esp + 0x2c], eax
jb 0x445b82
mov eax, dword [esp + 0x30]
mov ecx, 1
cmp dword [ebx + 4], 0
movzx eax, al
cmove eax, ecx
mov dword [esp + 0x30], eax
mov byte [esp + 0x8c], 2
lea ecx, [esp + 0x3c]
call fcn.00409ff0
cmp byte [esp + 0x16], 0
je 0x445cdc
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.00402d80
mov byte [esp + 0x8c], 6
mov eax, dword [esp + 0x38]
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 + 0x4c]
mov dword [esp + 0x4c], 0
push eax
push 4
lea eax, [esp + 0x44]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
neg ebx
sbb bl, bl
mov byte [esp + 0x8c], 2
lea ecx, [esp + 0x2c]
call fcn.00402da0
and bl, byte [esp + 0x16]
je 0x445cdc
lea ecx, [ebp + 0x10]
call fcn.00446850
cmp dword [ebp + 0xc], 0
je 0x445c7c
mov eax, dword [ebp + 8]
lea edi, [ebp + 8]
mov ecx, dword [esp + 0x1c]
push eax
push dword [eax]
lea eax, [esp + 0x24]
push dword [ecx]
push eax
call fcn.004469e0
push edi
lea ecx, [ebp + 0x10]
call fcn.00446890
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
cmp byte [esp + 0x30], 0
je 0x445cd3
cmp dword [esp + 0x78], 8
lea eax, [esp + 0x64]
cmovae eax, dword [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.00402d80
mov byte [esp + 0x8c], 8
mov dword [ebp + 0x1c], 0
mov byte [esp + 0x8c], 2
lea ecx, [esp + 0x2c]
call fcn.00402da0
mov esi, dword [esp + 0x34]
jmp 0x445db0
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.00402d80
mov byte [esp + 0x8c], 7
mov eax, dword [ebp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x445d0d
push eax
call ebx
mov dword [ebp + 0x18], 0
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp + 0x1c], 0
mov byte [esp + 0x8c], 2
lea ecx, [esp + 0x2c]
call fcn.00402da0
jmp 0x445c82
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
mov dword [ebp + 0x18], 0
cmovae eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x445db0
mov dword [ebp + 0x18], 0
jmp 0x445db0
lea edi, [ebp + 0x10]
mov ecx, edi
call fcn.00446850
cmp dword [ebp + 0xc], 0
je 0x445db0
mov eax, dword [ebp + 8]
add ebp, 8
push eax
mov ecx, ebx
push dword [eax]
lea eax, [esp + 0x20]
push dword [ebx]
push eax
call fcn.004469e0
cmp edi, ebp
je 0x445db0
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 + 0x8c], 1
cmp dword [esp + 0x60], 8
jb 0x445dcb
push dword [esp + 0x4c]
call fcn.0049c766
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov byte [esp + 0x8c], al
cmp dword [esp + 0x78], 8
jb 0x445dfc
push dword [esp + 0x64]
call fcn.0049c766
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov dword [esp + 0x8c], 0xffffffff
test esi, esi
je 0x445e37
mov eax, dword [esi]
test eax, eax
je 0x445e2f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0049bfa3
add esp, 0x7c
ret 4