Function at 0x475550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xc0]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
jne 0x4755a5
mov ecx, dword [ebp - 0xc0]
call fcn.00475390
mov edx, dword [ebp - 0xc0]
movzx eax, byte [edx + 0x20]
test eax, eax
jne 0x4755a5
push 0x70a2ec
call fcn.0066610b
add esp, 4
or eax, 0xffffffff
jmp 0x475990
mov ecx, dword [ebp - 0xc0]
add ecx, 0x50
call fcn.00405300
movzx ecx, al
test ecx, ecx
jne 0x4755f4
mov ecx, dword [ebp - 0xc0]
add ecx, 0xc4
call fcn.00476d20
test eax, eax
je 0x4755f4
cmp dword [ebp + 8], 0
je 0x4755ed
push 0x74
mov edx, dword [ebp - 0xc0]
add edx, 0x50
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00668860
add esp, 0xc
xor eax, eax
jmp 0x475990
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x48], 0
push 0x3f
push 0
lea ecx, [ebp - 0x47]
push ecx
call fcn.006665c0
add esp, 0xc
push 0x70a30c
mov ecx, dword [ebp - 0xc0]
add ecx, 4
call fcn.00404810
push eax
call fcn.00669fd1
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x475669
push 0x70a310
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x54], 0xffffffff
jmp 0x47592a
push 2
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00669e99
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.00669daa
add esp, 4
mov dword [ebp - 0x4c], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00669e99
add esp, 0xc
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00576bfc
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
mov edx, dword [ebp - 0x58]
push edx
call fcn.006665c0
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 1
mov edx, dword [ebp - 0x58]
push edx
call fcn.00669b18
add esp, 0x10
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4756ea
cmp dword [ebp - 0x5c], 0x40
jge 0x475703
push 0x70a328
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x54], 0xffffffff
jmp 0x47592a
push 0x40
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00668860
add esp, 0xc
mov byte [ebp - 0xa0], 0
push 0x3f
push 0
lea edx, [ebp - 0x9f]
push edx
call fcn.006665c0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00668860
add esp, 0xc
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0xc0]
add ecx, 0x50
call fcn.004047f0
push 0x40
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.006665c0
add esp, 0xc
push 0x18
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.00668860
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0x6c
call fcn.004047f0
push 0x40
push 0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.006665c0
add esp, 0xc
push 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00668860
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0xc0]
add ecx, 0x88
call fcn.004047f0
push 0x40
push 0
lea edx, [ebp - 0xa0]
push edx
call fcn.006665c0
add esp, 0xc
push 2
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0xa4
push ecx
call fcn.00668860
add esp, 0xc
push 0x12
lea edx, [ebp - 0x1a]
push edx
mov eax, dword [ebp - 0xc0]
add eax, 0xa8
push eax
call fcn.00668860
add esp, 0xc
mov ecx, dword [ebp - 0xc0]
cmp dword [ecx + 0xa4], 0
jle 0x475904
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0xa4]
shl eax, 4
push eax
call fcn.00576bfc
add esp, 4
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0xa4]
shl eax, 4
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.00668860
add esp, 0xc
mov dword [ebp - 0xa4], 0
jmp 0x475896
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xa4]
cmp edx, dword [ecx + 0xa4]
jge 0x475904
push 4
mov eax, dword [ebp - 0xa4]
shl eax, 4
add eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0xac]
push ecx
call fcn.00668860
add esp, 0xc
push 4
mov edx, dword [ebp - 0xa4]
shl edx, 4
mov eax, dword [ebp - 0x50]
lea ecx, [eax + edx + 4]
push ecx
lea edx, [ebp - 0xa8]
push edx
call fcn.00668860
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0xc4
call fcn.00476d60
jmp 0x475887
cmp dword [ebp + 8], 0
je 0x475922
push 0x74
mov ecx, dword [ebp - 0xc0]
add ecx, 0x50
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00668860
add esp, 0xc
xor eax, eax
jne 0x47562b
cmp dword [ebp - 0x58], 0
je 0x47594f
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00576bf1
add esp, 4
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x50], 0
je 0x475974
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.00576bf1
add esp, 4
mov dword [ebp - 0x50], 0
cmp dword [ebp - 4], 0
je 0x47598d
mov edx, dword [ebp - 4]
push edx
call fcn.00669ba2
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 4