Function at 0x18000446b
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
push rbx
sub rsp, 0xc8
xor eax, eax
mov r8d, eax
mov dword [0x18013013c], 0xe1d
mov dword [0x180130138], 0x1c58
mov r9, qword gs:[0x30]
mov rax, qword [r9 + 0x60]
mov rax, qword [rax + 0x18]
mov r9, rax
add r9, 0x20
mov dword [0x180130138], 0x1f58
mov rax, qword [rax + 0x20]
mov dword [0x18013013c], 0x1898
cmp rax, r9
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x30], r8
je 0x18000474c
mov rax, qword [rbp - 0x10]
cmp rax, 0
setne cl
mov byte [rbp - 0x31], cl
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x40], rax
jmp 0x1800044fa
mov rax, qword [rbp - 0x40]
mov ecx, 0x10fd
mov dword [0x18013013c], 0x10fd
mov dword [0x180130138], 0x6cd
mov rdx, rax
add rdx, 0x20
mov r8, qword [rbp - 0x10]
cmp qword [rax + 0x20], r8
sete r9b
mov r10b, byte [rbp - 0x31]
and r10b, r9b
test r10b, 1
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rdx
mov dword [rbp - 0x54], ecx
jne 0x180004547
jmp 0x18000459f
mov ecx, 0x54
mov dword [0x180130138], 0x15b3
call fcn.180004838
mov dword [0x180130138], 0xd81
mov word [rbp - 0x56], ax
mov ax, word [rbp - 0x56]
cmp ax, 0x31
jne 0x180004584
mov eax, dword [0x18013013c]
mov dword [rbp - 0x5c], eax
mov eax, dword [rbp - 0x5c]
mov dword [rbp - 0x54], eax
jmp 0x18000459f
mov rax, qword [rbp - 0x48]
add rax, 0xfffffffffffffff0
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x30], rax
jmp 0x18000474c
mov eax, dword [rbp - 0x54]
xor ecx, ecx
add eax, 0xffffda2f
mov rdx, qword [rbp - 0x48]
mov r8w, word [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov dword [0x180130138], eax
mov dword [0x18013013c], 0x1d1d
shr r8w, 1
movzx eax, r8w
cmp r8w, 0
mov dword [rbp - 0x6c], eax
mov qword [rbp - 0x78], r9
mov dword [rbp - 0x7c], ecx
je 0x18000471e
mov eax, dword [rbp - 0x7c]
mov ecx, eax
mov edx, ecx
mov dword [0x18013013c], 0xca0
mov r8, qword [rbp - 0x78]
mov r9w, word [r8 + rdx*2]
cmp r9w, 0
mov dword [rbp - 0x80], eax
mov qword [rbp - 0x88], rdx
mov word [rbp - 0x8a], r9w
jne 0x180004660
mov dword [0x180130138], 0x12c8
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x88]
cmp word [rax + rcx*2], 0
sete dl
and dl, 1
movzx r8d, dl
mov dword [rbp - 0x90], r8d
mov dword [0x18013013c], 0x2d0
mov eax, dword [rbp - 0x90]
mov dword [rbp - 0x94], eax
jmp 0x1800046f6
mov eax, dword [rbp - 0x80]
add eax, 1
mov cx, word [rbp - 0x8a]
movzx ecx, cx
mov dword [rbp - 0x98], eax
call fcn.180004838
mov ecx, dword [0x180130138]
add ecx, 0xfffff28b
mov dword [0x180130138], ecx
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x88]
cmp word [rdx + r8*2], ax
sete r9b
mov dword [0x18013013c], 0x1d7
mov ecx, dword [rbp - 0x98]
mov r10d, dword [rbp - 0x6c]
cmp ecx, r10d
setb r11b
mov bl, r9b
and bl, r11b
test bl, 1
mov byte [rbp - 0x99], r9b
mov dword [rbp - 0x7c], ecx
jne 0x1800045e5
mov al, byte [rbp - 0x99]
and al, 1
movzx ecx, al
mov dword [rbp - 0xa0], ecx
mov eax, dword [rbp - 0xa0]
mov dword [rbp - 0x94], eax
jmp 0x1800046f6
mov eax, dword [rbp - 0x94]
cmp eax, 0
je 0x18000471e
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
mov qword [rbp - 0xa8], rcx
mov rax, qword [rbp - 0xa8]
mov qword [rbp - 0x30], rax
jmp 0x18000474c
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax]
mov qword [rbp - 0xb0], rcx
xor eax, eax
mov ecx, eax
mov rdx, qword [rbp - 0xb0]
mov r8, qword [rbp - 0x28]
cmp rdx, r8
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x30], rcx
jne 0x1800044fa
mov rax, qword [rbp - 0x30]
add rsp, 0xc8
pop rbx
pop rbp
ret