Function at 0x5969b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65cf48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x702ca8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xac0]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
call fcn.0056aac0
cmp byte [esp + 0x24], bl
jne 0x596a2a
jmp 0x596a10
mov ecx, dword [esp + 0x28]
push 1
call fcn.005579c0
lea ecx, [esp + 0x24]
call fcn.0056aac0
cmp byte [esp + 0x24], bl
je 0x596a10
cmp dword [esi + 0x28], 3
jne 0x596c7f
mov ecx, dword [0x717c9c]
fld dword [0x6a2a78]
mov edx, dword [ecx + 0x24]
fstp dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x304]
mov edx, dword [ecx + 0x94]
mov eax, dword [edx + 0x128]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x24]
xor edi, edi
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
call fcn.0056aac0
cmp byte [esp + 0x24], bl
jne 0x596c7f
fldz
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x14]
fstp dword [esp + 0x14]
push ecx
push ebp
mov ecx, esi
call fcn.00595f40
test eax, eax
je 0x596acf
fld dword [0x6a2a7c]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x596acd
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x596acd
fstp dword [esp + 0x18]
mov edi, ebp
jmp 0x596acf
fstp st(0)
lea ecx, [esp + 0x24]
call fcn.0056aac0
cmp byte [esp + 0x24], bl
je 0x596a88
cmp edi, ebx
je 0x596c7f
mov eax, dword [esi + 0xac0]
fld dword [0x6a2a78]
mov edx, dword [eax + 0xc]
fstp dword [esp + 0x18]
lea ecx, [esp + 0x24]
xor ebp, ebp
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call fcn.0056aac0
cmp byte [esp + 0x24], bl
jne 0x596c7f
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call fcn.00557970
test al, al
mov ecx, esi
je 0x596bc0
push 2
call fcn.005579c0
fld dword [esi + 0x1b0]
fsub dword [edi + 0x1b0]
fstp dword [esp + 0x1c]
fld dword [esi + 0x1b4]
fsub dword [edi + 0x1b4]
fstp dword [esp + 0x14]
fld dword [esi + 0x1b8]
fsub dword [edi + 0x1b8]
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fld st(1)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(2)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
faddp st(2)
fmul st(0), st(0)
fstp dword [esp + 0x20]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x596bc9
fstp dword [esp + 0x18]
mov ebp, esi
jmp 0x596bcb
push 1
call fcn.005579c0
jmp 0x596bcb
fstp st(0)
lea ecx, [esp + 0x24]
call fcn.0056aac0
cmp byte [esp + 0x24], bl
je 0x596b22
cmp ebp, ebx
je 0x596c7f
push 3
mov ecx, ebp
call fcn.005579c0
mov esi, dword [0x717c9c]
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x1d0], bl
mov cl, byte [eax + 0x301]
mov byte [esp + 0x14], cl
mov cl, 1
mov byte [esp + 0x15], cl
je 0x596c25
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 0xc]
xor cl, cl
mov byte [esp + 0x15], cl
mov byte [eax + 0x301], bl
cmp cl, bl
mov dword [esp + 0x40], ebx
jne 0x596c6a
mov ecx, dword [edi + 0x1b0]
mov edx, dword [ebp]
mov edx, dword [edx + 0x6c]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 0x1b4]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0x1b8]
mov dword [eax + 8], ecx
mov ecx, ebp
call edx
test al, al
je 0x596c6a
push ecx
mov eax, esp
mov ecx, ebp
mov dword [esp + 0x24], esp
mov dword [eax], edi
call fcn.00557680
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + 0xc]
mov al, byte [esp + 0x14]
mov byte [edx + 0x301], al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret