Function at 0x417ba0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, 0x74309f
push ebx
push esi
call fcn.00442547
mov ebx, dword [0x73e0d0]
cmp byte [ebx + 0xbe], 0
je 0x417bce
test byte [ebx + 0xc], 2
jne 0x417bce
mov byte [ebx + 0xbe], 0
cmp byte [ebx + 0x2b7c], 0
push edi
jne 0x417caf
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x417ca8
push 0x71800c
push eax
call fcn.00410630
mov esi, eax
add esp, 8
test esi, esi
je 0x417ca8
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x417c9e
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
cmp edi, 0xffffffff
je 0x417c9e
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x417c9e
push edi
call fcn.00414f30
add esp, 4
mov edi, eax
push esi
test edi, edi
je 0x417c9f
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x417c8a
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x73e0d0]
test eax, eax
je 0x417c78
dec dword [eax + 0x388]
push dword [0x73e0d4]
push edi
call dword [0x73d024]
add esp, 8
jmp 0x417ca8
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push edi
call fcn.00414b10
add esp, 0xc
jmp 0x417c69
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebx + 0x2b7c], 1
movss xmm0, dword [ebx + 0x2b80]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x417cf7
subss xmm0, dword [ebx + 0x18]
comiss xmm1, xmm0
movss dword [ebx + 0x2b80], xmm0
jb 0x417cf7
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x417ce6
push eax
call fcn.0041a070
add esp, 4
xorps xmm1, xmm1
jmp 0x417ced
mov byte [ebx + 0x370], 1
mov dword [ebx + 0x2b80], 0
movss xmm0, dword [ebx + 0x18]
mov eax, dword [ebx + 0x94]
inc dword [ebx + 0x18f0]
cvtps2pd xmm0, xmm0
mov byte [ebx + 1], 1
mov dword [ebx + 0x2b5c], 0
mov dword [ebx + 0x192c], 0
addsd xmm0, qword [ebx + 0x18e8]
movsd qword [ebx + 0x18e8], xmm0
mov byte [eax], 1
mov edx, dword [0x73e0d0]
mov esi, dword [edx + 0xa0]
test esi, esi
jne 0x417d51
mov eax, dword [edx + 0x94]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm0, dword [edx + 0x98]
mov eax, dword [edx + 0x1930]
mov dword [edx + 0x1858], esi
mulss xmm0, dword [esi]
mulss xmm0, dword [esi + 4]
movss dword [edx + 0x1860], xmm0
test eax, eax
je 0x417d8f
movss xmm1, dword [eax + 0x27c]
mov eax, dword [0x73e0d0]
mulss xmm1, dword [eax + 0x1860]
movss dword [edx + 0x185c], xmm1
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ecx + 0x2c]
mov dword [edx + 0x1864], eax
mov eax, dword [ecx + 0x30]
lea ecx, [ebx + 0x1b6c]
mov dword [edx + 0x1868], eax
mov dword [edx + 0x186c], esi
movss dword [edx + 0x1870], xmm1
movss xmm0, dword [ebx + 0x10]
mov eax, dword [ebx + 0x15a4]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebx + 0x14]
movss dword [ebp - 8], xmm0
movups xmm0, xmmword [ebp - 0x14]
mov dword [ebx + 0x1874], eax
movups xmmword [ebx + 0x1878], xmm0
call fcn.00422c40
mov eax, dword [ebx + 0x94]
lea ecx, [ebx + 0x1b6c]
push dword [eax + 8]
call fcn.00424f00
lea ecx, [ebx + 0x1b6c]
call fcn.00424e50
xor ecx, ecx
mov byte [ebx + 0x1b2c], 0
cmp byte [ebx + 0x15a1], cl
mov eax, 2
mov dword [ebx + 0x1b30], 0
cmovne ecx, eax
mov dword [ebx + 0x1b38], 0
xor eax, eax
mov dword [ebx + 0x1b3c], 0
cmp byte [ebx + 0x15a0], al
mov dword [ebx + 0x1b34], 0
setne al
or ecx, eax
mov dword [ebx + 0x1b90], ecx
mov dword [ebx + 0x1b48], 0
mov eax, dword [ebx + 0x1b48]
mov dword [ebx + 0x1b4c], 0
mov dword [ebx + 0x1b40], eax
mov eax, dword [ebx + 0x1b4c]
mov dword [ebx + 0x1b44], eax
cmp byte [ebx + 0x1be4], 0
je 0x417ed5
mov eax, dword [ebx + 0x1bfc]
cmp eax, dword [ebx + 0x194c]
jne 0x417ed5
mov ecx, dword [0x73e0d0]
cmp dword [ecx + 0x194c], eax
jne 0x417ec6
mov dword [ecx + 0x1954], eax
cmp dword [ecx + 0x1950], eax
jne 0x417ed5
mov byte [ecx + 0x195f], 1
cmp dword [ebx + 0x1944], 0
jne 0x417ee8
mov dword [ebx + 0x1948], 0
mov eax, dword [ebx + 0x193c]
movss xmm1, dword [ebx + 0x18]
test eax, eax
je 0x417f0a
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1948]
movss dword [ebx + 0x1948], xmm0
mov dword [ebx + 0x1944], eax
movaps xmm0, xmm1
mov eax, dword [ebx + 0x194c]
movaps xmm2, xmm1
mov ecx, eax
mov dword [ebx + 0x193c], 0
mov byte [ebx + 0x1940], 0
cmp dword [ebx + 0x1954], eax
je 0x417f56
cmp dword [ebx + 0x1950], eax
jne 0x417f56
test eax, eax
je 0x417f56
call fcn.0040d0a0
movss xmm2, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x194c]
movaps xmm0, xmm2
test ecx, ecx
je 0x417f70
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1958]
movss dword [ebx + 0x1958], xmm0
movaps xmm0, xmm2
mov eax, dword [ebx + 0x1970]
addss xmm0, dword [ebx + 0x1980]
mov dword [ebx + 0x1974], eax
mov al, byte [ebx + 0x195e]
mov byte [ebx + 0x1960], al
mov eax, dword [ebx + 0x2b30]
movss dword [ebx + 0x1980], xmm0
mov dword [ebx + 0x1950], ecx
mov dword [ebx + 0x1954], 0
mov byte [ebx + 0x195f], 0
mov byte [ebx + 0x195c], 0
test eax, eax
je 0x417fce
cmp ecx, eax
je 0x417fce
mov dword [ebx + 0x2b30], 0
mov eax, dword [ebx + 0x1c48]
lea edi, [ebx + 0xc68]
movss xmm2, dword [0x7181a8]
mov ecx, 0x200
mov dword [ebx + 0x1c4c], eax
lea eax, [ebx + 0x468]
mov esi, eax
mov dword [ebx + 0x1c48], 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x1c44], 0x7f7fffff
xor ecx, ecx
mov byte [ebx + 0x1be5], 0
cmp byte [ebx + ecx + 0xf5], 0
je 0x418036
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x41802f
xorps xmm0, xmm0
jmp 0x418039
addss xmm0, dword [ebx + 0x18]
jmp 0x418039
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x418014
call fcn.00415f10
call fcn.0041ddc0
mov eax, dword [ebx + 0x2da4]
mov ecx, 0x78
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [ebx + eax*4 + 0x2bc4]
addss xmm0, dword [ebx + 0x2da8]
movss dword [ebx + 0x2da8], xmm0
movss dword [ebx + eax*4 + 0x2bc4], xmm1
xorps xmm1, xmm1
mov eax, dword [ebx + 0x2da4]
inc eax
movss xmm0, dword [ebx + 0x2da8]
cdq
idiv ecx
comiss xmm0, xmm1
mov dword [ebx + 0x2da4], edx
jbe 0x4180be
divss xmm0, dword [0x71817c]
movss xmm2, dword [0x717d94]
divss xmm2, xmm0
jmp 0x4180c6
movss xmm2, dword [0x718198]
movss dword [ebx + 0x374], xmm2
mov edx, dword [0x73e0d0]
mov ecx, dword [edx + 0x1984]
test ecx, ecx
je 0x4182bd
mov eax, dword [edx + 0x194c]
mov dword [edx + 0x1954], eax
cmp dword [edx + 0x1950], eax
jne 0x4180fd
mov byte [edx + 0x195f], 1
cmp byte [edx + 0xe0], 0
mov ecx, dword [ecx + 0x300]
mov esi, dword [0x73e0d0]
je 0x418266
lea eax, [edx + 0xd8]
test eax, eax
jne 0x418126
lea eax, [esi + 0xd8]
movss xmm0, dword [eax]
movss xmm2, dword [0x7181c8]
comiss xmm0, xmm2
jb 0x418266
movss xmm0, dword [eax + 4]
comiss xmm0, xmm2
jb 0x418266
movss xmm5, dword [edx + 0xd8]
subss xmm5, dword [edx + 0x1968]
movss xmm0, dword [ecx + 0xc]
movss xmm4, dword [edx + 0xdc]
subss xmm4, dword [edx + 0x196c]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x418189
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x418253
test dword [ecx + 8], 0x100
jne 0x4181a4
comiss xmm1, dword [esi + 0x2b80]
jb 0x4181a4
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2b80], eax
mov eax, dword [ecx + 0xac]
test al, 1
je 0x418253
and eax, 0xfffffff1
movss xmm2, dword [ecx + 0xc]
mov dword [ecx + 0xac], eax
movss xmm3, dword [ecx + 0x10]
cvttss2si eax, xmm5
mov dword [ecx + 0xb8], 0x7f7fffff
mov dword [ecx + 0xbc], 0x7f7fffff
movd xmm0, eax
cvttss2si eax, xmm4
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ecx + 0xc], xmm0
subss xmm0, xmm2
movss dword [ecx + 0x10], xmm1
subss xmm1, xmm3
addss xmm0, dword [ecx + 0xc8]
addss xmm1, dword [ecx + 0xcc]
movss dword [ecx + 0xc8], xmm0
movss dword [ecx + 0xcc], xmm1
movss xmm1, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0xc]
subss xmm1, xmm3
subss xmm0, xmm2
addss xmm1, dword [ecx + 0xe4]
addss xmm0, dword [ecx + 0xe0]
movss dword [ecx + 0xe4], xmm1
movss dword [ecx + 0xe0], xmm0
push dword [edx + 0x1984]
call fcn.0040f9c0
add esp, 4
jmp 0x4182f5
mov ecx, dword [esi + 0x194c]
test ecx, ecx
setne al
mov byte [esi + 0x195c], al
test ecx, ecx
je 0x41828c
mov dword [esi + 0x1958], 0
mov byte [esi + 0x195e], 0
mov dword [esi + 0x194c], 0
mov dword [esi + 0x1964], 0
mov byte [esi + 0x195d], 0
mov dword [esi + 0x1970], 0
mov dword [edx + 0x1984], 0
jmp 0x4182f5
mov ecx, dword [edx + 0x1970]
test ecx, ecx
je 0x4182f5
mov eax, dword [edx + 0x194c]
cmp dword [ecx + 0x4c], eax
jne 0x4182f5
mov dword [edx + 0x1954], eax
cmp dword [edx + 0x1950], eax
jne 0x4182e7
mov byte [edx + 0x195f], 1
cmp byte [edx + 0xe0], 0
jne 0x4182f5
call fcn.0040d0a0
call fcn.0041d260
mov eax, dword [0x73e0d0]
pop edi
mov edx, dword [eax + 0x19ac]
sub edx, 1
js 0x418337
mov eax, dword [eax + 0x19b4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop word [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x41832f
test dword [ecx + 8], 0x8000000
jne 0x418351
sub eax, 0x24
sub edx, 1
jns 0x418320
cmp dword [ebx + 0x1a6c], 0
je 0x418370
movss xmm0, dword [ebx + 0x1a7c]
comiss xmm0, dword [0x7180c8]
jbe 0x418370
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x718160]
addss xmm1, dword [ebx + 0x1b68]
minss xmm1, dword [0x717d94]
jmp 0x418391
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x71816c]
movss xmm1, dword [ebx + 0x1b68]
subss xmm1, xmm0
maxss xmm1, dword [0x7180c8]
movss dword [ebx + 0x1b68], xmm1
mov dword [ebx + 0x1be0], 0
mov dword [ebx + 0x2db4], 0xffffffff
mov dword [ebx + 0x2db0], 0xffffffff
mov dword [ebx + 0x2dac], 0xffffffff
mov dword [ebx + 0x2b6c], 0x3f800000
mov dword [ebx + 0x2b70], 0x3f800000
call fcn.0041e110
cmp dword [ebx + 0x194c], 0
jne 0x418480
mov ecx, dword [ebx + 0x1a30]
test ecx, ecx
je 0x418480
cmp byte [ecx + 0x76], 0
je 0x418480
test dword [ecx + 8], 0x40000
jne 0x418480
cmp byte [ebx + 0xf1], 0
jne 0x418480
mov edx, dword [0x73e0d0]
mov eax, dword [edx + 0x34]
test eax, eax
js 0x418480
movss xmm0, dword [edx + eax*4 + 0x468]
ucomiss xmm0, dword [0x7180c8]
lahf
test ah, 0x44
jp 0x418438
mov al, 1
jmp 0x41843a
xor al, al
test al, al
je 0x418480
cmp dword [ebx + 0x1a34], 0
je 0x41846f
mov eax, dword [ebx + 0x1a88]
cmp eax, 0x7fffffff
je 0x41846f
xor esi, esi
mov edx, 2
cmp byte [ebx + 0xf2], 0
cmovne edx, esi
add edx, eax
mov dword [ecx + 0x34c], edx
jmp 0x418480
movzx eax, byte [ebx + 0xf2]
neg eax
sbb eax, eax
mov dword [ecx + 0x34c], eax
xor edx, edx
mov dword [ebx + 0x1a88], 0x7fffffff
cmp dword [ebx + 0x18fc], edx
je 0x4184b4
mov eax, dword [ebx + 0x1904]
mov ecx, dword [eax + edx*4]
inc edx
mov al, byte [ecx + 0x76]
mov byte [ecx + 0x77], al
mov byte [ecx + 0x76], 0
mov byte [ecx + 0x78], 0
cmp edx, dword [ebx + 0x18fc]
jne 0x418494
mov eax, dword [ebx + 0x1a30]
test eax, eax
je 0x418511
cmp byte [eax + 0x77], 0
jne 0x418511
mov edx, dword [0x73e0d0]
mov eax, dword [edx + 0x18fc]
sub eax, 1
js 0x418511
mov edx, dword [edx + 0x1904]
nop dword [eax + eax]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x4184f6
cmp byte [ecx + 0x77], 0
je 0x4184f6
test dword [ecx + 8], 0x1000000
je 0x4184fd
sub eax, 1
jns 0x4184e0
jmp 0x418511
mov eax, dword [ecx + 0x30c]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.0040f9c0
add esp, 4
mov ecx, dword [ebx + 0x1918]
test ecx, ecx
jns 0x418537
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x1914]
call fcn.0041e930
mov dword [ebx + 0x1914], 0
mov ecx, dword [ebx + 0x19bc]
test ecx, ecx
jns 0x418567
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x19b8]
call fcn.0041e9c0
mov dword [ebx + 0x19b8], 0
push dword [ebx + 0x1a30]
call fcn.0040d4e0
mov eax, dword [0x73e0d0]
push 0
push 0
push str.DebugDefault
mov dword [eax + 0x19f0], 0x43c80000
mov dword [eax + 0x19f4], 0x43c80000
mov dword [eax + 0x19c8], 4
call fcn.00408db0
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret