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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
fld dword [eax]
mov ecx, dword [esi + 0x20]
fmul dword [eax + 0xc]
mov dword [esp + 0x38], ecx
fld dword [eax + 4]
mov ecx, dword [ebp + 0x18]
fmul dword [eax + 8]
xor edx, edx
cmp ecx, edx
push edi
fsubp st(1)
fdivr dword [0x1007d190]
fld st(0)
fmul dword [eax + 0xc]
fstp dword [esp + 0x7c]
fld st(0)
fmul dword [eax + 8]
fchs
fstp dword [esp + 0x84]
fld st(0)
fmul dword [eax + 4]
fchs
fstp dword [esp + 0x80]
fmul dword [eax]
fstp dword [esp + 0x88]
je 0x10060315
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
jmp 0x10060319
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov ecx, dword [ebp + 0x1c]
cmp ecx, edx
fstp dword [esp + 0x58]
je 0x1006032a
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fchs
fst dword [esp + 0x34]
fld dword [esp + 0x54]
fchs
fst dword [esp + 0x38]
fild dword [esp + 0x18]
fsub dword [esp + 0x58]
fst dword [esp + 0x18]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
fstp dword [esp + 0x2c]
fild dword [esp + 0x3c]
fsub dword [esp + 0x54]
fst dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fld dword [esp + 0x34]
fmul dword [eax]
fld dword [esp + 0x38]
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0x38]
fmul dword [eax + 0xc]
fld dword [esp + 0x34]
fmul dword [eax + 8]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x28]
fmul dword [eax]
fld dword [esp + 0x2c]
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x2c]
fmul dword [eax + 0xc]
fld dword [esp + 0x28]
fmul dword [eax + 8]
faddp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x1c]
fmul dword [eax]
fld dword [esp + 0x20]
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fmul dword [eax + 0xc]
fld dword [esp + 0x1c]
fmul dword [eax + 8]
faddp st(1)
fstp dword [esp + 0x2c]
fld st(1)
fmul dword [eax]
fld st(1)
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0x1c]
fmul dword [eax + 0xc]
fxch st(1)
fmul dword [eax + 8]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0xc]
fld dword [esp + 0x4c]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x10060425
fstp st(0)
fld dword [esp + 0x4c]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x10060438
fstp st(0)
fld dword [esp + 0x28]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x1006044b
fstp st(0)
fld dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
call fcn.1002575a
add esp, 8
call fcn.10022e28
fld dword [esp + 0x10]
fld dword [esp + 0x50]
mov edi, eax
fcomp dword [esp + 0x10]
mov dword [esp + 0x30], edi
fnstsw ax
test ah, 1
je 0x1006047d
fstp st(0)
fld dword [esp + 0x50]
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x10060490
fstp st(0)
fld dword [esp + 0x2c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x100604a3
fstp st(0)
fld dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
call fcn.1002575a
add esp, 8
call fcn.10022e28
fld dword [esp + 0xc]
fld dword [esp + 0x4c]
mov ebx, eax
fcomp dword [esp + 0xc]
mov dword [esp + 0x3c], ebx
fnstsw ax
test ah, 0x41
jne 0x100604d5
fstp st(0)
fld dword [esp + 0x4c]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100604e8
fstp st(0)
fld dword [esp + 0x28]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100604fb
fstp st(0)
fld dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
call fcn.10025829
add esp, 8
call fcn.10022e28
fld dword [esp + 0x10]
fld dword [esp + 0x50]
mov ecx, eax
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x10060529
fstp st(0)
fld dword [esp + 0x50]
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1006053c
fstp st(0)
fld dword [esp + 0x2c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1006054f
fstp st(0)
fld dword [esp + 0x20]
sub ecx, edi
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x64], ecx
call fcn.10025829
add esp, 8
call fcn.10022e28
sub eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1006057b
neg edi
mov edx, eax
mov dword [edx], edi
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x10060586
neg ebx
mov dword [eax], ebx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
push edi
mov dword [0x100d10e4], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [0x100d10e4]
push 0x100d10ec
push 0x100d10f4
mov dword [0x100d10d4], eax
mov edx, dword [ecx]
push 0x100d10dc
call dword [edx + 0x24]
mov eax, dword [0x100d10ec]
dec eax
cmp eax, 6
mov esi, 3
mov ebx, 2
ja case.default.0x100605d1
jmp dword [eax*4 + 0x10060d38]
mov dword [0x100d10d0], ebx
jmp 0x100605fe
mov dword [0x100d10d0], esi
jmp 0x100605fe
mov dword [0x100d10d0], 4
jmp 0x100605fe
mov dword [0x100d10d0], 0
cmp eax, 6
ja case.0x10060603.4
jmp dword [eax*4 + 0x10060d54]
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shr eax, 3
and eax, 0x1f0000
mov edx, ecx
and edx, 0xfc00
or eax, edx
shr eax, 2
and ecx, 0xf8
or eax, ecx
shr eax, 3
jmp 0x10060662
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shr eax, 3
and eax, 0x1f0000
mov edx, ecx
and edx, 0xf800
or eax, edx
shr eax, 3
and ecx, 0xf8
or eax, ecx
shr eax, 3
jmp 0x10060662
mov eax, dword [ebp + 0x14]
jmp 0x10060662
mov eax, 0xffff00ff
mov ecx, dword [0x100d10d4]
push 0x100d10cc
push 0x100d10e8
mov dword [0x100d10f0], eax
mov eax, dword [ecx]
push 0x100d10e0
call dword [eax + 0x24]
mov ecx, dword [0x100d10cc]
lea eax, [ecx - 1]
cmp eax, 6
ja case.default.0x1006068f
jmp dword [eax*4 + 0x10060d70]
mov dword [0x100d10d8], ebx
jmp 0x100606bc
mov dword [0x100d10d8], esi
jmp 0x100606bc
mov dword [0x100d10d8], 4
jmp 0x100606bc
mov dword [0x100d10d8], 0
test edi, edi
fild dword [esp + 0x3c]
mov dword [esp + 0x14], 0
fadd dword [0x1007d180]
fstp dword [esp + 0x38]
jle 0x10060d11
fild dword [esp + 0x30]
fadd dword [0x1007d180]
fstp dword [esp + 0x78]
mov eax, dword [esp + 0x5c]
test eax, eax
mov edx, dword [esp + 0x78]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], 0
jle 0x10060cee
fld dword [esp + 0x38]
fmul dword [esp + 0x80]
fstp dword [esp + 0x8c]
fld dword [esp + 0x38]
fmul dword [esp + 0x88]
fstp dword [esp + 0x1c]
fld dword [esp + 0x34]
mov al, byte [ebp + 0x10]
test al, al
fmul dword [esp + 0x7c]
fadd dword [esp + 0x8c]
fld dword [esp + 0x34]
fmul dword [esp + 0x84]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x94]
fadd dword [esp + 0x58]
je 0x10060b0d
fsub dword [0x1007d180]
sub esp, 8
fstp dword [esp + 0x48]
fld dword [esp + 0x9c]
fadd dword [esp + 0x5c]
fsub dword [0x1007d180]
fstp dword [esp + 0x4c]
fld dword [esp + 0x48]
fstp qword [esp]
call fcn.1002575a
fstp dword [esp + 0x50]
fld dword [esp + 0x4c]
fstp qword [esp]
call fcn.1002575a
fld dword [esp + 0x50]
add esp, 8
call fcn.10022e28
fld st(0)
mov edi, eax
mov dword [esp + 0x4c], edi
call fcn.10022e28
fld dword [esp + 0x40]
fsub dword [esp + 0x48]
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
fstp dword [esp + 0x48]
fld dword [esp + 0x44]
mov dword [esp + 0x44], ecx
mov ecx, eax
fsub st(1)
imul ecx, dword [0x100d10f4]
fstp dword [esp + 0x40]
fstp st(0)
mov dword [esp + 0x60], ecx
jmp 0x100607f3
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
add edx, eax
mov eax, dword [esp + 0x44]
mov ebx, edi
imul edi, dword [0x100d10d0]
mov dword [esp + 0xc], edx
mov dword [esp + 0x30], 2
test ebx, ebx
jl 0x100608ea
mov edx, dword [0x100d10e4]
cmp ebx, dword [edx + 0x1c]
jge 0x100608ea
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x100608ea
cmp ecx, dword [edx + 0x20]
jge 0x100608ea
mov ecx, dword [esp + 0x60]
mov edx, dword [0x100d10ec]
lea esi, [ecx + edi]
add esi, dword [0x100d10dc]
lea ecx, [edx - 1]
cmp ecx, 6
ja case.0x1006085d.5
jmp dword [ecx*4 + 0x10060d8c]
xor edx, edx
mov dx, word [esi]
mov ecx, edx
and ecx, 0xfffff800
or ecx, 0xffff0000
shl ecx, 3
mov esi, edx
and esi, 0x7e0
or ecx, esi
shl ecx, 2
and edx, 0x1f
or ecx, edx
shl ecx, 3
jmp 0x100608f0
xor edx, edx
mov dx, word [esi]
mov ecx, edx
and ecx, 0xfffffc00
or ecx, 0xffff8000
shl ecx, 3
mov esi, edx
and esi, 0x3e0
or ecx, esi
shl ecx, 3
and edx, 0x1f
or ecx, edx
shl ecx, 3
jmp 0x100608f0
xor ecx, ecx
mov cl, byte [esi + 2]
xor edx, edx
mov dx, word [esi]
or ecx, 0xffffff00
shl ecx, 0x10
or ecx, edx
jmp 0x100608f0
mov ecx, dword [esi]
or ecx, 0xff000000
jmp 0x100608f0
mov ecx, dword [esi]
jmp 0x100608f0
mov ecx, 0xffff00ff
jmp 0x100608f0
mov ecx, dword [0x100d10f0]
mov dword [eax], ecx
add edi, dword [0x100d10d0]
mov ecx, dword [esp + 0x30]
inc ebx
add eax, 8
dec ecx
mov dword [esp + 0x30], ecx
jne 0x10060812
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x44]
mov ecx, dword [0x100d10f4]
inc eax
add esi, ecx
add edx, 4
cmp eax, 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], edx
jl 0x100607eb
fld dword [0x1007d190]
mov edx, dword [esp + 0x73]
fsub dword [esp + 0x40]
mov eax, dword [esp + 0x6b]
fld dword [0x1007d190]
mov ecx, dword [esp + 0x6f]
fsub dword [esp + 0x48]
and edx, 0xff
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x67]
fst dword [esp + 0x30]
and eax, 0xff
fmul st(1)
and ecx, 0xff
and edx, 0xff
fstp dword [esp + 0x24]
fmul dword [esp + 0x48]
fld dword [esp + 0x40]
fmul dword [esp + 0x30]
fld dword [esp + 0x40]
fmul dword [esp + 0x48]
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fmul st(1)
fild dword [esp + 0xc]
mov dword [esp + 0xc], ecx
fmul st(3)
faddp st(1)
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
fmul st(4)
faddp st(1)
fild dword [esp + 0xc]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [0x1007d180]
call fcn.10022e28
mov ecx, dword [esp + 0x6a]
mov edx, dword [esp + 0x6e]
mov esi, eax
mov eax, dword [esp + 0x72]
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov eax, dword [esp + 0x66]
and ecx, 0xff
fmul st(1)
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
and edx, 0xff
mov dword [esp + 0xc], edx
and eax, 0xff
fmul st(3)
shl esi, 8
faddp st(1)
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fmul st(4)
faddp st(1)
fild dword [esp + 0xc]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [0x1007d180]
call fcn.10022e28
mov ecx, dword [esp + 0x71]
mov edx, dword [esp + 0x69]
and ecx, 0xff
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
and edx, 0xff
mov dword [esp + 0xc], edx
fmul st(1)
or esi, eax
fild dword [esp + 0xc]
mov eax, dword [esp + 0x6d]
shl esi, 8
and eax, 0xff
fmul st(3)
faddp st(1)
mov ecx, dword [esp + 0x65]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
and ecx, 0xff
mov dword [esp + 0xc], ecx
fmul st(4)
faddp st(1)
fild dword [esp + 0xc]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [0x1007d180]
call fcn.10022e28
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
and edx, 0xff
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
mov edx, dword [esp + 0x64]
or esi, eax
mov eax, dword [esp + 0x68]
fmul st(1)
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
and ecx, 0xff
mov dword [esp + 0xc], ecx
fmul st(3)
and edx, 0xff
shl esi, 8
faddp st(1)
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
fmul st(4)
faddp st(1)
fild dword [esp + 0xc]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [0x1007d180]
call fcn.10022e28
fstp st(0)
fstp st(0)
or esi, eax
fstp st(0)
jmp 0x10060c19
sub esp, 8
fstp qword [esp]
call fcn.1002575a
call fcn.10022e28
fld dword [esp + 0x9c]
fadd dword [esp + 0x5c]
mov esi, eax
fstp qword [esp]
call fcn.1002575a
add esp, 8
call fcn.10022e28
test esi, esi
jl 0x10060c12
mov ecx, dword [0x100d10e4]
cmp esi, dword [ecx + 0x1c]
jge 0x10060c12
test eax, eax
jl 0x10060c12
cmp eax, dword [ecx + 0x20]
jge 0x10060c12
imul esi, dword [0x100d10d0]
imul eax, dword [0x100d10f4]
mov ecx, dword [0x100d10dc]
add ecx, esi
add eax, ecx
mov edx, eax
mov eax, dword [0x100d10ec]
dec eax
cmp eax, 6
ja case.0x10060b8b.5
jmp dword [eax*4 + 0x10060da8]
xor ecx, ecx
mov cx, word [edx]
mov eax, ecx
and eax, 0xfffff800
or eax, 0xffff0000
shl eax, 3
mov edx, ecx
and edx, 0x7e0
or eax, edx
shl eax, 2
and ecx, 0x1f
or eax, ecx
shl eax, 3
jmp 0x10060c17
xor ecx, ecx
mov cx, word [edx]
mov eax, ecx
and eax, 0xfffffc00
or eax, 0xffff8000
shl eax, 3
mov edx, ecx
and edx, 0x3e0
or eax, edx
shl eax, 3
and ecx, 0x1f
or eax, ecx
shl eax, 3
jmp 0x10060c17
xor eax, eax
mov al, byte [edx + 2]
xor ecx, ecx
mov cx, word [edx]
or eax, 0xffffff00
shl eax, 0x10
or eax, ecx
jmp 0x10060c17
mov eax, dword [edx]
or eax, 0xff000000
jmp 0x10060c17
mov eax, dword [edx]
jmp 0x10060c17
mov eax, 0xffff00ff
jmp 0x10060c17
mov eax, dword [0x100d10f0]
mov esi, eax
mov edx, dword [esp + 0x3c]
test edx, edx
jl case.0x10060c6f.5
mov ecx, dword [0x100d10d4]
cmp edx, dword [ecx + 0x1c]
jge case.0x10060c6f.5
mov eax, dword [esp + 0x14]
test eax, eax
jl case.0x10060c6f.5
cmp eax, dword [ecx + 0x20]
jge case.0x10060c6f.5
imul eax, dword [0x100d10e8]
mov edi, dword [0x100d10e0]
mov ecx, edx
imul ecx, dword [0x100d10d8]
add edi, ecx
mov ecx, dword [0x100d10cc]
add eax, edi
dec ecx
cmp ecx, 6
ja case.0x10060c6f.5
jmp dword [ecx*4 + 0x10060dc4]
mov ecx, esi
mov edi, esi
shr ecx, 5
shr edi, 3
and ecx, 0x7e0
and edi, 0x1f
shr esi, 8
or ecx, edi
and esi, 0xf800
or ecx, esi
mov word [eax], cx
jmp case.0x10060c6f.5
mov ecx, esi
mov edi, esi
shr ecx, 6
shr edi, 3
and ecx, 0x3e0
and edi, 0x1f
shr esi, 9
or ecx, edi
and esi, 0x7c00
or ecx, esi
mov word [eax], cx
jmp case.0x10060c6f.5
mov ecx, esi
shr ecx, 0x10
mov word [eax], si
mov byte [eax + 2], cl
jmp case.0x10060c6f.5
mov dword [eax], esi
fld dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
fadd dword [0x1007d190]
inc edx
cmp edx, eax
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x34]
jl 0x10060725
fld dword [esp + 0x38]
mov eax, dword [esp + 0x14]
fadd dword [0x1007d190]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
fstp dword [esp + 0x38]
mov dword [esp + 0x14], eax
jl 0x100606e8
mov ecx, dword [0x100d10d4]
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [0x100d10e4]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [0x100d10d4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18