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

Disassembly:
sub esp, 0x538
push ebx
mov ebx, ecx
fld dword [ebx + 0x24]
push ebp
fsub dword [ebx + 0x98]
push esi
push edi
mov edi, dword [ebx + 0x2c]
fstp dword [0x1afa7cc]
or esi, 0xffffffff
fld dword [ebx + 0x94]
neg edi
fmul qword [0x7be5b0]
sbb edi, edi
and edi, 0x20
add edi, 0x20
fadd dword [ebx + 0x9c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], edi
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
call fcn.0074fb40
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [ebx + 0x90]
fmul qword [0x7be5b0]
fadd dword [ebx + 0x9c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
call fcn.0074fb40
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x20]
fmul dword [ebx + 0xc4]
fadd dword [ebx + 0x24]
fstp dword [0x1afa7d0]
fld dword [ebx + 0x98]
fld dword [0x1afa7d0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x561782
lea eax, [esi + 2]
jmp 0x561784
xor eax, eax
test al, al
mov ecx, dword [esp + 0x54c]
mov byte [ecx], al
je 0x5617b9
fld dword [ebx + 0x94]
sub esp, 8
fstp dword [esp + 4]
mov ecx, ebx
fld dword [ebx + 0x90]
fstp dword [esp]
call fcn.0055f390
test eax, eax
je 0x5617b9
mov eax, 1
jmp 0x5617bb
xor eax, eax
mov edx, dword [esp + 0x550]
mov byte [edx], al
xor eax, eax
mov dword [0x1afa7dc], eax
mov dword [0x1afa7f0], eax
mov eax, dword [0x1afa7e0]
mov dword [0x1afa7e4], eax
fild dword [ebx + 0x11c]
mov ecx, dword [ebx + 0x11c]
test ecx, ecx
jge 0x5617f0
fadd dword [0x7bb540]
fstp dword [esp + 0x1c]
fld dword [ebx + 0x90]
fld dword [esp + 0x1c]
fld st(0)
fdivp st(2)
fxch st(1)
call fcn.0074d900
fdivr dword [ebx + 0x94]
mov ebp, eax
call fcn.0074d900
fldz
fcom dword [ebx + 0x90]
mov ecx, eax
fnstsw ax
test ah, 0x41
jne 0x56182a
sub ebp, 1
fcomp dword [ebx + 0x94]
fnstsw ax
test ah, 0x41
jne 0x56183a
sub ecx, 1
lea eax, [ecx - 1]
add ecx, 1
cmp eax, ecx
mov dword [esp + 0x28], eax
jg 0x561c86
sub ecx, dword [esp + 0x28]
lea eax, [ebp - 1]
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x28]
imul ebp, edi
add ecx, 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], ecx
cmp eax, edx
jg 0x5619f0
mov ecx, dword [ebx + 0x120]
fild dword [ebx + 0x120]
test ecx, ecx
jge 0x56188e
fadd dword [0x7bb540]
fstp dword [esp + 0x20]
mov ecx, dword [ebx + 0x11c]
test ecx, ecx
fild dword [ebx + 4]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(1)
fstp qword [esp + 0x40]
fimul dword [ebx + 8]
fild dword [esp + 0x10]
fmul dword [ebx + 0x15c]
faddp st(1)
fstp dword [esp + 0x2c]
fild dword [ebx + 0x11c]
jge 0x5618cc
fadd dword [0x7bb540]
fstp dword [esp + 0x28]
mov ebp, eax
fld dword [esp + 0x28]
imul ebp, edi
fld dword [esp + 0x2c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x18]
mov edi, edx
sub edi, eax
lea esi, [esi + esi*4]
add edi, 1
add dword [esp + 0x24], edi
mov dword [esp + 0x20], ebp
lea esi, [esp + esi*8 + 0x4c]
jmp 0x561904
fld dword [esp + 0x2c]
fild dword [esp + 0x20]
add esi, 0x28
mov edx, dword [esp + 0x10]
sub esp, 0xc
fmul dword [ebx + 0x15c]
xor eax, eax
mov ecx, ebx
mov dword [esi - 4], eax
fadd qword [esp + 0x4c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebp
fstp dword [esp + 0x2c]
mov dword [esi + 0xc], edx
fld dword [esp + 0x2c]
fst dword [esi + 0x10]
fxch st(1)
fst dword [esi + 0x14]
fld dword [esp + 0x34]
fadd st(2)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esi + 0x18]
fld dword [esp + 0x24]
fstp dword [esi + 0x1c]
fld dword [ebx + 0x24]
fstp dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0055f480
fld dword [ebx + 0x24]
sub esp, 0xc
fstp dword [esp + 8]
mov byte [esi + 0x20], al
fld dword [esp + 0x38]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.0055f480
fld dword [ebx + 0x24]
sub esp, 0xc
fstp dword [esp + 8]
mov byte [esi + 0x21], al
fld dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.0055f480
fld dword [ebx + 0x24]
sub esp, 0xc
fstp dword [esp + 8]
mov byte [esi + 0x22], al
fld dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.0055f480
add ebp, dword [esp + 0x34]
sub edi, 1
mov byte [esi + 0x23], al
mov dword [esp + 0x20], ebp
jne 0x561900
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
add dword [esp + 0x10], edi
sub dword [esp + 0x1c], 1
jne 0x561870
test esi, esi
jl 0x561c86
lea eax, [esi + esi*4]
add eax, eax
add eax, eax
add eax, eax
lea ecx, [esp + eax + 0xc0]
mov dword [esp + 0x10], ecx
lea edx, [esp + eax + 0x98]
lea ecx, [esp + eax + 0x70]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
lea ebp, [esp + eax + 0x48]
mov cl, byte [ebp + 0x25]
mov dl, byte [ebp + 0x24]
mov al, byte [ebp + 0x27]
and dl, cl
and dl, byte [ebp + 0x26]
test al, dl
je 0x561a63
mov eax, 0x28
sub dword [esp + 0x14], eax
sub dword [esp + 0x18], eax
sub esi, 1
sub ebp, eax
sub dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
jmp 0x561c7e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0055e480
test eax, eax
jne 0x561a44
cmp edi, 5
jne 0x561a89
push ebp
mov ecx, ebx
call fcn.00561230
jmp 0x561a44
mov cl, byte [ebp + 0x25]
mov al, byte [ebp + 0x24]
or al, cl
or al, byte [ebp + 0x26]
or al, byte [ebp + 0x27]
jne 0x561ab7
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 4]
push eax
push edi
mov ecx, ebx
call fcn.0055e4c0
test eax, eax
je 0x561ab7
push ebp
mov ecx, ebx
call fcn.00561230
jmp 0x561a44
mov eax, dword [ebp + 4]
fld dword [ebx + 0x15c]
lea edx, [eax + eax]
mov eax, dword [ebp + 8]
lea ecx, [edi + 1]
mov edi, dword [esp + 0x14]
add eax, eax
mov dword [ebp + 8], eax
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov eax, 0x20
sar eax, cl
mov ecx, 0xa
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov edi, eax
fimul dword [esp + 0x2c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov esi, eax
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
fld dword [ebp + 0x14]
fadd st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [ebp + 0x1c]
fld dword [ebp + 0x18]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x28]
sub esp, 0xc
fld dword [esp + 0x34]
mov ecx, ebx
fstp dword [ebp + 0x20]
fld dword [ebx + 0x24]
fstp dword [esp + 8]
fld dword [ebp + 0x18]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0055f480
fld dword [ebx + 0x24]
sub esp, 0xc
fstp dword [esp + 8]
mov byte [ebp + 0x25], al
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
call fcn.0055f480
fld dword [ebx + 0x24]
sub esp, 0xc
fstp dword [esp + 8]
mov byte [ebp + 0x26], al
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.0055f480
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov byte [ebp + 0x27], al
add dword [esi + 4], 1
add dword [esi + 0xc], ecx
fld dword [ebp + 0x1c]
fstp dword [esi + 0x14]
sub esp, 0xc
fld dword [ebp + 0x20]
fstp dword [esi + 0x20]
movzx edx, byte [ebp + 0x25]
fld dword [ebx + 0x24]
mov byte [esi + 0x24], dl
movzx eax, byte [ebp + 0x27]
fstp dword [esp + 8]
fld dword [esi + 0x20]
fstp dword [esp + 4]
mov byte [esi + 0x26], al
fld dword [esi + 0x1c]
mov ecx, ebx
fstp dword [esp]
call fcn.0055f480
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov byte [esi + 0x27], al
add dword [edi + 0x10], ecx
add dword [edi + 8], 1
fld dword [ebp + 0x1c]
fstp dword [edi + 0x1c]
sub esp, 0xc
fld dword [ebp + 0x20]
mov ecx, ebx
fstp dword [edi + 0x18]
movzx edx, byte [ebp + 0x26]
fld dword [ebx + 0x24]
mov byte [edi + 0x24], dl
movzx eax, byte [ebp + 0x27]
fstp dword [esp + 8]
fld dword [edi + 0x20]
fstp dword [esp + 4]
fld dword [edi + 0x1c]
mov byte [edi + 0x25], al
fstp dword [esp]
call fcn.0055f480
mov byte [edi + 0x27], al
mov eax, dword [esp + 0x10]
add dword [esp + 0x24], 3
mov ecx, 1
add dword [eax + 4], ecx
add dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
add dword [eax + 0xc], ecx
add dword [eax + 0x10], ecx
fld dword [ebp + 0x1c]
add esi, 0x78
fstp dword [eax + 0x14]
add edi, 0x78
fld dword [ebp + 0x20]
add ebp, 0x78
fstp dword [eax + 0x18]
movzx ecx, byte [ebp - 0x51]
mov byte [eax + 0x24], cl
movzx edx, byte [esi - 0x51]
mov byte [eax + 0x25], dl
movzx ecx, byte [edi - 0x51]
mov byte [eax + 0x26], cl
add eax, 0x78
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
test esi, esi
jge 0x561a32
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x538
ret 8