Function at 0x505120
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x5054cd
sub rsp, 0xa0
mov qword [rsp + 0x98], rbp
lea rbp, [rsp + 0x98]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x58], 0
lea rdx, [rsp + 0x60]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x70]
movups xmmword [rdx], xmm15
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x38]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x48]
movups xmmword [rdx], xmm15
nop
lea rdx, [rsp + 0x58]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
call fcn.005057e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
nop
lea rax, [rsp + 0x30]
mov qword [rsp], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x10], rdx
nop dword [rax]
call fcn.005055a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
nop
lea rax, [rsp + 0x30]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.005055a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
nop
lea rax, [rsp + 0x58]
mov qword [rsp], rax
mov qword [rsp + 8], rax
nop dword [rax]
call fcn.005057e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
nop
lea rax, [rsp + 0x58]
mov qword [rsp], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.005055a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0xa8]
lea rbx, [rsp + 0x58]
call fcn.005049e0
mov rcx, qword [rsp + 0xa8]
mov qword [rsp], rcx
lea rdx, [rsp + 0x30]
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rax
call fcn.005055a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
nop
lea rax, [rsp + 0x58]
mov qword [rsp], rax
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 8], rcx
call fcn.005057e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
nop
lea rax, [rsp + 0x58]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
nop dword [rax]
call fcn.005055a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
nop
mov rbx, qword [0x00811230]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
call fcn.00503b60
mov qword [rsp + 0x80], rax
mov rbx, qword [rsp + 0x90]
lea rax, [rsp + 0x58]
call fcn.005047a0
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x80]
lea rax, [rsp + 0x58]
nop
call fcn.005047a0
mov qword [rsp + 0x20], rax
mov rcx, qword [0x00811238]
mov rdx, qword [rsp + 0x80]
mov qword [rsp], rdx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
call fcn.005055a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rax, [rsp + 0x58]
mov rbx, qword [rsp + 0x80]
call fcn.005047a0
mov qword [rsp + 0x18], rax
mov rcx, qword [0x00811238]
lea rdx, [rsp + 0x30]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
call fcn.005055a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
or rax, rcx
nop
mov rdx, qword [rsp + 0x30]
neg rax
and rdx, rax
mov rbx, rax
not rax
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsi]
and rdi, rax
or rdi, rdx
mov qword [rsi], rdi
mov rdx, qword [rsp + 0x38]
and rdx, rbx
mov rdi, qword [rsi + 8]
and rdi, rax
or rdi, rdx
mov qword [rsi + 8], rdi
mov rdx, qword [rsp + 0x40]
and rdx, rbx
mov rdi, qword [rsi + 0x10]
and rdi, rax
or rdi, rdx
mov qword [rsi + 0x10], rdi
mov rdx, qword [rsp + 0x48]
and rdx, rbx
mov rdi, qword [rsi + 0x18]
and rdi, rax
or rdi, rdx
mov qword [rsi + 0x18], rdi
mov rdx, qword [rsp + 0x50]
and rdx, rbx
mov rbx, qword [rsi + 0x20]
and rbx, rax
or rbx, rdx
mov qword [rsi + 0x20], rbx
mov rax, rsi
mov rbx, rax
call fcn.00504880
mov rbx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
or rbx, rax
mov rax, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
nop dword [rax]
call fcn.004609c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00505120