Function at 0x5867c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5e86db
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push eax
lea esi, [ebx + 0xc]
lea edi, [ebx + 4]
push esi
push edi
call fcn.004fb770
fstp qword [esp + 0x30]
add esp, 0xc
push edi
lea ecx, [esp + 0xa8]
call fcn.005bb870
push esi
lea ecx, [esp + 0x68]
call fcn.005bb870
fild dword [ebx + 0x14]
sub esp, 8
lea ecx, [esp + 0x3c]
fmul qword [0x5eede8]
lea edx, [esp + 0x4c]
lea eax, [esp + 0xac]
fst qword [esp + 0x34]
fstp qword [esp]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.005c0e70
push esi
push edi
call fcn.004fe810
fdivr qword [esp + 0x44]
add esp, 0x18
fstp qword [esp]
call fcn.004fbdc0
add esp, 8
test eax, eax
jne 0x5869cb
mov ebx, dword [ebp + 8]
push esi
push ebx
call fcn.004fe810
fdivr qword [esp + 0x2c]
fstp qword [esp]
call fcn.004fbdc0
add esp, 8
test eax, eax
jne 0x5869cb
push ebx
lea ecx, [esp + 0x78]
call fcn.005bb870
fld qword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.005c0e70
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.005c0ef0
add esp, 0x28
push eax
lea ecx, [esp + 0x38]
call fcn.005c0f90
fldz
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fld qword [0x5eede8]
test ah, 1
jne 0x58690f
fadd st(1), st(0)
jmp 0x586911
fsub st(1), st(0)
fld qword [esp + 0x34]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 1
jne 0x586924
faddp st(2)
jmp 0x586926
fsubp st(2)
fxch st(1)
call fcn.005bf3a0
mov esi, eax
call fcn.005bf3a0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov dword [ecx], esi
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.005c0ef0
add esp, 0x10
push eax
lea ecx, [esp + 0x48]
call fcn.005c0f90
fldz
fld qword [esp + 0x4c]
fcom st(1)
fnstsw ax
fld qword [0x5eede8]
test ah, 1
jne 0x586981
fadd st(1), st(0)
jmp 0x586983
fsub st(1), st(0)
fld qword [esp + 0x44]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 1
jne 0x586996
faddp st(2)
jmp 0x586998
fsubp st(2)
fxch st(1)
call fcn.005bf3a0
mov esi, eax
call fcn.005bf3a0
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fldz
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fld qword [0x5eede8]
test ah, 1
jne 0x5869e4
fadd st(1), st(0)
jmp 0x5869e6
fsub st(1), st(0)
fld qword [esp + 0x34]
fcom st(3)
fnstsw ax
test ah, 1
jne 0x5869f7
fadd st(1)
jmp 0x5869f9
fsub st(1)
call fcn.005bf3a0
fxch st(1)
mov ebx, eax
call fcn.005bf3a0
fld qword [esp + 0x4c]
mov ecx, dword [ebp + 0xc]
fcom st(2)
mov dword [ecx + 4], eax
mov dword [ecx], ebx
fnstsw ax
test ah, 1
jne 0x586a20
fadd st(1)
jmp 0x586a22
fsub st(1)
fld qword [esp + 0x44]
fcom st(3)
fnstsw ax
fstp st(3)
fxch st(2)
test ah, 1
jne 0x586a37
faddp st(1)
jmp 0x586a39
fsubrp st(1)
call fcn.005bf3a0
mov ebx, eax
call fcn.005bf3a0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
mov dword [esp + 0x24], edx
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], eax
call fcn.004f6060
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x104], 0
mov dword [esp + 0x30], eax
call fcn.004f62a0
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x54]
test eax, eax
je 0x586ac7
call fcn.004f6120
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.004f6120
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc