Function at 0x520a20
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x90]
cmp r12, qword [r14 + 0x10]
jbe 0x521270
sub rsp, 0x110
mov qword [rsp + 0x108], rbp
lea rbp, [rsp + 0x108]
mov qword [rsp + 0xd8], rax
lea rax, [0x00601140]
call fcn.0040da20
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xd8]
call fcn.005218c0
jmp 0x520a85
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call fcn.005218c0
test cl, cl
je 0x520b52
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.004032e0
xorps xmm15, xmm15
mov r14, qword [0x00803400]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x520ad9
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jae 0x520ade
jmp 0x52126a
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0xa8]
jmp 0x520b80
test rcx, rcx
je 0x520a74
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.004032e0
xorps xmm15, xmm15
mov r14, qword [0x00803400]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x520bca
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jb 0x521265
mov rax, qword [rsp + 0xa8]
mov rbx, rcx
mov rsi, rax
jmp 0x520c45
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 0x520ba1
movzx edx, byte [rax]
cmp dl, 0x20
je 0x520b6a
cmp dl, 9
je 0x520b6a
cmp dl, 0xa
je 0x520b6a
cmp dl, 0xd
je 0x520b6a
jmp 0x520ba1
dec rcx
test rcx, rcx
je 0x520a74
movzx edx, byte [rax + rcx - 1]
cmp dl, 0x20
je 0x520b9e
cmp dl, 9
je 0x520b9e
cmp dl, 0xa
je 0x520b9e
nop
cmp dl, 0xd
je 0x520b9e
jmp 0x520aeb
lea rax, [0x005f2680]
call fcn.0040da20
mov qword [rax + 8], 0x10
lea rcx, [0x00622792]
mov qword [rax], rcx
lea rcx, [0x0067cbc0]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x00803600], 0
jne 0x520c0a
mov qword [rdi + 0x20], rax
jmp 0x520c1c
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00465600
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 0x520c6b
movzx edi, byte [rax]
cmp dil, 0x20
je 0x520c2f
cmp dil, 9
je 0x520c2f
cmp dil, 0xa
je 0x520c2f
nop
cmp dil, 0xd
je 0x520c2f
jmp 0x520c6b
dec rcx
test rcx, rcx
je 0x520c92
movzx edi, byte [rax + rcx - 1]
cmp dil, 0x20
je 0x520c68
nop dword [rax + rax]
cmp dil, 9
je 0x520c68
cmp dil, 0xa
je 0x520c68
cmp dil, 0xd
je 0x520c68
lea rdi, [rbx + 1]
cmp rdx, rdi
jb 0x521255
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 0x520cdf
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
nop
jmp 0x52104b
test rbx, rbx
je 0x520a74
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.004032e0
xorps xmm15, xmm15
mov r14, qword [0x00803400]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x520d6d
mov rdx, qword [rsp + 0x50]
cmp rdx, rcx
jb 0x521250
lea rax, [rcx + 1]
nop dword [rax]
cmp rdx, rax
jb 0x521248
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 0x5211f0
xor eax, eax
xor ecx, ecx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rdx
nop dword [rax + rax]
test rax, rax
je 0x520e87
cmp byte [rcx], 0x5b
je 0x520d99
xor ebx, ebx
xor esi, esi
xor edi, edi
jmp 0x520e8d
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.004032e0
xorps xmm15, xmm15
mov r14, qword [0x00803400]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x521154
mov rdx, qword [rsp + 0x88]
cmp rdx, rcx
jb 0x5211d5
cmp rcx, 1
jb 0x5211c9
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.005212a0
test rdi, rdi
jne 0x52109d
mov rdx, qword [rsp + 0x78]
lea rsi, [rdx + 1]
mov r8, qword [rsp + 0x88]
cmp r8, rsi
jb 0x5211be
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 0x520e8d
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 0x520f15
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xb0], rdi
nop dword [rax + rax]
call fcn.0040e560
cmp dword [0x00803600], 0
jne 0x520edc
mov rdx, qword [rsp + 0xb8]
mov qword [rdx + 0x28], rax
jmp 0x520ef6
mov rdi, qword [rsp + 0xb8]
lea rdx, [rdi + 0x28]
mov rcx, rdi
mov rdi, rdx
call fcn.00465600
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, [0x005ea3e0]
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x40]
call fcn.00412fa0
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
cmp rcx, rbx
jae 0x520fd2
mov qword [rsp + 0xc0], rax
mov rax, rdx
mov edi, 1
lea rsi, [0x005fdde0]
call fcn.0044a920
mov rdi, qword [rsp + 0xc0]
mov qword [rdi + 0x10], rcx
cmp dword [0x00803600], 0
nop
jne 0x520fc7
mov qword [rdi], rax
jmp 0x520fcc
call fcn.00465600
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 [0x00803600], 0
jne 0x52101c
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 0x520cc5
lea rax, [0x005fdde0]
lea rcx, [rsp + 0xe0]
call fcn.00413c00
jmp 0x520cc5
dec rbx
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rdx, rbx
mov rbx, rsi
test rbx, rbx
je 0x521071
movzx esi, byte [rdx]
cmp sil, 0x20
je 0x521035
cmp sil, 9
je 0x521035
nop
cmp sil, 0xa
je 0x521035
cmp sil, 0xd
je 0x521035
jmp 0x521071
dec rbx
test rbx, rbx
je 0x520a74
movzx esi, byte [rbx + rdx - 1]
nop
cmp sil, 0x20
je 0x52106e
cmp sil, 9
je 0x52106e
cmp sil, 0xa
je 0x52106e
cmp sil, 0xd
je 0x52106e
jmp 0x520ce5
xor eax, eax
lea rbx, [0x00623110]
mov ecx, 0x12
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x80]
nop dword [rax + rax]
call fcn.0044e760
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x48], rbx
lea rax, [0x005f2680]
call fcn.0040da20
mov rdx, qword [rsp + 0x48]
mov qword [rax + 8], rdx
cmp dword [0x00803600], 0
jne 0x5210fd
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
jmp 0x52110d
mov rdi, rax
mov rcx, qword [rsp + 0x98]
call fcn.00465700
lea rcx, [0x0067cbc0]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x00803600], 0
jne 0x52112f
mov qword [rdi + 0x20], rax
jmp 0x521141
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00465600
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
lea rax, [0x005f2680]
nop dword [rax + rax]
call fcn.0040da20
mov qword [rax + 8], 0x1a
lea rcx, [0x00626810]
mov qword [rax], rcx
lea rcx, [0x0067cbc0]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x00803600], 0
jne 0x521199
mov qword [rdi + 0x20], rax
jmp 0x5211ab
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00465600
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
mov rax, rsi
mov rcx, r8
call fcn.00465b60
mov eax, 1
xor ecx, ecx
call fcn.00465b60
call fcn.00465ae0
dec rsi
mov r9, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
add r8, rsi
mov rsi, r9
test rsi, rsi
je 0x521217
movzx r9d, byte [r8]
cmp r9b, 0x20
je 0x5211da
nop
cmp r9b, 9
je 0x5211da
cmp r9b, 0xa
je 0x5211da
cmp r9b, 0xd
je 0x5211da
jmp 0x521217
dec rsi
test rsi, rsi
je 0x52123a
movzx r9d, byte [rsi + r8 - 1]
cmp r9b, 0x20
je 0x521214
cmp r9b, 9
je 0x521214
cmp r9b, 0xa
je 0x521214
cmp r9b, 0xd
je 0x521214
mov rax, rsi
mov rdx, rcx
mov rcx, r8
jmp 0x520d76
mov rcx, rdx
call fcn.00465b60
call fcn.00465ae0
mov rax, rdi
mov rcx, rdx
nop dword [rax + rax]
call fcn.00465b60
call fcn.00465ae0
call fcn.00465ae0
nop
mov qword [rsp + 8], rax
call fcn.00463440
mov rax, qword [rsp + 8]
nop
jmp fcn.00520a20