Function at 0x495010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f112d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x515040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp + 8]
mov dword [ebx], vtable.pbtf::vc_modern_renderer_t.0
mov edi, dword [ebp + 0x10]
mov ecx, dword [edx + 0x4268]
shr ecx, 9
xor ecx, dword [ebx + 4]
and ecx, 1
xor ecx, dword [ebx + 4]
mov dword [ebx + 4], ecx
movss xmm0, dword [edx + 0x4254]
mov edx, 2
comiss xmm0, dword [0x50d18c]
cmova eax, edx
and ecx, 0xfffffffd
or eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
lea eax, [ecx + 0xae4]
lea edx, [ecx + 0x944]
mov dword [ebx + 0xc], eax
lea eax, [ecx + 0xb04]
mov dword [ebx + 8], edx
lea ecx, [edi + 0x40]
mov dword [ebx + 0x10], eax
call fcn.00454d80
mov ecx, dword [ebx + 0x10]
lea eax, [edi + 0xc0]
push 0xc
push eax
mov edx, dword [ecx + 8]
push dword [ecx + 0x28]
push edx
mov esi, dword [edx]
call dword [esi + 0x50]
mov eax, dword [ebx + 0x10]
push 0xf0
push dword [ebp + 0x14]
mov ecx, dword [eax + 8]
push dword [eax + 0x1c]
push ecx
mov edx, dword [ecx]
call dword [edx + 0x50]
mov eax, dword [ebp + 0x18]
lea esi, [ebp + 8]
push 4
push esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50e260]
mov eax, dword [ebx + 0x10]
cvtpd2ps xmm0, xmm0
movss dword [ebp + 8], xmm0
mov ecx, dword [eax + 8]
push dword [eax + 0x20]
push ecx
mov edx, dword [ecx]
call dword [edx + 0x50]
mov eax, dword [ebx + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push dword [edi + 0x5ec]
push dword [eax + 0x40]
mov edx, dword [ecx]
push ecx
call dword [edx + 0xd0]
mov eax, dword [ebx + 0x10]
push dword [edi + 0x62c]
mov ecx, dword [eax + 8]
push dword [eax + 0x44]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xd0]
mov eax, dword [edi + 0x634]
mov ecx, dword [edi + 0x630]
cmp ecx, eax
cmovbe ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
push ecx
addsd xmm0, qword [ecx*8 + 0x50e260]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.004ec689
fadd dword [0x50d330]
mov eax, dword [ebx + 0x10]
lea esi, [ebp + 0xc]
add esp, 4
fstp dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push 4
push esi
push dword [eax + 0x30]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x50]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp + 0x1c]
mov ecx, dword [eax + 8]
push dword [esi + 0x4a70]
push dword [eax + 0x48]
mov edx, dword [ecx]
push ecx
call dword [edx + 0xd0]
mov eax, dword [ebx + 0x10]
push dword [esi + 0x4a74]
mov ecx, dword [eax + 8]
push dword [eax + 0x4c]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xd0]
mov eax, dword [ebx + 0x10]
push dword [esi + 0x4a78]
mov ecx, dword [eax + 8]
push dword [eax + 0x50]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xd0]
mov eax, dword [ebx + 0x10]
push dword [esi + 0x4a7c]
mov ecx, dword [eax + 8]
push dword [eax + 0x54]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xd0]
mov eax, dword [ebx + 0x10]
push dword [esi + 0x4a80]
mov ecx, dword [eax + 8]
push dword [eax + 0x58]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xd0]
mov eax, dword [ebx + 0x10]
push dword [esi + 0x4a84]
mov ecx, dword [eax + 8]
push dword [eax + 0x5c]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xd0]
mov eax, dword [ebx + 0x10]
push dword [esi + 0x4a88]
mov ecx, dword [eax + 8]
push dword [eax + 0x60]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xd0]
mov eax, dword [esi + 0x3c]
shr eax, 0xf
test al, 1
je 0x495256
mov eax, dword [edi + 0x269c8]
jmp 0x495258
xor eax, eax
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x50c]
mov dword [ebx + 0x1c], eax
mov eax, ebx
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18