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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571654
mov eax, dword fs:[0]
push eax
sub esp, 0x90
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 eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
movq qword [ebp - 0x30], xmm0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x24], eax
cmp eax, edx
jg 0x44e6de
mov edi, dword [ebp - 0x30]
jl 0x44e2d4
cmp edi, ecx
jae 0x44e6de
push 0
push 0
push eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44e6a5
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub ecx, edi
mov dword [ebp - 0x28], ecx
sbb eax, dword [ebp - 0x24]
jne 0x44e302
cmp ecx, 0x800000
jbe 0x44e311
mov ecx, 0x800000
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], ecx
mov eax, dword [esi + 4]
lea edx, [ebp - 0x14]
push 0
push edx
push ecx
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44e5b9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44e5b9
push dword [ebp - 0x24]
mov ecx, esi
push edi
push eax
call fcn.0044ddd0
test al, al
je 0x44e5b2
push 0
push dword [ebp - 0x34]
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 0x44e37d
lock inc dword [eax + 4]
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [esi + 8]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x20]
call fcn.0044c490
add esp, 0x10
push 0
push 0
mov dword [ebp - 4], 2
push dword [ebp - 0x24]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44e53e
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
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 0x44e460
cmp dword [ebp - 0x14], 0
je 0x44e460
push dword [ebp - 0x24]
mov ecx, esi
push edi
call fcn.0044e080
add edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
adc eax, 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x44e449
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e705
push edx
push ecx
call fcn.0052edf8
mov eax, dword [ebp - 0x24]
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp eax, dword [ebp - 0x38]
jg 0x44e6de
jl 0x44e2d4
cmp edi, dword [ebp - 0x3c]
jmp 0x44e2ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x84]
call fcn.0044d3b0
push eax
mov edx, str.Solid:_Cannot_write_file._Code
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.00453260
mov edi, eax
add esi, 0x30
add esp, 4
cmp esi, edi
je 0x44e4bb
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 - 0x40]
cmp edx, 8
jb 0x44e4f5
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e4eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e705
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
cmp edx, 8
jb 0x44e57e
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e70a
jmp 0x44e574
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x84]
call fcn.0044d3b0
push eax
mov edx, str.Solid:_Cannot_set_file_pointer_2_._Code
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
jmp 0x44e4bb
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44e5b2
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e5a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e705
push edx
push ecx
call fcn.0052edf8
add esp, 8
xor al, al
jmp 0x44e6e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.0044d3b0
push eax
mov edx, str.Solid:_Cannot_read_file._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00453260
mov edi, eax
add esi, 0x30
add esp, 4
cmp esi, edi
je 0x44e617
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 - 0x58]
cmp edx, 8
jb 0x44e651
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e647
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e705
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov edx, dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edx, 8
jb 0x44e5b2
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e5a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44e5a8
jmp 0x44e705
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.0044d3b0
push eax
mov edx, str.Solid:_Cannot_set_file_pointer_1_._Code
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
jmp 0x44e617
sub esp, 8
mov ecx, esi
call fcn.0044e0d0
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
int3