Function at 0x18000baaa
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
push rbx
sub rsp, 0xc8
mov dword [0x18006644c], 0xfe5
mov dword [0x180066448], 0xfaa
mov r8, qword gs:[0x30]
mov r9d, dword [0x18006644c]
mov rax, qword [r8 + 0x60]
mov rax, qword [rax + 0x18]
mov r8, rax
add r8, 0x20
mov r10d, r9d
add r10d, 0xffffe406
mov dword [0x180066448], r10d
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x18], rcx
mov dword [rbp - 0x1c], r9d
mov dword [rbp - 0x20], r10d
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x30], rax
mov eax, dword [rbp - 0x1c]
add eax, 0xffffe314
mov dword [0x18006644c], eax
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
cmp rcx, rdx
mov eax, dword [rbp - 0x20]
mov dword [rbp - 0x34], eax
je 0x18000bd98
mov rax, qword [rbp - 0x10]
cmp rax, 0
setne cl
mov byte [rbp - 0x35], cl
mov eax, dword [rbp - 0x1c]
add eax, 0xffffd329
mov rcx, qword [rbp - 0x30]
mov dword [rbp - 0x3c], eax
mov qword [rbp - 0x48], rcx
mov rax, qword [rbp - 0x48]
mov ecx, dword [rbp - 0x3c]
mov edx, 0x12f3
mov dword [0x18006644c], 0x10bc
mov r8, rax
add r8, 0x20
mov r9, qword [rbp - 0x10]
cmp qword [rax + 0x20], r9
sete r10b
mov r11b, byte [rbp - 0x35]
and r11b, r10b
test r11b, 1
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x54], ecx
mov qword [rbp - 0x60], r8
mov dword [rbp - 0x64], edx
jne 0x18000bbaa
jmp 0x18000bc09
mov ecx, 0x54
mov eax, dword [rbp - 0x54]
mov dword [0x180066448], eax
call fcn.18000beab
mov dword [0x18006644c], 0xc1f
cmp ax, 0x31
sete dl
mov byte [rbp - 0x65], dl
mov al, byte [rbp - 0x65]
test al, 1
jne 0x18000bbf5
jmp 0x18000bbda
mov rax, qword [rbp - 0x50]
add rax, 0xfffffffffffffff0
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x78], rax
jmp 0x18000bdae
mov dword [0x180066448], 0x1be1
mov eax, 0xe56
mov dword [rbp - 0x64], eax
jmp 0x18000bc09
mov eax, dword [rbp - 0x64]
xor ecx, ecx
mov rdx, qword [rbp - 0x50]
mov r8w, word [rdx + 0x48]
mov dword [0x18006644c], eax
mov r9, qword [rdx + 0x50]
mov dword [0x180066448], 0x688
shr r8w, 1
movzx eax, r8w
cmp r8w, 0
mov qword [rbp - 0x80], r9
mov dword [rbp - 0x84], eax
mov dword [rbp - 0x88], ecx
je 0x18000bd66
mov eax, dword [rbp - 0x88]
mov ecx, eax
mov edx, ecx
mov r8, qword [rbp - 0x80]
mov r9w, word [r8 + rdx*2]
mov dword [0x18006644c], 0x1b01
cmp r9w, 0
mov dword [rbp - 0x8c], eax
mov qword [rbp - 0x98], rdx
mov word [rbp - 0x9a], r9w
jne 0x18000bcce
mov dword [0x180066448], 0x182f
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x98]
cmp word [rax + rcx*2], 0
sete dl
and dl, 1
movzx r8d, dl
mov dword [0x18006644c], 0x8b0
mov dword [rbp - 0xa0], r8d
mov eax, dword [rbp - 0xa0]
mov dword [rbp - 0xa4], eax
jmp 0x18000bd4c
mov ax, word [rbp - 0x9a]
movzx ecx, ax
call fcn.18000beab
mov ecx, dword [rbp - 0x8c]
add ecx, 1
mov dword [0x18006644c], 0x23e4
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x98]
cmp word [rdx + r8*2], ax
sete r9b
mov dword [0x180066448], 0x23a4
mov r10d, dword [rbp - 0x84]
cmp ecx, r10d
setb r11b
mov bl, r9b
and bl, r11b
test bl, 1
mov byte [rbp - 0xa5], r9b
mov dword [rbp - 0x88], ecx
jne 0x18000bc50
mov al, byte [rbp - 0xa5]
and al, 1
movzx ecx, al
mov dword [rbp - 0xa4], ecx
mov eax, dword [rbp - 0xa4]
cmp eax, 0
je 0x18000bd66
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
mov qword [rbp - 0x78], rcx
jmp 0x18000bdae
mov eax, 0x1e80
mov ecx, 0xda3
mov rdx, qword [rbp - 0x50]
mov r8, qword [rdx]
mov dword [0x180066448], 0x1e80
mov r9, qword [rbp - 0x28]
cmp r8, r9
mov qword [rbp - 0x48], r8
mov dword [rbp - 0x3c], ecx
mov dword [rbp - 0x34], eax
jne 0x18000bb61
mov eax, dword [rbp - 0x34]
xor ecx, ecx
mov edx, ecx
add eax, 0xfffff15e
mov dword [0x180066448], eax
mov qword [rbp - 0x78], rdx
mov rax, qword [rbp - 0x78]
add rsp, 0xc8
pop rbx
pop rbp
ret