Function at 0x520720
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x120]
cmp r12, qword [r14 + 0x10]
jbe 0x52120b
sub rsp, 0x1a0
mov qword [rsp + 0x198], rbp
lea rbp, [rsp + 0x198]
call fcn.004bf520
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x140], rcx
mov rdx, qword [0x0090f520]
mov qword [rsp + 0x110], rdx
mov rsi, qword [0x0090f528]
mov qword [rsp + 0x78], rsi
mov rdi, qword [0x0091c218]
mov r8, qword [0x0091c220]
mov r9, qword [0x0091c228]
mov rsi, r8
mov r8, r9
nop dword [rax]
call fcn.004be180
test al, al
je 0x5207dd
mov rcx, qword [0x0091c238]
mov rax, qword [0x0091c230]
mov rbx, qword [rsp + 0x78]
nop dword [rax]
cmp rcx, rbx
je 0x5207c9
xor eax, eax
jmp 0x5207e4
mov rbx, qword [rsp + 0x110]
call fcn.00402d80
mov rbx, qword [rsp + 0x78]
jmp 0x5207e4
mov rbx, qword [rsp + 0x78]
xor eax, eax
test al, al
je 0x520815
mov rcx, qword [0x0091c208]
test rcx, rcx
je 0x5207f9
mov rcx, qword [rcx]
jmp 0x520800
xor ecx, ecx
nop dword [rax + rax]
test rcx, rcx
jle 0x520815
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x110]
nop dword [rax]
call fcn.0052e2a0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x50], rdi
test rsi, rsi
je 0x520853
mov r10, qword [rsp + 0x78]
xor edx, edx
jmp 0x520901
mov rdx, qword [0x0091c238]
mov r9, qword [0x0091c230]
mov r10, qword [rsp + 0x78]
cmp rdx, r10
je 0x52086f
xor edx, edx
jmp 0x5208a9
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 0x5208b1
xor edx, edx
jmp 0x520901
mov rdx, qword [0x0091c240]
mov r9, qword [0x0091c248]
mov r10, qword [0x0091c250]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
call fcn.004be240
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 0x520975
cmp qword [0x0091c258], rdi
jne 0x520975
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.004bec60
mov qword [0x0091c218], rax
mov qword [0x0091c220], rbx
cmp dword [0x009707e0], 0
jne 0x520955
mov qword [0x0091c228], rcx
jmp 0x520965
lea rdi, [0x0091c228]
nop dword [rax]
call fcn.00465780
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.0052e1a0
test rax, rax
je 0x5209b9
mov qword [rsp + 0x118], rax
call fcn.0052df80
jmp 0x5209d6
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x118]
call fcn.0052df80
test cl, cl
je 0x520a98
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 [0x00970560]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x520a2a
mov rdx, qword [rsp + 0x68]
nop
cmp rdx, rcx
jae 0x520a2f
jmp 0x521205
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0xf0]
mov rbx, rcx
lea rcx, [0x006eba9b]
mov edi, 4
call fcn.0052e440
cmp rbx, 2
jl 0x5209c9
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0xd8], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call fcn.00520640
test rbx, rbx
je 0x5209c9
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x128], rax
mov ecx, 1
xor edx, edx
xor esi, esi
jmp 0x520c16
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.004bec60
mov qword [0x0091c218], rax
mov qword [0x0091c220], rbx
cmp dword [0x009707e0], 0
jne 0x520adf
mov qword [0x0091c228], rcx
jmp 0x520aeb
lea rdi, [0x0091c228]
call fcn.00465780
mov rcx, qword [rsp + 0x78]
mov qword [0x0091c238], rcx
cmp dword [0x009707e0], 0
nop
jne 0x520b31
mov rcx, qword [rsp + 0x110]
mov qword [0x0091c230], rcx
mov rcx, qword [rsp + 0x108]
mov qword [0x0091c208], rcx
mov rcx, qword [rsp + 0x100]
mov qword [0x0091c210], rcx
jmp 0x520b6d
lea rdi, [0x0091c230]
mov rcx, qword [rsp + 0x110]
call fcn.00465780
lea rdi, [0x0091c208]
mov rcx, qword [rsp + 0x108]
call fcn.00465780
lea rdi, [0x0091c210]
mov rcx, qword [rsp + 0x100]
call fcn.00465780
mov rcx, qword [rsp + 0xa0]
mov qword [0x0091c240], rcx
mov rcx, qword [rsp + 0x98]
mov qword [0x0091c248], rcx
cmp dword [0x009707e0], 0
jne 0x520ba5
mov rcx, qword [rsp + 0x138]
mov qword [0x0091c250], rcx
jmp 0x520bb9
lea rdi, [0x0091c250]
mov rcx, qword [rsp + 0x138]
call fcn.00465780
mov rcx, qword [rsp + 0x50]
mov qword [0x0091c258], rcx
nop
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
test rcx, rcx
je 0x520bde
mov rax, qword [rcx]
call fcn.004d0880
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 0x5209c9
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 [0x00970560]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x520cdc
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 1]
nop
cmp rax, rdx
jbe 0x5211f9
mov rbx, qword [rsp + 0xe8]
movzx edx, byte [rax + rbx - 1]
cmp dl, 0x2e
je 0x520ce9
mov rcx, rax
lea rdi, [0x0076f580]
mov esi, 1
xor eax, eax
call fcn.0044e760
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x520ce9
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.0044ed00
xor ecx, ecx
jmp 0x5211cd
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044eb00
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 [0x00970560]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x520db2
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x5211ee
mov rbx, qword [rsp + 0xe0]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x520dbf
mov rcx, rax
lea rdi, [0x0076f580]
mov esi, 1
xor eax, eax
call fcn.0044e760
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x520dbf
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, [0x006a7420]
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 0x520ead
mov qword [rsp + 0x130], rax
mov rax, r9
mov rcx, r10
mov edi, 1
lea rsi, [0x0069a040]
nop
call fcn.0044a920
mov rdi, qword [rsp + 0x130]
mov qword [rdi + 0x10], rcx
cmp dword [0x009707e0], 0
jne 0x520e80
mov qword [rdi], rax
jmp 0x520e85
call fcn.00465680
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 [0x009707e0], 0
jne 0x520ede
mov r11, qword [rsp + 0xe8]
mov qword [r9 + r10], r11
jmp 0x520ef4
mov rax, rdi
mov rdi, r11
mov r9, qword [rsp + 0xe8]
call fcn.00465820
mov rdi, rax
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x006a76c0]
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 0x5210b9
mov rbx, qword [rsp + 0x150]
inc rbx
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x148]
cmp rcx, rbx
jae 0x520fb9
mov edi, 1
lea rsi, [0x0069a040]
call fcn.0044a920
lea rdx, [rbx - 1]
shl rdx, 4
mov rsi, qword [rsp + 0x88]
mov qword [rax + rdx + 8], rsi
lea rdi, [rax + rdx]
cmp dword [0x009707e0], 0
jne 0x520fe9
mov r8, qword [rsp + 0x128]
mov qword [rax + rdx], r8
jmp 0x520ff6
mov rdx, qword [rsp + 0x128]
call fcn.004657a0
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, [0x006a76c0]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
test byte [rax], al
cmp dword [0x009707e0], 0
jne 0x52109d
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 0x520bee
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x006babc0]
call fcn.00413e40
jmp 0x520bee
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x0069b520]
nop dword [rax + rax]
call fcn.0040d960
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
cmp dword [0x009707e0], 0
jne 0x521107
mov rdx, qword [rsp + 0x128]
mov qword [rax], rdx
jmp 0x521117
mov rdi, rax
mov rdx, qword [rsp + 0x128]
call fcn.004657a0
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, [0x006a76c0]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
test byte [rax], al
cmp dword [0x009707e0], 0
jne 0x5211ab
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 0x520bee
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x006babc0]
nop dword [rax]
call fcn.00413e40
jmp 0x520bee
inc rcx
cmp rbx, rcx
jle 0x520d26
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
nop dword [rax]
cmp sil, 0x19
ja 0x5211ca
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x5211ca
mov rcx, rax
mov rax, rdx
call fcn.00465b20
mov rcx, rax
mov rax, rdx
nop
call fcn.00465b20
call fcn.00465b60
nop
call fcn.004634c0
jmp fcn.00520720