Function at 0x180006718
Capabilities:
Access peb ldr_data
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebp, ebp
mov r13d, ebp
mov qword [rsp + 0x68], rbp
mov r12d, ebp
mov qword [rsp + 0x60], rbp
mov r14d, ebp
mov edi, ebp
mov r15d, ebp
call fcn.18000670c
mov rbx, rax
lea esi, [rbp + 1]
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x180006775
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax - 0x40]
cmp rcx, 0x3bf
ja 0x180006775
cmp dword [rax + rbx], 0x4550
je 0x18000677a
sub rbx, rsi
jmp 0x180006751
mov rax, qword gs:[0x60]
mov qword [rsp + 0x70], rbx
mov rcx, qword [rax + 0x18]
mov r11, qword [rcx + 0x20]
test r11, r11
je 0x180006972
mov ebx, 4
mov r9d, 0xffff
mov rdx, qword [r11 + 0x50]
mov rax, rbp
movzx r8d, word [r11 + 0x48]
movzx ecx, byte [rdx]
ror eax, 0xd
cmp cl, 0x61
jb 0x1800067bf
add rax, 0xffffffffffffffe0
add rax, rcx
add rdx, rsi
add r8w, r9w
jne 0x1800067b0
cmp eax, 0x6a4abc5b
jne 0x1800068ae
mov rdx, qword [r11 + 0x20]
movzx esi, bx
mov ebx, 0xffff
movsxd rax, dword [rdx + 0x3c]
mov ebp, dword [rax + rdx + 0x88]
mov r10d, dword [rbp + rdx + 0x20]
mov edi, dword [rbp + rdx + 0x24]
add r10, rdx
add rdi, rdx
xor r9d, r9d
mov r8d, dword [r10]
mov ecx, r9d
add r8, rdx
mov al, byte [r8]
inc r8
ror ecx, 0xd
movsx eax, al
add ecx, eax
mov al, byte [r8]
test al, al
jne 0x18000680b
cmp ecx, 0xec0e4e8e
je 0x18000683d
cmp ecx, 0x7c0dfcaa
je 0x18000683d
cmp ecx, 0x91afca54
je 0x18000683d
cmp ecx, 0xef632f2
jne 0x180006891
mov r9d, dword [rbp + rdx + 0x1c]
movzx r8d, word [rdi]
add r9, rdx
cmp ecx, 0xec0e4e8e
jne 0x18000685a
mov r13d, dword [r9 + r8*4]
add r13, rdx
jmp 0x18000688b
cmp ecx, 0x7c0dfcaa
jne 0x18000686b
mov r12d, dword [r9 + r8*4]
add r12, rdx
jmp 0x18000688b
cmp ecx, 0x91afca54
jne 0x18000687c
mov r14d, dword [r9 + r8*4]
add r14, rdx
jmp 0x18000688b
cmp ecx, 0xef632f2
jne 0x18000688b
mov r15d, dword [r9 + r8*4]
add r15, rdx
add si, bx
xor r9d, r9d
add r10, 4
add rdi, 2
test si, si
jne 0x1800067ff
mov qword [rsp + 0x68], r12
xor ebp, ebp
jmp 0x180006935
cmp eax, 0x3cfa685d
jne 0x180006948
mov r8, qword [r11 + 0x20]
mov ebx, 0xffff
mov r12d, 1
movsxd rax, dword [r8 + 0x3c]
mov edi, dword [rax + r8 + 0x88]
mov r9d, dword [rdi + r8 + 0x20]
mov r10d, dword [rdi + r8 + 0x24]
add r9, r8
add r10, r8
mov edx, dword [r9]
mov ecx, ebp
add rdx, r8
mov al, byte [rdx]
add rdx, r12
ror ecx, 0xd
movsx eax, al
add ecx, eax
mov al, byte [rdx]
test al, al
jne 0x1800068ee
cmp ecx, 0x534c0ab8
jne 0x180006923
mov ecx, dword [rdi + r8 + 0x1c]
add si, bx
movzx edx, word [r10]
add rcx, r8
mov ebp, dword [rcx + rdx*4]
add rbp, r8
mov qword [rsp + 0x60], rbp
xor ebp, ebp
add r9, 4
add r10, 2
test si, si
jne 0x1800068e4
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov ebx, 4
mov r9d, 0xffff
lea esi, [rbx - 3]
test r13, r13
je 0x180006961
test r12, r12
je 0x180006961
test r14, r14
je 0x180006961
test r15, r15
je 0x180006961
test rdi, rdi
jne 0x18000696d
mov r11, qword [r11]
test r11, r11
jne 0x1800067a4
mov rbx, qword [rsp + 0x70]
movsxd rsi, dword [rbx + 0x3c]
xor ecx, ecx
add rsi, rbx
mov r8d, 0x3000
mov qword [rsp + 0x70], rsi
lea r9d, [rcx + 0x40]
mov edx, dword [rsi + 0x50]
call r14
mov edx, dword [rsi + 0x50]
mov rcx, rax
mov rdi, rax
call r15
mov edx, dword [rsi + 0x54]
mov rcx, rbx
mov r11d, 1
test rdx, rdx
je 0x1800069c1
mov r8, rdi
sub r8, rbx
mov al, byte [rcx]
mov byte [r8 + rcx], al
add rcx, r11
sub rdx, r11
jne 0x1800069b3
movzx ecx, word [rsi + 0x14]
movzx r9d, word [rsi + 6]
add rcx, rsi
test r9, r9
je 0x180006a07
add rcx, 0x2c
mov edx, dword [rcx - 8]
sub r9, r11
mov r8d, dword [rcx]
add rdx, rdi
mov r10d, dword [rcx - 4]
add r8, rbx
test r10, r10
je 0x1800069fe
mov al, byte [r8]
add r8, r11
mov byte [rdx], al
add rdx, r11
sub r10, r11
jne 0x1800069ee
add rcx, 0x28
test r9, r9
jne 0x1800069d6
mov ebx, dword [rsi + 0x90]
add rbx, rdi
cmp dword [rbx], ebp
je 0x180006aae
mov rbp, qword [rsp + 0x68]
mov ecx, dword [rbx + 0xc]
add rcx, rdi
call r13
xor r8d, r8d
mov r12, rax
test rax, rax
je 0x180006a9f
mov r14d, dword [rbx]
mov r15d, dword [rbx + 0x10]
add r14, rdi
add r15, rdi
jmp 0x180006a9a
test r14, r14
je 0x180006a73
cmp qword [r14], r8
jge 0x180006a73
movsxd rax, dword [r12 + 0x3c]
movzx edx, word [r14]
mov ecx, dword [rax + r12 + 0x88]
mov eax, dword [rcx + r12 + 0x10]
mov ecx, dword [rcx + r12 + 0x1c]
sub rdx, rax
add rcx, r12
mov eax, dword [rcx + rdx*4]
add rax, r12
jmp 0x180006a85
mov rdx, qword [r15]
mov rcx, r12
add rdx, 2
add rdx, rdi
call rbp
xor r8d, r8d
mov qword [r15], rax
lea rax, [r14 + 8]
add r15, 8
test r14, r14
cmove rax, r14
mov r14, rax
cmp qword [r15], r8
jne 0x180006a40
add rbx, 0x14
cmp dword [rbx], r8d
jne 0x180006a1d
xor ebp, ebp
mov eax, dword [rsi + 0xb4]
mov r9, rdi
sub r9, qword [rsi + 0x30]
test eax, eax
je 0x180006b77
mov r8d, dword [rsi + 0xb0]
mov ebx, eax
add r8, rdi
mov esi, 2
mov r15d, 0xfff
mov eax, dword [r8 + 4]
test eax, eax
je 0x180006b72
mov edx, dword [r8]
lea r10, [rax - 8]
add rdx, rdi
lea r14, [r8 + 8]
shr r10, 1
je 0x180006b66
mov r12d, 1
movzx r11d, word [r14]
sub r10, r12
movzx eax, r11w
movzx ecx, r11w
shr ax, 0xc
cmp ax, 0xa
jne 0x180006b28
and r11, r15
mov rcx, qword [r11 + rdx]
add rcx, r9
mov qword [r11 + rdx], rcx
jmp 0x180006b5a
cmp ax, 3
jne 0x180006b37
and rcx, r15
add dword [rcx + rdx], r9d
jmp 0x180006b5a
cmp ax, r12w
jne 0x180006b4d
and rcx, r15
mov rax, r9
shr rax, 0x10
add word [rcx + rdx], ax
jmp 0x180006b5a
cmp ax, si
jne 0x180006b5a
and rcx, r15
add word [rcx + rdx], r9w
add r14, rsi
test r10, r10
jne 0x180006aff
mov eax, dword [r8 + 4]
add r8, rax
sub rbx, rax
jne 0x180006ada
mov rsi, qword [rsp + 0x70]
mov ebx, dword [rsi + 0x28]
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
add rbx, rdi
call qword [rsp + 0x60]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 1]
call rbx
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret