Function at 0x50f020
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x160]
cmp r12, qword [r14 + 0x10]
jbe 0x50fbf9
push rbp
mov rbp, rsp
sub rsp, 0x1d8
movq qword [rsp + 0x1d0], xmm15
mov byte [rsp + 0x46], 0
call fcn.00491ac0
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0xb8], rbx
mov rdi, qword [0x006bded8]
mov rsi, qword [0x006bdee0]
mov r8, qword [0x006bdee8]
mov rdx, qword [0x006ad350]
mov qword [rsp + 0x138], rdx
mov r9, qword [0x006ad358]
mov qword [rsp + 0x90], r9
nop dword [rax]
call fcn.00490900
test al, al
je 0x50f0e2
mov rcx, qword [0x006bdef8]
mov rbx, qword [rsp + 0x90]
cmp rcx, rbx
je 0x50f0c2
xor eax, eax
nop
jmp 0x50f0ec
mov rax, qword [0x006bdef0]
mov rbx, qword [rsp + 0x138]
call fcn.00403760
mov rbx, qword [rsp + 0x90]
nop
jmp 0x50f0ec
mov rbx, qword [rsp + 0x90]
xor eax, eax
test al, al
je 0x50f112
mov rcx, qword [0x006bdec8]
test rcx, rcx
je 0x50f102
mov rcx, qword [rcx]
nop
jmp 0x50f104
xor ecx, ecx
test rcx, rcx
jle 0x50f112
add rsp, 0x1d8
pop rbp
ret
mov rax, qword [rsp + 0x138]
call fcn.0051a3c0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0xa8], rbx
nop dword [rax]
test rsi, rsi
je 0x50f154
mov r9, qword [rsp + 0x90]
xor edx, edx
jmp 0x50f20c
mov rdx, qword [0x006bdef8]
mov r9, qword [rsp + 0x90]
cmp rdx, r9
je 0x50f16c
xor edx, edx
jmp 0x50f1ac
mov rax, qword [0x006bdef0]
mov rbx, qword [rsp + 0x138]
mov rcx, rdx
nop
call fcn.00403760
mov rcx, qword [rsp + 0x160]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0x90]
mov edx, eax
mov rax, qword [rsp + 0xb0]
test dl, dl
jne 0x50f1b4
xor edx, edx
jmp 0x50f20c
mov rdx, qword [0x006bdf00]
mov r9, qword [0x006bdf08]
mov r10, qword [0x006bdf10]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
nop dword [rax + rax]
call fcn.004909c0
mov rcx, qword [rsp + 0x160]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0x90]
mov edx, eax
mov rax, qword [rsp + 0xb0]
test dl, dl
je 0x50f283
cmp qword [0x006bdf18], rdi
jne 0x50f283
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x168]
movabs rdi, 0x12a05f200
nop dword [rax + rax]
call fcn.004912a0
mov qword [0x006bded8], rax
mov qword [0x006bdee0], rbx
cmp dword [0x00712210], 0
je 0x50f273
nop dword [rax]
call fcn.00459120
mov qword [r11], rcx
mov rax, qword [0x006bdee8]
mov qword [r11 + 8], rax
mov qword [0x006bdee8], rcx
add rsp, 0x1d8
pop rbp
ret
call fcn.0040c840
mov qword [rsp + 0x118], rax
call fcn.0040c840
mov qword [rsp + 0x110], rax
mov rbx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x138]
call fcn.0051a2e0
mov qword [rsp + 0x108], rax
test rbx, rbx
je 0x50f320
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x88], rbx
mov rdx, qword [0x006bd790]
mov rdi, qword [0x006bd798]
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call fcn.004601a0
test al, al
jne 0x50f316
mov rcx, qword [0x006bd770]
mov rdi, qword [0x006bd778]
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x130]
call fcn.004601a0
test al, al
je 0x50f369
mov rax, qword [rsp + 0x108]
nop
test rax, rax
je 0x50f365
movups xmmword [rsp + 0x170], xmm15
lea rcx, [0x0050fc20]
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x178], rax
lea rcx, [rsp + 0x170]
mov qword [rsp + 0x1d0], rcx
mov byte [rsp + 0x46], 1
call fcn.0051a0e0
nop
jmp 0x50f4f2
xor eax, eax
jmp 0x50f372
add rsp, 0x1d8
pop rbp
ret
mov byte [rsp + 0x47], al
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x168]
movabs rdi, 0x12a05f200
mov rax, qword [rsp + 0xc0]
call fcn.004912a0
mov qword [0x006bded8], rax
mov qword [0x006bdee0], rbx
cmp dword [0x00712210], 0
je 0x50f3c7
call fcn.00459120
mov qword [r11], rcx
mov rax, qword [0x006bdee8]
mov qword [r11 + 8], rax
mov qword [0x006bdee8], rcx
mov rax, qword [rsp + 0x90]
mov qword [0x006bdef8], rax
cmp dword [0x00712210], 0
jne 0x50f402
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x110]
nop
jmp 0x50f44b
call fcn.004591a0
mov rax, qword [rsp + 0x138]
mov qword [r11], rax
mov rcx, qword [0x006bdef0]
mov qword [r11 + 8], rcx
mov rcx, qword [rsp + 0x118]
mov qword [r11 + 0x10], rcx
mov rbx, qword [0x006bdec8]
mov qword [r11 + 0x18], rbx
mov rbx, qword [rsp + 0x110]
mov qword [r11 + 0x20], rbx
mov rsi, qword [0x006bded0]
mov qword [r11 + 0x28], rsi
mov qword [0x006bdef0], rax
mov qword [0x006bdec8], rcx
mov qword [0x006bded0], rbx
mov rax, qword [rsp + 0xb0]
mov qword [0x006bdf00], rax
mov rax, qword [rsp + 0xa8]
mov qword [0x006bdf08], rax
cmp dword [0x00712210], 0
jne 0x50f491
mov rax, qword [rsp + 0x160]
jmp 0x50f4ac
call fcn.00459120
mov rax, qword [rsp + 0x160]
mov qword [r11], rax
mov rcx, qword [0x006bdf10]
mov qword [r11 + 8], rcx
mov qword [0x006bdf10], rax
mov rax, qword [rsp + 0x58]
mov qword [0x006bdf18], rax
movzx eax, byte [rsp + 0x47]
test al, 1
je 0x50f4dc
and eax, 0xfffffffe
mov byte [rsp + 0x46], al
mov rdx, qword [rsp + 0x1d0]
mov rax, qword [rdx]
call rax
add rsp, 0x1d8
pop rbp
ret
mov rax, qword [rsp + 0x108]
call fcn.0051a0e0
test cl, cl
je 0x50f5b9
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x140], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x23
call fcn.00403c60
xorps xmm15, xmm15
mov r14, qword [0x007120d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x50f54b
mov rdx, qword [rsp + 0x98]
cmp rdx, rcx
jae 0x50f553
jmp 0x50fbe5
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x140]
mov rbx, rcx
lea rcx, [0x005977c5]
mov edi, 4
call fcn.0051a540
cmp rbx, 2
jl 0x50f4e5
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0xf0], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call fcn.0050efc0
test rbx, rbx
je 0x50f4e5
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x80], rbx
mov ecx, 1
xor edx, edx
xor esi, esi
jmp 0x50f5ea
mov eax, 1
nop
jmp 0x50f372
mov rcx, qword [rsp + 0x70]
inc rcx
mov rax, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x50]
cmp rdi, rcx
jle 0x50f4e5
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x120], rsi
shl rcx, 4
mov qword [rsp + 0xa0], rcx
mov rdx, qword [rsp + 0xf0]
mov rbx, qword [rdx + rcx + 8]
mov qword [rsp + 0x68], rbx
mov rsi, qword [rdx + rcx]
mov qword [rsp + 0x100], rsi
mov qword [rsp], rsi
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.00403c60
xorps xmm15, xmm15
mov r14, qword [0x007120d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
nop
je 0x50f6a7
mov rax, qword [rsp + 0x68]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x50fbd9
mov rbx, qword [rsp + 0x100]
movzx edx, byte [rax + rbx - 1]
cmp dl, 0x2e
je 0x50f6b4
mov rcx, rax
lea rdi, [0x005e8150]
mov esi, 1
xor eax, eax
call fcn.004467c0
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x50f6b4
mov rbx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x100], rbx
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xf0]
mov rdi, qword [rsi + rdx]
mov rcx, qword [rsi + rdx + 8]
lea rax, [rsp + 0xc8]
mov rbx, rdi
call fcn.00446d00
xor ecx, ecx
jmp 0x50fbae
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.00446b40
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0xf8], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.00403c60
xorps xmm15, xmm15
mov r14, qword [0x007120d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x50f77d
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x50fbce
mov rbx, qword [rsp + 0xf8]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x50f78a
mov rcx, rax
lea rdi, [0x005e8150]
mov esi, 1
xor eax, eax
call fcn.004467c0
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x50f78a
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xf8]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x80]
lea rax, [0x0056dda0]
mov rbx, qword [rsp + 0x110]
call fcn.00410d00
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
mov rdx, qword [rax]
mov rsi, qword [rsp + 0x70]
cmp rsi, 1
mov r8, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x48]
cmove r8, rdi
mov qword [rsp + 0x78], r8
mov r9, qword [rsp + 0x120]
mov r10, qword [rsp + 0xe8]
cmove r9, r10
mov qword [rsp + 0x120], r9
cmp rcx, rbx
jae 0x50f874
mov qword [rsp + 0x158], rax
mov rax, rdx
mov edi, 1
lea rsi, [0x005652a0]
nop dword [rax]
call fcn.004436a0
mov rdx, qword [rsp + 0x158]
mov qword [rdx + 0x10], rcx
cmp dword [0x00712210], 0
je 0x50f849
call fcn.00459120
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x120]
mov r10, qword [rsp + 0xe8]
mov rcx, rax
mov rax, rdx
mov rdx, rcx
mov qword [rax + 8], rbx
lea r11, [rbx - 1]
shl r11, 4
mov r12, qword [rsp + 0x68]
mov qword [rdx + r11 + 8], r12
cmp dword [0x00712210], 0
jne 0x50f8a2
mov rax, r11
mov r12, qword [rsp + 0x100]
nop
jmp 0x50f8bd
mov rax, r11
call fcn.00459120
mov r12, qword [rsp + 0x100]
mov qword [r11], r12
mov r13, qword [rdx + rax]
mov qword [r11 + 8], r13
mov qword [rdx + rax], r12
movups xmmword [rsp + 0x1a8], xmm15
movups xmmword [rsp + 0x1b0], xmm15
movups xmmword [rsp + 0x1c0], xmm15
lea rax, [0x0056de00]
mov rbx, qword [rsp + 0x118]
mov rcx, r10
call fcn.00410920
mov rdx, qword [rax]
mov qword [rsp + 0x1a8], rdx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x1b0], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x1c0], xmm0
mov rdx, qword [rsp + 0x1a8]
mov qword [rsp + 0x180], rdx
movups xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rsp + 0x188], xmm0
movups xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rsp + 0x198], xmm0
test bl, bl
je 0x50fa95
mov rcx, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x188]
inc rbx
mov rax, qword [rsp + 0x180]
cmp rcx, rbx
jae 0x50f97f
mov edi, 1
lea rsi, [0x005652a0]
call fcn.004436a0
lea rdx, [rbx - 1]
shl rdx, 4
mov rsi, qword [rsp + 0x80]
mov qword [rax + rdx + 8], rsi
cmp dword [0x00712210], 0
jne 0x50f9a7
mov r8, qword [rsp + 0x128]
jmp 0x50f9bf
call fcn.00459120
mov r8, qword [rsp + 0x128]
mov qword [r11], r8
mov r9, qword [rax + rdx]
mov qword [r11 + 8], r9
mov qword [rax + rdx], r8
movups xmmword [rsp + 0x1a8], xmm15
movups xmmword [rsp + 0x1b0], xmm15
movups xmmword [rsp + 0x1c0], xmm15
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1b8], rcx
mov rdx, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x1a0]
mov qword [rsp + 0x1c0], rdx
mov qword [rsp + 0x1c8], rsi
lea rax, [0x0056de00]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x48]
call fcn.00410d00
test byte [rax], al
cmp dword [0x00712210], 0
je 0x50fa6d
mov qword [rsp + 0x150], rax
mov rbx, rax
lea rcx, [rsp + 0x1a8]
lea rax, [0x005774a0]
nop dword [rax]
call fcn.004119c0
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x1a8]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rax + 0x18], xmm0
jmp 0x50f5c5
movups xmmword [rsp + 0x1a8], xmm15
movups xmmword [rsp + 0x1b0], xmm15
movups xmmword [rsp + 0x1c0], xmm15
lea rax, [0x00567880]
call fcn.0040bdc0
mov rcx, qword [rsp + 0x80]
mov qword [rax + 8], rcx
cmp dword [0x00712210], 0
jne 0x50fae0
mov rdx, qword [rsp + 0x128]
jmp 0x50faf0
call fcn.00459100
mov rdx, qword [rsp + 0x128]
mov qword [r11], rdx
mov qword [rax], rdx
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], 1
mov qword [rsp + 0x1b8], 1
mov rsi, qword [rsp + 0x120]
mov qword [rsp + 0x1c0], rsi
mov r8, qword [rsp + 0x78]
mov qword [rsp + 0x1c8], r8
lea rax, [0x0056de00]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x48]
call fcn.00410d00
test byte [rax], al
cmp dword [0x00712210], 0
je 0x50fb83
mov qword [rsp + 0x148], rax
mov rbx, rax
lea rcx, [rsp + 0x1a8]
lea rax, [0x005774a0]
call fcn.004119c0
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x1a8]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rax + 0x18], xmm0
jmp 0x50f5c5
inc rcx
cmp rbx, rcx
jle 0x50f6f1
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
nop
cmp sil, 0x19
ja 0x50fbab
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x50fbab
mov rcx, rax
mov rax, rdx
call fcn.00459480
mov rcx, rax
mov rax, rdx
nop
call fcn.00459480
call fcn.004594c0
nop
call fcn.00430aa0
add rsp, 0x1d8
pop rbp
ret
call fcn.00457200
nop
jmp fcn.0050f020