Function at 0x180004295
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xd0
mov dword [0x18005e2e4], 0xe1d
mov dword [0x18005e2e0], 0x1c58
mov r8, qword gs:[0x30]
mov qword [rbp - 8], rdx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x18], r8
xor eax, eax
mov ecx, eax
mov rdx, qword [rbp - 0x18]
mov r8, qword [rdx + 0x60]
mov r8, qword [r8 + 0x18]
mov r9, r8
add r9, 0x20
mov dword [0x18005e2e0], 0x1f58
mov r8, qword [r8 + 0x20]
mov dword [0x18005e2e4], 0x1898
cmp r8, r9
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x30], rcx
je 0x180004578
mov rax, qword [rbp - 8]
cmp rax, 0
setne cl
mov byte [rbp - 0x31], cl
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x40], rax
jmp 0x18000432a
mov rax, qword [rbp - 0x40]
mov ecx, 0x10fd
mov dword [0x18005e2e4], 0x10fd
mov dword [0x18005e2e0], 0x6cd
mov rdx, rax
add rdx, 0x20
mov r8, qword [rbp - 8]
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 0x180004377
jmp 0x1800043d4
mov ecx, 0x54
mov dword [0x18005e2e0], 0x15b3
call fcn.18000465f
mov dword [0x18005e2e0], 0xd81
cmp ax, 0x31
sete dl
mov byte [rbp - 0x55], dl
mov al, byte [rbp - 0x55]
test al, 1
jne 0x1800043a8
jmp 0x1800043b9
mov eax, dword [0x18005e2e4]
mov dword [rbp - 0x5c], eax
mov eax, dword [rbp - 0x5c]
mov dword [rbp - 0x54], eax
jmp 0x1800043d4
mov rax, qword [rbp - 0x48]
add rax, 0xfffffffffffffff0
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x30], rax
jmp 0x180004578
mov eax, dword [rbp - 0x54]
xor ecx, ecx
mov rdx, qword [rbp - 0x48]
mov r8w, word [rdx + 0x48]
mov r9, qword [rdx + 0x50]
add eax, 0xffffda2f
mov dword [0x18005e2e0], eax
mov dword [0x18005e2e4], 0x1d1d
shr r8w, 1
movzx eax, r8w
cmp r8w, 0
mov qword [rbp - 0x70], r9
mov dword [rbp - 0x74], eax
mov dword [rbp - 0x78], ecx
je 0x180004535
mov eax, dword [rbp - 0x78]
mov dword [0x18005e2e4], 0xca0
mov ecx, eax
mov edx, ecx
mov r8, qword [rbp - 0x70]
mov r9w, word [r8 + rdx*2]
cmp r9w, 0
mov dword [rbp - 0x7c], eax
mov qword [rbp - 0x88], rdx
mov word [rbp - 0x8a], r9w
jne 0x18000448f
mov dword [0x18005e2e0], 0x12c8
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x88]
cmp word [rax + rcx*2], 0
sete dl
mov byte [rbp - 0x8b], dl
mov al, byte [rbp - 0x8b]
and al, 1
movzx ecx, al
mov dword [0x18005e2e4], 0x2d0
mov dword [rbp - 0x90], ecx
jmp 0x18000450d
mov ax, word [rbp - 0x8a]
movzx ecx, ax
call fcn.18000465f
mov ecx, dword [0x18005e2e0]
add ecx, 0xfffff28b
mov dword [0x18005e2e0], ecx
mov rdx, qword [rbp - 0x10]
mov r8, qword [rbp - 0x88]
cmp word [rdx + r8*2], ax
sete r9b
mov dword [0x18005e2e4], 0x1d7
mov byte [rbp - 0x91], r9b
mov eax, dword [rbp - 0x7c]
add eax, 1
mov ecx, dword [rbp - 0x74]
cmp eax, ecx
setb dl
mov r8b, byte [rbp - 0x91]
and r8b, dl
test r8b, 1
mov dword [rbp - 0x78], eax
jne 0x18000441a
mov al, byte [rbp - 0x91]
and al, 1
movzx ecx, al
mov dword [rbp - 0x90], ecx
mov eax, dword [rbp - 0x90]
cmp eax, 0
je 0x180004535
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
mov qword [rbp - 0xa0], rcx
mov rax, qword [rbp - 0xa0]
mov qword [rbp - 0x30], rax
jmp 0x180004578
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax]
mov rdx, qword [rbp - 0x28]
cmp rcx, rdx
sete r8b
mov qword [rbp - 0xa8], rcx
mov byte [rbp - 0xa9], r8b
xor eax, eax
mov ecx, eax
mov dl, byte [rbp - 0xa9]
test dl, 1
mov r8, qword [rbp - 0xa8]
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x30], rcx
jne 0x180004578
jmp 0x18000432a
mov rax, qword [rbp - 0x30]
add rsp, 0xd0
pop rbp
ret