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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x6c9384]
xor eax, esp
mov dword [esp + 0x64], eax
fld qword [0x5b6ca8]
push esi
fld qword [0x5a7788]
mov esi, dword [0x6fee44]
fldz
push edi
fld qword [0x5a8d28]
xor edi, edi
jmp 0x56d092
fld qword [0x5b6ca8]
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
test edi, edi
jne 0x56d09e
fld dword [0x5b6c88]
jmp 0x56d0a4
fld dword [0x5b6c80]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld st(0)
fsub st(5)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 8]
faddp st(4)
fxch st(3)
fst qword [esp + 0x18]
fld st(0)
fsub st(3)
fst qword [esp + 0x10]
fld dword [esp + 8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x56d1bc
fstp st(3)
fstp st(0)
jmp 0x56d0e9
fstp st(1)
fxch st(1)
fxch st(1)
fst dword [esp + 0x38]
fld dword [0x5b6ca4]
fstp dword [esp + 0x40]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x56d12f
fcom st(2)
fnstsw ax
test ah, 5
jp 0x56d12f
push 2
fstp st(0)
lea eax, [esp + 0x3c]
fstp st(0)
push eax
fstp st(0)
push 0
mov ecx, esi
call fcn.00558f10
fld dword [esp + 8]
fldz
fld qword [0x5a8d28]
fxch st(2)
fld dword [0x5b6ca0]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x56d1b8
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x56d173
push 2
fstp st(0)
lea ecx, [esp + 0x3c]
fstp st(0)
push ecx
fstp st(0)
push 0
mov ecx, esi
call fcn.00558f10
fld dword [esp + 8]
fldz
fld qword [0x5a8d28]
fxch st(2)
fld qword [0x5a7788]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 8]
fld dword [esp + 8]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jnp 0x56d0e5
fstp st(0)
fld qword [esp + 0x18]
fxch st(1)
fxch st(2)
fxch st(1)
fld dword [0x5b6ca4]
fstp dword [esp + 8]
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 8]
jmp 0x56d1c2
fstp st(0)
jmp 0x56d173
fstp st(0)
jmp 0x56d1a0
fstp st(1)
fld dword [esp + 0xc]
fstp dword [esp + 0x38]
fst dword [esp + 0x40]
fld dword [esp + 0x38]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x56d2e6
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x56d21e
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x56d21e
fcom st(2)
fnstsw ax
test ah, 5
jp 0x56d21e
push 2
fstp st(0)
lea edx, [esp + 0x3c]
fstp st(0)
push edx
fstp st(0)
push 0
mov ecx, esi
call fcn.00558f10
fld dword [esp + 8]
fldz
fld qword [0x5a8d28]
fxch st(2)
fld dword [esp + 0x10]
fstp dword [esp + 0x38]
fst dword [esp + 0x40]
fld dword [esp + 0x38]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x56d2ed
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x56d27a
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x56d27a
fcom st(2)
fnstsw ax
test ah, 5
jp 0x56d27a
push 2
fstp st(0)
lea eax, [esp + 0x3c]
fstp st(0)
push eax
fstp st(0)
push 0
mov ecx, esi
call fcn.00558f10
fld dword [esp + 8]
fldz
fld qword [0x5a8d28]
fxch st(2)
fld qword [0x5a7788]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 8]
fld dword [0x5b6ca0]
fld dword [esp + 8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x56d1c0
fstp st(0)
fld dword [esp + 0x2c]
fld st(0)
fld qword [0x5b6c98]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 8]
faddp st(1)
fst qword [esp + 0x10]
fld st(0)
fsub st(2)
fst qword [esp + 0x18]
fld dword [esp + 8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x56d3a8
fstp st(2)
fstp st(0)
jmp 0x56d2f3
fstp st(0)
jmp 0x56d21e
fstp st(0)
jmp 0x56d27a
fstp st(1)
fst dword [esp + 0x38]
fld dword [0x5b6c90]
fstp dword [esp + 0x40]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x56d337
fcom st(2)
fnstsw ax
test ah, 5
jp 0x56d337
push 2
fstp st(0)
lea ecx, [esp + 0x3c]
fstp st(0)
push ecx
fstp st(0)
push 0
mov ecx, esi
call fcn.00558f10
fld dword [esp + 8]
fldz
fld qword [0x5a8d28]
fxch st(2)
fld dword [0x5b6c8c]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x56d3a4
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x56d37b
push 2
fstp st(0)
lea edx, [esp + 0x3c]
fstp st(0)
push edx
fstp st(0)
push 0
mov ecx, esi
call fcn.00558f10
fld dword [esp + 8]
fldz
fld qword [0x5a8d28]
fxch st(2)
fld qword [0x5a7788]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 8]
fld dword [esp + 8]
fcom qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jnp 0x56d2f1
fstp st(0)
fld qword [esp + 0x10]
jmp 0x56d3aa
fstp st(0)
jmp 0x56d37b
fstp st(0)
fld dword [0x5b6c90]
fstp dword [esp + 8]
fsubrp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 8]
jmp 0x56d3c2
fstp st(1)
fld dword [esp + 0xc]
fstp dword [esp + 0x38]
fst dword [esp + 0x40]
fld dword [esp + 0x38]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x56d57b
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x56d41e
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x56d41e
fcom st(2)
fnstsw ax
test ah, 5
jp 0x56d41e
push 2
fstp st(0)
lea eax, [esp + 0x3c]
fstp st(0)
push eax
fstp st(0)
push 0
mov ecx, esi
call fcn.00558f10
fld dword [esp + 8]
fldz
fld qword [0x5a8d28]
fxch st(2)
fld dword [esp + 0x10]
fstp dword [esp + 0x38]
fst dword [esp + 0x40]
fld dword [esp + 0x38]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x56d582
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x56d47a
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x56d47a
fcom st(2)
fnstsw ax
test ah, 5
jp 0x56d47a
push 2
fstp st(0)
lea ecx, [esp + 0x3c]
fstp st(0)
push ecx
fstp st(0)
push 0
mov ecx, esi
call fcn.00558f10
fld dword [esp + 8]
fldz
fld qword [0x5a8d28]
fxch st(2)
fld qword [0x5a7788]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 8]
fld dword [0x5b6c8c]
fld dword [esp + 8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x56d3c0
inc edi
fstp st(0)
cmp edi, 2
jl 0x56d084
fstp st(0)
push 0x5b6cb4
fstp st(1)
fld dword [0x5b530c]
fstp dword [esp + 0x3c]
fst dword [esp + 0x40]
fld dword [0x5b6c84]
fst dword [esp + 0x44]
fld dword [0x5b6cb0]
fstp dword [esp + 0x1c]
fxch st(1)
fstp dword [esp + 0x20]
fstp dword [esp + 0x24]
call fcn.0052ff60
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
add esp, 4
push 0
mov dword [esp + 0x50], edx
push 1
lea edx, [esp + 0x4c]
mov word [esp + 0x4c], ax
mov eax, dword [esp + 0x44]
push edx
mov dword [esp + 0x60], ecx
mov ecx, dword [0x6d944c]
mov esi, 0x10
push 0xfffffffffffffff7
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], eax
call fcn.004956a0
push 0x5b6cb4
call fcn.0052ff60
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 4
mov word [esp + 0x58], ax
mov eax, dword [esp + 0x18]
push 0
mov dword [esp + 0x64], eax
push 1
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x70], ecx
mov ecx, dword [0x6d944c]
push 0xfffffffffffffff6
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], edx
call fcn.004956a0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.005837be
mov esp, ebp
pop ebp
ret
fstp st(0)
jmp 0x56d41e
fstp st(0)
jmp 0x56d47a