Function at 0x408a50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
push 0x4b6200
push str.DNODES2
push 0x4b5c00
push str._s_s_s
push 0x4b5a00
call fcn.00401540
push 0x495470
push 0x4b5a00
call fcn.00457e2c
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x408dfa
push ebx
push 1
lea eax, [esp + 0x14]
push 4
push eax
call fcn.004580de
mov edi, 1
add esp, 0x10
cmp dword [esp + 0xc], edi
jl 0x408ad6
mov esi, 0x61ebd4
push ebx
push 1
push 0x94
push esi
call fcn.004580de
inc edi
add esp, 0x10
add esi, 0x94
cmp edi, dword [esp + 0xc]
jle 0x408ab8
push ebx
call fcn.00457b3e
add esp, 4
mov dword [esp + 0x1c], 1
cmp dword [esp + 0xc], 1
jl 0x408d82
mov ecx, 0x61ec3c
mov edx, 1
mov dword [esp + 0x18], ecx
movss xmm0, dword [ecx - 0x18]
xor edi, edi
movss dword [esp + 0x20], xmm0
xor eax, eax
movss xmm0, dword [ecx - 0x14]
movss dword [esp + 0x24], xmm0
lea ebx, [edi + 1]
movss xmm0, dword [0x4989bc]
mov dword [esp + 0x10], eax
movss dword [esp + 0x14], xmm0
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp dx, word [0x58e72a]
jg 0x408ca3
movsx esi, word [ebx*2 + 0x58e740]
push esi
push 0x4958f4
push 0x52520a
call fcn.00401540
lea eax, [esi + esi*8]
add esp, 0xc
movzx eax, word [eax*8 + 0x4ff362]
mov word [0x52510c], ax
test ax, ax
jle 0x408c8f
push 0x4b6200
push 0x52520a
push 0x4958f8
push 0x4b5c00
push str._s_s_s_s
push 0x4b5a00
call fcn.00401540
push 0x4b5a00
call fcn.004026a0
push 0x495470
push 0x4b5a00
call fcn.00457e2c
mov esi, 1
mov dword [0x63cd94], eax
mov ecx, esi
add esp, 0x24
cmp cx, word [0x52510c]
jg 0x408c86
movss xmm1, dword [esp + 0x14]
push eax
push 1
push 0x3c
push 0x4f379c
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm1
call fcn.004580de
movss xmm1, dword [esp + 0x30]
add esp, 0x10
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x4f37a0]
subss xmm1, dword [0x4f379c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x408c2c
sqrtsd xmm0, xmm0
jmp 0x408c31
call fcn.00467190
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x408c49
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm1
movss xmm2, dword [esp + 0x28]
mov ecx, ebx
comiss xmm2, xmm0
mov eax, esi
movss xmm2, dword [esp + 0x2c]
cmovbe ecx, dword [esp + 0x10]
comiss xmm2, xmm0
mov dword [esp + 0x10], ecx
cmovbe eax, edi
inc esi
mov edi, eax
movsx eax, word [0x52510c]
cmp esi, eax
mov eax, dword [0x63cd94]
jle 0x408bd4
mov dword [esp + 0x10], ecx
push eax
call fcn.00457b3e
add esp, 4
movsx eax, word [0x58e72a]
inc ebx
cmp ebx, eax
jle 0x408b41
mov eax, dword [esp + 0x10]
push 0x4b6200
push eax
push str.SP_ASN
push 0x4b5c00
push str._s_s_i_s
push 0x4b5a00
call fcn.00401540
push 0x495470
push 0x4b5a00
call fcn.00457e2c
mov esi, eax
add esp, 0x20
test esi, esi
je 0x408d5c
shl edi, 4
push 0
sub edi, 0x10
push edi
push esi
call fcn.0046788c
push esi
push 1
lea eax, [esp + 0x48]
push 4
push eax
call fcn.004580de
push esi
push 1
lea eax, [esp + 0x54]
push 4
push eax
call fcn.004580de
push esi
push 1
lea eax, [esp + 0x70]
push 4
push eax
call fcn.004580de
push esi
push 1
lea eax, [esp + 0x7c]
push 4
push eax
call fcn.004580de
add esp, 0x4c
push esi
call fcn.00457b3e
movss xmm0, dword [esp + 0x34]
add esp, 4
maxss xmm0, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x38]
maxss xmm0, dword [esp + 0x3c]
movss dword [ecx + 4], xmm0
jmp 0x408d60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add ecx, 0x94
inc edx
mov dword [esp + 0x18], ecx
cmp edx, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
mov edx, 1
jle 0x408b00
push 0x4b6200
push str.DNODES2
push 0x4b5c00
push str._s_s_s
push 0x4b5a00
call fcn.00401540
push 0x495578
push 0x4b5a00
call fcn.00457e2c
mov ebx, eax
lea eax, [esp + 0x28]
push ebx
push 1
push 4
push eax
call fcn.004587f5
mov edi, 1
add esp, 0x2c
cmp dword [esp + 0xc], edi
jl 0x408df1
mov esi, 0x61ebd4
push ebx
push 1
push 0x94
push esi
call fcn.004587f5
inc edi
add esp, 0x10
add esi, 0x94
cmp edi, dword [esp + 0xc]
jle 0x408dd3
push ebx
call fcn.00457b3e
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret