Function at 0x4dcfb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x418]
add eax, 0x74
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00414280
add esp, 8
test eax, eax
jne 0x4dcfe3
mov eax, 1
jmp 0x4dd48b
mov edx, dword [ebp - 0x418]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x418]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417de0
add esp, 4
mov dword [ebp - 0x408], eax
mov edx, dword [ebp - 0x408]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x74
push ecx
call fcn.004198f0
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x4dd065
push 0x58acbc
mov edx, dword [ebp - 0x418]
add edx, 0x74
push edx
push 0x58cc48
push 0x568c50
mov eax, dword [ebp - 0x418]
add eax, 0x174
push eax
call dword [0x5582d0]
add esp, 0x14
jmp 0x4dd092
push 0x58acbc
mov ecx, dword [ebp - 0x418]
add ecx, 0x74
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str._s_s._s
mov eax, dword [ebp - 0x418]
add eax, 0x174
push eax
call dword [0x5582d0]
add esp, 0x14
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x418]
add edx, 0x174
push edx
mov ecx, dword [ebp - 0x418]
call fcn.004d9aa0
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
je 0x4dd471
mov eax, dword [ebp - 0x418]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 0x418]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 0x418]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x418]
mov dword [eax + 0x64], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x410], 0
mov ecx, dword [ebp - 0x404]
push ecx
mov ecx, dword [ebp - 0x418]
call fcn.004d9380
mov dword [ebp - 0x414], eax
mov edx, dword [ebp - 0x418]
cmp dword [edx + 0x58], 0
jne 0x4dd15c
mov eax, dword [ebp - 0x418]
cmp dword [eax + 0x64], 0
jne 0x4dd15c
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x418]
call fcn.004d9530
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
add ecx, 0x40
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x414]
push edx
mov ecx, dword [ebp - 0x418]
call fcn.004d9270
mov eax, dword [ebp - 0x418]
cmp dword [eax + 0x58], 0
je 0x4dd226
mov ecx, dword [ebp - 0x404]
push ecx
mov edx, dword [ebp - 0x418]
mov eax, dword [edx + 0x50]
push eax
push 1
mov ecx, dword [0x5a6ef8]
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x418]
mov ecx, dword [edx + 0x70]
sub ecx, dword [eax + 0x50]
mov edx, dword [ebp - 0x418]
mov dword [edx + 0x70], ecx
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [0x5a6ef8]
push ecx
mov ecx, dword [0x5a6efc]
call fcn.004d7de0
mov edx, dword [ebp - 0x418]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx + 0x14]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x418]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x418]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x10], eax
jmp 0x4dd351
mov ecx, dword [ebp - 0x418]
cmp dword [ecx + 0x64], 0
je 0x4dd2b0
mov edx, dword [ebp - 0x404]
push edx
mov ecx, dword [0x5a6f04]
call fcn.004d3ca0
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, dword [0x5a6f04]
call fcn.004d32b0
mov ecx, dword [0x5a6f04]
call fcn.00403450
mov edx, dword [ebp - 0x418]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 0x418]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x418]
mov eax, dword [edx + 0x14]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x418]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x10], ecx
jmp 0x4dd351
mov edx, dword [ebp - 0x418]
cmp dword [edx + 0x1c], 0
je 0x4dd351
mov ecx, dword [ebp - 0x418]
call fcn.004d8920
mov eax, dword [ebp - 0x418]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x418]
mov eax, dword [edx + 0x14]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x418]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x418]
cmp dword [edx + 0x60], 0
jne 0x4dd334
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
push edx
mov ecx, dword [ebp - 0x418]
call fcn.004d8d70
jmp 0x4dd351
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
push edx
mov ecx, dword [ebp - 0x418]
call fcn.004d89d0
mov eax, dword [ebp - 0x418]
mov dword [eax + 0x54], 1
mov ecx, dword [ebp - 0x418]
cmp dword [ecx + 0x5c], 0
je 0x4dd418
mov edx, dword [ebp - 0x418]
cmp dword [edx + 0x64], 0
jne 0x4dd38e
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x418]
call fcn.004db750
jmp 0x4dd399
mov ecx, dword [ebp - 0x418]
call fcn.004d9a40
mov ecx, dword [ebp - 0x418]
cmp dword [ecx + 0x68], 0
je 0x4dd40d
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x284]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x288]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x418]
mov ecx, dword [edx + 0x14]
sub ecx, dword [eax + 0x28c]
mov edx, dword [ebp - 0x418]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x418]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x290]
mov eax, dword [ebp - 0x418]
mov dword [eax + 0x10], edx
jmp 0x4dd418
mov ecx, dword [ebp - 0x418]
call fcn.004d86d0
mov edx, dword [ebp - 0x404]
push edx
call fcn.0041329a
add esp, 4
cmp dword [0x5a6ee4], 0
je 0x4dd46a
mov eax, dword [ebp - 0x418]
cmp dword [eax + 0x3c], 0
jne 0x4dd46a
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp - 0x418]
call fcn.004db6f0
test eax, eax
je 0x4dd46a
mov ecx, dword [ebp - 0x418]
call fcn.004da9e0
mov eax, 1
jmp 0x4dd48b
cmp dword [0x5a6ef4], 0
je 0x4dd489
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x418]
call fcn.004d8670
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc