Function at 0x414a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x15c]
push edi
mov edi, dword [ebp + 8]
call fcn.00415840
lea ecx, [ebp - 0x560]
call fcn.004158a0
push 0x4921b8
push edi
call fcn.0046ca05
mov edi, eax
add esp, 8
test edi, edi
je 0x414cf9
push 2
push 0
push edi
call fcn.004704a2
push edi
call fcn.00471054
push 0
push 0
push edi
mov ebx, eax
call fcn.004704a2
add esp, 0x1c
mov ecx, esi
call fcn.00414f00
push edi
push 4
lea eax, [ebp - 0x568]
push 1
push eax
call fcn.00470945
add esp, 0x10
cmp eax, 4
jne 0x414cf0
cmp dword [ebp - 0x568], 0xdbdbf11b
jne 0x414cf0
push edi
push eax
lea eax, [ebp - 0x56c]
push 1
push eax
call fcn.00470945
add esp, 0x10
cmp eax, 4
jne 0x414cf0
mov eax, dword [ebp - 0x56c]
add eax, 8
cmp eax, ebx
jne 0x414cf0
push edi
push 4
lea eax, [esi + 0x1c]
push 1
push eax
call fcn.00470945
push edi
push 4
lea eax, [esi + 0x20]
push 1
push eax
call fcn.00470945
push edi
push 4
lea eax, [esi + 0x24]
push 1
push eax
call fcn.00470945
push edi
push 4
lea ebx, [esi + 0xc]
push 1
push ebx
call fcn.00470945
add esp, 0x40
lea eax, [esi + 0x34]
push edi
push 4
push 1
push eax
call fcn.00470945
add esp, 0x10
cmp dword [ebx], 0
je 0x414cf0
mov ecx, esi
call fcn.00414fe0
cmp dword [esi + 4], 0
je 0x414cf0
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jle 0x414be8
push edi
push 1
lea eax, [ebp - 0x560]
push 0x404
push eax
call fcn.00470945
lea eax, [ebp - 0x560]
push eax
push dword [esi + 0x803c]
call fcn.00415c60
mov ecx, dword [esi + 4]
add esp, 0x18
mov dword [ecx + ebx*8], eax
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x160]
mov dword [ecx + ebx*8 + 4], eax
inc ebx
cmp ebx, dword [esi + 0xc]
jl 0x414ba6
push edi
push 4
lea ebx, [esi + 0x14]
push 1
push ebx
call fcn.00470945
add esp, 0x10
cmp dword [ebx], 0
je 0x414cf0
mov ecx, esi
call fcn.00415060
cmp dword [esi + 0x10], 0
je 0x414cf0
cmp dword [ebx], 0
mov dword [ebp - 0x564], 0
jle 0x414ccf
xor ebx, ebx
nop dword [eax + eax]
push edi
push 1
lea eax, [ebp - 0x15c]
push 0x158
push eax
call fcn.00470945
lea eax, [ebp - 0x15c]
push eax
push dword [esi + 0x803c]
call fcn.00415c60
mov ecx, dword [esi + 0x10]
add esp, 0x18
mov dword [ebx + ecx], eax
cmp byte [ebp - 0x58], 0
je 0x414c7b
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x803c]
call fcn.00415c60
add esp, 8
mov ecx, eax
jmp 0x414c7d
xor ecx, ecx
mov eax, dword [esi + 0x10]
mov dword [eax + ebx + 4], ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ecx + ebx + 8], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 8]
mov dword [ecx + ebx + 0x18], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ecx + ebx + 0xc], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ecx + ebx + 0x10], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ecx + ebx + 0x14], eax
add ebx, 0x1c
mov eax, dword [ebp - 0x564]
inc eax
mov dword [ebp - 0x564], eax
cmp eax, dword [esi + 0x14]
jl 0x414c30
push edi
call fcn.0046c560
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.0046c560
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464e2f
mov esp, ebp
pop ebp
ret 4