Function at 0x4dda00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b9d3
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5acf9c], 0
jne 0x4dda5a
mov eax, dword [ebp + 8]
shl eax, 0x14
add eax, 0x436
push eax
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [0x5acf9c], ecx
cmp dword [0x5acf84], 0
jle 0x4ddc44
cmp dword [0x5acf94], 0
jne 0x4ddc44
mov eax, dword [0x5acf84]
imul eax, eax, 0xa
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [0x5acf94], eax
mov dword [ebp - 0x10], 0
jmp 0x4ddab8
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [0x5acf84]
imul edx, edx, 0xa
cmp dword [ebp - 0x10], edx
jge 0x4ddad8
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x5acf94]
mov dword [ecx + eax*4], 0
jmp 0x4ddaaf
mov dword [ebp - 0x14], 0
jmp 0x4ddaea
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x5acf84]
jge 0x4ddc44
mov dword [ebp - 0x120], 0
jmp 0x4ddb14
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0xa
jge 0x4ddc3f
mov edx, dword [ebp - 0x120]
lea eax, [edx*8 + 0x592d00]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
movsx edx, byte [ecx]
test edx, edx
je 0x4ddc3a
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x120]
lea edx, [ecx*8 + 0x592d00]
push edx
push str.dwq_s_d.gtb
lea eax, [ebp - 0x11c]
push eax
call dword [0x55e2d0]
add esp, 0x10
push 0x56ee7c
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004e1e40
add esp, 8
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x4ddc3a
push 2
push 0
mov edx, dword [ebp - 0x128]
push edx
call fcn.0041deb1
add esp, 0xc
mov eax, dword [ebp - 0x128]
push eax
call fcn.0041ddb9
add esp, 4
mov dword [ebp - 0x12c], eax
push 0
push 0
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.0041deb1
add esp, 0xc
mov edx, dword [ebp - 0x12c]
push edx
call fcn.004134e0
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 [0x5acf94]
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 [0x5acf94]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0041dbff
add esp, 0x10
mov edx, dword [ebp - 0x128]
push edx
call fcn.004133fa
add esp, 4
jmp 0x4ddb05
jmp 0x4ddae1
cmp dword [0x5acfa4], 0
jne 0x4ddc9b
push 1
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x4ddc79
mov ecx, dword [ebp - 0x140]
call fcn.004d7af0
mov dword [ebp - 0x154], eax
jmp 0x4ddc83
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [0x5acfa4], ecx
call fcn.004da870
cmp dword [0x5acfa0], 0
jne 0x4ddcf9
push 0x118
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
je 0x4ddcd8
mov ecx, dword [ebp - 0x148]
call fcn.004dab20
mov dword [ebp - 0x158], eax
jmp 0x4ddce2
mov dword [ebp - 0x158], 0
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x144]
mov dword [0x5acfa0], eax
cmp dword [0x5acfa8], 0
jne 0x4ddd63
push 0x158
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x150], 0
je 0x4ddd3a
push 4
mov ecx, dword [ebp - 0x150]
call fcn.004d7500
mov dword [ebp - 0x15c], eax
jmp 0x4ddd44
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 [0x5acfa8], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret