Function at 0x506960
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x506dc8
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
test rcx, rcx
je 0x506994
movzx edx, byte [rcx + rbx - 1]
cmp dl, 0x2e
sete dl
jmp 0x5069a0
xor edx, edx
nop word [rax + rax]
nop
cmp rcx, 0xfe
jg 0x506bd4
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rcx
nop dword [rax]
je 0x506b5f
test dl, dl
jne 0x506b64
mov qword [rsp + 0xa8], rax
mov qword [rsp], rbx
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0x2e
call fcn.00403120
xorps xmm15, xmm15
mov r14, qword [0x011d4410]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x30]
mov qword [rsp + 0x68], rdx
mov rbx, qword [rsp + 0xb0]
lea rdi, [0x005ed648]
mov esi, 1
xor eax, eax
mov rcx, qword [rsp + 0xb8]
call fcn.004504c0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x58], rdx
lea rsi, [rdx + 1]
mov qword [rsp + 0x48], rsi
lea rax, [0x00560ae0]
xor ebx, ebx
mov rcx, rsi
call fcn.0046a880
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
nop dword [rax + rax]
cmp rcx, rdx
jle 0x506a89
xor ebx, ebx
jmp 0x506ac0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x60]
nop
call fcn.005068e0
xor eax, 1
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov ebx, eax
mov rax, qword [rsp + 0x88]
nop dword [rax]
test bl, bl
je 0x506b36
mov r8, qword [rsp + 0x58]
cmp r8, 0xffffffffffffffff
je 0x506ad6
mov rbx, qword [rsp + 0x48]
jmp 0x506af9
mov ebx, 1
xor ecx, ecx
mov rdi, rbx
lea rsi, [0x00560ae0]
call fcn.0046a960
mov rdx, qword [rsp + 0x70]
mov rbx, rcx
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov qword [rax + 8], r8
cmp dword [0x011d4520], 0
jne 0x506b15
mov r9, qword [rsp + 0x90]
jmp 0x506b2c
call fcn.00470fa0
mov r9, qword [rsp + 0x90]
mov qword [r11], r9
mov r10, qword [rax]
mov qword [r11 + 8], r10
mov qword [rax], r9
mov esi, 1
jmp 0x506b4a
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x48]
xor esi, esi
mov r10, qword [rsp + 0xa8]
mov r11, qword [r10 + 0x18]
mov r10, qword [r10 + 0x20]
jmp 0x506c15
nop
test dl, dl
je 0x506bd4
mov rax, rbx
mov rbx, rcx
call fcn.005068e0
test al, al
jne 0x506bc4
lea rax, [0x00563a20]
call fcn.0040d620
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 8], rcx
cmp dword [0x011d4520], 0
jne 0x506ba0
mov rdx, qword [rsp + 0xb0]
jmp 0x506bb0
call fcn.00470f80
mov rdx, qword [rsp + 0xb0]
mov qword [r11], rdx
mov qword [rax], rdx
mov ebx, 1
mov rcx, rbx
add rsp, 0x98
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x98
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x98
pop rbp
ret
mov r11, qword [rsp + 0x88]
add r11, 0x10
mov r10, qword [rsp + 0x58]
dec r10
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov rsi, rbx
mov rbx, rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rbx
test r10, r10
jle 0x506d19
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x88], r11
mov rdi, qword [r11]
mov rsi, qword [r11 + 8]
xor eax, eax
mov rbx, r9
mov rcx, r8
call fcn.004504c0
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], rbx
nop dword [rax + rax]
call fcn.005068e0
test al, al
je 0x506c7d
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
jmp 0x506be4
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xfe
jg 0x506d05
mov rbx, qword [rsp + 0x40]
inc rbx
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
jb 0x506ca4
mov rax, qword [rsp + 0x78]
jmp 0x506cbf
mov rax, qword [rsp + 0x78]
mov edi, 1
lea rsi, [0x00560ae0]
call fcn.0046a960
mov rdx, qword [rsp + 0x50]
lea r8, [rbx - 1]
shl r8, 4
mov qword [rax + r8 + 8], rdx
cmp dword [0x011d4520], 0
jne 0x506ce0
mov rdx, qword [rsp + 0x80]
jmp 0x506cf8
call fcn.00470fa0
mov rdx, qword [rsp + 0x80]
mov qword [r11], rdx
mov r9, qword [rax + r8]
mov qword [r11 + 8], r9
mov qword [rax + r8], rdx
nop dword [rax]
jmp 0x506be4
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
jmp 0x506be4
cmp rcx, rdx
jg 0x506d22
xor ecx, ecx
jmp 0x506d4e
mov rax, r9
mov rbx, r8
call fcn.005068e0
xor eax, 1
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov ecx, eax
mov rax, qword [rsp + 0x78]
test cl, cl
je 0x506db6
lea rdx, [rsi + 1]
cmp rbx, rdx
jae 0x506d85
mov rcx, rbx
mov edi, 1
lea rsi, [0x00560ae0]
mov rbx, rdx
call fcn.0046a960
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov rdx, rbx
mov rbx, rcx
lea rsi, [rdx - 1]
shl rsi, 4
mov qword [rax + rsi + 8], r8
cmp dword [0x011d4520], 0
je 0x506db0
nop dword [rax + rax]
call fcn.00470fa0
mov qword [r11], r9
mov rdi, qword [rax + rsi]
mov qword [r11 + 8], rdi
mov qword [rax + rsi], r9
jmp 0x506db9
mov rdx, rsi
mov rcx, rbx
mov rbx, rdx
add rsp, 0x98
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046f060
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00506960