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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb4
push ebx
push esi
mov esi, eax
fld dword [esi + 0x108]
xor dl, dl
fcomp dword [0x6bda00]
push edi
fnstsw ax
test ah, 0x41
jne 0x563954
mov eax, dword [esi + 0x10c]
test eax, eax
jne 0x563954
fld dword [0x6e30a8]
mov dl, 1
fmul dword [esi + 0x118]
fstp dword [esi + 0x118]
fld dword [esi + 0x118]
mov eax, dword [esi + 0x150]
fld dword [esi + 0x11c]
mov ecx, dword [esi + 0x18]
imul eax, eax, 0x94
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fstp dword [esp + 0x18]
fld dword [eax + 0x6e1b64]
mov eax, dword [esi + 0x20]
fmul dword [ecx + 0xc]
mov ecx, dword [eax + 0x3c0]
cmp ecx, 1
fmul dword [esi + 0x180]
fmul dword [esi + 0x17c]
fmul dword [esi + 0x178]
fmul dword [esi + 0x158]
fmul dword [0x6e2fc4]
fstp dword [esp + 0x1c]
jne 0x5639cb
mov ecx, esi
call fcn.00563390
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x563a13
fld dword [esp + 0x18]
fcomp dword [0x6bdb0c]
fnstsw ax
test ah, 0x41
jne 0x563a13
fld dword [esp + 0x1c]
fdiv dword [esp + 0x18]
fld dword [esi + 0x11c]
fld st(1)
fmul dword [esi + 0x118]
fstp dword [esi + 0x118]
fmul st(1)
fstp dword [esi + 0x11c]
fstp st(0)
jmp 0x563a29
test dl, dl
je 0x563a29
fld dword [esi + 0x118]
fdiv dword [0x6e30a8]
fstp dword [esi + 0x118]
fld dword [esp + 0x1c]
mov ecx, 0x3f800000
fcomp dword [0x6bdb0c]
fnstsw ax
test ah, 0x41
jne 0x563a5a
fld dword [esp + 0x18]
fdiv dword [esp + 0x1c]
fst dword [esi + 0x168]
fcomp dword [0x6bda18]
fnstsw ax
test ah, 0x41
jne 0x563a60
mov dword [esi + 0x168], ecx
mov al, byte [esi + 0x154]
test al, al
jne 0x563a74
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x563a7a
mov dword [esi + 0x168], ecx
mov al, byte [esi + 0x155]
test al, al
jne 0x563a8e
mov dword [esi + 0x168], 0
lea ebx, [esi + 0x70]
lea ecx, [esp + 0x80]
push ebx
push ecx
call fcn.00598550
lea edx, [esi + 0xf0]
push edx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xc0], 0
call fcn.00598540
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.00547140
movzx ecx, ax
mov dword [esp + 0x34], ecx
add esp, 0x1c
fild dword [esp + 0x18]
fmul dword [0x6bdbd8]
fcom dword [0x6bdbd4]
fnstsw ax
test ah, 0x41
jne 0x563b0f
fsub dword [0x6bdbd0]
fld dword [esp + 0x60]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 5
jp 0x563b39
fadd dword [0x6bdbd4]
fcom dword [0x6bdbd4]
fnstsw ax
test ah, 0x41
jne 0x563b39
fsub dword [0x6bdbd0]
fmul dword [0x6bdcb4]
call fcn.00666390
push eax
call fcn.00546ea0
fmul dword [esi + 0x11c]
fld dword [esp + 0x64]
add esp, 4
fabs
fcomp dword [0x6bda18]
fnstsw ax
test ah, 0x41
jne 0x563b7a
fmul dword [0x6bda38]
fsubr dword [esi + 0x118]
fstp dword [esi + 0x118]
jmp 0x563b7c
fstp st(0)
lea edx, [esp + 0x20]
push edx
call fcn.00598300
mov eax, dword [0x6e30a4]
add esp, 4
cmp eax, 1
jne 0x563c03
fld dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x90]
fstp dword [esp + 0x24]
fld dword [ebx + 8]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x28]
fld dword [ebx + 0xc]
mov dword [esp + 0x30], ecx
fstp dword [esp + 0x2c]
fld dword [esi + 0x84]
mov dword [esp + 0x40], edx
fstp dword [esp + 0x34]
fld dword [esi + 0x88]
fstp dword [esp + 0x38]
fld dword [esi + 0x8c]
fstp dword [esp + 0x3c]
fld dword [esi + 0x94]
fstp dword [esp + 0x44]
fld dword [esi + 0x98]
fstp dword [esp + 0x48]
fld dword [esi + 0x9c]
fstp dword [esp + 0x4c]
jmp 0x563d8b
cmp eax, 2
jne 0x563c94
fld dword [esi + 0x148]
lea edi, [esi + 0x140]
fmul dword [ebx + 8]
push ecx
fld dword [edi + 4]
lea eax, [esp + 0x24]
fmul dword [ebx + 4]
faddp st(1)
fld dword [ebx]
fmul dword [edi]
faddp st(1)
fchs
fstp dword [esp]
push edi
push ebx
push eax
call fcn.00599fc0
fld dword [edi + 8]
fmul dword [esi + 0x88]
lea eax, [esi + 0x80]
fld dword [edi + 4]
add esp, 0xc
fmul dword [eax + 4]
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0
faddp st(1)
fld dword [edi]
fmul dword [eax]
faddp st(1)
fchs
fstp dword [esp]
push edi
push eax
push ecx
call fcn.00599fc0
fld dword [edi + 4]
mov edx, dword [edi]
fstp dword [esp + 0x54]
fld dword [edi + 8]
add esp, 0x10
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], edx
jmp 0x563d7f
cmp eax, 3
jne 0x563d1d
fld dword [ebx + 8]
lea edi, [esi + 0x140]
fmul dword [edi + 8]
push ecx
fld dword [ebx + 4]
lea eax, [esp + 0x24]
fmul dword [edi + 4]
faddp st(1)
fld dword [ebx]
fmul dword [edi]
faddp st(1)
fchs
fstp dword [esp]
push edi
push ebx
push eax
call fcn.00599fc0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00599e10
fld dword [edi + 4]
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x60]
fld dword [edi + 8]
push edx
lea eax, [esp + 0x50]
fstp dword [esp + 0x68]
push eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x70], 0
call fcn.0059a0e0
add esp, 0x24
mov dword [esp + 0x3c], 0
jmp 0x563d8b
cmp eax, 4
jne 0x563d8b
fld dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [esi + 0x80]
mov eax, dword [esi + 0x140]
fstp dword [esp + 0x24]
fld dword [ebx + 8]
mov dword [esp + 0x20], ecx
fstp dword [esp + 0x28]
fld dword [ebx + 0xc]
mov dword [esp + 0x30], edx
fstp dword [esp + 0x2c]
fld dword [esi + 0x84]
mov dword [esp + 0x40], eax
fstp dword [esp + 0x34]
fld dword [esi + 0x88]
fstp dword [esp + 0x38]
fld dword [esi + 0x8c]
fstp dword [esp + 0x3c]
fld dword [esi + 0x144]
fstp dword [esp + 0x44]
fld dword [esi + 0x148]
fstp dword [esp + 0x48]
mov dword [esp + 0x4c], 0
mov ecx, dword [esi + 0x118]
mov edx, dword [esi + 0x11c]
mov eax, dword [esi + 0x158]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], edx
push ecx
lea edx, [esp + 0x24]
push edx
add esi, 0x120
push esi
mov dword [esp + 0x84], eax
call fcn.00598540
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4