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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push str.Getting_dense_matrix_...
mov dword [esp + 0x40], ecx
push 1
call fcn.0047f4c0
mov ebx, dword [esp + 0x50]
push 0xfa0
mov dword [esp + 0x28], 1
mov esi, dword [ebx + 4]
lea eax, [esi + esi*4]
lea edi, [eax + eax*4]
shl edi, 1
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp + 0x34], eax
lea eax, [esi*4 + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, eax
mov eax, 1
add esp, 0x10
cmp esi, eax
mov dword [esp + 0x14], ecx
jle 0x44f21b
mov edx, dword [ebx + 8]
inc eax
cmp eax, esi
mov edx, dword [edx + eax*4 - 4]
mov dword [ecx + eax*4 - 4], edx
jl 0x44f20b
cmp esi, 1
mov dword [ecx], 0
jle 0x44f237
lea eax, [ecx + 4]
lea edx, [esi - 1]
mov ebp, dword [eax - 4]
add dword [eax], ebp
add eax, 4
dec edx
jne 0x44f22c
mov ebp, dword [ecx + esi*4 - 4]
mov ecx, ebx
inc ebp
call fcn.0046e711
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fmul qword [0x4dbf88]
call sub.MSVCRT.dll__ftol
mov ebx, eax
cmp ebx, edi
jge 0x44f269
push str.Out_of_memory_for_dense_matrix
call fcn.0047f2e0
add esp, 4
mov edi, ebp
cmp ebx, ebp
mov dword [esp + 0x10], edi
jge 0x44f2ad
xor eax, eax
cmp esi, 1
mov dword [esp + 0x10], ebx
jle 0x44f2a9
mov ecx, dword [esp + 0x14]
lea edx, [esi - 1]
add ecx, 4
mov ebp, dword [ecx]
mov edi, eax
sub edi, ebp
lea edi, [edi + ebx - 1]
test edi, edi
jge 0x44f2a3
mov ebp, dword [esp + 0x1c]
mov eax, dword [ecx - 4]
inc ebp
inc eax
mov dword [esp + 0x1c], ebp
add ecx, 4
dec edx
jne 0x44f288
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x48]
push 0
push edi
mov ecx, ebx
call fcn.0046eb90
mov ebp, dword [esp + 0x1c]
mov ecx, ebx
push ebp
call fcn.0046ebed
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x38], edi
cmp ebp, 1
mov dword [edx], esi
jle 0x44f341
mov ecx, 1
or edi, 0xffffffff
xor eax, eax
cmp esi, ecx
jle 0x44f333
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add edx, 4
mov ebp, dword [edx]
mov ebx, eax
sub ebx, ebp
mov ebp, dword [esp + 0x10]
lea ebx, [ebx + ebp - 1]
test ebx, ebx
jge 0x44f323
mov eax, dword [esp + 0x48]
mov ebx, ecx
sub ebx, edi
mov edi, dword [eax + 0x18]
mov eax, dword [esp + 0x24]
dec ebx
mov dword [eax + edi], ebx
add eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [edx - 4]
lea edi, [ecx - 1]
inc eax
inc ecx
add edx, 4
cmp ecx, esi
jl 0x44f2f0
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x18]
sub esi, edi
mov edi, dword [esp + 0x10]
dec esi
mov dword [ecx + ebp*4 - 4], esi
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x18], ebp
test ecx, ecx
mov dword [esp + 0x40], ebp
jle 0x44f564
jmp 0x44f35f
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 0x18]
push 1
push edi
mov ecx, dword [edx + ebp*4]
add eax, ecx
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.0046eb90
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x30]
call fcn.004422a0
mov ecx, eax
call fcn.0046e2c0
test eax, eax
je 0x44f4d5
jmp 0x44f396
mov edi, dword [esp + 0x10]
or ebp, 0xffffffff
mov ecx, eax
xor ebx, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], edi
call fcn.0041bee0
mov edi, eax
mov ecx, edi
mov dword [esp + 0x38], edi
call fcn.004497b0
mov esi, eax
test esi, esi
je 0x44f4a1
mov ecx, esi
call fcn.00451d30
mov ecx, eax
call fcn.004497b0
test eax, eax
je 0x44f3fd
mov ecx, dword [esp + 0x28]
lea edi, [ecx + ebx*4]
mov ecx, eax
call fcn.00415e30
mov dword [edi], eax
mov ecx, esi
inc ebx
add edi, 4
call fcn.00451d30
mov ecx, eax
call fcn.004497d0
test eax, eax
jne 0x44f3da
mov edi, dword [esp + 0x38]
mov ecx, edi
call fcn.004497d0
mov esi, eax
test esi, esi
jne 0x44f3c1
test ebx, ebx
jle 0x44f4a1
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, ebx
mov edx, dword [eax]
mov ecx, dword [esi]
cmp edx, ecx
jg 0x44f481
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, edx
cmp ecx, 1
jle 0x44f450
mov ebp, dword [esp + 0x14]
mov ebp, dword [ebp + ecx*4 - 4]
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x20]
cmp ecx, 1
jle 0x44f469
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp + ecx*4 - 4]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
cmp eax, ebp
jle 0x44f481
cmp eax, dword [esp + 0x30]
jg 0x44f481
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 0x20]
sub ecx, ebp
mov byte [ecx + eax - 1], 1
add esi, 4
dec edi
jne 0x44f42a
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
add ecx, 4
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
jne 0x44f41e
mov edi, dword [esp + 0x38]
test edi, edi
je 0x44f4ae
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x30]
call fcn.004422a0
mov ecx, eax
call fcn.0046e2f0
test eax, eax
jne 0x44f392
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
mov esi, ebp
imul esi, edi
test ebp, ebp
jne 0x44f4ec
push 2
push 0x4f76e0
mov ecx, ebx
call fcn.0046e721
mov ecx, dword [0x531a08]
push ecx
call dword [sym.imp.MSVCRT.dll_rewind]
mov edx, dword [0x531a08]
push 0
push esi
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x531a08]
mov ecx, dword [ebx + 0x20]
push eax
push edi
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov esi, dword [esp + 0x3c]
add esp, 0x20
lea edx, [esi - 1]
cmp ebp, edx
jne 0x44f547
mov eax, dword [0x531a08]
test eax, eax
je 0x44f547
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [0x531a08], 0
mov eax, dword [ebx + 0x18]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + ebp*4]
add edx, ecx
inc ebp
cmp ebp, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], ebp
jl 0x44f35b
mov eax, dword [esp + 0x1c]
xor ebx, ebx
xor edx, edx
xor ebp, ebp
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ebx
jle 0x44f670
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + 0x18]
add ebp, dword [esi + ebx*4]
cmp eax, 1
mov dword [esp + 0x20], ebp
jle 0x44f5e9
mov esi, ebx
imul esi, dword [esp + 0x10]
test ebx, ebx
jne 0x44f5aa
push 2
push 0x4f76dc
call fcn.0046e721
mov edx, dword [0x531a08]
push edx
call dword [sym.imp.MSVCRT.dll_rewind]
mov eax, dword [0x531a08]
push 0
push esi
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [0x531a08]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x20]
push edx
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov edx, dword [esp + 0x38]
add esp, 0x20
cmp edx, ebp
jge 0x44f64b
test edx, edx
jle 0x44f5fb
mov eax, dword [esp + 0x14]
mov eax, dword [eax + edx*4 - 4]
jmp 0x44f5fd
xor eax, eax
mov ecx, dword [esp + 0x14]
sub eax, edi
mov ecx, dword [ecx + edx*4]
sub ecx, edi
cmp eax, ecx
jge 0x44f62b
mov esi, dword [esp + 0x48]
mov esi, dword [esi + 0x20]
cmp byte [esi + eax], 0
jle 0x44f626
mov ebp, dword [esp + 0x24]
inc ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
inc eax
cmp eax, ecx
jl 0x44f613
mov eax, dword [esp + 0x48]
inc edx
cmp edx, ebp
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [ecx + edx*4 - 4], eax
jl 0x44f5ed
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + ebx*4]
mov eax, dword [esp + 0x1c]
add edx, edi
inc ebx
cmp ebx, eax
mov dword [esp + 0x18], edx
mov edi, dword [ecx + edx*4 - 4]
jl 0x44f580
mov eax, dword [0x531a08]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x44f691
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [0x531a08], 0
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 8]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x3c
ret 4