Function at 0x44e1e0
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 0x559874
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
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 eax, dword [ebx + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x80], xmm0
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x88], edi
cmp edi, dword [esi + 0x14]
jg 0x44e3c0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
jl 0x44e260
cmp eax, dword [esi + 0x10]
jae 0x44e3c0
nop word [eax + eax]
push 0
push 0
push edi
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44e7b8
mov edi, dword [esi + 0x10]
sub edi, dword [ebp - 0x84]
mov eax, dword [esi + 0x14]
sbb eax, dword [ebp - 0x88]
jne 0x44e29a
cmp edi, 0x800000
ja 0x44e29a
mov dword [ebp - 0x8c], eax
jmp 0x44e2a9
mov edi, 0x800000
mov dword [ebp - 0x8c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
push edi
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44e6d4
cmp dword [ebp - 0x7c], 0
je 0x44e6d4
push 0
push 0
push dword [ebp - 0x88]
push dword [ebp - 0x84]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44e575
mov edx, dword [esi + 4]
xorps xmm0, xmm0
push ecx
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x78]
movq qword [ebp - 0x78], xmm0
push edi
mov dword [ebp - 0x70], 0
call fcn.0044bda0
add esp, 0xc
mov dword [ebp - 4], 3
lea edx, [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
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 0x44e3e2
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x44e3e2
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
add eax, ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
adc edi, 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], edi
test ecx, ecx
je 0x44e3b7
mov edx, dword [ebp - 0x70]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e392
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e8ac
push edx
push ecx
call fcn.00518414
mov eax, dword [ebp - 0x84]
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
cmp edi, dword [esi + 0x14]
jle 0x44e24f
mov al, 1
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 4
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 0x44e3f0
xor eax, eax
mov dword [ebp - 0xb0], edx
mov word [ebp - 0xc0], ax
lea eax, [ebp - 0x42]
mov dword [ebp - 0xac], 7
cmp edi, eax
je 0x44e441
sub eax, edi
lea ecx, [ebp - 0xc0]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x1f
push str.Solid:_Cannot_write_file._Code
push ecx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00452ef0
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xa8]
movq qword [ebp - 0x90], xmm0
movq qword [ebp - 0x98], xmm0
cmp esi, eax
je 0x44e4be
mov ecx, esi
call fcn.00448e30
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [esi + 0x10], xmm0
jmp 0x44e4fe
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x44e4fe
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e4f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e8ac
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x44e53e
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e534
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e8b1
push edx
push ecx
call fcn.00518414
add esp, 8
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x44e8a5
mov edx, dword [ebp - 0x70]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e89b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e8b6
jmp 0x44e89b
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 0x44e580
xor eax, eax
mov dword [ebp - 0x98], edx
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0x94], 7
cmp edi, eax
je 0x44e5d1
sub eax, edi
lea ecx, [ebp - 0xa8]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x28
push str.Solid:_Cannot_set_file_pointer_2_._Code
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 2
call fcn.00452ef0
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xc0]
movq qword [ebp - 0x90], xmm0
movq qword [ebp - 0xb0], xmm0
cmp esi, eax
je 0x44e651
mov ecx, esi
call fcn.00448e30
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [esi + 0x10], xmm0
jmp 0x44e691
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x44e691
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e687
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e8bb
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x44e8a5
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e89b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e8c0
jmp 0x44e89b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x16]
nop
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 0x44e6e0
xor eax, eax
mov dword [ebp - 0x98], edx
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0x94], 7
cmp edi, eax
je 0x44e731
sub eax, edi
lea ecx, [ebp - 0xa8]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x1e
push str.Solid:_Cannot_read_file._Code
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 1
call fcn.00452ef0
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xc0]
movq qword [ebp - 0x90], xmm0
movq qword [ebp - 0xb0], xmm0
cmp esi, eax
je 0x44e651
mov ecx, esi
call fcn.00448e30
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [esi + 0x10], xmm0
jmp 0x44e691
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 0x44e7c3
xor eax, eax
mov dword [ebp - 0x98], edx
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0x94], 7
cmp edi, eax
je 0x44e814
sub eax, edi
lea ecx, [ebp - 0xa8]
sar eax, 1
push eax
push edi
call fcn.0044a140
push 0x28
push str.Solid:_Cannot_set_file_pointer_1_._Code
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0
call fcn.00452ef0
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xc0]
movq qword [ebp - 0x90], xmm0
movq qword [ebp - 0xb0], xmm0
cmp esi, eax
je 0x44e651
mov ecx, esi
call fcn.00448e30
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [esi + 0x10], xmm0
jmp 0x44e691
push edx
push ecx
call fcn.00518414
add esp, 8
xor al, al
jmp 0x44e3c2
call fcn.00533a91
call fcn.00533a91
call fcn.00533a91
call fcn.00533a91
call fcn.00533a91
int3