Function at 0x51b260
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x160]
cmp r12, qword [r14 + 0x10]
jbe 0x51be39
push rbp
mov rbp, rsp
sub rsp, 0x1d8
movq qword [rsp + 0x1d0], xmm15
mov byte [rsp + 0x46], 0
call fcn.0049db20
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x168], rcx
mov rdi, qword [0x006f4278]
mov rsi, qword [0x006f4280]
mov r8, qword [0x006f4288]
mov rdx, qword [0x006e3630]
mov qword [rsp + 0x120], rdx
mov r9, qword [0x006e3638]
mov qword [rsp + 0x80], r9
nop dword [rax]
call fcn.0049c960
test al, al
je 0x51b322
mov rcx, qword [0x006f4298]
mov rbx, qword [rsp + 0x80]
cmp rcx, rbx
je 0x51b302
xor eax, eax
nop
jmp 0x51b32c
mov rax, qword [0x006f4290]
mov rbx, qword [rsp + 0x120]
call fcn.004037e0
mov rbx, qword [rsp + 0x80]
nop
jmp 0x51b32c
mov rbx, qword [rsp + 0x80]
xor eax, eax
test al, al
je 0x51b352
mov rcx, qword [0x006f4268]
test rcx, rcx
je 0x51b342
mov rcx, qword [rcx]
nop
jmp 0x51b344
xor ecx, ecx
test rcx, rcx
jle 0x51b352
add rsp, 0x1d8
pop rbp
ret
mov rax, qword [rsp + 0x120]
call fcn.005265e0
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 0x51b394
mov r9, qword [rsp + 0x80]
xor edx, edx
jmp 0x51b44c
mov rdx, qword [0x006f4298]
mov r9, qword [rsp + 0x80]
cmp rdx, r9
je 0x51b3ac
xor edx, edx
jmp 0x51b3ec
mov rax, qword [0x006f4290]
mov rbx, qword [rsp + 0x120]
mov rcx, rdx
nop
call fcn.004037e0
mov rcx, qword [rsp + 0x160]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0xb0]
test dl, dl
jne 0x51b3f4
xor edx, edx
jmp 0x51b44c
mov rdx, qword [0x006f42a0]
mov r9, qword [0x006f42a8]
mov r10, qword [0x006f42b0]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
nop dword [rax + rax]
call fcn.0049ca20
mov rcx, qword [rsp + 0x160]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0xb0]
test dl, dl
je 0x51b4c3
cmp qword [0x006f42b8], rdi
jne 0x51b4c3
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x168]
movabs rdi, 0x12a05f200
nop dword [rax + rax]
call fcn.0049d300
mov qword [0x006f4278], rax
mov qword [0x006f4280], rbx
cmp dword [0x007485c0], 0
je 0x51b4b3
nop dword [rax]
call fcn.00465060
mov qword [r11], rcx
mov rax, qword [0x006f4288]
mov qword [r11 + 8], rax
mov qword [0x006f4288], rcx
add rsp, 0x1d8
pop rbp
ret
call fcn.0040dde0
mov qword [rsp + 0x118], rax
call fcn.0040dde0
mov qword [rsp + 0x110], rax
mov rbx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x120]
call fcn.00526500
mov qword [rsp + 0x128], rax
test rbx, rbx
je 0x51b560
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x88], rbx
mov rdx, qword [0x006f3b30]
mov rdi, qword [0x006f3b38]
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call fcn.0046c0e0
test al, al
jne 0x51b556
mov rcx, qword [0x006f3b10]
mov rdi, qword [0x006f3b18]
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x130]
call fcn.0046c0e0
test al, al
je 0x51b5a9
mov rax, qword [rsp + 0x128]
nop
test rax, rax
je 0x51b5a5
movups xmmword [rsp + 0x170], xmm15
lea rcx, [0x0051be60]
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.00526300
nop
jmp 0x51b732
xor eax, eax
jmp 0x51b5b2
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.0049d300
mov qword [0x006f4278], rax
mov qword [0x006f4280], rbx
cmp dword [0x007485c0], 0
je 0x51b607
call fcn.00465060
mov qword [r11], rcx
mov rax, qword [0x006f4288]
mov qword [r11 + 8], rax
mov qword [0x006f4288], rcx
mov rax, qword [rsp + 0x80]
mov qword [0x006f4298], rax
cmp dword [0x007485c0], 0
jne 0x51b642
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x110]
nop
jmp 0x51b68b
call fcn.004650e0
mov rax, qword [rsp + 0x120]
mov qword [r11], rax
mov rcx, qword [0x006f4290]
mov qword [r11 + 8], rcx
mov rcx, qword [rsp + 0x118]
mov qword [r11 + 0x10], rcx
mov rbx, qword [0x006f4268]
mov qword [r11 + 0x18], rbx
mov rbx, qword [rsp + 0x110]
mov qword [r11 + 0x20], rbx
mov rsi, qword [0x006f4270]
mov qword [r11 + 0x28], rsi
mov qword [0x006f4290], rax
mov qword [0x006f4268], rcx
mov qword [0x006f4270], rbx
mov rax, qword [rsp + 0xb0]
mov qword [0x006f42a0], rax
mov rax, qword [rsp + 0xa8]
mov qword [0x006f42a8], rax
cmp dword [0x007485c0], 0
jne 0x51b6d1
mov rax, qword [rsp + 0x160]
jmp 0x51b6ec
call fcn.00465060
mov rax, qword [rsp + 0x160]
mov qword [r11], rax
mov rcx, qword [0x006f42b0]
mov qword [r11 + 8], rcx
mov qword [0x006f42b0], rax
mov rax, qword [rsp + 0x58]
mov qword [0x006f42b8], rax
movzx eax, byte [rsp + 0x47]
test al, 1
je 0x51b71c
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 + 0x128]
call fcn.00526300
test cl, cl
je 0x51b7f5
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x108], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x23
call fcn.00403ce0
xorps xmm15, xmm15
mov r14, qword [0x00748488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x51b78a
mov rdx, qword [rsp + 0x70]
nop dword [rax + rax]
cmp rdx, rcx
jae 0x51b78f
jmp 0x51be25
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x108]
mov rbx, rcx
lea rcx, [0x005a17c7]
mov edi, 4
call fcn.00526760
cmp rbx, 2
jl 0x51b725
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0xf0], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call fcn.0051b200
test rbx, rbx
je 0x51b725
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x98], rbx
mov ecx, 1
xor edx, edx
xor esi, esi
jmp 0x51b827
mov eax, 1
jmp 0x51b5b2
mov rcx, qword [rsp + 0x78]
inc rcx
mov rax, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x50]
cmp rdi, rcx
jle 0x51b725
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x138], 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.00403ce0
xorps xmm15, xmm15
mov r14, qword [0x00748488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
nop
je 0x51b8e7
mov rax, qword [rsp + 0x68]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x51be1a
mov rbx, qword [rsp + 0x100]
movzx edx, byte [rax + rbx - 1]
cmp dl, 0x2e
je 0x51b8f4
mov rcx, rax
lea rdi, [0x005f48f0]
mov esi, 1
xor eax, eax
call fcn.0044ed00
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x51b8f4
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.0044f240
xor ecx, ecx
jmp 0x51bdf1
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044f080
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.00403ce0
xorps xmm15, xmm15
mov r14, qword [0x00748488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x51b9bd
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x51be0f
mov rbx, qword [rsp + 0xf8]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x51b9ca
mov rcx, rax
lea rdi, [0x005f48f0]
mov esi, 1
xor eax, eax
call fcn.0044ed00
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x51b9ca
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xf8]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x98]
lea rax, [0x005780e0]
mov rbx, qword [rsp + 0x110]
call fcn.004122a0
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
mov rdx, qword [rax]
mov rsi, qword [rsp + 0x78]
cmp rsi, 1
mov r8, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x48]
cmove r8, rdi
mov qword [rsp + 0x90], r8
mov r9, qword [rsp + 0x138]
mov r10, qword [rsp + 0xe8]
cmove r9, r10
mov qword [rsp + 0x138], r9
cmp rcx, rbx
jae 0x51babd
mov qword [rsp + 0x158], rax
mov rax, rdx
mov edi, 1
lea rsi, [0x0056f580]
call fcn.0044af60
mov rdx, qword [rsp + 0x158]
mov qword [rdx + 0x10], rcx
cmp dword [0x007485c0], 0
je 0x51ba8f
nop dword [rax]
call fcn.00465060
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x138]
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 [0x007485c0], 0
jne 0x51bae9
mov rax, r11
mov r12, qword [rsp + 0x100]
jmp 0x51bb04
mov rax, r11
call fcn.00465060
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, [0x00578080]
mov rbx, qword [rsp + 0x118]
mov rcx, r10
call fcn.00411ec0
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 0x51bcd8
mov rcx, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x188]
inc rbx
mov rax, qword [rsp + 0x180]
cmp rcx, rbx
jae 0x51bbc6
mov edi, 1
lea rsi, [0x0056f580]
call fcn.0044af60
lea rdx, [rbx - 1]
shl rdx, 4
mov rsi, qword [rsp + 0x98]
mov qword [rax + rdx + 8], rsi
cmp dword [0x007485c0], 0
jne 0x51bbee
mov r8, qword [rsp + 0x140]
jmp 0x51bc06
call fcn.00465060
mov r8, qword [rsp + 0x140]
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, [0x00578080]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x48]
call fcn.004122a0
test byte [rax], al
cmp dword [0x007485c0], 0
je 0x51bcb0
mov qword [rsp + 0x150], rax
mov rbx, rax
lea rcx, [rsp + 0x1a8]
lea rax, [0x005815c0]
call fcn.00412f60
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 0x51b7ff
movups xmmword [rsp + 0x1a8], xmm15
movups xmmword [rsp + 0x1b0], xmm15
movups xmmword [rsp + 0x1c0], xmm15
lea rax, [0x00571d20]
call fcn.0040d360
mov rcx, qword [rsp + 0x98]
mov qword [rax + 8], rcx
cmp dword [0x007485c0], 0
jne 0x51bd20
mov rdx, qword [rsp + 0x140]
jmp 0x51bd30
call fcn.00465040
mov rdx, qword [rsp + 0x140]
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 + 0x138]
mov qword [rsp + 0x1c0], rsi
mov r8, qword [rsp + 0x90]
mov qword [rsp + 0x1c8], r8
lea rax, [0x00578080]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x48]
call fcn.004122a0
test byte [rax], al
cmp dword [0x007485c0], 0
je 0x51bdc6
mov qword [rsp + 0x148], rax
mov rbx, rax
lea rcx, [rsp + 0x1a8]
lea rax, [0x005815c0]
call fcn.00412f60
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 0x51b7ff
inc rcx
cmp rbx, rcx
jle 0x51b931
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
cmp sil, 0x19
ja 0x51bdee
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x51bdee
mov rcx, rax
mov rax, rdx
call fcn.004653c0
mov rcx, rax
mov rax, rdx
call fcn.004653c0
call fcn.00465400
nop
call fcn.004356a0
add rsp, 0x1d8
pop rbp
ret
call fcn.00463140
nop
jmp fcn.0051b260