Function at 0x180029b60
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, qword [rdx]
mov r12, rdx
mov ecx, dword [0x180107e5c]
mov rbp, r9
mov rax, qword gs:[0x58]
mov rsi, r14
mov qword [r8], r14
mov rdi, r14
movzx r15d, byte [r14]
mov r13d, 2
mov qword [rsp + 0x68], rbx
lea rdx, [rax + rcx*8]
mov qword [rsp + 0x60], rdx
mov r9d, 4
movabs r8, 0x100002600
test rbp, rbp
jne 0x180029c68
movzx eax, byte [rsi]
cmp al, 0x3b
je 0x180029c68
cmp al, 0x23
je 0x180029c68
cmp byte [rsp + 0x80], bpl
je 0x180029dcb
xor edx, edx
mov rdi, rsi
cmp al, 0x20
ja 0x180029c28
movsx rcx, al
bt r8, rcx
jae 0x180029c28
cmp al, 0xa
je 0x180029c0c
cmp al, 0xd
jne 0x180029c1b
inc edx
cmp al, 0xd
jne 0x180029c1b
cmp byte [rsi + 1], 0xa
mov rax, r13
je 0x180029c20
mov eax, 1
add rsi, rax
movzx eax, byte [rsi]
jmp 0x180029bf3
cmp al, 0x3b
je 0x180029c34
cmp al, 0x23
jne 0x180029dcb
test edx, edx
jle 0x180029c5a
mov ebx, edx
mov rcx, r14
mov r8d, edx
mov dl, 0xa
call fcn.180073a70
add r14, rbx
mov r9d, 4
movabs r8, 0x100002600
mov rdx, qword [rsp + 0x60]
mov qword [r12], rsi
jmp 0x180029bc7
movzx eax, byte [rsi]
test al, al
je 0x180029c8d
mov rcx, rsi
cmp al, 0xa
je 0x180029c8d
cmp al, 0xd
je 0x180029c8d
movzx eax, byte [rcx + 1]
lea rdi, [rcx + 1]
mov qword [r12], rdi
mov rcx, rdi
test al, al
jne 0x180029c72
cmp r14, rsi
jae 0x180029cc0
mov rbx, rdi
mov rdx, rsi
sub rbx, rsi
mov rcx, r14
mov r8, rbx
call fcn.180073260
mov rdx, qword [rsp + 0x60]
movabs r8, 0x100002600
mov r9d, 4
mov byte [rbx + r14], 0
movzx r15d, byte [rdi]
mov byte [rdi], 0
test rbp, rbp
je 0x180029d7d
dec rdi
cmp rdi, r14
jbe 0x180029cee
movsx rax, byte [rdi]
cmp al, 0x20
ja 0x180029cee
bt r8, rax
jae 0x180029cee
dec rdi
cmp rdi, r14
ja 0x180029cd8
movzx ebp, byte [rdi + 1]
mov ebx, r9d
add rbx, qword [rdx]
mov byte [rdi + 1], 0
mov eax, dword [rbx]
cmp dword [0x18010c518], eax
jle 0x180029d27
lea rcx, [0x18010c518]
call fcn.180070f44
cmp dword [0x18010c518], 0xffffffff
jne 0x180029d27
lea rcx, [0x18010c518]
call fcn.180070ee4
mov rdx, qword [rsp + 0x78]
mov rcx, r14
call fcn.180080eac
test eax, eax
js 0x180029d74
mov eax, dword [rbx]
cmp dword [0x18010c518], eax
jle 0x180029d63
lea rcx, [0x18010c518]
call fcn.180070f44
cmp dword [0x18010c518], 0xffffffff
jne 0x180029d63
lea rcx, [0x18010c518]
call fcn.180070ee4
mov rcx, qword [rsp + 0x78]
mov rdx, r14
call fcn.180080eac
test eax, eax
jns 0x180029dc6
mov byte [rdi + 1], bpl
mov rbp, qword [rsp + 0x78]
test r15b, r15b
je 0x180029e0f
mov rcx, qword [r12]
mov rax, rcx
sub rax, rsi
add r14, rax
mov byte [rcx], r15b
cmp r15b, 0xd
jne 0x180029da5
cmp byte [rcx + 1], 0xa
mov rax, r13
je 0x180029daa
mov eax, 1
mov rdx, qword [rsp + 0x60]
lea rsi, [rcx + rax]
mov byte [r14], 0xa
mov rdi, rsi
mov qword [r12], rsi
inc r14
jmp 0x180029bb7
mov rbp, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rax, qword [r12]
cmp qword [r8], rax
jne 0x180029de4
mov qword [r8], 0
xor al, al
jmp 0x180029e11
mov byte [r14 - 1], 0
test rbp, rbp
je 0x180029e0f
test r15b, r15b
je 0x180029e0f
mov byte [rax], r15b
cmp r15b, 0xd
jne 0x180029e02
cmp byte [rax + 1], 0xa
je 0x180029e08
mov r13d, 1
add rax, r13
mov qword [r12], rax
mov al, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret