Function at 0x50dd60
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x70]
cmp r12, qword [r14 + 0x10]
jbe 0x50e096
sub rsp, 0xf0
mov qword [rsp + 0xe8], rbp
lea rbp, [rsp + 0xe8]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rbx
mov rcx, qword [rbx]
shl rcx, 1
and ecx, 0x7f
mov rax, rcx
call fcn.0050dd20
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [rsp + 0xf8]
test byte [rcx], al
mov rdx, qword [0x007d48f0]
mov rsi, qword [0x007d48f8]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
nop dword [rax]
call fcn.00510780
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0xf8]
lea rdx, [rcx + 0x20]
mov qword [rsp], rdx
mov qword [rsp + 8], 4
mov qword [rsp + 0x10], 8
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x18], rdx
call fcn.005100e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0xf8]
mov qword [rcx + 0x40], 1
movabs rdx, 0xffffffff00000000
mov qword [rcx + 0x48], rdx
mov qword [rcx + 0x50], 0xffffffffffffffff
mov ebx, 0xfffffffe
mov qword [rcx + 0x58], rbx
lea rdi, [rsp + 0x88]
lea rdi, [rdi - 0x20]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004618eb
mov rbp, qword [rbp]
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xd8], 0xffffffffffffffff
mov qword [rsp + 0xe0], rbx
mov eax, 1
mov edx, 5
mov rbx, qword [rsp + 0x70]
jmp 0x50dff4
mov rax, rdx
call fcn.0050dd20
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x007d48f8]
mov rdx, qword [rsp + 0x80]
shl rdx, 0xb
sub rcx, rdx
mov rdi, rcx
neg rcx
sar rcx, 0x3f
and rdx, rcx
add rdx, qword [0x007d48f0]
lea rcx, [rsp + 0x88]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rax
call fcn.00510780
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], 0xc
mov qword [rsp + 0x10], 0xc
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], 0xc
mov qword [rsp + 0x28], 0xc
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], 0xc
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x48], rdx
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x50], rdx
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rbx
call fcn.00511360
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + 1]
mov rcx, qword [rsp + 0x78]
lea rdx, [rcx + 6]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
or rbx, rcx
mov rcx, qword [rsp + 0xf8]
cmp rax, 0x2b
jge 0x50e086
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x78], rdx
cmp rdx, 0xc0
jae 0x50e065
mov rsi, rdx
and edx, 0x3f
add rdx, 0xffffffffffffffc0
neg rdx
cmp rdx, 0x40
sbb rdx, rdx
mov rdi, rsi
shr rsi, 6
mov r8, qword [rsp + 0x100]
mov r9, qword [r8 + rsi*8]
mov rcx, rdi
shr r9, cl
mov rsi, qword [r8 + rsi*8 + 8]
neg rcx
shl rsi, cl
and rsi, rdx
lea rdx, [r9 + rsi]
and edx, 0x7f
nop dword [rax + rax]
jmp 0x50decf
mov rsi, rdx
shr rdx, 6
mov rdi, qword [rsp + 0x100]
mov rdx, qword [rdi + rdx*8]
mov rcx, rsi
shr rdx, cl
and edx, 0x7f
jmp 0x50decf
mov rbp, qword [rsp + 0xe8]
add rsp, 0xf0
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045f280
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0050dd60