Function at 0x18000c057
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xd0
mov dword [0x1800ca2f4], 0xfe5
mov dword [0x1800ca2f0], 0xfaa
mov r8, qword gs:[0x30]
mov r9d, dword [0x1800ca2f4]
mov rax, qword [r8 + 0x60]
mov qword [rbp - 8], rdx
mov qword [rbp - 0x10], rcx
mov dword [rbp - 0x14], r9d
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + 0x18]
mov rdx, rcx
add rdx, 0x20
mov r8d, dword [rbp - 0x14]
add r8d, 0xffffe406
mov dword [0x1800ca2f0], r8d
mov rcx, qword [rcx + 0x20]
mov r9d, dword [rbp - 0x14]
add r9d, 0xffffe314
mov dword [0x1800ca2f4], r9d
cmp rcx, rdx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x30], rdx
mov dword [rbp - 0x34], r8d
je 0x18000c334
mov rax, qword [rbp - 8]
cmp rax, 0
setne cl
mov edx, dword [rbp - 0x14]
add edx, 0xffffd329
mov r8, qword [rbp - 0x28]
mov byte [rbp - 0x35], cl
mov dword [rbp - 0x3c], edx
mov qword [rbp - 0x48], r8
mov rax, qword [rbp - 0x48]
mov ecx, dword [rbp - 0x3c]
mov edx, 0x12f3
mov dword [0x1800ca2f4], 0x10bc
mov r8, rax
add r8, 0x20
mov r9, qword [rbp - 8]
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 0x18000c156
jmp 0x18000c1a0
mov ecx, 0x54
mov eax, dword [rbp - 0x54]
mov dword [0x1800ca2f0], eax
call fcn.18000c43f
mov dword [0x1800ca2f4], 0xc1f
cmp ax, 0x31
je 0x18000c18c
mov rax, qword [rbp - 0x50]
add rax, 0xfffffffffffffff0
mov qword [rbp - 0x70], rax
jmp 0x18000c34a
mov dword [0x1800ca2f0], 0x1be1
mov eax, 0xe56
mov dword [rbp - 0x64], eax
jmp 0x18000c1a0
mov eax, dword [rbp - 0x64]
xor ecx, ecx
mov rdx, qword [rbp - 0x50]
mov r8w, word [rdx + 0x48]
mov dword [0x1800ca2f4], eax
mov r9, qword [rdx + 0x50]
mov dword [0x1800ca2f0], 0x688
shr r8w, 1
movzx eax, r8w
cmp r8w, 0
mov qword [rbp - 0x78], r9
mov dword [rbp - 0x7c], eax
mov dword [rbp - 0x80], ecx
je 0x18000c2f4
mov eax, dword [rbp - 0x80]
mov ecx, eax
mov edx, ecx
mov r8, qword [rbp - 0x78]
mov r9w, word [r8 + rdx*2]
mov dword [0x1800ca2f4], 0x1b01
cmp r9w, 0
mov dword [rbp - 0x84], eax
mov qword [rbp - 0x90], rdx
mov word [rbp - 0x92], r9w
jne 0x18000c253
mov dword [0x1800ca2f0], 0x182f
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x90]
cmp word [rax + rcx*2], 0
sete dl
and dl, 1
movzx r8d, dl
mov dword [0x1800ca2f4], 0x8b0
mov dword [rbp - 0x98], r8d
jmp 0x18000c2da
mov ax, word [rbp - 0x92]
movzx ecx, ax
call fcn.18000c43f
mov dword [0x1800ca2f4], 0x23e4
mov rdx, qword [rbp - 0x10]
mov r8, qword [rbp - 0x90]
cmp word [rdx + r8*2], ax
sete r9b
mov dword [0x1800ca2f0], 0x23a4
mov byte [rbp - 0x99], r9b
mov eax, dword [rbp - 0x84]
add eax, 1
mov ecx, dword [rbp - 0x7c]
cmp eax, ecx
setb dl
mov r8b, byte [rbp - 0x99]
and r8b, dl
test r8b, 1
mov dword [rbp - 0x80], eax
jne 0x18000c1e1
mov al, byte [rbp - 0x99]
and al, 1
movzx ecx, al
mov dword [rbp - 0xa0], ecx
mov eax, dword [rbp - 0xa0]
mov dword [rbp - 0x98], eax
jmp 0x18000c2da
mov eax, dword [rbp - 0x98]
cmp eax, 0
je 0x18000c2f4
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
mov qword [rbp - 0x70], rcx
jmp 0x18000c34a
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
mov qword [rbp - 0xa8], rcx
mov eax, 0x1e80
mov ecx, 0xda3
mov dword [0x1800ca2f0], 0x1e80
mov rdx, qword [rbp - 0xa8]
mov r8, qword [rbp - 0x30]
cmp rdx, r8
mov dword [rbp - 0x3c], ecx
mov qword [rbp - 0x48], rdx
mov dword [rbp - 0x34], eax
jne 0x18000c10d
mov eax, dword [rbp - 0x34]
xor ecx, ecx
mov edx, ecx
add eax, 0xfffff15e
mov dword [0x1800ca2f0], eax
mov qword [rbp - 0x70], rdx
mov rax, qword [rbp - 0x70]
add rsp, 0xd0
pop rbp
ret