Function at 0x509f60
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x90]
cmp r12, qword [r14 + 0x10]
jbe 0x50a7b0
sub rsp, 0x110
mov qword [rsp + 0x108], rbp
lea rbp, [rsp + 0x108]
mov qword [rsp + 0xd8], rax
lea rax, [0x006b8b80]
call fcn.0040d960
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xd8]
call fcn.0050ae00
jmp 0x509fc5
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call fcn.0050ae00
test cl, cl
je 0x50a092
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0xa8], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x23
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x0095b498]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x50a019
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jae 0x50a01e
jmp 0x50a7aa
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0xa8]
jmp 0x50a0c0
test rcx, rcx
je 0x509fb4
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xa8], rax
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0x3a
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x0095b498]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x50a10a
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jb 0x50a7a5
mov rax, qword [rsp + 0xa8]
mov rbx, rcx
mov rsi, rax
jmp 0x50a185
mov rax, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
dec rcx
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and ecx, 1
add rax, rcx
mov rcx, rdx
test rcx, rcx
je 0x50a0e1
movzx edx, byte [rax]
cmp dl, 0x20
je 0x50a0aa
cmp dl, 9
je 0x50a0aa
cmp dl, 0xa
je 0x50a0aa
cmp dl, 0xd
je 0x50a0aa
jmp 0x50a0e1
dec rcx
test rcx, rcx
je 0x509fb4
movzx edx, byte [rax + rcx - 1]
cmp dl, 0x20
je 0x50a0de
cmp dl, 9
je 0x50a0de
cmp dl, 0xa
je 0x50a0de
nop
cmp dl, 0xd
je 0x50a0de
jmp 0x50a02b
lea rax, [0x006a81a0]
call fcn.0040d960
mov qword [rax + 8], 0x10
lea rcx, [0x006e5e7e]
mov qword [rax], rcx
lea rcx, [0x007669a0]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x0095b720], 0
jne 0x50a14a
mov qword [rdi + 0x20], rax
jmp 0x50a15c
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00466380
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
dec rcx
mov rdi, rcx
neg rcx
sar rcx, 0x3f
and ecx, 1
add rax, rcx
mov rcx, rdi
test rcx, rcx
je 0x50a1ab
movzx edi, byte [rax]
cmp dil, 0x20
je 0x50a16f
cmp dil, 9
je 0x50a16f
cmp dil, 0xa
je 0x50a16f
nop
cmp dil, 0xd
je 0x50a16f
jmp 0x50a1ab
dec rcx
test rcx, rcx
je 0x50a1d2
movzx edi, byte [rax + rcx - 1]
cmp dil, 0x20
je 0x50a1a8
nop dword [rax + rax]
cmp dil, 9
je 0x50a1a8
cmp dil, 0xa
je 0x50a1a8
cmp dil, 0xd
je 0x50a1a8
lea rdi, [rbx + 1]
cmp rdx, rdi
jb 0x50a795
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x90], rax
sub rdx, rbx
dec rdx
mov rbx, rdx
neg rdx
sar rdx, 0x3f
and rdi, rdx
lea rdx, [rsi + rdi]
jmp 0x50a21f
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
nop
jmp 0x50a58b
test rbx, rbx
je 0x509fb4
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0x50], rbx
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x20
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x0095b498]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x50a2ad
mov rdx, qword [rsp + 0x50]
cmp rdx, rcx
jb 0x50a790
lea rax, [rcx + 1]
nop dword [rax]
cmp rdx, rax
jb 0x50a788
sub rdx, rcx
dec rdx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
mov rdx, qword [rsp + 0xa0]
lea r8, [rdx + rax]
jmp 0x50a730
xor eax, eax
xor ecx, ecx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rdx
nop dword [rax + rax]
test rax, rax
je 0x50a3c7
cmp byte [rcx], 0x5b
je 0x50a2d9
xor ebx, ebx
xor esi, esi
xor edi, edi
jmp 0x50a3cd
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0x88], rax
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], 0x5d
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x0095b498]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x50a694
mov rdx, qword [rsp + 0x88]
cmp rdx, rcx
jb 0x50a715
cmp rcx, 1
jb 0x50a709
mov qword [rsp + 0x78], rcx
lea rbx, [rcx - 1]
mov qword [rsp + 0x80], rbx
mov rdx, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
mov rsi, qword [rsp + 0xd0]
lea rax, [rsi + rbx]
mov qword [rsp + 0xc8], rax
mov rbx, rdx
call fcn.0050a7e0
test rdi, rdi
jne 0x50a5dd
mov rdx, qword [rsp + 0x78]
lea rsi, [rdx + 1]
mov r8, qword [rsp + 0x88]
cmp r8, rsi
jb 0x50a6fe
sub r8, rdx
lea rdx, [r8 - 1]
mov r8, rdx
neg rdx
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0xd0]
add rdx, rsi
mov rsi, rcx
mov rdi, rax
mov rax, r8
mov rcx, rdx
mov rdx, qword [rsp + 0x58]
jmp 0x50a3cd
xor ebx, ebx
xor esi, esi
xor edi, edi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0xc8], rcx
mov r8, qword [rsp + 0xb8]
cmp qword [r8 + 0x28], 0
jne 0x50a455
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xb0], rdi
nop dword [rax + rax]
call fcn.0040e4a0
cmp dword [0x0095b720], 0
jne 0x50a41c
mov rdx, qword [rsp + 0xb8]
mov qword [rdx + 0x28], rax
jmp 0x50a436
mov rdi, qword [rsp + 0xb8]
lea rdx, [rdi + 0x28]
mov rcx, rdi
mov rdi, rdx
call fcn.00466380
mov rdx, rcx
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xe8], xmm15
movups xmmword [rsp + 0xf8], xmm15
mov r9, qword [rsp + 0xa0]
mov qword [rsp + 0xe0], r9
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rsi
mov rbx, qword [r8 + 0x28]
lea rax, [0x0069d5a0]
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
cmp rcx, rbx
jae 0x50a512
mov qword [rsp + 0xc0], rax
mov rax, rdx
mov edi, 1
lea rsi, [0x006b5fe0]
call fcn.0044ac00
mov rdi, qword [rsp + 0xc0]
mov qword [rdi + 0x10], rcx
cmp dword [0x0095b720], 0
nop
jne 0x50a507
mov qword [rdi], rax
jmp 0x50a50c
call fcn.00466380
mov rdx, rax
mov rax, rdi
mov qword [rax + 8], rbx
lea rsi, [rbx + rbx*4]
lea rbx, [rdx + rsi*8]
lea rbx, [rbx - 0x28]
cmp dword [0x0095b720], 0
jne 0x50a55c
mov rcx, qword [rsp + 0xe0]
mov qword [rdx + rsi*8 - 0x28], rcx
lea rcx, [rdx + rsi*8]
lea rcx, [rcx - 0x20]
movups xmm0, xmmword [rsp + 0xe8]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rsp + 0xf8]
movups xmmword [rcx + 0x10], xmm0
jmp 0x50a205
lea rax, [0x006b5fe0]
lea rcx, [rsp + 0xe0]
call fcn.00413e40
jmp 0x50a205
dec rbx
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rdx, rbx
mov rbx, rsi
test rbx, rbx
je 0x50a5b1
movzx esi, byte [rdx]
cmp sil, 0x20
je 0x50a575
cmp sil, 9
je 0x50a575
nop
cmp sil, 0xa
je 0x50a575
cmp sil, 0xd
je 0x50a575
jmp 0x50a5b1
dec rbx
test rbx, rbx
je 0x509fb4
movzx esi, byte [rbx + rdx - 1]
nop
cmp sil, 0x20
je 0x50a5ae
cmp sil, 9
je 0x50a5ae
cmp sil, 0xa
je 0x50a5ae
cmp sil, 0xd
je 0x50a5ae
jmp 0x50a225
xor eax, eax
lea rbx, [0x006e6bff]
mov ecx, 0x12
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x80]
nop dword [rax + rax]
call fcn.0044ea40
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x48], rbx
lea rax, [0x006a81a0]
call fcn.0040d960
mov rdx, qword [rsp + 0x48]
mov qword [rax + 8], rdx
cmp dword [0x0095b720], 0
jne 0x50a63d
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
jmp 0x50a64d
mov rdi, rax
mov rcx, qword [rsp + 0x98]
call fcn.00466480
lea rcx, [0x007669a0]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x0095b720], 0
jne 0x50a66f
mov qword [rdi + 0x20], rax
jmp 0x50a681
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00466380
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
lea rax, [0x006a81a0]
nop dword [rax + rax]
call fcn.0040d960
mov qword [rax + 8], 0x1a
lea rcx, [0x006eb78a]
mov qword [rax], rcx
lea rcx, [0x007669a0]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x0095b720], 0
jne 0x50a6d9
mov qword [rdi + 0x20], rax
jmp 0x50a6eb
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00466380
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
mov rax, rsi
mov rcx, r8
call fcn.004668e0
mov eax, 1
xor ecx, ecx
call fcn.004668e0
call fcn.00466860
dec rsi
mov r9, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
add r8, rsi
mov rsi, r9
test rsi, rsi
je 0x50a757
movzx r9d, byte [r8]
cmp r9b, 0x20
je 0x50a71a
nop
cmp r9b, 9
je 0x50a71a
cmp r9b, 0xa
je 0x50a71a
cmp r9b, 0xd
je 0x50a71a
jmp 0x50a757
dec rsi
test rsi, rsi
je 0x50a77a
movzx r9d, byte [rsi + r8 - 1]
cmp r9b, 0x20
je 0x50a754
cmp r9b, 9
je 0x50a754
cmp r9b, 0xa
je 0x50a754
cmp r9b, 0xd
je 0x50a754
mov rax, rsi
mov rdx, rcx
mov rcx, r8
jmp 0x50a2b6
mov rcx, rdx
call fcn.004668e0
call fcn.00466860
mov rax, rdi
mov rcx, rdx
nop dword [rax + rax]
call fcn.004668e0
call fcn.00466860
call fcn.00466860
nop
mov qword [rsp + 8], rax
call fcn.004641c0
mov rax, qword [rsp + 8]
nop
jmp fcn.00509f60