Function at 0x58f810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62ca7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], 0
call fcn.004b1370
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push str._cm_n
mov dword [esp + 0x5c], 1
fld dword [eax + 4]
fsub dword [eax]
fld dword [eax + 0xc]
fsub dword [eax + 8]
fld st(1)
fmul dword [0x65fc4c]
sub esp, 8
fstp dword [esp + 0x38]
fmul dword [0x635da8]
fst dword [esp + 0x18]
fstp dword [esp + 0x34]
fmul dword [0x635da8]
fst dword [esp + 0x40]
fld dword [ecx]
fcos
fstp qword [esp + 0x28]
fld dword [ecx]
fsin
mov ecx, dword [esp + 0x28]
fstp qword [esp + 0x20]
fld dword [esp + 0x18]
fadd dword [eax + 8]
mov edx, dword [esp + 0x24]
fstp qword [esp]
push 0x68f8b0
fadd dword [eax]
mov eax, dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
fld qword [esp + 0x2c]
push 0x68f8b0
push eax
push ecx
push 0x68f8b0
sub esp, 8
fchs
fstp qword [esp]
push 0x68f8b0
push edx
mov edx, dword [esp + 0x4c]
push edx
push 0x68f8b0
push eax
push ecx
lea ecx, [esp + 0x88]
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
fld dword [esp + 0x2c]
fstp qword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0x6a228c
push 0
push 0
push 0x68f8b0
push ebx
push eax
lea ecx, [esp + 0x58]
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
fld dword [esp + 0x28]
push 0x6ece90
mov ecx, dword [esp + 0x2c]
fstp qword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
fld dword [esp + 0x30]
push esi
push edi
push 0x68f8b0
push 0
push 0
push 0x68f8b0
fchs
push esi
push edi
fmul dword [0x65fc48]
push 0x68f8b0
mov dword [esp + 0x34], ecx
sub esp, 8
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x70]
fstp qword [esp]
fld dword [esp + 0x3c]
fmul dword [0x65d4d4]
push 0x68f8b0
sub esp, 8
fstp qword [esp]
push 0x68f8b0
push ebx
push edx
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
fld dword [esp + 0x34]
fld dword [esp + 0xc]
fld dword [esp + 0x34]
push 0x6ece90
push 0
fstp qword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push 0
push 0x68f8b0
push eax
mov ecx, dword [esp + 0x48]
fmul dword [0x65d4d4]
push ecx
push 0x68f8b0
sub esp, 8
fstp qword [esp]
push 0x68f8b0
push eax
fmul dword [0x65d4d4]
push ecx
push 0x68f8b0
push esi
push edi
push 0x68f8b0
lea ecx, [esp + 0x80]
sub esp, 8
fstp qword [esp]
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov ecx, eax
call fcn.004b1530
mov ecx, eax
call fcn.004b15a0
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x40]
push esi
call fcn.004b14d0
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0
call fcn.004b1390
mov ecx, dword [esp + 0x50]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret