Function at 0x402d70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4a7480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp + 0x10]
push eax
push str.GL_AS
push ecx
lea eax, [ebp - 0x1ec]
push str._s_s_s
push eax
call fcn.004015c0
lea eax, [ebp - 0x1ec]
push eax
call fcn.004026f0
mov esi, dword [ebp + 0x14]
add esp, 0x18
mov ecx, esi
xor edx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402dd0
sub ecx, edi
xor eax, eax
cmp ax, cx
jge 0x402e23
cmp dx, 0xb
jg 0x402e23
movsx eax, dx
mov cl, byte [eax + esi]
cmp cl, 0x2e
je 0x402e10
mov byte [ebp + eax - 0xf8], cl
inc edx
mov ecx, esi
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402e00
sub ecx, edi
cmp dx, cx
jl 0x402de0
jmp 0x402e23
cmp eax, 0xf1
jae 0x40307b
mov byte [ebp + eax - 0xf8], 0
movsx eax, dx
cmp eax, 0xf1
jae 0x40307b
push str..TXT
mov byte [ebp + eax - 0xf8], 0
lea eax, [ebp - 0xf8]
push eax
push 0x48b960
push dword [ebp - 0x1f0]
push str._s_s_s_s
push ebx
call fcn.004015c0
lea eax, [ebp - 0x1ec]
push 0x48a470
push eax
call fcn.0044c7ec
push 0x48b964
push ebx
mov esi, eax
call fcn.0044c7ec
add esp, 0x28
mov edi, eax
test esi, esi
je 0x403068
test edi, edi
je 0x403068
push esi
call fcn.0044cbf1
add esp, 4
test eax, eax
jne 0x403043
nop
push esi
push 1
lea eax, [ebp - 0x1f8]
push 8
push eax
call fcn.0044ca9e
push esi
push 1
lea eax, [ebp - 0x200]
push 8
push eax
call fcn.0044ca9e
push esi
push 1
lea eax, [ebp - 0x208]
push 8
push eax
call fcn.0044ca9e
push esi
push 1
lea eax, [ebp - 0x210]
push 8
push eax
call fcn.0044ca9e
add esp, 0x40
lea eax, [ebp - 0x218]
push esi
push 1
push 8
push eax
call fcn.0044ca9e
push esi
push 1
lea eax, [ebp - 0x220]
push 8
push eax
call fcn.0044ca9e
push esi
push 1
lea eax, [ebp - 0x228]
push 8
push eax
call fcn.0044ca9e
push esi
push 1
lea eax, [ebp - 0x230]
push 8
push eax
call fcn.0044ca9e
add esp, 0x40
lea eax, [ebp - 0x238]
push esi
push 1
push 8
push eax
call fcn.0044ca9e
movsd xmm0, qword [ebp - 0x1f8]
add esp, 8
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.004070f0
movsd xmm0, qword [ebp - 0x200]
add esp, 8
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.004070f0
movsd xmm0, qword [ebp - 0x208]
add esp, 8
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.004070f0
movsd xmm0, qword [ebp - 0x210]
add esp, 8
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.004070f0
add esp, 8
movsd xmm0, qword [ebp - 0x218]
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.004070f0
movsd xmm0, qword [ebp - 0x220]
add esp, 8
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.004070f0
movsd xmm0, qword [ebp - 0x228]
add esp, 8
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.004070f0
movsd xmm0, qword [ebp - 0x230]
add esp, 8
movsd qword [esp], xmm0
push str._5.2lf
push edi
call fcn.004070f0
movsd xmm0, qword [ebp - 0x238]
add esp, 8
movsd qword [esp], xmm0
push str._5.2lf_n
push edi
call fcn.004070f0
push esi
call fcn.0044cbf1
add esp, 0x14
test eax, eax
je 0x402ea0
push edi
call fcn.0044c4fe
push esi
call fcn.0044c4fe
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426216
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426216
mov esp, ebp
pop ebp
ret
call fcn.00426346
int3