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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571724
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5eaea4]
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
push 0
push 0
movq qword [ebp - 0x84], xmm0
mov edi, dword [ebp - 0x80]
push edi
push dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44e878
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d3b0
push 0x27
push str.Part:_Cannot_set_file_pointer_1_._Code
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004538c0
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 0x44e7f7
mov ecx, esi
call fcn.00449490
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xe4]
movq qword [esi + 0x10], xmm0
jmp 0x44e831
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44e831
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e827
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f2
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x44e871
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e867
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f7
push edx
push ecx
call fcn.0052edf8
add esp, 8
xor al, al
jmp 0x44f5d5
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 0x44e949
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_read_file_1_._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00453260
mov edi, eax
add esi, 0x30
add esp, 4
cmp esi, edi
je 0x44e8f6
mov ecx, esi
call fcn.00449490
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 0x44e930
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e926
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5fc
push edx
push ecx
call fcn.0052edf8
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
jmp 0x44e831
push 0
push 0
push edi
push dword [ebp - 0x84]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44e9cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_2_._Code
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44e930
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e926
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44e926
jmp 0x44f5f7
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 0x44ea01
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.0044c490
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 0x44eb0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_write_file_1_._Code
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44eaae
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eaa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f7
push edx
push ecx
call fcn.0052edf8
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 0x44eb02
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eaf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f7
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov byte [ebp - 0x55], 0
jmp 0x44f5a2
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 0x44eb9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_1_._Code
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44eaae
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eaa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44eaa4
jmp 0x44f5f7
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 0x44ec27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_read_file_1_._Code
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44eaae
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eaa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44eaa4
jmp 0x44f5f7
push 0
push 0
push dword [ebp - 0x7c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44eca9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_2_._Code
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44eaae
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eaa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44eaa4
jmp 0x44f5f7
mov edi, dword [ebp - 0xb4]
xorps xmm0, xmm0
push 0
push edi
sub esp, 8
movq qword [ebp - 0x30], xmm0
mov ecx, esp
mov dword [ebp - 0x28], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x44ecde
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 - 0x30]
call fcn.0044c490
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 0x44ede5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_write_file_1_._Code
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44ed88
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ed7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f7
push edx
push ecx
call fcn.0052edf8
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 0x44eddc
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44edd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f7
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov byte [ebp - 0x55], 0
jmp 0x44f55d
push 0x20
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.0044caf0
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x44]
xorps xmm1, xmm1
cmovae eax, dword [ebp - 0x54]
cmovae ecx, dword [ebp - 0x54]
add edx, eax
movsd xmm2, qword [0x5df1e0]
movsd xmm3, qword [0x5df1d8]
movsd qword [ebp - 0x84], xmm1
mov byte [ebp - 0x55], 0
cmp ecx, edx
je 0x44ee64
mov al, byte [ebp - 0x55]
inc al
mov byte [ebp - 0x55], al
test al, 1
movsx eax, byte [ecx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
jne 0x44ee4f
mulsd xmm0, xmm2
jmp 0x44ee53
mulsd xmm0, xmm3
inc ecx
addsd xmm1, xmm0
cmp ecx, edx
jne 0x44ee32
movsd qword [ebp - 0x84], xmm1
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.0052f9d0
mulsd xmm0, qword [0x5df1e8]
call fcn.0052f8b0
mov ecx, dword [ebp - 0x7c]
mov edi, eax
mov esi, edx
sub ecx, edi
mov edx, dword [ebp - 0x90]
sbb edx, esi
call fcn.0052f9d0
mulsd xmm0, qword [ebp - 0x84]
mov edx, esi
mov ecx, edi
movsd qword [ebp - 0x84], xmm0
call fcn.0052f9d0
addsd xmm0, qword [ebp - 0x84]
call fcn.0052f8b0
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.0052fa80
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.0052fa40
push 0
push 0x64
push edx
push eax
call fcn.0052fa80
mov esi, eax
mov edi, edx
mov ecx, esi
call fcn.0052f9d0
mulsd xmm0, qword [0x5df1e8]
call fcn.0052f8b0
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 edx, dword [ebp - 0xb0]
mov dword [ebp - 0xd4], eax
cmp eax, edx
jb 0x44efa1
mov ecx, dword [ebp - 0x88]
ja 0x44ef81
cmp dword [ebp - 0xac], ecx
jbe 0x44efa1
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 0x44f551
ja 0x44efcd
cmp dword [ebp - 0x90], 0
jbe 0x44f551
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 0x44f009
ja 0x44efef
cmp eax, edx
jbe 0x44f009
push 0
push edx
push ecx
push eax
call fcn.0052faf0
mov esi, eax
add esi, 0xffffffff
adc edx, 0xffffffff
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x7c]
jmp 0x44f00e
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 0x44f601
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.0044aa10
mov edi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x70]
mov esi, dword [ebp - 0x70]
lea edx, [ebp - 0x70]
cmp edi, 0x10
mov byte [ebp - 0x55], 0
xorps xmm1, xmm1
cmovae ecx, esi
movsd qword [ebp - 0x78], xmm1
cmovae edx, esi
add ecx, dword [ebp - 0x60]
cmp edx, ecx
je 0x44f0ba
mov al, byte [ebp - 0x55]
inc al
mov byte [ebp - 0x55], al
test al, 1
movsx eax, byte [edx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
jne 0x44f0a4
mulsd xmm0, qword [0x5df1e0]
jmp 0x44f0ac
mulsd xmm0, qword [0x5df1d8]
inc edx
addsd xmm1, xmm0
cmp edx, ecx
jne 0x44f083
movsd qword [ebp - 0x78], xmm1
cmp edi, 0x10
jb 0x44f0ea
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x44f0e0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f2
push ecx
push esi
call fcn.0052edf8
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.0052f9d0
mulsd xmm0, qword [ebp - 0x78]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd0]
movsd qword [ebp - 0xc4], xmm0
call fcn.0052f9d0
addsd xmm0, qword [ebp - 0xc4]
call fcn.0052f8b0
mov ecx, edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xc8], ecx
test ecx, ecx
jne 0x44f14b
cmp eax, 0x800000
jbe 0x44f15f
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.0052fa40
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.0052f9d0
mulsd xmm0, qword [ebp - 0x78]
mov edx, esi
mov ecx, edi
movsd qword [ebp - 0x78], xmm0
call fcn.0052f9d0
addsd xmm0, qword [ebp - 0x78]
call fcn.0052f8bf
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 0x44f204
mov edi, dword [ebp - 0x8c]
ja 0x44f1fc
cmp ecx, edi
jbe 0x44f204
mov dword [ebp - 0xc8], eax
jmp 0x44f20c
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 0x44f48f
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 0x44f43c
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 0x44f3e9
push 0
push dword [ebp - 0xb4]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
sub esp, 8
movq qword [ebp - 0x20], xmm0
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x44f296
lock inc dword [eax + 4]
mov eax, dword [esi + 4]
mov edx, edi
mov dword [ecx], eax
mov eax, dword [esi + 8]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x20]
call fcn.0044c490
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 0x44f362
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44f31f
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44f300
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f2
push edx
push ecx
call fcn.0052edf8
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 0x44f551
jb 0x44f357
cmp eax, dword [ebp - 0x90]
jae 0x44f551
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
jmp 0x44efe5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x114]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_write_file_2_._Code
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xfc]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
lea ecx, [ebp - 0xfc]
call fcn.00449490
lea ecx, [ebp - 0x114]
call fcn.00449490
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44f3e0
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44f3d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f7
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov byte [ebp - 0x55], 0
jmp 0x44f555
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_4_._Code
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x114]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
lea ecx, [ebp - 0x114]
call fcn.00449490
lea ecx, [ebp - 0xfc]
call fcn.00449490
mov byte [ebp - 0x55], 0
jmp 0x44f555
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_read_file_2_._Code
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x114]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
lea ecx, [ebp - 0x114]
call fcn.00449490
lea ecx, [ebp - 0xfc]
call fcn.00449490
mov byte [ebp - 0x55], 0
jmp 0x44f555
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d3b0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_3_._Code
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44f4fa
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f4f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f7
push edx
push ecx
call fcn.0052edf8
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 0x44f3e0
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f3d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44f3d6
jmp 0x44f5f7
mov byte [ebp - 0x55], 1
lea ecx, [ebp - 0x54]
call fcn.004496c0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x44f5a2
mov edx, dword [ebp - 0x28]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44f583
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f7
push edx
push ecx
call fcn.0052edf8
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 0x44f5d2
mov edx, dword [ebp - 0x34]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44f5c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f7
push edx
push ecx
call fcn.0052edf8
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.0052ebb7
mov esp, ebp
pop ebp
ret 8
call fcn.0054a8a1
call fcn.0054a8a1
call fcn.0054a8a1
call fcn.0044ac50
int3