Function at 0x522860
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x120]
cmp r12, qword [r14 + 0x10]
jbe 0x52334b
sub rsp, 0x1a0
mov qword [rsp + 0x198], rbp
lea rbp, [rsp + 0x198]
call fcn.004bace0
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x140], rcx
mov rdx, qword [0x008f2b70]
mov qword [rsp + 0x110], rdx
mov rsi, qword [0x008f2b78]
mov qword [rsp + 0x78], rsi
mov rdi, qword [0x008fea38]
mov r8, qword [0x008fea40]
mov r9, qword [0x008fea48]
mov rsi, r8
mov r8, r9
nop dword [rax]
call fcn.004b98c0
test al, al
je 0x52291d
mov rcx, qword [0x008fea58]
mov rax, qword [0x008fea50]
mov rbx, qword [rsp + 0x78]
nop dword [rax]
cmp rcx, rbx
je 0x522909
xor eax, eax
jmp 0x522924
mov rbx, qword [rsp + 0x110]
call fcn.00402d80
mov rbx, qword [rsp + 0x78]
jmp 0x522924
mov rbx, qword [rsp + 0x78]
xor eax, eax
test al, al
je 0x522955
mov rcx, qword [0x008fea28]
test rcx, rcx
je 0x522939
mov rcx, qword [rcx]
jmp 0x522940
xor ecx, ecx
nop dword [rax + rax]
test rcx, rcx
jle 0x522955
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x110]
nop dword [rax]
call fcn.005307a0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x50], rdi
test rsi, rsi
je 0x522993
mov r10, qword [rsp + 0x78]
xor edx, edx
jmp 0x522a41
mov rdx, qword [0x008fea58]
mov r9, qword [0x008fea50]
mov r10, qword [rsp + 0x78]
cmp rdx, r10
je 0x5229af
xor edx, edx
jmp 0x5229e9
mov rax, r9
mov rbx, qword [rsp + 0x110]
mov rcx, rdx
nop dword [rax]
call fcn.00402d80
mov rcx, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x50]
mov r10, qword [rsp + 0x78]
mov edx, eax
mov rax, qword [rsp + 0xa0]
test dl, dl
jne 0x5229f1
xor edx, edx
jmp 0x522a41
mov rdx, qword [0x008fea60]
mov r9, qword [0x008fea68]
mov r10, qword [0x008fea70]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
call fcn.004b9980
mov rcx, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x50]
mov r10, qword [rsp + 0x78]
mov edx, eax
mov rax, qword [rsp + 0xa0]
test dl, dl
je 0x522ab5
cmp qword [0x008fea78], rdi
jne 0x522ab5
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.004ba420
mov qword [0x008fea38], rax
mov qword [0x008fea40], rbx
cmp dword [0x00952fd0], 0
jne 0x522a95
mov qword [0x008fea48], rcx
jmp 0x522aa5
lea rdi, [0x008fea48]
nop dword [rax]
call fcn.00465aa0
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
call fcn.0040e4a0
mov qword [rsp + 0x108], rax
call fcn.0040e4a0
mov qword [rsp + 0x100], rax
mov rbx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x110]
nop dword [rax]
call fcn.005306a0
test rax, rax
je 0x522af9
mov qword [rsp + 0x118], rax
call fcn.00530480
jmp 0x522b16
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x118]
call fcn.00530480
test cl, cl
je 0x522bd8
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0xf0], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x23
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x00952d60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x522b6a
mov rdx, qword [rsp + 0x68]
nop
cmp rdx, rcx
jae 0x522b6f
jmp 0x523345
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0xf0]
mov rbx, rcx
lea rcx, [0x006df8f1]
mov edi, 4
call fcn.00530940
cmp rbx, 2
jl 0x522b09
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0xd8], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call fcn.00522780
test rbx, rbx
je 0x522b09
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x128], rax
mov ecx, 1
xor edx, edx
xor esi, esi
jmp 0x522d56
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.004ba420
mov qword [0x008fea38], rax
mov qword [0x008fea40], rbx
cmp dword [0x00952fd0], 0
jne 0x522c1f
mov qword [0x008fea48], rcx
jmp 0x522c2b
lea rdi, [0x008fea48]
call fcn.00465aa0
mov rcx, qword [rsp + 0x78]
mov qword [0x008fea58], rcx
cmp dword [0x00952fd0], 0
nop
jne 0x522c71
mov rcx, qword [rsp + 0x110]
mov qword [0x008fea50], rcx
mov rcx, qword [rsp + 0x108]
mov qword [0x008fea28], rcx
mov rcx, qword [rsp + 0x100]
mov qword [0x008fea30], rcx
jmp 0x522cad
lea rdi, [0x008fea50]
mov rcx, qword [rsp + 0x110]
call fcn.00465aa0
lea rdi, [0x008fea28]
mov rcx, qword [rsp + 0x108]
call fcn.00465aa0
lea rdi, [0x008fea30]
mov rcx, qword [rsp + 0x100]
call fcn.00465aa0
mov rcx, qword [rsp + 0xa0]
mov qword [0x008fea60], rcx
mov rcx, qword [rsp + 0x98]
mov qword [0x008fea68], rcx
cmp dword [0x00952fd0], 0
jne 0x522ce5
mov rcx, qword [rsp + 0x138]
mov qword [0x008fea70], rcx
jmp 0x522cf9
lea rdi, [0x008fea70]
mov rcx, qword [rsp + 0x138]
call fcn.00465aa0
mov rcx, qword [rsp + 0x50]
mov qword [0x008fea78], rcx
nop
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
test rcx, rcx
je 0x522d1e
mov rax, qword [rcx]
call fcn.004cfda0
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rcx, qword [rsp + 0x70]
inc rcx
mov rax, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x48]
nop dword [rax + rax]
cmp rdi, rcx
jle 0x522b09
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x120], rsi
shl rcx, 4
mov qword [rsp + 0x90], rcx
mov rdx, qword [rsp + 0xd8]
mov rbx, qword [rdx + rcx + 8]
mov qword [rsp + 0x60], rbx
mov rsi, qword [rdx + rcx]
mov qword [rsp + 0xe8], rsi
mov qword [rsp], rsi
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x00952d60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x522e1c
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 1]
nop
cmp rax, rdx
jbe 0x523339
mov rbx, qword [rsp + 0xe8]
movzx edx, byte [rax + rbx - 1]
cmp dl, 0x2e
je 0x522e29
mov rcx, rax
lea rdi, [0x00758d68]
mov esi, 1
xor eax, eax
call fcn.0044e800
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x522e29
mov rbx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xe8], rbx
mov rdx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsi + rdx]
mov rcx, qword [rsi + rdx + 8]
lea rax, [rsp + 0xb8]
mov rbx, rdi
call fcn.0044eda0
xor ecx, ecx
jmp 0x52330d
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044eba0
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x00952d60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x522ef2
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x52332e
mov rbx, qword [rsp + 0xe0]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x522eff
mov rcx, rax
lea rdi, [0x00758d68]
mov esi, 1
xor eax, eax
call fcn.0044e800
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x522eff
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xe0]
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x88]
lea rax, [0x0069a640]
mov rbx, qword [rsp + 0x100]
call fcn.004131e0
mov rdx, qword [rsp + 0x70]
cmp rdx, 1
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x40]
cmove rsi, rdi
mov qword [rsp + 0x80], rsi
mov r8, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xf8]
cmove r8, rcx
mov qword [rsp + 0x120], r8
mov r9, qword [rax]
mov r10, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
nop dword [rax]
cmp r10, rbx
jae 0x522fed
mov qword [rsp + 0x130], rax
mov rax, r9
mov rcx, r10
mov edi, 1
lea rsi, [0x0068d0e0]
nop
call fcn.0044a9c0
mov rdi, qword [rsp + 0x130]
mov qword [rdi + 0x10], rcx
cmp dword [0x00952fd0], 0
jne 0x522fc0
mov qword [rdi], rax
jmp 0x522fc5
call fcn.004659a0
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
mov r8, qword [rsp + 0x120]
mov r9, rax
mov rax, rdi
mov rdi, qword [rsp + 0x40]
mov qword [rax + 8], rbx
lea r10, [rbx - 1]
shl r10, 4
mov r11, qword [rsp + 0x60]
mov qword [r9 + r10 + 8], r11
lea r11, [r9 + r10]
cmp dword [0x00952fd0], 0
jne 0x52301e
mov r11, qword [rsp + 0xe8]
mov qword [r9 + r10], r11
jmp 0x523034
mov rax, rdi
mov rdi, r11
mov r9, qword [rsp + 0xe8]
call fcn.00465b40
mov rdi, rax
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x0069a8e0]
mov rbx, qword [rsp + 0x108]
nop
call fcn.00412dc0
mov rdx, qword [rax]
mov qword [rsp + 0x170], rdx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x178], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x188], xmm0
mov rdx, qword [rsp + 0x170]
mov qword [rsp + 0x148], rdx
movups xmm0, xmmword [rsp + 0x178]
movups xmmword [rsp + 0x150], xmm0
movups xmm0, xmmword [rsp + 0x188]
movups xmmword [rsp + 0x160], xmm0
nop dword [rax + rax]
test bl, bl
je 0x5231f9
mov rbx, qword [rsp + 0x150]
inc rbx
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x148]
cmp rcx, rbx
jae 0x5230f9
mov edi, 1
lea rsi, [0x0068d0e0]
call fcn.0044a9c0
lea rdx, [rbx - 1]
shl rdx, 4
mov rsi, qword [rsp + 0x88]
mov qword [rax + rdx + 8], rsi
lea rdi, [rax + rdx]
cmp dword [0x00952fd0], 0
jne 0x523129
mov r8, qword [rsp + 0x128]
mov qword [rax + rdx], r8
jmp 0x523136
mov rdx, qword [rsp + 0x128]
call fcn.00465ac0
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x180], rcx
mov rdx, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x168]
mov qword [rsp + 0x188], rdx
mov qword [rsp + 0x190], rsi
lea rax, [0x0069a8e0]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
test byte [rax], al
cmp dword [0x00952fd0], 0
jne 0x5231dd
mov rcx, qword [rsp + 0x170]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x178]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x188]
movups xmmword [rax + 0x18], xmm0
jmp 0x522d2e
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x006ae380]
call fcn.00413e40
jmp 0x522d2e
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x0068e6e0]
nop dword [rax + rax]
call fcn.0040d960
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
cmp dword [0x00952fd0], 0
jne 0x523247
mov rdx, qword [rsp + 0x128]
mov qword [rax], rdx
jmp 0x523257
mov rdi, rax
mov rdx, qword [rsp + 0x128]
call fcn.00465ac0
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], 1
mov qword [rsp + 0x180], 1
mov rdx, qword [rsp + 0x120]
mov qword [rsp + 0x188], rdx
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x190], rsi
lea rax, [0x0069a8e0]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
test byte [rax], al
cmp dword [0x00952fd0], 0
jne 0x5232eb
mov rcx, qword [rsp + 0x170]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x178]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x188]
movups xmmword [rax + 0x18], xmm0
jmp 0x522d2e
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x006ae380]
nop dword [rax]
call fcn.00413e40
jmp 0x522d2e
inc rcx
cmp rbx, rcx
jle 0x522e66
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
nop dword [rax]
cmp sil, 0x19
ja 0x52330a
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x52330a
mov rcx, rax
mov rax, rdx
call fcn.00465e40
mov rcx, rax
mov rax, rdx
nop
call fcn.00465e40
call fcn.00465e80
nop
call fcn.004637e0
jmp fcn.00522860