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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x6b8f0c]
xor eax, esp
mov dword [esp + 0x64], eax
fld qword [0x5afd68]
push esi
fld qword [0x5a0788]
mov esi, dword [0x6f7d1c]
fldz
push edi
fld qword [0x5a1d28]
xor edi, edi
jmp 0x565142
fld qword [0x5afd68]
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
test edi, edi
jne 0x56514e
fld dword [0x5afd48]
jmp 0x565154
fld dword [0x5afd40]
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 0x56526c
fstp st(3)
fstp st(0)
jmp 0x565199
fstp st(1)
fxch st(1)
fxch st(1)
fst dword [esp + 0x38]
fld dword [0x5afd64]
fstp dword [esp + 0x40]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5651df
fcom st(2)
fnstsw ax
test ah, 5
jp 0x5651df
push 2
fstp st(0)
lea eax, [esp + 0x3c]
fstp st(0)
push eax
fstp st(0)
push 0
mov ecx, esi
call fcn.00551740
fld dword [esp + 8]
fldz
fld qword [0x5a1d28]
fxch st(2)
fld dword [0x5afd60]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x565268
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x565223
push 2
fstp st(0)
lea ecx, [esp + 0x3c]
fstp st(0)
push ecx
fstp st(0)
push 0
mov ecx, esi
call fcn.00551740
fld dword [esp + 8]
fldz
fld qword [0x5a1d28]
fxch st(2)
fld qword [0x5a0788]
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 0x565195
fstp st(0)
fld qword [esp + 0x18]
fxch st(1)
fxch st(2)
fxch st(1)
fld dword [0x5afd64]
fstp dword [esp + 8]
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 8]
jmp 0x565272
fstp st(0)
jmp 0x565223
fstp st(0)
jmp 0x565250
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 0x565396
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x5652ce
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5652ce
fcom st(2)
fnstsw ax
test ah, 5
jp 0x5652ce
push 2
fstp st(0)
lea edx, [esp + 0x3c]
fstp st(0)
push edx
fstp st(0)
push 0
mov ecx, esi
call fcn.00551740
fld dword [esp + 8]
fldz
fld qword [0x5a1d28]
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 0x56539d
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x56532a
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x56532a
fcom st(2)
fnstsw ax
test ah, 5
jp 0x56532a
push 2
fstp st(0)
lea eax, [esp + 0x3c]
fstp st(0)
push eax
fstp st(0)
push 0
mov ecx, esi
call fcn.00551740
fld dword [esp + 8]
fldz
fld qword [0x5a1d28]
fxch st(2)
fld qword [0x5a0788]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 8]
fld dword [0x5afd60]
fld dword [esp + 8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x565270
fstp st(0)
fld dword [esp + 0x2c]
fld st(0)
fld qword [0x5afd58]
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 0x565458
fstp st(2)
fstp st(0)
jmp 0x5653a3
fstp st(0)
jmp 0x5652ce
fstp st(0)
jmp 0x56532a
fstp st(1)
fst dword [esp + 0x38]
fld dword [0x5afd50]
fstp dword [esp + 0x40]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5653e7
fcom st(2)
fnstsw ax
test ah, 5
jp 0x5653e7
push 2
fstp st(0)
lea ecx, [esp + 0x3c]
fstp st(0)
push ecx
fstp st(0)
push 0
mov ecx, esi
call fcn.00551740
fld dword [esp + 8]
fldz
fld qword [0x5a1d28]
fxch st(2)
fld dword [0x5afd4c]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x565454
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x56542b
push 2
fstp st(0)
lea edx, [esp + 0x3c]
fstp st(0)
push edx
fstp st(0)
push 0
mov ecx, esi
call fcn.00551740
fld dword [esp + 8]
fldz
fld qword [0x5a1d28]
fxch st(2)
fld qword [0x5a0788]
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 0x5653a1
fstp st(0)
fld qword [esp + 0x10]
jmp 0x56545a
fstp st(0)
jmp 0x56542b
fstp st(0)
fld dword [0x5afd50]
fstp dword [esp + 8]
fsubrp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 8]
jmp 0x565472
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 0x56562b
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x5654ce
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5654ce
fcom st(2)
fnstsw ax
test ah, 5
jp 0x5654ce
push 2
fstp st(0)
lea eax, [esp + 0x3c]
fstp st(0)
push eax
fstp st(0)
push 0
mov ecx, esi
call fcn.00551740
fld dword [esp + 8]
fldz
fld qword [0x5a1d28]
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 0x565632
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x56552a
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x56552a
fcom st(2)
fnstsw ax
test ah, 5
jp 0x56552a
push 2
fstp st(0)
lea ecx, [esp + 0x3c]
fstp st(0)
push ecx
fstp st(0)
push 0
mov ecx, esi
call fcn.00551740
fld dword [esp + 8]
fldz
fld qword [0x5a1d28]
fxch st(2)
fld qword [0x5a0788]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 8]
fld dword [0x5afd4c]
fld dword [esp + 8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x565470
inc edi
fstp st(0)
cmp edi, 2
jl 0x565134
fstp st(0)
push 0x5afd74
fstp st(1)
fld dword [0x5ae3cc]
fstp dword [esp + 0x3c]
fst dword [esp + 0x40]
fld dword [0x5afd44]
fst dword [esp + 0x44]
fld dword [0x5afd70]
fstp dword [esp + 0x1c]
fxch st(1)
fstp dword [esp + 0x20]
fstp dword [esp + 0x24]
call fcn.00529430
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 [0x6c9914]
mov esi, 0x10
push 0xfffffffffffffff7
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], eax
call fcn.004902c0
push 0x5afd74
call fcn.00529430
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 [0x6c9914]
push 0xfffffffffffffff6
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], edx
call fcn.004902c0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.0057d76e
mov esp, ebp
pop ebp
ret
fstp st(0)
jmp 0x5654ce
fstp st(0)
jmp 0x56552a