Function at 0x180001730
Capabilities:
Access peb ldr_data
Get ntdll base address
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x78], rbp
xor r15d, r15d
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x28], r12
xor r12d, r12d
mov qword [rsp + 0x20], r13
xor r13d, r13d
mov qword [rsp + 0x70], r15
call fcn.180001720
mov rbp, rax
mov eax, 0x5a4d
nop
cmp word [rbp], ax
jne 0x180001790
movsxd rdx, dword [rbp + 0x3c]
lea rcx, [rdx - 0x40]
cmp rcx, 0x3bf
ja 0x180001790
cmp dword [rdx + rbp], 0x4550
je 0x180001795
dec rbp
jmp 0x180001770
mov rax, qword gs:[0x60]
mov r11d, 1
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x68], rbp
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x20]
test r14, r14
je 0x180001995
mov edi, 0xffff
lea ebx, [r11 + 2]
nop dword [rax + rax]
mov rdx, qword [r14 + 0x50]
xor ecx, ecx
movzx r8d, word [r14 + 0x48]
nop dword [rax + rax]
movzx eax, byte [rdx]
ror ecx, 0xd
cmp al, 0x61
jb 0x1800017f4
movzx eax, al
sub eax, 0x20
cdqe
jmp 0x1800017f7
movzx eax, al
add rcx, rax
inc rdx
add r8w, di
jne 0x1800017e0
cmp ecx, 0x6a4abc5b
jne 0x1800018db
mov r9, qword [r14 + 0x20]
mov ebp, 0xffff
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
mov r10d, dword [rdi + r9 + 0x20]
mov r11d, dword [rdi + r9 + 0x24]
add r10, r9
add r11, r9
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [r10]
add rcx, r9
xor r8d, r8d
movzx eax, byte [rcx]
nop dword [rax]
ror r8d, 0xd
lea rcx, [rcx + 1]
movsx eax, al
add r8d, eax
movzx eax, byte [rcx]
test al, al
jne 0x180001850
cmp r8d, 0xec0e4e8e
je 0x180001880
cmp r8d, 0x7c0dfcaa
je 0x180001880
cmp r8d, 0x91afca54
jne 0x1800018c3
mov eax, dword [rdi + r9 + 0x1c]
movzx edx, word [r11]
lea rcx, [r9 + rax]
cmp r8d, 0xec0e4e8e
jne 0x18000189f
mov r13d, dword [rcx + rdx*4]
add r13, r9
jmp 0x1800018c0
cmp r8d, 0x7c0dfcaa
jne 0x1800018b1
mov r12d, dword [rcx + rdx*4]
add r12, r9
jmp 0x1800018c0
cmp r8d, 0x91afca54
jne 0x1800018c0
mov esi, dword [rcx + rdx*4]
add rsi, r9
add bx, bp
add r10, 4
add r11, 2
test bx, bx
jne 0x180001840
mov edi, ebp
jmp 0x180001966
cmp ecx, 0x3cfa685d
jne 0x180001970
mov r10, qword [r14 + 0x20]
movsxd rax, dword [r10 + 0x3c]
mov ebx, dword [rax + r10 + 0x88]
mov r8d, dword [rbx + r10 + 0x20]
mov r9d, dword [rbx + r10 + 0x24]
add r8, r10
add r9, r10
nop word [rax + rax]
mov edx, dword [r8]
add rdx, r10
xor ecx, ecx
movzx eax, byte [rdx]
nop dword [rax + rax]
ror ecx, 0xd
lea rdx, [rdx + 1]
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x180001920
cmp ecx, 0x534c0ab8
jne 0x180001953
mov eax, dword [rbx + r10 + 0x1c]
movzx edx, word [r9]
lea rcx, [r10 + rax]
mov r15d, dword [rcx + rdx*4]
add r15, r10
add r11w, di
add r8, 4
add r9, 2
test r11w, r11w
jne 0x180001910
mov qword [rsp + 0x70], r15
mov r11d, 1
lea ebx, [r11 + 2]
test r13, r13
je 0x180001984
test r12, r12
je 0x180001984
test rsi, rsi
je 0x180001984
test r15, r15
jne 0x180001990
mov r14, qword [r14]
test r14, r14
jne 0x1800017d0
mov rbp, qword [rsp + 0x68]
movsxd r15, dword [rbp + 0x3c]
xor ecx, ecx
add r15, rbp
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
mov edx, dword [r15 + 0x50]
call rsi
mov r14, rax
mov rdx, rbp
mov eax, dword [r15 + 0x54]
test rax, rax
je 0x1800019e1
mov r8, r14
sub r8, rbp
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx]
mov byte [r8 + rdx], cl
lea rdx, [rdx + 1]
sub rax, 1
jne 0x1800019d0
movzx r10d, word [r15 + 6]
movzx eax, word [r15 + 0x14]
test r10, r10
je 0x180001a3b
lea r9, [r15 + 0x2c]
add r9, rax
nop word [rax + rax]
mov ecx, dword [r9 - 8]
dec r10
mov edx, dword [r9]
add rcx, r14
mov r8d, dword [r9 - 4]
add rdx, rbp
test r8, r8
je 0x180001a32
nop dword [rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x180001a20
add r9, 0x28
test r10, r10
jne 0x180001a00
mov ebp, dword [r15 + 0x90]
add rbp, r14
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x180001adb
mov ecx, eax
add rcx, r14
call r13
mov edi, dword [rbp + 0x10]
mov rsi, rax
mov ebx, dword [rbp]
add rdi, r14
add rbx, r14
cmp qword [rdi], 0
je 0x180001acc
nop dword [rax]
test rbx, rbx
je 0x180001aa1
mov rdx, qword [rbx]
test rdx, rdx
jns 0x180001aa1
movsxd rax, dword [rsi + 0x3c]
movzx edx, dx
mov ecx, dword [rax + rsi + 0x88]
mov eax, dword [rcx + rsi + 0x10]
mov ecx, dword [rcx + rsi + 0x1c]
sub rdx, rax
add rcx, rsi
mov eax, dword [rcx + rdx*4]
add rax, rsi
jmp 0x180001ab1
mov rdx, qword [rdi]
mov rcx, rsi
add rdx, 2
add rdx, r14
call r12
mov qword [rdi], rax
add rdi, 8
test rbx, rbx
lea rax, [rbx + 8]
cmove rax, rbx
cmp qword [rdi], 0
mov rbx, rax
jne 0x180001a70
mov eax, dword [rbp + 0x20]
add rbp, 0x14
test eax, eax
jne 0x180001a50
mov r13, qword [rsp + 0x20]
mov r8, r14
sub r8, qword [r15 + 0x30]
cmp dword [r15 + 0xb4], 0
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x78]
je 0x180001bb7
mov r11d, dword [r15 + 0xb0]
add r11, r14
mov eax, dword [r11 + 4]
test eax, eax
je 0x180001bb7
nop
mov edx, dword [r11]
lea r10, [r11 + 8]
mov r9d, eax
add rdx, r14
sub r9, 8
shr r9, 1
je 0x180001ba4
nop word [rax + rax]
movzx eax, word [r10]
dec r9
movzx ecx, ax
shr cx, 0xc
cmp cx, 0xa
jne 0x180001b5f
and eax, 0xfff
add qword [rax + rdx], r8
jmp 0x180001b9b
cmp cx, 3
jne 0x180001b70
and eax, 0xfff
add dword [rax + rdx], r8d
jmp 0x180001b9b
cmp cx, 1
jne 0x180001b8b
and eax, 0xfff
lea rcx, [rax + rdx]
mov rax, r8
shr rax, 0x10
add word [rcx], ax
jmp 0x180001b9b
cmp cx, 2
jne 0x180001b9b
and eax, 0xfff
add word [rax + rdx], r8w
add r10, 2
test r9, r9
jne 0x180001b40
mov eax, dword [r11 + 4]
add r11, rax
mov eax, dword [r11 + 4]
test eax, eax
jne 0x180001b20
mov ebx, dword [r15 + 0x28]
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
add rbx, r14
call qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, r14
call rbx
mov rax, rbx
add rsp, 0x40
pop r15
pop r14
pop rbx
ret