Function at 0x471f80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x4929f8]
sub esp, 0x424
push ebx
mov ebx, dword [0x478194]
push ebp
mov ebp, dword [esp + 0x434]
push esi
push edi
push ebp
push 1
push eax
lea ecx, [esp + 0x128]
push ecx
call ebx
mov ecx, dword [esp + 0x448]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x130]
push eax
push ecx
call fcn.0043cda0
mov edx, dword [esp + 0x23c]
mov esi, eax
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x240]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x238]
mov edx, esi
mov dword [esi + 0xc], ecx
call fcn.00471c40
push ebp
push 1
lea edx, [esp + 0x40]
push 0xff
push edx
call ebx
mov al, byte [esp + 0x48]
add esp, 0x2c
xor edi, edi
test al, al
je 0x47204a
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x47201a
push eax
call fcn.0040c170
add esp, 4
mov dword [esi + 0x20], edi
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472021
sub eax, edx
inc eax
push eax
call fcn.0040c100
add esp, 4
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x1c]
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x472040
push ebp
push 1
lea eax, [esp + 0x24]
push 0xff
push eax
call ebx
mov al, byte [esp + 0x2c]
add esp, 0x10
test al, al
je 0x4720aa
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x472077
push eax
call fcn.0040c170
add esp, 4
mov dword [esi + 0x24], edi
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472080
sub eax, edx
inc eax
push eax
call fcn.0040c100
add esp, 4
mov dword [esi + 0x24], eax
lea ecx, [esp + 0x1c]
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4720a0
push ebp
push 1
lea ecx, [esp + 0x24]
push 0xff
push ecx
call ebx
mov al, byte [esp + 0x2c]
add esp, 0x10
test al, al
je 0x47210a
mov eax, dword [esi + 0x28]
cmp eax, edi
je 0x4720d7
push eax
call fcn.0040c170
add esp, 4
mov dword [esi + 0x28], edi
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4720e0
sub eax, edx
inc eax
push eax
call fcn.0040c100
add esp, 4
mov dword [esi + 0x28], eax
lea ecx, [esp + 0x1c]
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x472100
push ebp
push 1
lea edx, [esp + 0x24]
push 0xff
push edx
call ebx
mov al, byte [esp + 0x2c]
add esp, 0x10
test al, al
je 0x47216a
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x472137
push eax
call fcn.0040c170
add esp, 4
mov dword [esi + 0x2c], edi
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472140
sub eax, edx
inc eax
push eax
call fcn.0040c100
add esp, 4
mov dword [esi + 0x2c], eax
lea ecx, [esp + 0x1c]
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x472160
push ebp
push 1
lea eax, [esp + 0x1c]
push 4
push eax
call ebx
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
jle 0x4721a1
mov ecx, dword [0x4929fc]
push ebp
push 1
push ecx
lea edx, [esp + 0x338]
push edx
call ebx
mov eax, dword [esp + 0x24]
add esp, 0x10
inc edi
cmp edi, eax
jl 0x472181
lea eax, [esi + 4]
push eax
mov edi, ebp
call fcn.00471d40
push ebp
push 1
lea ecx, [esp + 0x1c]
push 4
push ecx
call ebx
mov eax, dword [esp + 0x24]
add esp, 0x14
xor ebx, ebx
test eax, eax
jle 0x472211
add esi, 0x3c
jmp 0x4721d0
mov edx, dword [0x492a04]
push ebp
push 1
push edx
lea eax, [esp + 0x234]
push eax
call dword [0x478194]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x23c]
push edx
push esi
call fcn.0043b260
mov ecx, dword [esp + 0x344]
add esp, 0x1c
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x4721d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x424
ret