Function at 0x425f30
Capabilities:
Get file size
Move file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x4c9100]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
push edi
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x425f52
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edx, eax
mov dword [esp + 0x40], 0
mov ecx, edx
mov dword [esp + 0x18], edx
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
movaps xmmword [esp + 0x30], xmm0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425f80
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00429760
lea eax, [esp + 0x30]
mov edx, 0x4de560
push eax
mov ecx, 0x4de4d0
call fcn.0042ab00
mov ecx, dword [esp + 0x48]
add esp, 4
mov edi, eax
cmp ecx, 7
jbe 0x425fef
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425fe5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426388
push ecx
push edx
call fcn.004615bb
add esp, 8
cmp edi, 0x4de560
jne 0x426377
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x426005
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
je 0x426377
lea eax, [esp + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
jne 0x426055
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0046157d
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x28], eax
test eax, eax
jg 0x426165
jl 0x426077
cmp edi, 0x96000
ja 0x426165
lea eax, [edi + 0x38]
mov byte [esp + 0x24], 0
push eax
call fcn.00461957
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x2c]
push 0
push ecx
push edi
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x426150
cmp dword [esp + 0x2c], edi
mov edi, dword [esp + 0x14]
jne 0x426154
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push 0x4de4b0
push eax
lea edx, [eax + ecx]
call fcn.0043cf80
mov ecx, dword [esp + 0x34]
add eax, 0x38
add ecx, 0x38
mov dword [esp + 0x1c], eax
add esp, 8
cmp eax, ecx
jne 0x426154
push 0
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x426154
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], eax
jne 0x426154
push 0
lea eax, [esp + 0x2c]
push eax
push 0x78
push 0x4de438
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x426154
mov eax, dword [esp + 0x24]
mov ecx, 1
cmp dword [esp + 0x28], 0x78
push dword [esp + 0x18]
movzx eax, al
cmove eax, ecx
mov dword [esp + 0x28], eax
call fcn.004615ec
add esp, 4
jmp 0x4262c8
mov edi, dword [esp + 0x14]
push dword [esp + 0x18]
call fcn.004615ec
add esp, 4
jmp 0x4262c8
mov edx, dword [esp + 0x18]
xorps xmm0, xmm0
mov ecx, edx
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426190
sub ecx, dword [esp + 0x18]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00429760
lea eax, [esp + 0x30]
mov edx, 0x4de8d8
push eax
mov ecx, 0x4de560
call fcn.0042ab00
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x18], eax
cmp ecx, 7
jbe 0x426207
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4261f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426388
push ecx
push edx
call fcn.004615bb
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, 0x4de8d8
jne 0x426218
mov edx, 3
jmp 0x4262ae
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x426285
jl 0x42622a
cmp edi, 0x600000
jae 0x426231
mov edx, 4
jmp 0x4262ae
test eax, eax
jg 0x426285
jl 0x42623f
cmp edi, 0x3200000
jae 0x426246
mov edx, 0x10
jmp 0x4262ae
test eax, eax
jg 0x426285
jl 0x426254
cmp edi, 0x6400000
jae 0x42625b
mov edx, 0x20
jmp 0x4262ae
test eax, eax
jg 0x426285
jl 0x426269
cmp edi, 0x1f400000
jae 0x426270
mov edx, 0x40
jmp 0x4262ae
test eax, eax
jg 0x426285
jl 0x42627e
cmp edi, 0x80000000
jae 0x426285
mov edx, 0x80
jmp 0x4262ae
cmp eax, 3
jg 0x426297
jl 0x426290
test edi, edi
jae 0x426297
mov edx, 0x100
jmp 0x4262ae
cmp eax, 6
jg 0x4262a9
jl 0x4262a2
test edi, edi
jae 0x4262a9
mov edx, 0x200
jmp 0x4262ae
mov edx, 0x400
push dword [esp + 0x54]
mov edi, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x54]
call fcn.00425d50
add esp, 8
mov byte [esp + 0x24], al
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [esp + 0x24], 0
je 0x426377
mov edx, dword [esi + 0x10]
mov eax, SysReAllocString
mov edi, dword [0x4da464]
sub eax, edx
cmp eax, edi
jb 0x42638d
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x4262fc
mov ecx, dword [esi]
cmp dword [0x4da468], 7
mov eax, 0x4da454
push edi
cmova eax, dword [0x4da454]
push eax
push edx
push ecx
push ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0x48]
call fcn.0042a7e0
cmp dword [esp + 0x44], 7
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
cmp dword [esi + 0x14], 7
jbe 0x426337
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x426377
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42636d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426392
push ecx
push edx
call fcn.004615bb
add esp, 8
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.0046157d
mov esp, ebp
pop ebp
ret
call fcn.0048347f
call fcn.00422c60
call fcn.0048347f
int3