Function at 0x4e4810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1100
call fcn.004bdf20
mov eax, dword [0x5be9a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10e4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10ec], edx
mov edx, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x10dc], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10d0], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x10d8], edx
mov edx, dword [ebp + 0x20]
push edi
mov dword [ebp - 0x10d4], eax
mov dword [ebp - 0x10e0], ecx
mov dword [ebp - 0x10f4], edx
test eax, eax
je 0x4e4881
mov dword [ebp - 0x10c0], 1
test ecx, ecx
jne 0x4e488b
mov dword [ebp - 0x10c0], 0
mov eax, dword [esi + 0x14]
push eax
lea ecx, [ebp - 0x10c]
push 0x5c134c
push ecx
call fcn.004b70c5
add esp, 0xc
lea edx, [ebp - 0x10c]
push 0x5c1354
push edx
call fcn.004b80e6
mov edi, eax
add esp, 8
test edi, edi
jne 0x4e48d2
push str.error:_cannot_open_matrix_file_n
push esi
call fcn.00410350
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
push edi
push 1
lea eax, [ebp - 0x10b8]
push 4
push eax
call fcn.004b98dd
push edi
push 1
lea ecx, [ebp - 0x10b4]
push 4
push ecx
call fcn.004b98dd
push edi
push 1
lea edx, [ebp - 0x10bc]
push 4
push edx
call fcn.004b98dd
mov ebx, dword [ebp - 0x10b4]
mov esi, dword [ebp - 0x10bc]
mov eax, dword [ebp - 0x10b8]
push 0x10
add ebx, 0x1f
push esi
shr ebx, 5
mov dword [ebp - 0x10e8], eax
mov dword [ebp - 0x10cc], esi
call fcn.004b9228
xor ecx, ecx
add esp, 0x38
mov dword [ebp - 0x10c8], eax
cmp eax, ecx
jne 0x4e4958
shl esi, 4
push esi
push 0x5c1150
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
push 0x13880
mov dword [ebp - 0x1100], ecx
mov dword [ebp - 0x10fc], ecx
call fcn.004b7263
add esp, 4
test eax, eax
jne 0x4e498e
push 0x13880
push 0x5c1130
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
mov dword [ebp - 0x10f8], eax
mov dword [ebp - 0x10c4], 0
test esi, esi
je 0x4e4a42
mov ecx, dword [ebp - 0x10c8]
mov dword [ebp - 0x10b0], ecx
lea edx, [ebp - 0x10ac]
push edx
lea eax, [ebp - 0x10f0]
push eax
push ebx
push edi
lea esi, [ebp - 0x1100]
call fcn.004e45d0
mov ecx, dword [ebp - 0x10f0]
mov esi, dword [ebp - 0x10b0]
lea eax, [ecx + ebx]
add esp, 0x10
mov dword [esi], 0
mov dword [esi + 4], ecx
test eax, eax
je 0x4e4a20
add eax, eax
add eax, eax
push eax
mov dword [ebp - 0x10b0], eax
call fcn.004b7263
add esp, 4
test eax, eax
je 0x4e4ae0
mov ecx, dword [ebp - 0x10b0]
push ecx
lea edx, [ebp - 0x10ac]
push edx
push eax
mov dword [esi], eax
call fcn.004bd390
add esp, 0xc
mov eax, dword [ebp - 0x10c4]
inc eax
add esi, 0x10
mov dword [ebp - 0x10c4], eax
mov dword [ebp - 0x10b0], esi
cmp eax, dword [ebp - 0x10cc]
jb 0x4e49b2
mov ecx, dword [ebp - 0x10f8]
push ecx
call fcn.004b7229
add esp, 4
push edi
call fcn.004b8276
mov edx, dword [ebp - 0x10c8]
mov eax, dword [ebp - 0x10f4]
mov ecx, dword [ebp - 0x10d0]
mov dword [eax], edx
mov edx, dword [ebp - 0x10cc]
mov eax, dword [ebp - 0x10e8]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x10dc]
mov edx, dword [ebp - 0x10b4]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10ec]
add esp, 4
cmp dword [ebp - 0x10c0], 0
mov dword [eax], edx
je 0x4e4acf
mov ecx, dword [ebp - 0x10b8]
mov edx, dword [ebp - 0x10e4]
mov eax, dword [ebp - 0x10d4]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10bc]
mov edx, dword [ebp - 0x10d8]
mov dword [eax], 0
mov eax, dword [ebp - 0x10e0]
mov dword [edx], ecx
mov dword [eax], 0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc40c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10b0]
push eax
push 0x5c1130
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
int3