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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
xor ebp, ebp
mov r13d, ebp
mov qword [rsp + 0x78], rbp
mov r15d, ebp
mov qword [rsp + 0x88], rbp
mov r14d, ebp
mov r12d, ebp
call fcn.180001778
mov rdi, rax
lea esi, [rbp + 1]
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x18000135f
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax - 0x40]
cmp rcx, 0x3bf
ja 0x18000135f
cmp dword [rax + rdi], 0x4550
je 0x180001364
sub rdi, rsi
jmp 0x18000133b
mov rax, qword gs:[0x60]
mov qword [rsp + 0x80], rdi
mov rcx, qword [rax + 0x18]
mov r11, qword [rcx + 0x20]
test r11, r11
je 0x180001538
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 0x1800013a7
add rax, 0xffffffffffffffe0
add rax, rcx
add rdx, rsi
add r8w, r9w
jne 0x180001398
cmp eax, 0x6a4abc5b
jne 0x18000147f
mov rdx, qword [r11 + 0x20]
mov esi, 3
mov edi, 0xffff
movsxd rax, dword [rdx + 0x3c]
mov ebp, dword [rax + rdx + 0x88]
mov r10d, dword [rbp + rdx + 0x20]
mov ebx, dword [rbp + rdx + 0x24]
add r10, rdx
add rbx, 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 0x1800013f5
cmp ecx, 0xec0e4e8e
je 0x18000141f
cmp ecx, 0x7c0dfcaa
je 0x18000141f
cmp ecx, 0x91afca54
jne 0x180001462
mov r9d, dword [rbp + rdx + 0x1c]
movzx r8d, word [rbx]
add r9, rdx
cmp ecx, 0xec0e4e8e
jne 0x18000143c
mov r13d, dword [r9 + r8*4]
add r13, rdx
jmp 0x18000145c
cmp ecx, 0x7c0dfcaa
jne 0x18000144d
mov r15d, dword [r9 + r8*4]
add r15, rdx
jmp 0x18000145c
cmp ecx, 0x91afca54
jne 0x18000145c
mov r14d, dword [r9 + r8*4]
add r14, rdx
add si, di
xor r9d, r9d
add r10, 4
add rbx, 2
test si, si
jne 0x1800013e9
mov qword [rsp + 0x78], r15
xor ebp, ebp
jmp 0x180001508
cmp eax, 0x3cfa685d
jne 0x180001510
mov r8, qword [r11 + 0x20]
mov edi, 0xffff
mov r15d, 1
movsxd rax, dword [r8 + 0x3c]
mov ebx, dword [rax + r8 + 0x88]
mov r9d, dword [rbx + r8 + 0x20]
mov r10d, dword [rbx + r8 + 0x24]
add r9, r8
add r10, r8
mov edx, dword [r9]
mov ecx, ebp
add rdx, r8
mov al, byte [rdx]
add rdx, r15
ror ecx, 0xd
movsx eax, al
add ecx, eax
mov al, byte [rdx]
test al, al
jne 0x1800014bf
cmp ecx, 0x534c0ab8
jne 0x1800014ee
mov ecx, dword [rbx + r8 + 0x1c]
movzx edx, word [r10]
add rcx, r8
mov r12d, dword [rcx + rdx*4]
add r12, r8
add si, di
add r9, 4
add r10, 2
test si, si
jne 0x1800014b5
mov r15, qword [rsp + 0x78]
mov qword [rsp + 0x88], r12
mov r9d, edi
mov esi, 1
test r13, r13
je 0x180001524
test r15, r15
je 0x180001524
test r14, r14
je 0x180001524
test r12, r12
jne 0x180001530
mov r11, qword [r11]
test r11, r11
jne 0x18000138c
mov rdi, qword [rsp + 0x80]
movsxd rbx, dword [rdi + 0x3c]
xor ecx, ecx
add rbx, rdi
mov r8d, 0x3000
mov qword [rsp + 0x80], rbx
lea r9d, [rcx + 0x40]
mov edx, dword [rbx + 0x50]
call r14
mov edx, dword [rbx + 0x54]
mov rsi, rax
mov rax, rdi
mov r11d, 1
test rdx, rdx
je 0x180001581
mov r8, rsi
sub r8, rdi
mov cl, byte [rax]
mov byte [r8 + rax], cl
add rax, r11
sub rdx, r11
jne 0x180001573
movzx ecx, word [rbx + 0x14]
movzx r9d, word [rbx + 6]
add rcx, rbx
test r9, r9
je 0x1800015c7
add rcx, 0x2c
mov edx, dword [rcx - 8]
sub r9, r11
mov r8d, dword [rcx]
add rdx, rsi
mov r10d, dword [rcx - 4]
add r8, rdi
test r10, r10
je 0x1800015be
mov al, byte [r8]
add r8, r11
mov byte [rdx], al
add rdx, r11
sub r10, r11
jne 0x1800015ae
add rcx, 0x28
test r9, r9
jne 0x180001596
mov edi, dword [rbx + 0x90]
add rdi, rsi
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x18000166d
mov rbp, qword [rsp + 0x78]
mov ecx, eax
add rcx, rsi
call r13
mov r14d, dword [rdi]
mov r12, rax
mov r15d, dword [rdi + 0x10]
add r14, rsi
add r15, rsi
xor r8d, r8d
jmp 0x180001657
test r14, r14
je 0x180001630
cmp qword [r14], r8
jge 0x180001630
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 0x180001642
mov rdx, qword [r15]
mov rcx, r12
add rdx, 2
add rdx, rsi
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 0x1800015fd
mov eax, dword [rdi + 0x20]
add rdi, 0x14
test eax, eax
jne 0x1800015e0
xor ebp, ebp
mov r9, rsi
sub r9, qword [rbx + 0x30]
cmp dword [rbx + 0xb4], ebp
je 0x18000173c
mov edx, dword [rbx + 0xb0]
add rdx, rsi
mov eax, dword [rdx + 4]
test eax, eax
je 0x18000173c
mov ebx, 2
mov r14d, 0xfff
lea r12d, [rbx + 1]
mov r8d, dword [rdx]
lea rdi, [rdx + 8]
mov r11d, eax
add r8, rsi
sub r11, 8
shr r11, 1
je 0x180001726
mov r15d, 1
movzx r10d, word [rdi]
sub r11, r15
movzx eax, r10w
movzx ecx, r10w
shr ax, 0xc
cmp ax, 0xa
jne 0x1800016e8
and r10, r14
mov rcx, qword [r10 + r8]
add rcx, r9
mov qword [r10 + r8], rcx
jmp 0x18000171b
cmp ax, r12w
jne 0x1800016f7
and rcx, r14
add dword [rcx + r8], r9d
jmp 0x18000171b
cmp ax, r15w
jne 0x18000170e
and rcx, r14
mov rax, r9
shr rax, 0x10
add word [rcx + r8], ax
jmp 0x18000171b
cmp ax, bx
jne 0x18000171b
and rcx, r14
add word [rcx + r8], r9w
add rdi, rbx
test r11, r11
jne 0x1800016bf
mov eax, dword [rdx + 4]
add rdx, rax
mov eax, dword [rdx + 4]
test eax, eax
jne 0x1800016a3
mov rbx, qword [rsp + 0x80]
mov ebx, dword [rbx + 0x28]
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
add rbx, rsi
call qword [rsp + 0x88]
mov r8, qword [rsp + 0x70]
mov edx, 1
mov rcx, rsi
call rbx
mov rax, rbx
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret