Function at 0x44fa60
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559a2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x5c9ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xfc], esi
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
push 0
push 0
movq qword [ebp - 0xe8], xmm0
mov edi, dword [ebp - 0xe4]
push edi
push dword [ebp - 0xe8]
mov dword [ebp - 0x110], eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44fc03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
nop dword [eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x44faf0
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x44fb41
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x27
push str.Part:_Cannot_set_file_pointer_1_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0
call fcn.00452ef0
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x30]
movq qword [ebp - 0xe8], xmm0
movq qword [ebp - 0x20], xmm0
cmp esi, eax
je 0x44fcfb
mov ecx, esi
call fcn.00448e30
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xe8]
movq qword [esi + 0x10], xmm0
jmp 0x44fbc0
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp - 0xc0]
cmp edx, 8
jb 0x450d63
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450d59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d85
jmp 0x450d59
push 0
lea eax, [ebp - 0x70]
push eax
push 0x100000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x450c80
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x450c80
cmp eax, 0x100000
jne 0x450c80
push 0
push 0
push edi
push dword [ebp - 0xe8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44fd38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
nop dword [eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x44fc60
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x44fcb1
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x27
push str.Part:_Cannot_set_file_pointer_2_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 2
call fcn.00452ef0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x30]
movq qword [ebp - 0x20], xmm0
call fcn.00448e90
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x44fbc0
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fbb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d8a
jmp 0x44fbb6
mov edi, dword [ebp - 0x110]
xorps xmm0, xmm0
mov edx, dword [esi + 4]
push ecx
push edi
push 0x100000
lea ecx, [ebp - 0xa0]
movq qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], 0
call fcn.0044bda0
add esp, 0xc
mov dword [ebp - 4], 3
lea edx, [ebp - 0x70]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xa0]
sub ecx, eax
push 0
push edx
push ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x450b46
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x450b46
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa0]
cmp ecx, eax
jne 0x450b46
push 0x20
mov edx, edi
lea ecx, [ebp - 0xb8]
call fcn.0044c240
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 0x10
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0xa8]
xorps xmm1, xmm1
cmovae eax, dword [ebp - 0xb8]
cmovae ecx, dword [ebp - 0xb8]
add edx, eax
movsd xmm2, qword [0x5bfd80]
movsd xmm3, qword [0x5bfd78]
mov byte [ebp - 0xb9], 0
cmp ecx, edx
je 0x44fe50
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0xb9]
inc al
mov byte [ebp - 0xb9], al
test al, 1
movsx eax, byte [ecx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
jne 0x44fe43
mulsd xmm0, xmm2
jmp 0x44fe47
mulsd xmm0, xmm3
inc ecx
addsd xmm1, xmm0
cmp ecx, edx
jne 0x44fe20
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mulsd xmm1, qword [0x5bfda0]
mov dword [ebp - 0xdc], eax
add eax, 0xffe00000
mov dword [ebp - 0xd8], edx
mov esi, eax
adc edx, 0xffffffff
mov dword [ebp - 0x104], eax
mov edi, edx
mov dword [ebp - 0xe0], edx
shrd esi, edi, 0x18
movsd qword [ebp - 0xe8], xmm1
shr edi, 0x18
shld edi, esi, 1
add esi, esi
add esi, 1
mov ecx, esi
adc edi, 0
mov edx, edi
call fcn.00518d70
movsd qword [ebp - 0x138], xmm0
divsd xmm0, qword [0x5bfd90]
call fcn.00518c50
sub eax, esi
sbb edx, edi
add eax, 1
mov ecx, eax
adc edx, 0
call fcn.00518d70
mulsd xmm0, qword [ebp - 0xe8]
addsd xmm0, qword [ebp - 0x138]
call fcn.00518c50
mov ecx, edx
mov dword [ebp - 0x134], eax
push ecx
push eax
push dword [ebp - 0xe0]
mov dword [ebp - 0x12c], ecx
push dword [ebp - 0x104]
call fcn.00518e20
mov ecx, eax
mov esi, edx
movzx eax, byte [ebx + 0xc]
push esi
cdq
push ecx
push edx
push eax
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x10c], esi
call fcn.00518de0
push 0
push 0x64
push edx
push eax
call fcn.00518e20
mov esi, eax
mov edi, edx
mov ecx, esi
call fcn.00518d70
mulsd xmm0, qword [0x5bfd98]
call fcn.00518c50
shld edi, esi, 1
mov dword [ebp - 0x124], eax
add esi, esi
mov dword [ebp - 0x104], edx
mov ecx, esi
sub ecx, eax
mov eax, edi
mov dword [ebp - 0x108], ecx
sbb eax, edx
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x128], eax
cmp eax, edx
jb 0x44ffa3
mov ecx, dword [ebp - 0x100]
ja 0x44ff83
cmp dword [ebp - 0x108], ecx
jbe 0x44ffa3
mov eax, esi
mov dword [ebp - 0x108], ecx
sub eax, ecx
mov dword [ebp - 0x128], edx
mov ecx, edi
mov dword [ebp - 0x124], eax
sbb ecx, edx
mov dword [ebp - 0x104], ecx
cmp dword [ebp - 0x12c], 0
xorps xmm0, xmm0
mov edi, dword [ebp - 0xa8]
mov edx, edi
movq qword [ebp - 0xe8], xmm0
movlpd qword [ebp - 0x120], xmm0
mov dword [ebp - 0xe0], edx
movlpd qword [ebp - 0xf8], xmm0
jb 0x450725
ja 0x44ffe8
cmp dword [ebp - 0x134], 0
jbe 0x450725
mov ecx, dword [ebp - 0xf4]
lea eax, [edx - 1]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0x11c], eax
nop dword [eax]
test ecx, ecx
jb 0x45003a
ja 0x45001a
cmp eax, edx
jbe 0x45003a
push 0
push edx
push ecx
push eax
call fcn.00518e90
mov esi, eax
add esi, 0xffffffff
adc edx, 0xffffffff
mov dword [ebp - 0xf4], edx
mov edx, dword [ebp - 0xe0]
jmp 0x450042
mov esi, eax
mov dword [ebp - 0xf4], ecx
mov eax, edx
mov dword [ebp - 0xc4], 0
sub eax, esi
mov dword [ebp - 0xc0], 0xf
cmp eax, dword [ebp - 0xe4]
mov ecx, 1
mov byte [ebp - 0xd4], 0
cmovbe ecx, esi
sub edx, ecx
cmp edi, edx
jb 0x450d9e
sub edi, edx
lea eax, [ebp - 0xb8]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp dword [ebp - 0xa4], 0x10
push ecx
cmovae eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xd4]
add eax, edx
push eax
call fcn.0044a2a0
mov edi, dword [ebp - 0xc0]
lea ecx, [ebp - 0xd4]
mov esi, dword [ebp - 0xd4]
lea edx, [ebp - 0xd4]
cmp edi, 0x10
mov byte [ebp - 0xb9], 0
xorps xmm1, xmm1
cmovae ecx, esi
cmovae edx, esi
add ecx, dword [ebp - 0xc4]
cmp edx, ecx
je 0x450118
nop dword [eax]
mov al, byte [ebp - 0xb9]
inc al
mov byte [ebp - 0xb9], al
test al, 1
movsx eax, byte [edx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
jne 0x450107
mulsd xmm0, qword [0x5bfd80]
jmp 0x45010f
mulsd xmm0, qword [0x5bfd78]
inc edx
addsd xmm1, xmm0
cmp edx, ecx
jne 0x4500e0
mulsd xmm1, qword [0x5bfda0]
movsd qword [ebp - 0xf8], xmm1
cmp edi, 0x10
jb 0x450158
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x45014e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d8a
push ecx
push esi
call fcn.00518414
add esp, 8
mov ecx, dword [ebp - 0x108]
sub ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x128]
sbb edx, dword [ebp - 0x104]
add ecx, 1
adc edx, 0
call fcn.00518d70
mulsd xmm0, qword [ebp - 0xf8]
mov edx, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x124]
movsd qword [ebp - 0x118], xmm0
call fcn.00518d70
addsd xmm0, qword [ebp - 0x118]
call fcn.00518c50
mov ecx, edx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xec], ecx
test ecx, ecx
jne 0x4501c2
cmp eax, 0x800000
jbe 0x4501d6
mov dword [ebp - 0xd8], 0x800000
mov dword [ebp - 0xec], 0
push dword [ebp - 0x10c]
push dword [ebp - 0x100]
push dword [ebp - 0xdc]
push dword [ebp - 0x11c]
call fcn.00518de0
mov esi, edx
mov edi, eax
add edi, 0x100000
mov ecx, edi
adc esi, 0
sub ecx, dword [ebp - 0xd8]
mov edx, esi
sbb edx, dword [ebp - 0xec]
add ecx, dword [ebp - 0x100]
adc edx, dword [ebp - 0x10c]
sub ecx, edi
sbb edx, esi
add ecx, 1
adc edx, 0
call fcn.00518d70
mulsd xmm0, qword [ebp - 0xf8]
mov edx, esi
mov ecx, edi
movsd qword [ebp - 0xf8], xmm0
call fcn.00518d70
addsd xmm0, qword [ebp - 0xf8]
call fcn.00518c5f
mov esi, dword [ebp - 0xfc]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xf4], edx
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, dword [esi + 0x14]
sbb eax, edx
cmp eax, dword [ebp - 0xec]
jb 0x450281
mov edi, dword [ebp - 0xd8]
ja 0x450289
cmp ecx, edi
ja 0x450289
mov edi, ecx
mov dword [ebp - 0xec], eax
push 0
push 0
push edx
push dword [ebp - 0x114]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x450601
push 0
lea eax, [ebp - 0x70]
push eax
push edi
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x450591
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x450591
xor ecx, ecx
cmp eax, edi
jne 0x450591
cmp ecx, dword [ebp - 0xec]
jne 0x450591
push ecx
push ecx
push dword [ebp - 0xf4]
push dword [ebp - 0x114]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x45051f
mov edx, dword [esi + 4]
xorps xmm0, xmm0
push ecx
push dword [ebp - 0x110]
lea ecx, [ebp - 0x7c]
movq qword [ebp - 0x7c], xmm0
push edi
mov dword [ebp - 0x74], 0
call fcn.0044bda0
add esp, 0xc
mov byte [ebp - 4], 9
lea edx, [ebp - 0x70]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
sub ecx, eax
push 0
push edx
push ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x450409
mov edx, dword [ebp - 0x70]
test edx, edx
je 0x450409
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
cmp edx, eax
jne 0x450409
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4503ab
mov edx, dword [ebp - 0x74]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x45038c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d8a
push edx
push ecx
call fcn.00518414
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0x11c], eax
adc ecx, 0
mov dword [ebp - 0xdc], ecx
cmp ecx, dword [ebp - 0x12c]
ja 0x4503ec
jb 0x4503db
cmp eax, dword [ebp - 0x134]
jae 0x4503ec
mov edi, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xe0]
jmp 0x450010
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], edx
jmp 0x45075b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x450414
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x450465
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x21
push str.Part:_Cannot_write_file_2_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xa
call fcn.00452ef0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x30]
movq qword [ebp - 0x20], xmm0
call fcn.00448e90
lea ecx, [ebp - 0x30]
call fcn.00448e30
lea ecx, [ebp - 0xd4]
call fcn.00448e30
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x450b1e
mov edx, dword [ebp - 0x74]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4504ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d8f
push edx
push ecx
call fcn.00518414
add esp, 8
mov byte [ebp - 0xb9], 0
lea ecx, [ebp - 0xb8]
call fcn.00448fa0
lea ecx, [ebp - 0xa0]
call fcn.0044c0c0
mov al, byte [ebp - 0xb9]
jmp 0x450d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
nop word [eax + eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x450530
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x450581
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x27
mov byte [ebp - 4], 8
push str.Part:_Cannot_set_file_pointer_4_._Code
jmp 0x450acf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
nop dword [eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x4505a0
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x4505f1
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x20
mov byte [ebp - 4], 7
push str.Part:_Cannot_read_file_2_._Code
jmp 0x450acf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
nop dword [eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x450610
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x450661
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x27
push str.Part:_Cannot_set_file_pointer_3_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 6
call fcn.00452ef0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x30]
movq qword [ebp - 0x20], xmm0
call fcn.00448e90
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4506e2
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4506d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d94
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp - 0xc0]
cmp edx, 8
jb 0x450b1e
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4504ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d99
jmp 0x4504ed
mov eax, dword [ebp - 0xe4]
mov edi, dword [ebp - 0x120]
mov esi, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x11c]
sub ecx, 0x100000
mov dword [ebp - 0xe0], ecx
sbb edx, 0
add edi, dword [ebp - 0x114]
mov dword [ebp - 0xfc], edx
adc eax, dword [ebp - 0xf4]
cmp edx, eax
ja 0x450796
jb 0x450786
cmp ecx, edi
jae 0x450796
mov ecx, edi
mov edx, eax
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xfc], edx
mov edi, dword [ebp - 0xdc]
push 0
push 0
push edx
push ecx
push dword [esi]
sub edi, ecx
sbb dword [ebp - 0xd8], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x450822
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x4507c1
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x450812
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x27
mov byte [ebp - 4], 0xb
push str.Part:_Cannot_set_file_pointer_5_._Code
jmp 0x450acf
push 0
lea eax, [ebp - 0x70]
push eax
push edi
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x450a68
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x450a68
xor ecx, ecx
cmp eax, edi
jne 0x450a68
cmp ecx, dword [ebp - 0xd8]
jne 0x450a68
push ecx
push ecx
push dword [ebp - 0xfc]
push dword [ebp - 0xe0]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4508e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x450882
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x4508d3
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x27
mov byte [ebp - 4], 0xd
push str.Part:_Cannot_set_file_pointer_6_._Code
jmp 0x450acf
mov edx, dword [esi + 4]
xorps xmm0, xmm0
push ecx
push dword [ebp - 0x110]
lea ecx, [ebp - 0x94]
movq qword [ebp - 0x94], xmm0
push edi
mov dword [ebp - 0x8c], 0
call fcn.0044bda0
add esp, 0xc
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x70]
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x94]
sub ecx, eax
push 0
push edx
push ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x450981
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x450981
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
cmp ecx, eax
jne 0x450981
lea ecx, [ebp - 0x94]
mov byte [ebp - 0xb9], 1
call fcn.0044c0c0
lea ecx, [ebp - 0xb8]
call fcn.00448fa0
lea ecx, [ebp - 0xa0]
call fcn.0044c0c0
mov al, byte [ebp - 0xb9]
jmp 0x450d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x42]
nop dword [eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x450990
xor eax, eax
mov dword [ebp - 0x78], edx
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x42]
mov dword [ebp - 0x74], 7
cmp edi, eax
je 0x4509db
sub eax, edi
lea ecx, [ebp - 0x88]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x21
push str.Part:_Cannot_write_file_3_._Code
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
call fcn.00452ef0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x30]
movq qword [ebp - 0x20], xmm0
call fcn.00448e90
lea ecx, [ebp - 0x30]
call fcn.00448e30
lea ecx, [ebp - 0x88]
call fcn.00448e30
lea ecx, [ebp - 0x94]
mov byte [ebp - 0xb9], 0
call fcn.0044c0c0
lea ecx, [ebp - 0xb8]
call fcn.00448fa0
lea ecx, [ebp - 0xa0]
call fcn.0044c0c0
mov al, byte [ebp - 0xb9]
jmp 0x450d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x42]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x450a73
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x42]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x450ac4
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x20
mov byte [ebp - 4], 0xc
push str.Part:_Cannot_read_file_3_._Code
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00452ef0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x30]
movq qword [ebp - 0x20], xmm0
call fcn.00448e90
lea ecx, [ebp - 0x30]
call fcn.00448e30
lea ecx, [ebp - 0xd4]
call fcn.00448e30
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0xb9], 0
call fcn.00448fa0
lea ecx, [ebp - 0xa0]
call fcn.0044c0c0
mov al, byte [ebp - 0xb9]
jmp 0x450d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x42]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x450b51
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x42]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x450ba2
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x21
push str.Part:_Cannot_write_file_1_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 4
call fcn.00452ef0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x30]
movq qword [ebp - 0x20], xmm0
call fcn.00448e90
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x450c23
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450c19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450da3
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp - 0xc0]
cmp edx, 8
jb 0x450c63
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450c59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450da8
push edx
push ecx
call fcn.00518414
add esp, 8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 0xb9], 0
call fcn.0044c0c0
mov al, byte [ebp - 0xb9]
jmp 0x450d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
nop dword [eax + eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x450c90
xor eax, eax
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0xc0], 7
cmp edi, eax
je 0x450ce1
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x20
push str.Part:_Cannot_read_file_1_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 1
call fcn.00452ef0
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x30]
movq qword [ebp - 0xe8], xmm0
movq qword [ebp - 0x20], xmm0
cmp esi, eax
je 0x44fcfb
mov ecx, esi
call fcn.00448e30
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xe8]
movq qword [esi + 0x10], xmm0
jmp 0x44fbc0
push edx
push ecx
call fcn.00518414
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005181d3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00533a91
call fcn.00533a91
call fcn.00533a91
call fcn.00533a91
call fcn.00533a91
call fcn.0044a4e0
call fcn.00533a91
call fcn.00533a91
int3