Function at 0x413e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
fld dword [esp + 0x64]
push ebx
fsub qword [0x4297b0]
push ebp
push esi
lea eax, [esp + 0x18]
fstp dword [esp + 0x10]
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
fld dword [esp + 0x14]
fistp dword [eax]
fld dword [esp + 0x78]
fsub qword [0x4297b0]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x18]
fistp dword [eax]
fld dword [esp + 0x7c]
lea edx, [esp + 0x24]
fsub qword [0x4297b0]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x18]
fistp dword [eax]
fld dword [esp + 0x80]
lea eax, [esp + 0x40]
fsub qword [0x4297b0]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x18]
fistp dword [eax]
fld dword [esp + 0x84]
lea ecx, [esp + 0x44]
fsub qword [0x4297b0]
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x18]
fistp dword [eax]
fld dword [esp + 0x88]
lea edx, [esp + 0x48]
fsub qword [0x4297b0]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x18]
fistp dword [eax]
mov ecx, dword [esp + 0x40]
fldz
mov eax, dword [esp + 0x1c]
fld qword [0x429800]
or edx, 0xffffffff
cmp ecx, eax
jge 0x413f76
fld dword [esp + 0x74]
sub eax, ecx
fld st(0)
mov dword [esp + 0x64], edx
fisub dword [esp + 0x1c]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x58]
fsub dword [esp + 0x80]
fmul st(1)
fstp dword [esp + 0x4c]
jmp 0x413fba
je 0x413fae
lea esi, [eax + 1]
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
fld dword [esp + 0x74]
sub ecx, eax
fld st(0)
mov dword [esp + 0x64], 1
fsubp st(2)
mov dword [esp + 0x10], ecx
fxch st(1)
fstp dword [esp + 0x58]
fsubr dword [esp + 0x80]
fmul st(1)
fstp dword [esp + 0x4c]
jmp 0x413fba
fxch st(1)
fst dword [esp + 0x4c]
fst dword [esp + 0x58]
fxch st(1)
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jge 0x413fed
fld dword [esp + 0x78]
sub eax, ecx
add dword [esp + 0x10], eax
fld st(0)
fisub dword [esp + 0x20]
mov dword [esp + 0x68], edx
fstp dword [esp + 0x5c]
fsub dword [esp + 0x84]
fmul st(1)
fstp dword [esp + 0x50]
jmp 0x414031
je 0x414025
lea esi, [eax + 1]
mov dword [esp + 0x74], esi
fild dword [esp + 0x74]
fld dword [esp + 0x78]
sub ecx, eax
add dword [esp + 0x10], ecx
fld st(0)
fsubp st(2)
mov dword [esp + 0x68], 1
fxch st(1)
fstp dword [esp + 0x5c]
fsubr dword [esp + 0x84]
fmul st(1)
fstp dword [esp + 0x50]
jmp 0x414031
fxch st(1)
fst dword [esp + 0x50]
fst dword [esp + 0x5c]
fxch st(1)
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jge 0x414066
fstp st(1)
sub eax, ecx
fld dword [esp + 0x7c]
add dword [esp + 0x10], eax
fld st(0)
mov dword [esp + 0x6c], edx
fisub dword [esp + 0x24]
fstp dword [esp + 0x60]
fsub dword [esp + 0x88]
fmulp st(1)
fstp dword [esp + 0x54]
jmp 0x4140aa
je 0x4140a0
fstp st(1)
lea edx, [eax + 1]
mov dword [esp + 0x74], edx
fild dword [esp + 0x74]
fld dword [esp + 0x7c]
sub ecx, eax
add dword [esp + 0x10], ecx
fld st(0)
fsubp st(2)
mov dword [esp + 0x6c], 1
fxch st(1)
fstp dword [esp + 0x60]
fsubr dword [esp + 0x88]
fmulp st(1)
fstp dword [esp + 0x54]
jmp 0x4140aa
fstp st(0)
fst dword [esp + 0x54]
fstp dword [esp + 0x60]
fld dword [esp + 0x54]
lea eax, [esp + 0x28]
fmul dword [esp + 0x58]
mov dword [esp + 0x80], eax
fld dword [esp + 0x60]
fmul dword [esp + 0x4c]
fsubp st(1)
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x80]
fld dword [esp + 0x74]
fistp dword [eax]
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x74]
fld dword [esp + 0x4c]
fistp dword [eax]
fld dword [esp + 0x54]
fmul dword [esp + 0x5c]
lea edx, [esp + 0x2c]
fld dword [esp + 0x60]
mov dword [esp + 0x80], edx
fmul dword [esp + 0x50]
fsubp st(1)
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x80]
fld dword [esp + 0x74]
fistp dword [eax]
lea eax, [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
fld dword [esp + 0x50]
fistp dword [eax]
fld dword [esp + 0x5c]
fmul dword [esp + 0x4c]
lea ecx, [esp + 0x30]
fld dword [esp + 0x50]
mov dword [esp + 0x80], ecx
fmul dword [esp + 0x58]
fsubp st(1)
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x80]
fld dword [esp + 0x74]
fistp dword [eax]
lea edx, [esp + 0x3c]
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x74]
fld dword [esp + 0x54]
fistp dword [eax]
mov eax, dword [esp + 0x10]
cmp eax, 0x20
jle 0x41417d
mov dword [esp + 0x10], 0x20
jmp 0x414185
test eax, eax
je 0x414249
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
lea esp, [esp]
mov eax, esi
or eax, ebx
jl 0x4141c2
cmp edx, dword [esp + 0x48]
je 0x4141c2
add edx, dword [esp + 0x6c]
sub ebx, dword [esp + 0x34]
sub esi, dword [esp + 0x38]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
jmp 0x4141fa
test edi, edi
js 0x4141e6
cmp ebp, dword [esp + 0x40]
je 0x4141e6
add ebp, dword [esp + 0x64]
add ebx, dword [esp + 0x3c]
sub edi, dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], edi
jmp 0x4141fe
mov ecx, dword [esp + 0x68]
add dword [esp + 0x20], ecx
add esi, dword [esp + 0x3c]
add edi, dword [esp + 0x34]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x20]
and eax, 0x1ff
shl eax, 9
mov ecx, ebp
and ecx, 0x1ff
add eax, ecx
mov eax, dword [eax*4 + 0x4b82c0]
movzx ecx, byte [eax + 1]
cmp edx, ecx
jl 0x41423f
mov cl, byte [eax]
test cl, cl
je 0x414256
movzx ecx, cl
lea eax, [eax + ecx*4]
movzx ecx, byte [eax + 3]
cmp edx, ecx
jl 0x414256
movzx ecx, byte [eax + 1]
cmp edx, ecx
jge 0x414223
dec dword [esp + 0x10]
jne 0x4141a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret