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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f2be
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5e8ea4]
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 - 0x9c], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push 0
push 0
movq qword [ebp - 0x8c], xmm0
mov edi, dword [ebp - 0x88]
push edi
push dword [ebp - 0x8c]
mov dword [ebp - 0xc8], eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44dd57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044d1f0
push 0x27
push str.Part:_Cannot_set_file_pointer_1_._Code
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00451950
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x7c]
movq qword [ebp - 0x8c], xmm0
movq qword [ebp - 0x6c], xmm0
cmp esi, eax
je 0x44dcda
mov ecx, esi
call fcn.00449470
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x8c]
movq qword [esi + 0x10], xmm0
jmp 0x44dd14
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44dd14
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44dd0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaea
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov edx, dword [ebp - 0xa8]
cmp edx, 8
jb 0x44eacb
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eac1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaef
jmp 0x44eac1
push 0
lea eax, [ebp - 0x14]
push eax
push 0x100000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44ea20
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44ea20
cmp eax, 0x100000
jne 0x44ea20
push 0
push 0
push edi
push dword [ebp - 0x8c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44de2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_2_._Code
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44de14
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44de0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaf4
push edx
push ecx
call fcn.0052cac7
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
jmp 0x44dd14
mov edi, dword [ebp - 0xc8]
xorps xmm0, xmm0
mov edx, dword [esi + 4]
push ecx
push edi
push 0x100000
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
call fcn.0044c440
add esp, 0xc
mov dword [ebp - 4], 3
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
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 0x44e921
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x44e921
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
cmp ecx, eax
jne 0x44e921
push 0x20
mov edx, edi
lea ecx, [ebp - 0x5c]
call fcn.0044c900
add esp, 4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.0044f860
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mulsd xmm0, qword [0x5dcf18]
mov dword [ebp - 0x80], eax
add eax, 0xffe00000
mov dword [ebp - 0x64], edx
mov esi, eax
adc edx, 0xffffffff
mov dword [ebp - 0xa4], eax
mov edi, edx
mov dword [ebp - 0x84], edx
shrd esi, edi, 0x18
movsd qword [ebp - 0x8c], xmm0
shr edi, 0x18
shld edi, esi, 1
add esi, esi
add esi, 1
mov ecx, esi
adc edi, 0
mov edx, edi
call fcn.0052d6a0
movsd qword [ebp - 0xec], xmm0
divsd xmm0, qword [0x5dcf08]
call fcn.0052d580
sub eax, esi
sbb edx, edi
add eax, 1
mov ecx, eax
adc edx, 0
call fcn.0052d6a0
mulsd xmm0, qword [ebp - 0x8c]
addsd xmm0, qword [ebp - 0xec]
call fcn.0052d580
mov ecx, edx
mov dword [ebp - 0xe8], eax
push ecx
push eax
push dword [ebp - 0x84]
mov dword [ebp - 0xe4], ecx
push dword [ebp - 0xa4]
call fcn.0052d750
mov ecx, eax
mov esi, edx
movzx eax, byte [ebp + 0xc]
push esi
cdq
push ecx
push edx
push eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xc4], esi
call fcn.0052d710
push 0
push 0x64
push edx
push eax
call fcn.0052d750
mov esi, eax
mov edi, edx
mov ecx, esi
call fcn.0052d6a0
mulsd xmm0, qword [0x5dcf10]
call fcn.0052d580
shld edi, esi, 1
mov dword [ebp - 0xdc], eax
add esi, esi
mov dword [ebp - 0xa4], edx
mov ecx, esi
sub ecx, eax
mov eax, edi
mov dword [ebp - 0xc0], ecx
sbb eax, edx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xe0], eax
cmp eax, edx
jb 0x44dfff
mov ecx, dword [ebp - 0xa0]
ja 0x44dfdf
cmp dword [ebp - 0xc0], ecx
jbe 0x44dfff
mov eax, esi
mov dword [ebp - 0xc0], ecx
sub eax, ecx
mov dword [ebp - 0xe0], edx
mov ecx, edi
mov dword [ebp - 0xdc], eax
sbb ecx, edx
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xe4], 0
xorps xmm0, xmm0
mov edi, dword [ebp - 0x4c]
mov edx, edi
movq qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0xd8], xmm0
mov dword [ebp - 0x84], edx
movlpd qword [ebp - 0x98], xmm0
jb 0x44e667
ja 0x44e041
cmp dword [ebp - 0xe8], 0
jbe 0x44e667
mov ecx, dword [ebp - 0x94]
lea eax, [edx - 1]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0xd4], eax
nop
test ecx, ecx
jb 0x44e08a
ja 0x44e06a
cmp eax, edx
jbe 0x44e08a
push 0
push edx
push ecx
push eax
call fcn.0052d7c0
mov esi, eax
add esi, 0xffffffff
adc edx, 0xffffffff
mov dword [ebp - 0x94], edx
mov edx, dword [ebp - 0x84]
jmp 0x44e092
mov esi, eax
mov dword [ebp - 0x94], ecx
mov eax, edx
mov dword [ebp - 0x6c], 0
sub eax, esi
mov dword [ebp - 0x68], 0xf
cmp eax, dword [ebp - 0x88]
mov ecx, 1
mov byte [ebp - 0x7c], 0
cmovbe ecx, esi
sub edx, ecx
cmp edi, edx
jb 0x44eaf9
sub edi, edx
lea eax, [ebp - 0x5c]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp dword [ebp - 0x48], 0x10
push ecx
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x7c]
add eax, edx
push eax
call fcn.0044a9f0
lea ecx, [ebp - 0x7c]
call fcn.0044f860
mulsd xmm0, qword [0x5dcf18]
mov edx, dword [ebp - 0x68]
movsd qword [ebp - 0x98], xmm0
cmp edx, 0x10
jb 0x44e12e
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44e124
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaea
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov ecx, dword [ebp - 0xc0]
sub ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xe0]
sbb edx, dword [ebp - 0xa4]
add ecx, 1
adc edx, 0
call fcn.0052d6a0
mulsd xmm0, qword [ebp - 0x98]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xdc]
movsd qword [ebp - 0xd0], xmm0
call fcn.0052d6a0
addsd xmm0, qword [ebp - 0xd0]
call fcn.0052d580
mov ecx, edx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x90], ecx
test ecx, ecx
jne 0x44e195
cmp eax, 0x800000
jbe 0x44e1a6
mov dword [ebp - 0x64], 0x800000
mov dword [ebp - 0x90], 0
push dword [ebp - 0xc4]
push dword [ebp - 0xa0]
push dword [ebp - 0x80]
push dword [ebp - 0xd4]
call fcn.0052d710
mov esi, edx
mov edi, eax
add edi, 0x100000
mov ecx, edi
adc esi, 0
sub ecx, dword [ebp - 0x64]
mov edx, esi
sbb edx, dword [ebp - 0x90]
add ecx, dword [ebp - 0xa0]
adc edx, dword [ebp - 0xc4]
sub ecx, edi
sbb edx, esi
add ecx, 1
adc edx, 0
call fcn.0052d6a0
mulsd xmm0, qword [ebp - 0x98]
mov edx, esi
mov ecx, edi
movsd qword [ebp - 0x98], xmm0
call fcn.0052d6a0
addsd xmm0, qword [ebp - 0x98]
call fcn.0052d58f
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x94], edx
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, dword [esi + 0x14]
sbb eax, edx
cmp eax, dword [ebp - 0x90]
jb 0x44e248
mov edi, dword [ebp - 0x64]
ja 0x44e250
cmp ecx, edi
ja 0x44e250
mov edi, ecx
mov dword [ebp - 0x90], eax
push 0
push 0
push edx
push dword [ebp - 0xcc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44e5f9
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44e58b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44e58b
xor ecx, ecx
cmp eax, edi
jne 0x44e58b
cmp ecx, dword [ebp - 0x90]
jne 0x44e58b
push ecx
push ecx
push dword [ebp - 0x94]
push dword [ebp - 0xcc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44e4c9
mov edx, dword [esi + 4]
xorps xmm0, xmm0
push ecx
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
push edi
mov dword [ebp - 0x24], 0
call fcn.0044c440
add esp, 0xc
mov byte [ebp - 4], 9
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
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 0x44e3c1
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x44e3c1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
cmp edx, eax
jne 0x44e3c1
mov byte [ebp - 4], 5
test ecx, ecx
je 0x44e372
mov edx, dword [ebp - 0x24]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e353
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaea
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0xd4], eax
adc ecx, 0
mov dword [ebp - 0x80], ecx
cmp ecx, dword [ebp - 0xe4]
ja 0x44e3aa
jb 0x44e39c
cmp eax, dword [ebp - 0xe8]
jae 0x44e3aa
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x84]
jmp 0x44e060
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x64], edx
jmp 0x44e697
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_write_file_2_._Code
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44e42c
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e422
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaef
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov edx, dword [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
cmp edx, 8
jb 0x44e480
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e476
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaef
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x44e910
mov edx, dword [ebp - 0x24]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e4ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaef
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov byte [ebp - 0x5d], 0
lea ecx, [ebp - 0x5c]
call fcn.004496a0
jmp 0x44e9e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_4_._Code
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44e534
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e52a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaef
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov edx, dword [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
cmp edx, 8
jb 0x44e910
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e4ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44e4ae
jmp 0x44eaef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_read_file_2_._Code
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44e534
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e52a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44e52a
jmp 0x44eaef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_3_._Code
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44e534
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e52a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44e52a
jmp 0x44eaef
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0xd8]
mov esi, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xd4]
sub ecx, 0x100000
mov dword [ebp - 0x84], ecx
sbb edx, 0
add edi, dword [ebp - 0xcc]
mov dword [ebp - 0x9c], edx
adc eax, dword [ebp - 0x94]
cmp edx, eax
ja 0x44e6d2
jb 0x44e6c2
cmp ecx, edi
jae 0x44e6d2
mov ecx, edi
mov edx, eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x9c], edx
mov edi, dword [ebp - 0x80]
push 0
push 0
push edx
push ecx
push dword [esi]
sub edi, ecx
sbb dword [ebp - 0x64], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44e730
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_5_._Code
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbc]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
lea ecx, [ebp - 0xbc]
call fcn.00449470
lea ecx, [ebp - 0x7c]
jmp 0x44e90b
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44e8c6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44e8c6
xor ecx, ecx
cmp eax, edi
jne 0x44e8c6
cmp ecx, dword [ebp - 0x64]
jne 0x44e8c6
push ecx
push ecx
push dword [ebp - 0x9c]
push dword [ebp - 0x84]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44e7c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_set_file_pointer_6_._Code
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbc]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
lea ecx, [ebp - 0xbc]
call fcn.00449470
lea ecx, [ebp - 0x7c]
jmp 0x44e90b
mov edx, dword [esi + 4]
xorps xmm0, xmm0
push ecx
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
push edi
mov dword [ebp - 0x18], 0
call fcn.0044c440
add esp, 0xc
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 0x44e824
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x44e824
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
cmp edx, eax
jne 0x44e824
mov byte [ebp - 0x5d], 1
jmp 0x44e86f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x104]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_write_file_3_._Code
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x38]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
lea ecx, [ebp - 0x38]
call fcn.00449470
lea ecx, [ebp - 0x104]
call fcn.00449470
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x5d], 0
test ecx, ecx
je 0x44e914
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e89a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaef
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.004496a0
jmp 0x44e9e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_read_file_3_._Code
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x104]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
lea ecx, [ebp - 0x104]
call fcn.00449470
lea ecx, [ebp - 0xbc]
call fcn.00449470
mov byte [ebp - 0x5d], 0
lea ecx, [ebp - 0x5c]
call fcn.004496a0
jmp 0x44e9e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044d1f0
push eax
mov edx, str.Part:_Cannot_write_file_1_._Code
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00451220
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494d0
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44e98c
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e982
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaef
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov edx, dword [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
cmp edx, 8
jb 0x44e9e0
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e9d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaef
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov byte [ebp - 0x5d], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x44ea18
mov edx, dword [ebp - 0x3c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44ea0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eaef
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov al, byte [ebp - 0x5d]
jmp 0x44eacd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0044d1f0
push 0x20
push str.Part:_Cannot_read_file_1_._Code
push ecx
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00451950
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x7c]
movq qword [ebp - 0x8c], xmm0
movq qword [ebp - 0x6c], xmm0
cmp esi, eax
jne 0x44dcbd
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x44dd14
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44dd0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44dd0a
jmp 0x44eaef
push edx
push ecx
call fcn.0052cac7
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 - 0x10]
xor ecx, ebp
call fcn.0052c886
mov esp, ebp
pop ebp
ret 8
call fcn.00548571
call fcn.00548571
call fcn.00548571
call fcn.0044ac30
int3