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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6c5fa0
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x354]
test eax, eax
jne 0x562706
mov cl, byte [esi + 0x364]
mov eax, dword [esi + 0x368]
and cl, 0x20
mov dword [esp + 0xc], eax
cmp cl, 0x20
jne 0x5621d4
mov ecx, dword [esi + 0x3cc]
lea edx, [esp + 0x1c]
push edx
call fcn.00431830
jmp 0x5621f3
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 4]
add eax, 0x80
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [0x72d944]
push ebp
mov eax, dword [ecx + 0x88]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x56244e
mov eax, ecx
mov ebp, dword [eax + 0x2c]
mov edi, dword [ebp]
test edi, edi
je 0x56244e
push ebx
mov edx, dword [edi]
push 0x1602
mov ecx, edi
call dword [edx + 4]
cmp al, 1
jne 0x56243f
mov eax, dword [edi + 0xc]
test ah, 8
je 0x56243f
test eax, 0x40000
jne 0x56243f
mov eax, dword [edi + 0x154]
mov ecx, dword [edi + 0x158]
mov edx, dword [edi + 0x15c]
mov dword [esp + 0x30], eax
fld dword [esp + 0x30]
fsub dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
fld dword [esp + 0x34]
fsub dword [esp + 0x28]
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
push ecx
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00404020
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcomp dword [esp + 0x18]
mov ebx, dword [edi + 0xc]
add esp, 4
shr ebx, 0xc
and bl, 1
fnstsw ax
test ah, 5
jp 0x56243f
test bl, bl
je 0x5622d1
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x56243f
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x13c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x8c], 1
mov dword [esp + 0x4c], eax
call fcn.0045f290
mov eax, dword [0x72d944]
push 1
push 0
lea edx, [esp + 0x5c]
mov ecx, dword [eax + 0x58]
push 0
push edx
lea eax, [esp + 0x4c]
push 0x3dcccccd
push eax
call fcn.004689d0
test eax, eax
jne 0x562428
test bl, bl
je 0x56241a
mov eax, dword [esi + 0xdc]
test eax, eax
jne 0x56235d
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x56241a
fld dword [edi + 0x154]
fsub dword [esp + 0x24]
push ecx
fstp dword [esp + 0x1c]
fld dword [edi + 0x158]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x20]
fld dword [edi + 0x15c]
fsub dword [esp + 0x30]
mov dword [esp + 0x20], 0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x5623de
fdivr dword [0x6d0348]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
mov eax, dword [esi + 0x1c]
fstp st(0)
mov eax, dword [eax + 4]
fld dword [esp + 0x20]
fmul dword [eax + 0x78]
fld dword [esp + 0x1c]
fmul dword [eax + 0x74]
add eax, 0x70
faddp st(1)
fld dword [esp + 0x18]
fmul dword [eax]
faddp st(1)
fcomp dword [0x6d035c]
fnstsw ax
and eax, 0x4100
jne 0x562428
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
jmp 0x562422
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esi + 0x354], edi
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x13c]
mov dword [esp + 0x84], 0xffffffff
mov edi, dword [ebp + 4]
add ebp, 4
test edi, edi
jne 0x56221c
pop ebx
mov eax, dword [esi + 0x354]
pop ebp
test eax, eax
je 0x562706
mov al, byte [esi + 0x364]
mov edi, 1
and al, 0xef
push edi
mov byte [esi + 0x364], al
mov ecx, dword [esi + 0x354]
call fcn.005fd4f0
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 4]
add ecx, 0x30
call fcn.004bab60
fsub dword [0x6d43a8]
mov eax, dword [esi + 0xdc]
test eax, eax
fst dword [esi + 0x34c]
jne 0x56268d
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x56268d
mov ecx, dword [esi + 0x1c]
fstp st(0)
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 0x354]
add ecx, 0x154
add eax, 0x80
push ecx
fld dword [ecx]
fsub dword [eax]
fstp dword [esp + 0x14]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [ecx + 8]
fsub dword [eax + 8]
fst dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x56253c
fdivr dword [0x6d0348]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, 0x7fffffff
mov dword [esp + 0xc], edx
and edx, ecx
mov dword [esp + 8], eax
fstp st(0)
mov dword [esp + 0xc], edx
and eax, ecx
fld dword [esp + 0xc]
mov dword [esp + 8], eax
fcomp dword [esp + 8]
fnstsw ax
and eax, 0x100
jne 0x5625b5
fld dword [esp + 0x10]
fcomp dword [0x6d035c]
mov dword [esp + 0xc], 0xffffffff
fnstsw ax
test ah, 5
jnp 0x56258d
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
fld dword [0x72c648]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [0x72c64c]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [0x72c650]
fstp dword [esp + 0x18]
jmp 0x562615
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], edx
and edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
fld dword [esp + 0xc]
and eax, ecx
mov dword [esp + 8], eax
fcomp dword [esp + 8]
fnstsw ax
and eax, 0x100
jne 0x562615
fld dword [esp + 0x18]
fcomp dword [0x6d035c]
mov dword [esp + 0xc], 0xffffffff
fnstsw ax
test ah, 5
jnp 0x5625ff
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
fstp dword [esp]
push 0x72c6ac
call fcn.0055ae30
lea ecx, [esp + 0x10]
call fcn.004bab60
fsub dword [0x6d43a8]
fstp dword [esp + 8]
fld dword [esi + 0x34c]
fcomp dword [0x6d035c]
mov ecx, dword [esp + 8]
mov dword [esi + 0x350], ecx
fnstsw ax
test ah, 5
jp 0x56264a
or ecx, 0xffffffff
jmp 0x56264c
mov ecx, edi
fld dword [esp + 8]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x562662
or eax, 0xffffffff
jmp 0x562664
mov eax, edi
cmp ecx, eax
je 0x562693
fld dword [esp + 8]
fsub dword [esi + 0x34c]
fcom dword [0x6d21a4]
fnstsw ax
and eax, 0x4100
jne 0x5626cb
fstp st(0)
fld dword [esp + 8]
fsub dword [0x6d2238]
fstp dword [esi + 0x350]
mov eax, dword [esi + 0x3b4]
test eax, eax
je 0x562706
test byte [esi + 0x364], 0x20
je 0x5626ec
mov ecx, dword [esi + 0xdc]
test ecx, ecx
jne 0x5626ec
mov ecx, dword [esi + 0xcc]
test ecx, ecx
jne 0x5626ec
mov edx, dword [eax + 4]
push 0
push 0x3e4ccccd
push edi
mov eax, dword [edx + 0xc]
push eax
jmp 0x5626fb
fcomp dword [0x6d9270]
fnstsw ax
test ah, 5
jp 0x562693
fld dword [esi + 0x34c]
fsub dword [0x6d2238]
fstp dword [esi + 0x34c]
jmp 0x562693
mov ecx, dword [eax + 4]
push 0
push 0x3e4ccccd
push edi
mov edx, dword [ecx + 0x10]
push edx
mov ecx, dword [esi + 0x3ac]
call fcn.0042fff0
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret