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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a344
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5caea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xe0], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
push 0
movq qword [ebp - 0x84], xmm0
push dword [ebp - 0x80]
mov dword [ebp - 0xb4], eax
push dword [ebp - 0x84]
push dword [esi]
call edi
test eax, eax
jne 0x44eff9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044ccb0
push 0x27
push str.Part:_Cannot_set_file_pointer_1_._Code
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00452ee0
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x70]
movq qword [ebp - 0xe4], xmm0
movq qword [ebp - 0x60], xmm0
cmp esi, eax
je 0x44ef78
mov ecx, esi
call fcn.00448eb0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xe4]
movq qword [esi + 0x10], xmm0
jmp 0x44efb2
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44efb2
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44efa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc97
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x44eff2
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44efe8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc9c
push edx
push ecx
call fcn.00518d68
add esp, 8
xor al, al
jmp 0x44fc7a
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0x100000
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44f0ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_read_file_1_._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00452b10
mov edi, eax
add esi, 0x30
add esp, 4
cmp esi, edi
je 0x44f077
mov ecx, esi
call fcn.00448eb0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44f0b1
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f0a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fca1
push edx
push ecx
call fcn.00518d68
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
jmp 0x44efb2
push 0
push 0
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [esi]
call edi
test eax, eax
jne 0x44f14c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_2_._Code
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44f0b1
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f0a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44f0a7
jmp 0x44fc9c
push 0
push dword [ebp - 0xb4]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
sub esp, 8
movq qword [ebp - 0x3c], xmm0
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x44f180
lock inc dword [eax + 4]
mov eax, dword [esi + 4]
mov edx, 0x100000
mov dword [ecx], eax
mov eax, dword [esi + 8]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x3c]
call fcn.0044be50
add esp, 0x10
mov dword [ebp - 4], 3
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
sub ecx, eax
push 0
push edx
push ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44f28a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_write_file_1_._Code
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44f22d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc9c
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x44f281
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f277
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc9c
push edx
push ecx
call fcn.00518d68
add esp, 8
mov byte [ebp - 0x55], 0
jmp 0x44fc47
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
add edi, 0xfff00000
push 0
push 0
adc eax, 0xffffffff
push eax
push edi
push dword [esi]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44f31c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_1_._Code
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44f22d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44f223
jmp 0x44fc9c
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0x100000
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44f3a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_read_file_1_._Code
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44f22d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44f223
jmp 0x44fc9c
push 0
push 0
push dword [ebp - 0x7c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44f428
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_2_._Code
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44f22d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44f223
jmp 0x44fc9c
mov edi, dword [ebp - 0xb4]
lea eax, [esi + 4]
push 0
push edi
sub esp, 8
mov dword [ebp - 0x28], 0
mov ecx, esp
xorps xmm0, xmm0
movq qword [ebp - 0x30], xmm0
push eax
call fcn.00451770
mov edx, 0x100000
lea ecx, [ebp - 0x30]
call fcn.0044be50
add esp, 0x10
mov byte [ebp - 4], 8
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
sub ecx, eax
push 0
push edx
push ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44f54a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_write_file_1_._Code
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44f4ed
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f4e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc9c
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x44f541
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f537
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc9c
push edx
push ecx
call fcn.00518d68
add esp, 8
mov byte [ebp - 0x55], 0
jmp 0x44fc02
push 0x20
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.0044c490
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
add ecx, 0xffe00000
mov dword [ebp - 0xc0], ecx
adc eax, 0xffffffff
mov dword [ebp - 0x74], eax
shrd ecx, eax, 0x18
shr eax, 0x18
shld eax, ecx, 1
add ecx, ecx
mov dword [ebp - 0x90], eax
mov edx, eax
mov dword [ebp - 0x7c], ecx
call fcn.005196d0
mulsd xmm0, qword [0x5c1068]
call fcn.005195b0
lea ecx, [ebp - 0x54]
mov edi, eax
mov esi, edx
call fcn.00451670
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x90]
sub ecx, edi
movsd qword [ebp - 0x84], xmm0
sbb edx, esi
call fcn.005196d0
movsd xmm1, qword [ebp - 0x84]
mov edx, esi
mulsd xmm1, xmm0
mov ecx, edi
movsd qword [ebp - 0x84], xmm1
call fcn.005196d0
addsd xmm0, qword [ebp - 0x84]
call fcn.005195b0
mov ecx, edx
mov dword [ebp - 0x90], eax
push ecx
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0xdc], ecx
push dword [ebp - 0xc0]
call fcn.00519780
mov ecx, eax
mov esi, edx
movzx eax, byte [ebp + 0xc]
push esi
cdq
push ecx
push edx
push eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xb0], esi
call fcn.00519740
push 0
push 0x64
push edx
push eax
call fcn.00519780
mov esi, eax
mov edi, edx
mov ecx, esi
call fcn.005196d0
mulsd xmm0, qword [0x5c1068]
call fcn.005195b0
shld edi, esi, 1
mov dword [ebp - 0xd0], eax
add esi, esi
mov dword [ebp - 0xd8], edx
mov ecx, esi
sub ecx, eax
mov eax, edi
mov dword [ebp - 0xac], ecx
sbb eax, edx
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xb0]
cmp eax, edx
jb 0x44f6ae
mov ecx, dword [ebp - 0x88]
ja 0x44f68e
cmp dword [ebp - 0xac], ecx
jbe 0x44f6ae
mov eax, esi
mov dword [ebp - 0xac], ecx
sub eax, ecx
mov dword [ebp - 0xd4], edx
mov ecx, edi
mov dword [ebp - 0xd0], eax
sbb ecx, edx
mov dword [ebp - 0xd8], ecx
cmp dword [ebp - 0xdc], 0
xorps xmm0, xmm0
mov edi, dword [ebp - 0x44]
mov edx, edi
mov dword [ebp - 0x7c], edx
movlpd qword [ebp - 0x78], xmm0
jb 0x44fbf6
ja 0x44f6da
cmp dword [ebp - 0x90], 0
jbe 0x44fbf6
mov ecx, dword [ebp - 0x74]
lea eax, [edx - 1]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], eax
test ecx, ecx
jb 0x44f716
ja 0x44f6fc
cmp eax, edx
jbe 0x44f716
push 0
push edx
push ecx
push eax
call fcn.005197f0
mov esi, eax
add esi, 0xffffffff
adc edx, 0xffffffff
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x7c]
jmp 0x44f71b
mov esi, eax
mov dword [ebp - 0x74], ecx
mov eax, edx
mov dword [ebp - 0x60], 0
sub eax, esi
mov dword [ebp - 0x5c], 0xf
cmp eax, dword [ebp - 0x80]
mov ecx, 1
mov byte [ebp - 0x70], 0
cmovbe ecx, esi
sub edx, ecx
cmp edi, edx
jb 0x44fca6
sub edi, edx
lea eax, [ebp - 0x54]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp dword [ebp - 0x40], 0x10
push ecx
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
add eax, edx
push eax
call fcn.0044a320
lea ecx, [ebp - 0x70]
call fcn.00451670
mov edx, dword [ebp - 0x5c]
movsd qword [ebp - 0x78], xmm0
cmp edx, 0x10
jb 0x44f7a9
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f79f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc97
push edx
push ecx
call fcn.00518d68
add esp, 8
mov ecx, dword [ebp - 0xac]
sub ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xd4]
sbb edx, dword [ebp - 0xd8]
call fcn.005196d0
mulsd xmm0, qword [ebp - 0x78]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd0]
movsd qword [ebp - 0xc4], xmm0
call fcn.005196d0
addsd xmm0, qword [ebp - 0xc4]
call fcn.005195b0
mov ecx, edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xc8], ecx
test ecx, ecx
jne 0x44f80a
cmp eax, 0x800000
jbe 0x44f81e
mov dword [ebp - 0x8c], 0x800000
mov dword [ebp - 0xc8], 0
push dword [ebp - 0xb0]
push dword [ebp - 0x88]
push dword [ebp - 0xbc]
push dword [ebp - 0xb8]
call fcn.00519740
mov esi, edx
mov edi, eax
add edi, 0x100000
mov ecx, edi
adc esi, 0
sub ecx, dword [ebp - 0x8c]
mov edx, esi
sbb edx, dword [ebp - 0xc8]
add ecx, dword [ebp - 0x88]
adc edx, dword [ebp - 0xb0]
sub ecx, edi
sbb edx, esi
call fcn.005196d0
mulsd xmm0, qword [ebp - 0x78]
mov edx, esi
mov ecx, edi
movsd qword [ebp - 0x78], xmm0
call fcn.005196d0
addsd xmm0, qword [ebp - 0x78]
call fcn.005195bf
mov esi, dword [ebp - 0xe0]
mov edi, edx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xc0], edi
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
sub ecx, eax
mov eax, dword [ebp - 0xc8]
sbb edx, edi
cmp edx, eax
jb 0x44f8c3
mov edi, dword [ebp - 0x8c]
ja 0x44f8bb
cmp ecx, edi
jbe 0x44f8c3
mov dword [ebp - 0xc8], eax
jmp 0x44f8cb
mov edi, ecx
mov dword [ebp - 0xc8], edx
push 0
push 0
push dword [ebp - 0xc0]
push dword [ebp - 0x74]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44fb34
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x14]
push 0
push ecx
push edi
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44fae1
push 0
push 0
push dword [ebp - 0xc0]
push dword [ebp - 0x74]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44fa8e
push 0
push dword [ebp - 0xb4]
lea eax, [esi + 4]
mov dword [ebp - 0x18], 0
sub esp, 8
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x20], xmm0
push eax
call fcn.00451770
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.0044be50
add esp, 0x10
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
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 0x44fa07
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44f9c4
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44f9a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc97
push edx
push ecx
call fcn.00518d68
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
add eax, 1
mov dword [ebp - 0xb8], eax
adc ecx, 0
mov dword [ebp - 0xbc], ecx
cmp ecx, dword [ebp - 0xdc]
ja 0x44fbf6
jb 0x44f9fc
cmp eax, dword [ebp - 0x90]
jae 0x44fbf6
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
jmp 0x44f6f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x114]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_write_file_2_._Code
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xfc]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
lea ecx, [ebp - 0xfc]
call fcn.00448eb0
lea ecx, [ebp - 0x114]
call fcn.00448eb0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44fa85
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44fa7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc9c
push edx
push ecx
call fcn.00518d68
add esp, 8
mov byte [ebp - 0x55], 0
jmp 0x44fbfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_4_._Code
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x114]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
lea ecx, [ebp - 0x114]
call fcn.00448eb0
lea ecx, [ebp - 0xfc]
call fcn.00448eb0
mov byte [ebp - 0x55], 0
jmp 0x44fbfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_read_file_2_._Code
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x114]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
lea ecx, [ebp - 0x114]
call fcn.00448eb0
lea ecx, [ebp - 0xfc]
call fcn.00448eb0
mov byte [ebp - 0x55], 0
jmp 0x44fbfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044ccb0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_3_._Code
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.00452b10
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00448f10
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44fb9f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fb95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc9c
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x44fa85
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fa7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44fa7b
jmp 0x44fc9c
mov byte [ebp - 0x55], 1
lea ecx, [ebp - 0x54]
call fcn.00449020
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x44fc47
mov edx, dword [ebp - 0x28]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44fc28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc9c
push edx
push ecx
call fcn.00518d68
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x44fc77
mov edx, dword [ebp - 0x34]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44fc6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc9c
push edx
push ecx
call fcn.00518d68
add esp, 8
mov al, byte [ebp - 0x55]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00518b27
mov esp, ebp
pop ebp
ret 8
call fcn.005343f1
call fcn.005343f1
call fcn.005343f1
call fcn.0044a560
int3