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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006ecfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
test eax, eax
mov eax, dword [ebx + 0x1c]
push edi
je 0x10016415
mov edi, dword [eax + 0x78]
jmp 0x10016418
mov edi, dword [eax + 0x74]
fld qword [eax + 0x10]
fmul qword [eax + 0x28]
fld qword [eax + 0x20]
fmul qword [eax + 0x18]
mov esi, dword [ebp + 8]
fsubp st(1)
fdivr qword [0x10071148]
fld st(0)
fmul qword [eax + 0x28]
fld st(1)
fmul qword [eax + 0x18]
fchs
fstp qword [esp + 0x98]
fld st(1)
fmul qword [eax + 0x20]
fchs
fld st(2)
fmul qword [eax + 0x10]
fstp qword [esp + 0xa8]
fld qword [eax + 0x38]
fmul qword [eax + 0x20]
fld qword [eax + 0x30]
fmul qword [eax + 0x28]
fsubp st(1)
fmul st(3)
fld qword [eax + 0x30]
fmul qword [eax + 0x18]
fld qword [eax + 0x10]
fmul qword [eax + 0x38]
fsubp st(1)
fmul st(4)
fstp qword [esp + 0xb8]
fld qword [esi + 0x58]
fmul qword [ebx + 0x40]
fld qword [esi + 0x50]
fmul qword [ebx + 0x30]
faddp st(1)
fstp qword [esp + 0x58]
fld qword [esi + 0x58]
fmul qword [ebx + 0x48]
fld qword [esi + 0x50]
fmul qword [ebx + 0x38]
faddp st(1)
fstp qword [esp + 0x60]
fld qword [esi + 0x68]
fmul qword [ebx + 0x40]
fld qword [esi + 0x60]
fmul qword [ebx + 0x30]
faddp st(1)
fstp qword [esp + 0x68]
fld qword [esi + 0x68]
fmul qword [ebx + 0x48]
fld qword [esi + 0x60]
fmul qword [ebx + 0x38]
faddp st(1)
fstp qword [esp + 0x70]
fld qword [esi + 0x78]
fmul qword [ebx + 0x40]
fld qword [esi + 0x70]
fmul qword [ebx + 0x30]
faddp st(1)
fadd qword [ebx + 0x50]
fstp qword [esp + 0x78]
fld qword [esi + 0x78]
fmul qword [ebx + 0x48]
fld qword [esi + 0x70]
fmul qword [ebx + 0x38]
faddp st(1)
fadd qword [ebx + 0x58]
fstp qword [esp + 0x80]
fld qword [esp + 0x60]
fmul st(2)
fld qword [esp + 0x58]
fmul st(4)
faddp st(1)
fstp qword [esp + 0xd0]
fld qword [esp + 0x60]
fmul qword [esp + 0xa8]
fld qword [esp + 0x58]
fmul qword [esp + 0x98]
mov ecx, ebx
faddp st(1)
fstp qword [esp + 0xd8]
fld qword [esp + 0x70]
fmul st(2)
fld qword [esp + 0x68]
fmul st(4)
faddp st(1)
fstp qword [esp + 0xe0]
fld qword [esp + 0x70]
fmul qword [esp + 0xa8]
fld qword [esp + 0x68]
fmul qword [esp + 0x98]
faddp st(1)
fstp qword [esp + 0xe8]
fld qword [esp + 0x80]
fmul st(2)
fld qword [esp + 0x78]
fmul st(4)
faddp st(1)
fadd st(1)
fstp qword [esp + 0xf0]
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fld qword [esp + 0x80]
fmul qword [esp + 0xa8]
fld qword [esp + 0x78]
fmul qword [esp + 0x98]
faddp st(1)
fadd qword [esp + 0xb8]
fstp qword [esp + 0xf8]
fld qword [esp + 0x70]
fmul qword [esp + 0x58]
fld qword [esp + 0x68]
fmul qword [esp + 0x60]
fsubp st(1)
fdivr qword [0x10071148]
fld qword [esp + 0x70]
fmul st(1)
fstp qword [esp + 0x90]
fld qword [esp + 0x60]
fmul st(1)
fchs
fstp qword [esp + 0x98]
fld qword [esp + 0x68]
fmul st(1)
fchs
fstp qword [esp + 0xa0]
fld qword [esp + 0x58]
fmul st(1)
fstp qword [esp + 0xa8]
fld qword [esp + 0x80]
fmul qword [esp + 0x68]
fld qword [esp + 0x78]
fmul qword [esp + 0x70]
fsubp st(1)
fmul st(1)
fstp qword [esp + 0xb0]
fld qword [esp + 0x78]
fmul qword [esp + 0x60]
fld qword [esp + 0x80]
fmul qword [esp + 0x58]
fsubp st(1)
fmul st(1)
fstp qword [esp + 0xb8]
fstp st(0)
call fcn.1001ecb0
mov ecx, dword [ebx + 0x1c]
push 0
mov dword [esp + 0xd0], eax
call fcn.1002c800
mov ecx, dword [ebx + 0x1c]
push 0
call fcn.1002c830
mov eax, dword [esi + 8]
cmp eax, 2
jne 0x100166ce
mov edi, dword [edi + 8]
test edi, edi
je 0x100166ce
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebx + 0x1c]
push eax
call fcn.1002c7a0
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x6c]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [ebx + 0x1c]
push eax
call fcn.1002c7d0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x70]
mov eax, dword [ebx + 0x1c]
mov ecx, 0x20
lea esi, [eax + 0x7c]
lea edi, [eax + 0xfc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x78]
mov esi, dword [ebp + 8]
jmp 0x10016759
push 8
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x10c], 0
je 0x100166f4
mov ecx, eax
call fcn.10022740
jmp 0x100166f6
xor eax, eax
mov ecx, dword [ebx + 0x1c]
or edi, 0xffffffff
push eax
mov dword [esp + 0x110], edi
call fcn.1002c7a0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x6c]
push 8
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x10c], 1
je 0x1001673b
mov ecx, eax
call fcn.10022740
jmp 0x1001673d
xor eax, eax
mov ecx, dword [ebx + 0x1c]
push eax
mov dword [esp + 0x110], edi
call fcn.1002c7d0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x70]
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, edi
jne 0x100167a2
mov eax, dword [ebx + 0x1c]
mov dword [eax + 0x1b8], edi
mov dword [eax + 0x1bc], edi
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x64]
cmp dword [ebp + 0x14], edi
jne 0x100167c1
mov ecx, dword [ebx + 0x1c]
call fcn.1002c930
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 8]
cmp eax, edi
mov eax, dword [ebx + 0x1c]
mov edx, dword [ecx]
push eax
je 0x100167bb
call dword [edx + 0xe4]
jmp 0x100167c1
mov ecx, dword [ebx + 0x1c]
call fcn.1002cb10
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0xe8]
jmp 0x100167c1
call dword [edx + 0xe0]
mov ecx, dword [ebx + 0x1c]
call fcn.1002c8e0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x278]
mov edx, dword [eax + 0x27c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x280]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x284]
fld qword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x288]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x28c]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x290]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x294]
fcomp qword [esp + 0x50]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fnstsw ax
and eax, 0x4100
je 0x10016d06
fld qword [esp + 0x30]
fcomp qword [esp + 0x38]
fnstsw ax
and eax, 0x4100
je 0x10016d06
fld qword [esp + 0x30]
fmul qword [esp + 0xa0]
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [esp + 0x90]
fst qword [esp + 0x48]
fadd qword [esp + 0x88]
fadd qword [esp + 0xb0]
fst qword [esp + 0x20]
fld qword [esp + 0x30]
fmul qword [esp + 0xa8]
fstp qword [esp + 0xc0]
fld qword [esp + 0x10]
fmul qword [esp + 0x98]
fld qword [esp + 0xc0]
fadd st(1)
fadd qword [esp + 0xb8]
fstp qword [esp + 0x28]
fld qword [esp + 0x38]
fmul qword [esp + 0xa0]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
fst qword [esp + 0x40]
fadd qword [esp + 0x48]
fadd qword [esp + 0xb0]
fstp qword [esp + 0x18]
fld qword [esp + 0x38]
fmul qword [esp + 0xa8]
fst qword [esp + 0x38]
fadd st(1)
fadd qword [esp + 0xb8]
fstp qword [esp + 0x10]
fstp st(0)
fld qword [esp + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x1001690d
fstp st(0)
fld qword [esp + 0x18]
jmp 0x1001692e
fld qword [esp + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
and eax, 0x4100
jne 0x1001692e
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
fld qword [esp + 0x10]
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 5
jp 0x1001694f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x10016970
fld qword [esp + 0x10]
fcomp qword [esp + 0x28]
fnstsw ax
and eax, 0x4100
jne 0x10016970
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
fld qword [esp + 0x50]
fmul qword [esp + 0x90]
fst qword [esp + 0x48]
fadd qword [esp + 0x88]
fadd qword [esp + 0xb0]
fstp qword [esp + 0x18]
fld qword [esp + 0x50]
fmul qword [esp + 0x98]
fst qword [esp + 0x88]
fadd qword [esp + 0xc0]
fadd qword [esp + 0xb8]
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x100169ca
fstp st(0)
fld qword [esp + 0x18]
jmp 0x100169eb
fld qword [esp + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
and eax, 0x4100
jne 0x100169eb
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
fld qword [esp + 0x10]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x10016a0c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x10016a2d
fld qword [esp + 0x10]
fcomp qword [esp + 0x28]
fnstsw ax
and eax, 0x4100
jne 0x10016a2d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
fld qword [esp + 0x48]
fadd qword [esp + 0x40]
fadd qword [esp + 0xb0]
fstp qword [esp + 0x18]
fld qword [esp + 0x88]
fadd qword [esp + 0x38]
fadd qword [esp + 0xb8]
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x10016a6b
fstp st(0)
fld qword [esp + 0x18]
jmp 0x10016a8c
fld qword [esp + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
and eax, 0x4100
jne 0x10016a8c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
fld qword [esp + 0x10]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x10016aad
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x10016ace
fld qword [esp + 0x10]
fcomp qword [esp + 0x28]
fnstsw ax
and eax, 0x4100
jne 0x10016ace
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
fld qword [esi + 0x30]
fabs
fstp qword [esp + 0x48]
fld qword [esi + 0x38]
fabs
fstp qword [esp + 0x50]
fld qword [0x10071148]
fdiv qword [esp + 0x48]
sub esp, 8
fstp qword [esp + 0x48]
fsub qword [esi + 0x20]
fmul qword [esp + 0x48]
fstp qword [esp]
call fcn.10061bc0
call fcn.10061a70
fld qword [esp + 0x28]
fsub qword [esi + 0x10]
mov dword [esp + 0x20], eax
fmul qword [esp + 0x48]
fstp qword [esp]
call fcn.100611fe
call fcn.10061a70
fld qword [0x10071148]
fdiv qword [esp + 0x58]
inc eax
mov dword [esp + 0x40], eax
fstp qword [esp + 0x48]
fld qword [esp + 0x38]
fsub qword [esi + 0x28]
fmul qword [esp + 0x48]
fstp qword [esp]
call fcn.10061bc0
call fcn.10061a70
fld qword [esp + 0x30]
fsub qword [esi + 0x18]
mov dword [esp + 0x28], eax
fmul qword [esp + 0x48]
fstp qword [esp]
call fcn.100611fe
add esp, 8
call fcn.10061a70
mov ecx, 8
lea esi, [esp + 0xd0]
lea edi, [esp + 0x58]
inc eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x28], eax
mov edx, dword [ecx]
call dword [edx + 0xc]
test eax, eax
je 0x10016c25
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xfc]
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
cmp dword [eax + 0x40], 7
jne 0x10016bd2
mov edx, dword [eax + 0x48]
jmp 0x10016bd4
xor edx, edx
mov esi, dword [esp + 0x54]
mov ecx, dword [ebx + 8]
push esi
mov esi, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x34]
push esi
lea esi, [eax + 0x10]
push esi
lea esi, [esp + 0x7c]
mov edi, dword [ecx]
push esi
push edx
mov edx, dword [eax + 8]
add eax, 0x80
push edx
push eax
mov eax, dword [ebx + 0x1c]
push ebx
push eax
call dword [edi + 0xd0]
jmp 0x10016d06
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x20], eax
jge 0x10016d06
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp edi, eax
mov dword [esp + 0x10], edi
jge 0x10016cf1
fild dword [esp + 0x20]
mov esi, dword [ebp + 8]
fmul qword [esp + 0x50]
fld qword [esp + 0xe0]
fmul st(1)
fstp qword [esp + 0x40]
fmul qword [esp + 0xe8]
fstp qword [esp + 0xc0]
fild dword [esp + 0x10]
cmp dword [esi + 0x40], 7
fmul qword [esp + 0x48]
fld qword [esp + 0xd0]
fmul st(1)
fadd qword [esp + 0x40]
fadd qword [esp + 0xf0]
fstp qword [esp + 0x78]
fmul qword [esp + 0xd8]
fadd qword [esp + 0xc0]
fadd qword [esp + 0xf8]
fstp qword [esp + 0x80]
jne 0x10016cba
mov ecx, dword [esi + 0x48]
jmp 0x10016cbc
xor ecx, ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esi + 0x10]
push 0
lea edx, [esp + 0x78]
push eax
push edx
lea eax, [esi + 0x80]
push ecx
push eax
mov ecx, ebx
call fcn.1001d9c0
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x10016c73
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x10016c39
mov eax, dword [esp + 0xcc]
mov ecx, ebx
push eax
call fcn.1001ed50
mov ecx, dword [esp + 0x104]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10