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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571ef4
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5ebea4]
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 0x44e8d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d410
push 0x27
push str.Part:_Cannot_set_file_pointer_1_._Code
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00453920
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 0x44e857
mov ecx, esi
call fcn.004494f0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xe4]
movq qword [esi + 0x10], xmm0
jmp 0x44e891
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44e891
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e887
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f652
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x44e8d1
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e8c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f657
push edx
push ecx
call fcn.0052f5d6
add esp, 8
xor al, al
jmp 0x44f635
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 0x44e9a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_read_file_1_._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004532c0
mov edi, eax
add esi, 0x30
add esp, 4
cmp esi, edi
je 0x44e956
mov ecx, esi
call fcn.004494f0
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 0x44e990
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e986
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f65c
push edx
push ecx
call fcn.0052f5d6
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
jmp 0x44e891
push 0
push 0
push edi
push dword [ebp - 0x84]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44ea2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_set_file_pointer_2_._Code
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44e990
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e986
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44e986
jmp 0x44f657
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 0x44ea61
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.0044c4f0
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 0x44eb6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_write_file_1_._Code
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44eb0e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f657
push edx
push ecx
call fcn.0052f5d6
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 0x44eb62
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f657
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov byte [ebp - 0x55], 0
jmp 0x44f602
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 0x44ebfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_set_file_pointer_1_._Code
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44eb0e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44eb04
jmp 0x44f657
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 0x44ec87
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_read_file_1_._Code
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44eb0e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44eb04
jmp 0x44f657
push 0
push 0
push dword [ebp - 0x7c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44ed09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_set_file_pointer_2_._Code
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44eb0e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44eb04
jmp 0x44f657
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 0x44ed3e
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.0044c4f0
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 0x44ee45
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_write_file_1_._Code
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44ede8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44edde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f657
push edx
push ecx
call fcn.0052f5d6
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 0x44ee3c
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ee32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f657
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov byte [ebp - 0x55], 0
jmp 0x44f5bd
push 0x20
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.0044cb50
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 [0x5e0210]
movsd xmm3, qword [0x5e0208]
movsd qword [ebp - 0x84], xmm1
mov byte [ebp - 0x55], 0
cmp ecx, edx
je 0x44eec4
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 0x44eeaf
mulsd xmm0, xmm2
jmp 0x44eeb3
mulsd xmm0, xmm3
inc ecx
addsd xmm1, xmm0
cmp ecx, edx
jne 0x44ee92
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.005301b0
mulsd xmm0, qword [0x5e0218]
call fcn.00530090
mov ecx, dword [ebp - 0x7c]
mov edi, eax
mov esi, edx
sub ecx, edi
mov edx, dword [ebp - 0x90]
sbb edx, esi
call fcn.005301b0
mulsd xmm0, qword [ebp - 0x84]
mov edx, esi
mov ecx, edi
movsd qword [ebp - 0x84], xmm0
call fcn.005301b0
addsd xmm0, qword [ebp - 0x84]
call fcn.00530090
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.00530260
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.00530220
push 0
push 0x64
push edx
push eax
call fcn.00530260
mov esi, eax
mov edi, edx
mov ecx, esi
call fcn.005301b0
mulsd xmm0, qword [0x5e0218]
call fcn.00530090
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 0x44f001
mov ecx, dword [ebp - 0x88]
ja 0x44efe1
cmp dword [ebp - 0xac], ecx
jbe 0x44f001
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 0x44f5b1
ja 0x44f02d
cmp dword [ebp - 0x90], 0
jbe 0x44f5b1
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 0x44f069
ja 0x44f04f
cmp eax, edx
jbe 0x44f069
push 0
push edx
push ecx
push eax
call fcn.005302d0
mov esi, eax
add esi, 0xffffffff
adc edx, 0xffffffff
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x7c]
jmp 0x44f06e
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 0x44f661
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.0044aa70
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 0x44f11a
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 0x44f104
mulsd xmm0, qword [0x5e0210]
jmp 0x44f10c
mulsd xmm0, qword [0x5e0208]
inc edx
addsd xmm1, xmm0
cmp edx, ecx
jne 0x44f0e3
movsd qword [ebp - 0x78], xmm1
cmp edi, 0x10
jb 0x44f14a
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x44f140
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f652
push ecx
push esi
call fcn.0052f5d6
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.005301b0
mulsd xmm0, qword [ebp - 0x78]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd0]
movsd qword [ebp - 0xc4], xmm0
call fcn.005301b0
addsd xmm0, qword [ebp - 0xc4]
call fcn.00530090
mov ecx, edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xc8], ecx
test ecx, ecx
jne 0x44f1ab
cmp eax, 0x800000
jbe 0x44f1bf
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.00530220
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.005301b0
mulsd xmm0, qword [ebp - 0x78]
mov edx, esi
mov ecx, edi
movsd qword [ebp - 0x78], xmm0
call fcn.005301b0
addsd xmm0, qword [ebp - 0x78]
call fcn.0053009f
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 0x44f264
mov edi, dword [ebp - 0x8c]
ja 0x44f25c
cmp ecx, edi
jbe 0x44f264
mov dword [ebp - 0xc8], eax
jmp 0x44f26c
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 0x44f4ef
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 0x44f49c
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 0x44f449
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 0x44f2f6
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.0044c4f0
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 0x44f3c2
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44f37f
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44f360
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f652
push edx
push ecx
call fcn.0052f5d6
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 0x44f5b1
jb 0x44f3b7
cmp eax, dword [ebp - 0x90]
jae 0x44f5b1
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
jmp 0x44f045
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x114]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_write_file_2_._Code
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xfc]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
lea ecx, [ebp - 0xfc]
call fcn.004494f0
lea ecx, [ebp - 0x114]
call fcn.004494f0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44f440
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44f436
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f657
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov byte [ebp - 0x55], 0
jmp 0x44f5b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_set_file_pointer_4_._Code
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x114]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
lea ecx, [ebp - 0x114]
call fcn.004494f0
lea ecx, [ebp - 0xfc]
call fcn.004494f0
mov byte [ebp - 0x55], 0
jmp 0x44f5b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_read_file_2_._Code
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x114]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
lea ecx, [ebp - 0x114]
call fcn.004494f0
lea ecx, [ebp - 0xfc]
call fcn.004494f0
mov byte [ebp - 0x55], 0
jmp 0x44f5b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0044d410
push eax
mov edx, str.Part:_Cannot_set_file_pointer_3_._Code
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x44f55a
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f550
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f657
push edx
push ecx
call fcn.0052f5d6
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 0x44f440
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f436
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44f436
jmp 0x44f657
mov byte [ebp - 0x55], 1
lea ecx, [ebp - 0x54]
call fcn.00449720
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x44f602
mov edx, dword [ebp - 0x28]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44f5e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f657
push edx
push ecx
call fcn.0052f5d6
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 0x44f632
mov edx, dword [ebp - 0x34]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44f628
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f657
push edx
push ecx
call fcn.0052f5d6
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.0052f395
mov esp, ebp
pop ebp
ret 8
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
call fcn.0044acb0
int3