Function at 0x516a80
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x90]
cmp r12, qword [r14 + 0x10]
jbe 0x5172d0
sub rsp, 0x110
mov qword [rsp + 0x108], rbp
lea rbp, [rsp + 0x108]
mov qword [rsp + 0xd8], rax
lea rax, [0x006cd020]
call fcn.0040d960
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xd8]
call fcn.00517920
jmp 0x516ae5
mov rax, qword [rsp + 0xd8]
nop dword [rax]
call fcn.00517920
test cl, cl
je 0x516bb2
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.00403280
xorps xmm15, xmm15
mov r14, qword [0x00987478]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x516b39
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jae 0x516b3e
jmp 0x5172ca
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0xa8]
jmp 0x516be0
test rcx, rcx
je 0x516ad4
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.00403280
xorps xmm15, xmm15
mov r14, qword [0x00987478]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x516c2a
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jb 0x5172c5
mov rax, qword [rsp + 0xa8]
mov rbx, rcx
mov rsi, rax
jmp 0x516ca5
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 0x516c01
movzx edx, byte [rax]
cmp dl, 0x20
je 0x516bca
cmp dl, 9
je 0x516bca
cmp dl, 0xa
je 0x516bca
cmp dl, 0xd
je 0x516bca
jmp 0x516c01
dec rcx
test rcx, rcx
je 0x516ad4
movzx edx, byte [rax + rcx - 1]
cmp dl, 0x20
je 0x516bfe
cmp dl, 9
je 0x516bfe
cmp dl, 0xa
je 0x516bfe
nop
cmp dl, 0xd
je 0x516bfe
jmp 0x516b4b
lea rax, [0x006bb520]
call fcn.0040d960
mov qword [rax + 8], 0x10
lea rcx, [0x006fcc09]
mov qword [rax], rcx
lea rcx, [0x0077f080]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x00987710], 0
jne 0x516c6a
mov qword [rdi + 0x20], rax
jmp 0x516c7c
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00465520
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 0x516ccb
movzx edi, byte [rax]
cmp dil, 0x20
je 0x516c8f
cmp dil, 9
je 0x516c8f
cmp dil, 0xa
je 0x516c8f
nop
cmp dil, 0xd
je 0x516c8f
jmp 0x516ccb
dec rcx
test rcx, rcx
je 0x516cf2
movzx edi, byte [rax + rcx - 1]
cmp dil, 0x20
je 0x516cc8
nop dword [rax + rax]
cmp dil, 9
je 0x516cc8
cmp dil, 0xa
je 0x516cc8
cmp dil, 0xd
je 0x516cc8
lea rdi, [rbx + 1]
cmp rdx, rdi
jb 0x5172b5
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 0x516d3f
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
nop
jmp 0x5170ab
test rbx, rbx
je 0x516ad4
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.00403280
xorps xmm15, xmm15
mov r14, qword [0x00987478]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x516dcd
mov rdx, qword [rsp + 0x50]
cmp rdx, rcx
jb 0x5172b0
lea rax, [rcx + 1]
nop dword [rax]
cmp rdx, rax
jb 0x5172a8
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 0x517250
xor eax, eax
xor ecx, ecx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rdx
nop dword [rax + rax]
test rax, rax
je 0x516ee7
cmp byte [rcx], 0x5b
je 0x516df9
xor ebx, ebx
xor esi, esi
xor edi, edi
jmp 0x516eed
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.00403280
xorps xmm15, xmm15
mov r14, qword [0x00987478]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x5171b4
mov rdx, qword [rsp + 0x88]
cmp rdx, rcx
jb 0x517235
cmp rcx, 1
jb 0x517229
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.00517300
test rdi, rdi
jne 0x5170fd
mov rdx, qword [rsp + 0x78]
lea rsi, [rdx + 1]
mov r8, qword [rsp + 0x88]
cmp r8, rsi
jb 0x51721e
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 0x516eed
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 0x516f75
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xb0], rdi
nop dword [rax + rax]
call fcn.0040e4a0
cmp dword [0x00987710], 0
jne 0x516f3c
mov rdx, qword [rsp + 0xb8]
mov qword [rdx + 0x28], rax
jmp 0x516f56
mov rdi, qword [rsp + 0xb8]
lea rdx, [rdi + 0x28]
mov rcx, rdi
mov rdi, rdx
call fcn.00465520
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, [0x006afb40]
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
cmp rcx, rbx
jae 0x517032
mov qword [rsp + 0xc0], rax
mov rax, rdx
mov edi, 1
lea rsi, [0x006ca180]
call fcn.0044a940
mov rdi, qword [rsp + 0xc0]
mov qword [rdi + 0x10], rcx
cmp dword [0x00987710], 0
nop
jne 0x517027
mov qword [rdi], rax
jmp 0x51702c
call fcn.00465520
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 [0x00987710], 0
jne 0x51707c
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 0x516d25
lea rax, [0x006ca180]
lea rcx, [rsp + 0xe0]
call fcn.00413e40
jmp 0x516d25
dec rbx
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rdx, rbx
mov rbx, rsi
test rbx, rbx
je 0x5170d1
movzx esi, byte [rdx]
cmp sil, 0x20
je 0x517095
cmp sil, 9
je 0x517095
nop
cmp sil, 0xa
je 0x517095
cmp sil, 0xd
je 0x517095
jmp 0x5170d1
dec rbx
test rbx, rbx
je 0x516ad4
movzx esi, byte [rbx + rdx - 1]
nop
cmp sil, 0x20
je 0x5170ce
cmp sil, 9
je 0x5170ce
cmp sil, 0xa
je 0x5170ce
cmp sil, 0xd
je 0x5170ce
jmp 0x516d45
xor eax, eax
lea rbx, [0x006fd9cf]
mov ecx, 0x12
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x80]
nop dword [rax + rax]
call fcn.0044e780
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x48], rbx
lea rax, [0x006bb520]
call fcn.0040d960
mov rdx, qword [rsp + 0x48]
mov qword [rax + 8], rdx
cmp dword [0x00987710], 0
jne 0x51715d
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
jmp 0x51716d
mov rdi, rax
mov rcx, qword [rsp + 0x98]
call fcn.00465620
lea rcx, [0x0077f080]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x00987710], 0
jne 0x51718f
mov qword [rdi + 0x20], rax
jmp 0x5171a1
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00465520
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
lea rax, [0x006bb520]
nop dword [rax + rax]
call fcn.0040d960
mov qword [rax + 8], 0x1a
lea rcx, [0x007025bc]
mov qword [rax], rcx
lea rcx, [0x0077f080]
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rcx
cmp dword [0x00987710], 0
jne 0x5171f9
mov qword [rdi + 0x20], rax
jmp 0x51720b
lea rcx, [rdi + 0x20]
mov rdx, rdi
mov rdi, rcx
call fcn.00465520
mov rdi, rdx
mov rax, rdi
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
ret
mov rax, rsi
mov rcx, r8
call fcn.00465a80
mov eax, 1
xor ecx, ecx
call fcn.00465a80
call fcn.00465a00
dec rsi
mov r9, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
add r8, rsi
mov rsi, r9
test rsi, rsi
je 0x517277
movzx r9d, byte [r8]
cmp r9b, 0x20
je 0x51723a
nop
cmp r9b, 9
je 0x51723a
cmp r9b, 0xa
je 0x51723a
cmp r9b, 0xd
je 0x51723a
jmp 0x517277
dec rsi
test rsi, rsi
je 0x51729a
movzx r9d, byte [rsi + r8 - 1]
cmp r9b, 0x20
je 0x517274
cmp r9b, 9
je 0x517274
cmp r9b, 0xa
je 0x517274
cmp r9b, 0xd
je 0x517274
mov rax, rsi
mov rdx, rcx
mov rcx, r8
jmp 0x516dd6
mov rcx, rdx
call fcn.00465a80
call fcn.00465a00
mov rax, rdi
mov rcx, rdx
nop dword [rax + rax]
call fcn.00465a80
call fcn.00465a00
call fcn.00465a00
nop
mov qword [rsp + 8], rax
call fcn.00463360
mov rax, qword [rsp + 8]
nop
jmp fcn.00516a80