Function at 0x402f66
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x47b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp + 0x10]
push eax
push str.GL_AS
push ecx
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x1f0], esi
push str._s_s_s
push eax
call fcn.00401381
lea eax, [ebp - 0x1ec]
push eax
call fcn.00402994
push ebx
xor edi, edi
call fcn.00423db0
add esp, 0x1c
test eax, eax
je 0x40300c
cmp di, 0xb
jg 0x403006
movsx eax, di
mov cl, byte [eax + ebx]
cmp cl, 0x2e
je 0x402ff3
inc edi
mov byte [ebp + eax - 0xf8], cl
push ebx
movsx esi, di
call fcn.00423db0
pop ecx
cmp esi, eax
jb 0x402fca
jmp 0x403006
cmp eax, 0xf1
jae 0x403240
mov byte [ebp + eax - 0xf8], 0
mov esi, dword [ebp - 0x1f0]
movsx eax, di
cmp eax, 0xf1
jae 0x403240
push str..TXT
mov byte [ebp + eax - 0xf8], 0
lea eax, [ebp - 0xf8]
push eax
push 0x46a6a4
push dword [ebp - 0x1f4]
push str._s_s_s_s
push esi
call fcn.00401381
lea eax, [ebp - 0x1ec]
push 0x4694e0
push eax
call fcn.0043ed2e
push 0x46a6a8
push dword [ebp - 0x1f0]
mov esi, eax
call fcn.0043ed2e
add esp, 0x28
mov edi, eax
test esi, esi
je 0x40323c
test edi, edi
je 0x40323c
push esi
call fcn.0043e83b
xor ebx, ebx
pop ecx
inc ebx
jmp 0x403214
push esi
push ebx
lea eax, [ebp - 0x1fc]
push 8
push eax
call fcn.0043efcb
push esi
push ebx
lea eax, [ebp - 0x204]
push 8
push eax
call fcn.0043efcb
push esi
push ebx
lea eax, [ebp - 0x20c]
push 8
push eax
call fcn.0043efcb
push esi
push ebx
lea eax, [ebp - 0x214]
push 8
push eax
call fcn.0043efcb
add esp, 0x40
lea eax, [ebp - 0x21c]
push esi
push ebx
push 8
push eax
call fcn.0043efcb
push esi
push ebx
lea eax, [ebp - 0x224]
push 8
push eax
call fcn.0043efcb
push esi
push ebx
lea eax, [ebp - 0x22c]
push 8
push eax
call fcn.0043efcb
push esi
push ebx
lea eax, [ebp - 0x234]
push 8
push eax
call fcn.0043efcb
add esp, 0x40
lea eax, [ebp - 0x23c]
push esi
push ebx
push 8
push eax
call fcn.0043efcb
movsd xmm0, qword [ebp - 0x1fc]
pop ecx
pop ecx
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.00407804
movsd xmm0, qword [ebp - 0x204]
pop ecx
pop ecx
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.00407804
movsd xmm0, qword [ebp - 0x20c]
pop ecx
pop ecx
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.00407804
movsd xmm0, qword [ebp - 0x214]
pop ecx
pop ecx
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.00407804
movsd xmm0, qword [ebp - 0x21c]
pop ecx
pop ecx
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.00407804
movsd xmm0, qword [ebp - 0x224]
pop ecx
pop ecx
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.00407804
movsd xmm0, qword [ebp - 0x22c]
pop ecx
pop ecx
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.00407804
movsd xmm0, qword [ebp - 0x234]
pop ecx
pop ecx
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.00407804
movsd xmm0, qword [ebp - 0x23c]
pop ecx
pop ecx
movsd qword [esp], xmm0
push str._5.2lf_n
push edi
call fcn.00407804
push esi
call fcn.0043e83b
add esp, 0x14
test eax, eax
je 0x40308b
push edi
call fcn.0043e7de
push esi
call fcn.0043e7de
pop ecx
pop ecx
mov ax, bx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041836a
leave
ret
xor eax, eax
jmp 0x40322d
call fcn.0041849a
int3