Function at 0x44fa70
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 0x44fc13
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 0x44fb00
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 0x44fb51
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x27
push str.Part:_Cannot_set_file_pointer_1_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0
call fcn.00452f00
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 0x44fd0b
mov ecx, esi
call fcn.00448e40
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xe8]
movq qword [esi + 0x10], xmm0
jmp 0x44fbd0
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp - 0xc0]
cmp edx, 8
jb 0x450d73
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450d69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d95
jmp 0x450d69
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 0x450c90
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x450c90
cmp eax, 0x100000
jne 0x450c90
push 0
push 0
push edi
push dword [ebp - 0xe8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44fd48
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 0x44fc70
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 0x44fcc1
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x27
push str.Part:_Cannot_set_file_pointer_2_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 2
call fcn.00452f00
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.00448ea0
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x44fbd0
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fbc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d9a
jmp 0x44fbc6
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.0044bdb0
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 0x450b56
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x450b56
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa0]
cmp ecx, eax
jne 0x450b56
push 0x20
mov edx, edi
lea ecx, [ebp - 0xb8]
call fcn.0044c250
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 [0x5bfd88]
movsd xmm3, qword [0x5bfd80]
mov byte [ebp - 0xb9], 0
cmp ecx, edx
je 0x44fe60
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 0x44fe53
mulsd xmm0, xmm2
jmp 0x44fe57
mulsd xmm0, xmm3
inc ecx
addsd xmm1, xmm0
cmp ecx, edx
jne 0x44fe30
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mulsd xmm1, qword [0x5bfda8]
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 [0x5bfd98]
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 [0x5bfda0]
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 0x44ffb3
mov ecx, dword [ebp - 0x100]
ja 0x44ff93
cmp dword [ebp - 0x108], ecx
jbe 0x44ffb3
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 0x450735
ja 0x44fff8
cmp dword [ebp - 0x134], 0
jbe 0x450735
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 0x45004a
ja 0x45002a
cmp eax, edx
jbe 0x45004a
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 0x450052
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 0x450dae
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.0044a2b0
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 0x450128
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 0x450117
mulsd xmm0, qword [0x5bfd88]
jmp 0x45011f
mulsd xmm0, qword [0x5bfd80]
inc edx
addsd xmm1, xmm0
cmp edx, ecx
jne 0x4500f0
mulsd xmm1, qword [0x5bfda8]
movsd qword [ebp - 0xf8], xmm1
cmp edi, 0x10
jb 0x450168
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x45015e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d9a
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 0x4501d2
cmp eax, 0x800000
jbe 0x4501e6
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 0x450291
mov edi, dword [ebp - 0xd8]
ja 0x450299
cmp ecx, edi
ja 0x450299
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 0x450611
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 0x4505a1
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4505a1
xor ecx, ecx
cmp eax, edi
jne 0x4505a1
cmp ecx, dword [ebp - 0xec]
jne 0x4505a1
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 0x45052f
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.0044bdb0
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 0x450419
mov edx, dword [ebp - 0x70]
test edx, edx
je 0x450419
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
cmp edx, eax
jne 0x450419
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4503bb
mov edx, dword [ebp - 0x74]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x45039c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d9a
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 0x4503fc
jb 0x4503eb
cmp eax, dword [ebp - 0x134]
jae 0x4503fc
mov edi, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xe0]
jmp 0x450020
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 0x45076b
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 0x450424
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 0x450475
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x21
push str.Part:_Cannot_write_file_2_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xa
call fcn.00452f00
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.00448ea0
lea ecx, [ebp - 0x30]
call fcn.00448e40
lea ecx, [ebp - 0xd4]
call fcn.00448e40
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x450b2e
mov edx, dword [ebp - 0x74]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4504fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d9f
push edx
push ecx
call fcn.00518414
add esp, 8
mov byte [ebp - 0xb9], 0
lea ecx, [ebp - 0xb8]
call fcn.00448fb0
lea ecx, [ebp - 0xa0]
call fcn.0044c0d0
mov al, byte [ebp - 0xb9]
jmp 0x450d75
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 0x450540
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 0x450591
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x27
mov byte [ebp - 4], 8
push str.Part:_Cannot_set_file_pointer_4_._Code
jmp 0x450adf
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 0x4505b0
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 0x450601
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x20
mov byte [ebp - 4], 7
push str.Part:_Cannot_read_file_2_._Code
jmp 0x450adf
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 0x450620
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 0x450671
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x27
push str.Part:_Cannot_set_file_pointer_3_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 6
call fcn.00452f00
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.00448ea0
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4506f2
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4506e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450da4
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp - 0xc0]
cmp edx, 8
jb 0x450b2e
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4504fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450da9
jmp 0x4504fd
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 0x4507a6
jb 0x450796
cmp ecx, edi
jae 0x4507a6
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 0x450832
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 0x4507d1
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 0x450822
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x27
mov byte [ebp - 4], 0xb
push str.Part:_Cannot_set_file_pointer_5_._Code
jmp 0x450adf
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 0x450a78
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x450a78
xor ecx, ecx
cmp eax, edi
jne 0x450a78
cmp ecx, dword [ebp - 0xd8]
jne 0x450a78
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 0x4508f3
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 0x450892
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 0x4508e3
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x27
mov byte [ebp - 4], 0xd
push str.Part:_Cannot_set_file_pointer_6_._Code
jmp 0x450adf
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.0044bdb0
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 0x450991
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x450991
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
cmp ecx, eax
jne 0x450991
lea ecx, [ebp - 0x94]
mov byte [ebp - 0xb9], 1
call fcn.0044c0d0
lea ecx, [ebp - 0xb8]
call fcn.00448fb0
lea ecx, [ebp - 0xa0]
call fcn.0044c0d0
mov al, byte [ebp - 0xb9]
jmp 0x450d75
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 0x4509a0
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 0x4509eb
sub eax, edi
lea ecx, [ebp - 0x88]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x21
push str.Part:_Cannot_write_file_3_._Code
push ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
call fcn.00452f00
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.00448ea0
lea ecx, [ebp - 0x30]
call fcn.00448e40
lea ecx, [ebp - 0x88]
call fcn.00448e40
lea ecx, [ebp - 0x94]
mov byte [ebp - 0xb9], 0
call fcn.0044c0d0
lea ecx, [ebp - 0xb8]
call fcn.00448fb0
lea ecx, [ebp - 0xa0]
call fcn.0044c0d0
mov al, byte [ebp - 0xb9]
jmp 0x450d75
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 0x450a83
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 0x450ad4
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x20
mov byte [ebp - 4], 0xc
push str.Part:_Cannot_read_file_3_._Code
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00452f00
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.00448ea0
lea ecx, [ebp - 0x30]
call fcn.00448e40
lea ecx, [ebp - 0xd4]
call fcn.00448e40
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0xb9], 0
call fcn.00448fb0
lea ecx, [ebp - 0xa0]
call fcn.0044c0d0
mov al, byte [ebp - 0xb9]
jmp 0x450d75
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 0x450b61
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 0x450bb2
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x21
push str.Part:_Cannot_write_file_1_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 4
call fcn.00452f00
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.00448ea0
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x450c33
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450c29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450db3
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp - 0xc0]
cmp edx, 8
jb 0x450c73
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450c69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450db8
push edx
push ecx
call fcn.00518414
add esp, 8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 0xb9], 0
call fcn.0044c0d0
mov al, byte [ebp - 0xb9]
jmp 0x450d75
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 0x450ca0
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 0x450cf1
sub eax, edi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push edi
call fcn.0044a150
push 0x20
push str.Part:_Cannot_read_file_1_._Code
push ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 1
call fcn.00452f00
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 0x44fd0b
mov ecx, esi
call fcn.00448e40
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xe8]
movq qword [esi + 0x10], xmm0
jmp 0x44fbd0
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.0044a4f0
call fcn.00533a91
call fcn.00533a91
int3