Function at 0x4e07d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov dword [ebp - 0x410], ecx
mov eax, dword [ebp - 0x410]
add eax, 0x74
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004143e0
add esp, 8
test eax, eax
jne 0x4e0803
mov eax, 1
jmp 0x4e0c97
mov edx, dword [ebp - 0x410]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x410]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417f40
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 - 0x410]
add ecx, 0x74
push ecx
call fcn.00419a50
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x4e0885
push 0x590d5c
mov edx, dword [ebp - 0x410]
add edx, 0x74
push edx
push 0x592ce8
push 0x56ee20
mov eax, dword [ebp - 0x410]
add eax, 0x174
push eax
call dword [0x55e2d0]
add esp, 0x14
jmp 0x4e08b2
push 0x590d5c
mov ecx, dword [ebp - 0x410]
add ecx, 0x74
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str._s_s._s
mov eax, dword [ebp - 0x410]
add eax, 0x174
push eax
call dword [0x55e2d0]
add esp, 0x14
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x410]
add edx, 0x174
push edx
mov ecx, dword [ebp - 0x410]
call fcn.004dd300
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
je 0x4e0c7d
mov eax, dword [ebp - 0x410]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 0x410]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x410]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 0x404]
push ecx
mov ecx, dword [ebp - 0x410]
call fcn.004dcbe0
mov dword [ebp - 0x40c], eax
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x58], 0
jne 0x4e0968
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x64], 0
jne 0x4e0968
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x410]
call fcn.004dcd90
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 0x40c]
add ecx, 0x40
mov dword [ebp - 0x40c], ecx
mov edx, dword [ebp - 0x40c]
push edx
mov ecx, dword [ebp - 0x410]
call fcn.004dcad0
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x58], 0
je 0x4e0a32
mov ecx, dword [ebp - 0x404]
push ecx
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0x50]
push eax
push 1
mov ecx, dword [0x5acf9c]
push ecx
call fcn.0041dbff
add esp, 0x10
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0x70]
sub ecx, dword [eax + 0x50]
mov edx, dword [ebp - 0x410]
mov dword [edx + 0x70], ecx
mov eax, dword [ebp - 0x410]
push eax
mov ecx, dword [0x5acf9c]
push ecx
mov ecx, dword [0x5acfa0]
call fcn.004db670
mov edx, dword [ebp - 0x410]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0x14]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x410]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x10], eax
jmp 0x4e0b5d
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x64], 0
je 0x4e0abc
mov edx, dword [ebp - 0x404]
push edx
mov ecx, dword [0x5acfa8]
call fcn.004d75e0
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, dword [0x5acfa8]
call fcn.004d6bf0
mov ecx, dword [0x5acfa8]
call fcn.004034b0
mov edx, dword [ebp - 0x410]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 0x410]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0x14]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x10], ecx
jmp 0x4e0b5d
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x1c], 0
je 0x4e0b5d
mov ecx, dword [ebp - 0x410]
call fcn.004dc180
mov eax, dword [ebp - 0x410]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0x14]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x60], 0
jne 0x4e0b40
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
push edx
mov ecx, dword [ebp - 0x410]
call fcn.004dc5d0
jmp 0x4e0b5d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
push edx
mov ecx, dword [ebp - 0x410]
call fcn.004dc230
mov eax, dword [ebp - 0x410]
mov dword [eax + 0x54], 1
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x5c], 0
je 0x4e0c24
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x64], 0
jne 0x4e0b9a
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x410]
call fcn.004def90
jmp 0x4e0ba5
mov ecx, dword [ebp - 0x410]
call fcn.004dd2a0
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x68], 0
je 0x4e0c19
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x284]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x288]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0x14]
sub ecx, dword [eax + 0x28c]
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x290]
mov eax, dword [ebp - 0x410]
mov dword [eax + 0x10], edx
jmp 0x4e0c24
mov ecx, dword [ebp - 0x410]
call fcn.004dbf30
mov edx, dword [ebp - 0x404]
push edx
call fcn.004133fa
add esp, 4
cmp dword [0x5acf88], 0
je 0x4e0c76
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x3c], 0
jne 0x4e0c76
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp - 0x410]
call fcn.004def30
test eax, eax
je 0x4e0c76
mov ecx, dword [ebp - 0x410]
call fcn.004de240
mov eax, 1
jmp 0x4e0c97
cmp dword [0x5acf98], 0
je 0x4e0c95
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x410]
call fcn.004dbed0
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc