Function at 0x4da1a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555da3
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x58005c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5a6ef8], 0
jne 0x4da1fa
mov eax, dword [ebp + 8]
shl eax, 0x14
add eax, 0x436
push eax
call fcn.00413380
add esp, 4
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [0x5a6ef8], ecx
cmp dword [0x5a6ee0], 0
jle 0x4da3e4
cmp dword [0x5a6ef0], 0
jne 0x4da3e4
mov eax, dword [0x5a6ee0]
imul eax, eax, 0xa
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00413380
add esp, 4
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [0x5a6ef0], eax
mov dword [ebp - 0x10], 0
jmp 0x4da258
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [0x5a6ee0]
imul edx, edx, 0xa
cmp dword [ebp - 0x10], edx
jge 0x4da278
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x5a6ef0]
mov dword [ecx + eax*4], 0
jmp 0x4da24f
mov dword [ebp - 0x14], 0
jmp 0x4da28a
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x5a6ee0]
jge 0x4da3e4
mov dword [ebp - 0x120], 0
jmp 0x4da2b4
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0xa
jge 0x4da3df
mov edx, dword [ebp - 0x120]
lea eax, [edx*8 + 0x58cc60]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
movsx edx, byte [ecx]
test edx, edx
je 0x4da3da
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x120]
lea edx, [ecx*8 + 0x58cc60]
push edx
push str.dwq_s_d.gtb
lea eax, [ebp - 0x11c]
push eax
call dword [0x5582d0]
add esp, 0x10
push 0x568cac
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004de640
add esp, 8
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x4da3da
push 2
push 0
mov edx, dword [ebp - 0x128]
push edx
call fcn.0041dd51
add esp, 0xc
mov eax, dword [ebp - 0x128]
push eax
call fcn.0041dc59
add esp, 4
mov dword [ebp - 0x12c], eax
push 0
push 0
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.0041dd51
add esp, 0xc
mov edx, dword [ebp - 0x12c]
push edx
call fcn.00413380
add esp, 4
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xa
add eax, dword [ebp - 0x120]
mov ecx, dword [0x5a6ef0]
mov edx, dword [ebp - 0x138]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
push 1
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xa
add edx, dword [ebp - 0x120]
mov eax, dword [0x5a6ef0]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 0x128]
push edx
call fcn.0041329a
add esp, 4
jmp 0x4da2a5
jmp 0x4da281
cmp dword [0x5a6f00], 0
jne 0x4da43b
push 1
call fcn.00413380
add esp, 4
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x4da419
mov ecx, dword [ebp - 0x140]
call fcn.004d41b0
mov dword [ebp - 0x154], eax
jmp 0x4da423
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [0x5a6f00], ecx
call fcn.004d6f40
cmp dword [0x5a6efc], 0
jne 0x4da499
push 0x118
call fcn.00413380
add esp, 4
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
je 0x4da478
mov ecx, dword [ebp - 0x148]
call fcn.004d7200
mov dword [ebp - 0x158], eax
jmp 0x4da482
mov dword [ebp - 0x158], 0
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x144]
mov dword [0x5a6efc], eax
cmp dword [0x5a6f04], 0
jne 0x4da503
push 0x158
call fcn.00413380
add esp, 4
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x150], 0
je 0x4da4da
push 4
mov ecx, dword [ebp - 0x150]
call fcn.004d3bc0
mov dword [ebp - 0x15c], eax
jmp 0x4da4e4
mov dword [ebp - 0x15c], 0
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14c]
mov dword [0x5a6f04], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004130a1
mov esp, ebp
pop ebp
ret