Function at 0x5044a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4020
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x6244f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x20]
test esi, esi
jne 0x504511
push dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
push dword [ebp + 0x18]
mov edx, dword [ebx]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call dword [edx + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xa4]
mov edi, dword [eax + 0x14]
mov dword [ebp + 0x1c], edi
fild dword [ebp + 0x1c]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fmul qword [0x5cbda0]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fild dword [ebp + 8]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fadd st(1)
fstp dword [ebp - 0x18]
fild dword [ebp + 0x10]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fsub st(1)
fstp dword [ebp + 0x20]
fild dword [ebp + 0xc]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fadd st(1)
fstp dword [ebp + 0x1c]
fild dword [ebp + 0x14]
fstp dword [ebp - 0x14]
fsubr dword [ebp - 0x14]
fstp dword [ebp - 0x14]
call fcn.004c8280
fld dword [ebp + 0x1c]
lea ecx, [ebp - 0xa4]
fst qword [ebp - 0x20]
fld qword [esi]
sub esp, 8
fstp dword [ebp - 0x10]
fadd dword [ebp - 0x10]
mov dword [ebp - 4], 0
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp + 4]
fld dword [ebp - 0x18]
fstp dword [esp]
call fcn.004c8840
fld dword [ebp - 0x18]
lea ecx, [ebp - 0xa4]
fld st(0)
sub esp, 0x10
fst qword [ebp - 0x48]
fld dword [ebp + 0x1c]
fst dword [esp + 0xc]
fld qword [esi + 8]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
faddp st(2)
fxch st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.004c8880
fld dword [ebp + 0x20]
lea ecx, [ebp - 0xa4]
fst qword [ebp - 0x40]
fld dword [ebp + 0x1c]
sub esp, 8
fstp dword [esp + 4]
fld qword [esi + 0x10]
fstp dword [ebp - 0x10]
fsub dword [ebp - 0x10]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp]
call fcn.004c97d0
fld qword [esi + 0x18]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fadd qword [ebp - 0x20]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
lea ecx, [ebp - 0xa4]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [ebp + 0x20]
fst dword [esp + 8]
fld dword [ebp + 0x1c]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.004c8880
fld dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
fst qword [ebp - 0x20]
fld qword [esi + 0x20]
sub esp, 8
fstp dword [ebp + 0x1c]
fsub dword [ebp + 0x1c]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fstp dword [esp + 4]
fld dword [ebp + 0x20]
fstp dword [esp]
call fcn.004c97d0
fld dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
sub esp, 0x10
fst dword [esp + 0xc]
fld qword [esi + 0x28]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fsubr qword [ebp - 0x40]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [ebp + 0x20]
fstp dword [esp]
call fcn.004c8880
fld dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
sub esp, 8
fstp dword [esp + 4]
fld qword [esi + 0x30]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fadd qword [ebp - 0x48]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fstp dword [esp]
call fcn.004c97d0
fld qword [esi + 0x38]
lea ecx, [ebp - 0xa4]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
sub esp, 0x10
fsubr qword [ebp - 0x20]
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fstp dword [esp + 0xc]
fld dword [ebp - 0x18]
fst dword [esp + 8]
fld dword [ebp - 0x14]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.004c8880
lea ecx, [ebp - 0xa4]
call fcn.004c8970
lea ecx, [ebp - 0xa4]
call fcn.004c8d50
mov ecx, dword [ebp + 0x18]
mov esi, eax
push 0
lea eax, [ebp - 0x38]
mov dword [esi + 0x34], 4
mov edx, dword [ebx]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ecx
push eax
push esi
mov ecx, ebx
call dword [edx + 0x20]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
lea ecx, [ebp - 0x7c]
call fcn.004c84a0
lea ecx, [ebp - 0x90]
call fcn.004c84c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c