Function at 0x180035630
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
xor r12d, r12d
mov dword [rsp + 0x20], 0x33353426
mov dword [rsp + 0x24], 0x54785558
mov dword [rsp + 0x28], 0x6b514a71
mov dword [rsp + 0x2c], 0x76296e2a
mov word [rsp + 0x30], 0x6d
lea r13d, [r12 + 1]
add edi, eax
and al, 0x38
imul eax, dword [rax], 0x65
add bh, al
and al, 0x3c
jb 0x18003563f
outsb dx, byte [rsi]
add bh, al
and al, 0x40
add byte gs:[rax + rax - 0x39], ch
and al, 0x44
xor eax, dword [rax]
xor al, byte [rax]
mov dword [rsp + 0x48], 0x64002e
mov dword [rbp - 0x7d], 0x6c006c
mov word [rbp - 0x79], r12w
mov edx, 0x3d090c
mov eax, r12d
lea rcx, [rbp - 0x59]
mov byte [rcx], al
add eax, r13d
add rcx, r13
cmp eax, 0x6a
jb 0x180035671
sub rdx, r13
jne 0x18003566a
cmp byte [rbp - 0x29], 0x30
jne 0x18003574e
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
mov rdx, rbx
mov rcx, qword [rdx + 0x60]
mov r9d, r12d
mov rax, rcx
cmp word [rcx], r12w
je 0x1800356be
lea rax, [rax + 2]
add r9d, r13d
cmp word [rax], r12w
jne 0x1800356b1
lea rax, [rsp + 0x38]
mov r8d, r12d
mov eax, esp
lea rax, [rax + 2]
add r8d, r13d
cmp word [rax], r12w
jne 0x1800356c6
cmp r9d, r8d
jne 0x180035737
lea r11, [rsp + 0x38]
mov r10d, r12d
sub r11, rcx
movzx r8d, word [rcx]
mov rax, rcx
mov r9d, r12d
test r8w, r8w
je 0x180035748
lea rax, [rax + 2]
add r9d, r13d
cmp word [rax], r12w
jne 0x1800356f3
cmp r10d, r9d
jae 0x180035748
invalid
movzx r9d, word [r11 + rcx]
lea eax, [r8 - 0x41]
cmp ax, 0x19
ja 0x180035719
add r8w, 0x20
lea eax, [r9 - 0x41]
cmp ax, 0x19
ja 0x180035728
add r9w, 0x20
cmp r8w, r9w
jne 0x180035737
add r10d, r13d
add rcx, 2
jmp 0x1800356e3
mov rdx, qword [rdx]
cmp rdx, rbx
jne 0x1800356a1
mov rbx, r12
jmp 0x180035752
mov rbx, qword [rdx + 0x30]
jmp 0x180035752
mov rbx, qword [rbp + 0x6f]
mov edx, 0xe3142
mov rcx, rbx
call fcn.180035a98
mov edx, 0xd5786
mov rcx, rbx
mov rdi, rax
call fcn.180035a98
mov edx, 0x348bfa
mov rcx, rbx
mov qword [rbp - 0x71], rax
call fcn.180035a98
mov esi, 0x3000
mov ebx, 0x11e00
mov r9d, 4
xor ecx, ecx
mov r8d, esi
mov edx, ebx
mov qword [rbp + 0x7f], rax
call rdi
movabs r11, resource.1
mov r9d, r12d
mov r15, rax
mov qword [rbp - 0x69], rax
mov r10, rax
sub r11, rax
movsxd rcx, r9d
movabs rax, 0xe38e38e38e38e38f
add r9d, r13d
mul rcx
shr rdx, 4
lea rax, [rdx + rdx*8]
add rax, rax
sub rcx, rax
mov al, byte [rsp + rcx + 0x20]
xor al, byte [r11 + r10]
mov byte [r10], al
add r10, r13
cmp r9d, ebx
jb 0x1800357b7
movsxd rax, dword [r15 + 0x3c]
movsx r9d, byte [rbp - 0x51]
mov r8d, esi
mov edx, dword [rax + r15 + 0x50]
shl r9d, 3
xor ecx, ecx
call rdi
mov rsi, rax
test rax, rax
je 0x180035a82
movsxd r14, dword [r15 + 0x3c]
mov r8d, r12d
add r14, r15
sub rax, qword [r14 + 0x30]
mov r9d, dword [r14 + 0x54]
movzx r10d, word [r14 + 0x14]
mov qword [rbp + 0x6f], rax
mov qword [r14 + 0x30], rsi
test r9, r9
je 0x180035850
mov rdx, r15
mov rcx, rsi
sub rdx, rsi
mov al, byte [rdx + rcx]
add r8d, r13d
mov byte [rcx], al
movsxd rax, r8d
add rcx, r13
cmp rax, r9
jb 0x18003583d
mov rax, qword [r14 + 0xb0]
mov rcx, qword [r14 + 0x90]
xor edi, edi
mov r13, r12
mov ebx, edi
mov qword [rbp + 0x77], rax
cmp di, word [r14 + 6]
jae 0x180035a82
lea r9, [r10 + 0x24]
add r9, r14