Function at 0x180001008
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, 0x48
xor esi, esi
mov r13d, esi
mov qword [rsp + 0x20], rsi
mov ebp, esi
mov qword [rsp + 0xa8], rsi
mov r14d, esi
mov qword [rsp + 0x28], rsi
mov r12d, esi
call fcn.180001000
mov r15, rax
lea ebx, [rsi + 1]
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x18000106d
movsxd rdx, dword [r15 + 0x3c]
lea rcx, [rdx - 0x40]
cmp rcx, 0x3bf
ja 0x18000106d
cmp dword [rdx + r15], 0x4550
je 0x180001072
sub r15, rbx
jmp 0x180001047
mov rax, qword gs:[0x60]
mov edi, 3
mov qword [rsp + 0x98], r15
mov rcx, qword [rax + 0x18]
mov r11, qword [rcx + 0x20]
mov qword [rsp + 0xa0], r11
test r11, r11
je 0x180001276
mov r9d, 0xffff
mov rdx, qword [r11 + 0x50]
mov rax, rsi
movzx r8d, word [r11 + 0x48]
movzx ecx, byte [rdx]
ror eax, 0xd
cmp cl, 0x61
jb 0x1800010c2
add rax, 0xffffffffffffffe0
add rax, rcx
add rdx, rbx
add r8w, r9w
jne 0x1800010b3
cmp eax, 0x6a4abc5b
jne 0x1800011ab
mov rdx, qword [r11 + 0x20]
mov r11d, 0xffff
movsxd rax, dword [rdx + 0x3c]
mov esi, dword [rax + rdx + 0x88]
mov r10d, dword [rsi + rdx + 0x20]
mov ebx, dword [rsi + rdx + 0x24]
add r10, rdx
add rbx, rdx
xor r9d, r9d
lea r15d, [r9 + 1]
mov r8d, dword [r10]
mov ecx, r9d
add r8, rdx
mov al, byte [r8]
add r8, r15
ror ecx, 0xd
movsx eax, al
add ecx, eax
mov al, byte [r8]
test al, al
jne 0x180001110
cmp ecx, 0xec0e4e8e
je 0x18000113a
cmp ecx, 0x7c0dfcaa
je 0x18000113a
cmp ecx, 0x91afca54
jne 0x18000117e
mov r9d, dword [rsi + rdx + 0x1c]
movzx r8d, word [rbx]
add r9, rdx
cmp ecx, 0xec0e4e8e
jne 0x180001157
mov r13d, dword [r9 + r8*4]
add r13, rdx
jmp 0x180001177
cmp ecx, 0x7c0dfcaa
jne 0x180001168
mov ebp, dword [r9 + r8*4]
add rbp, rdx
jmp 0x180001177
cmp ecx, 0x91afca54
jne 0x180001177
mov r14d, dword [r9 + r8*4]
add r14, rdx
add di, r11w
xor r9d, r9d
add r10, 4
add rbx, 2
test di, di
jne 0x180001104
mov r11, qword [rsp + 0xa0]
xor esi, esi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x20], r13
jmp 0x180001238
cmp eax, 0x3cfa685d
jne 0x180001246
mov r8, qword [r11 + 0x20]
mov r15d, 1
movzx edi, r15w
mov ebp, 0xffff
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, esi
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 0x1800011ef
cmp ecx, 0x534c0ab8
jne 0x18000121e
mov ecx, dword [rbx + r8 + 0x1c]
movzx edx, word [r10]
add rcx, r8
mov r12d, dword [rcx + rdx*4]
add r12, r8
add di, bp
add r9, 4
add r10, 2
test di, di
jne 0x1800011e5
mov rbp, qword [rsp + 0xa8]
mov qword [rsp + 0x28], r12
mov r9d, 0xffff
mov edi, 3
mov rbx, r15
test r13, r13
je 0x18000125a
test rbp, rbp
je 0x18000125a
test r14, r14
je 0x18000125a
test r12, r12
jne 0x18000126e
mov r11, qword [r11]
mov qword [rsp + 0xa0], r11
test r11, r11
jne 0x1800010a7
mov r15, qword [rsp + 0x98]
movsxd rbp, dword [r15 + 0x3c]
xor ecx, ecx
add rbp, r15
mov dword [rsp + 0xa0], esi
mov r8d, 0x3000
mov qword [rsp + 0x30], rbp
mov r12, rsi
lea r9d, [rcx + 0x40]
mov edx, dword [rbp + 0x50]
call r14
movzx r8d, word [rbp + 0x14]
mov rdi, rax
movzx r10d, word [rbp + 6]
add r8, 0x2c
test r10, r10
je 0x180001303
add r8, rbp
mov eax, dword [r8]
sub r10, rbx
mov r9d, dword [r8 - 4]
mov ecx, dword [r8 - 8]
add rcx, rdi
lea rdx, [r15 + rax]
add eax, r9d
mov dword [rsp + 0xa0], eax
mov rax, rcx
sub rax, rdx
test r12, r12
cmovne rax, r12
mov r12, rax
test r9, r9
je 0x1800012fa
mov al, byte [rdx]
add rdx, rbx
mov byte [rcx], al
add rcx, rbx
sub r9, rbx
jne 0x1800012eb
add r8, 0x28
test r10, r10
jne 0x1800012b7
mov eax, dword [rbp + 0x90]
mov r14d, 1
test eax, eax
je 0x1800013ff
lea rbx, [rdi + rax]
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1800013ff
mov rbp, qword [rsp + 0xa8]
mov ecx, eax
add rcx, rdi
call r13
mov r15d, dword [rbx + 0x10]
xor ecx, ecx
mov esi, dword [rbx]
add r15, rdi
add rsi, rdi
mov r13, rax
cmp qword [r15], rcx
je 0x1800013c9
test rsi, rsi
je 0x180001382
cmp qword [rsi], rcx
jge 0x180001382
movsxd rax, dword [r13 + 0x3c]
movzx edx, word [rsi]
mov ecx, dword [rax + r13 + 0x88]
mov eax, dword [rcx + r13 + 0x10]
mov ecx, dword [rcx + r13 + 0x1c]
sub rdx, rax
add rcx, r13
mov eax, dword [rcx + rdx*4]
add rax, r13
mov qword [r15], rax
xor ecx, ecx
jmp 0x1800013ac
mov r14, qword [r15]
mov rcx, r13
add r14, 2
add r14, rdi
mov rdx, r14
call rbp
xor ecx, ecx
mov qword [r15], rax
cmp byte [r14], cl
je 0x1800013ac
lea eax, [rcx + 1]
mov byte [r14], cl
add r14, rax
cmp byte [r14], cl
jne 0x1800013a1
add r15, 8
lea rax, [rsi + 8]
test rsi, rsi
cmove rax, rsi
mov rsi, rax
cmp qword [r15], rcx
jne 0x18000134c
mov r14d, 1
mov eax, dword [rbx + 0xc]
add rax, rdi
xor esi, esi
jmp 0x1800013d9
mov byte [rax], sil
add rax, r14
cmp byte [rax], sil
jne 0x1800013d3
mov eax, dword [rbx + 0x20]
add rbx, 0x14
mov r13, qword [rsp + 0x20]
test eax, eax
jne 0x18000132e
mov rbp, qword [rsp + 0x30]
mov r15, qword [rsp + 0x98]
mov r9, rdi
sub r9, qword [rbp + 0x30]
cmp dword [rbp + 0xb4], esi
je 0x1800014c7
mov edx, dword [rbp + 0xb0]
add rdx, rdi
mov eax, dword [rdx + 4]
test eax, eax
je 0x1800014c7
mov r15d, 2
mov ebx, 0xfff
lea r13d, [r15 + 1]
mov r8d, dword [rdx]
lea r11, [rdx + 8]
mov r10d, eax
add r8, rdi
sub r10, 8
shr r10, 1
je 0x1800014ad
mov r14d, 1
movzx ecx, word [r11]
sub r10, r14
movzx eax, cx
shr ax, 0xc
cmp ax, 0xa
jne 0x18000146e
and rcx, rbx
add qword [rcx + r8], r9
jmp 0x1800014a2
cmp ax, r13w
jne 0x18000147d
and rcx, rbx
add dword [rcx + r8], r9d
jmp 0x1800014a2
cmp ax, r14w
jne 0x180001494
and rcx, rbx
mov rax, r9
shr rax, 0x10
add word [rcx + r8], ax
jmp 0x1800014a2
cmp ax, r15w
jne 0x1800014a2
and rcx, rbx
add word [rcx + r8], r9w
add r11, r15
test r10, r10
jne 0x180001451
mov eax, dword [rdx + 4]
add rdx, rax
mov eax, dword [rdx + 4]
test eax, eax
jne 0x180001435
mov r15, qword [rsp + 0x98]
lea r14d, [rax + 1]
mov ebx, dword [rbp + 0x28]
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
add rbx, rdi
call qword [rsp + 0x28]
call fcn.180001000
test r12, r12
je 0x1800014f7
test rax, rax
je 0x1800014f7
lea rcx, [rax + r12]
mov r12, rsi
call fcn.18000155c
jmp 0x180001532
mov edx, dword [rsp + 0xa0]
shr edx, 2
mov dword [rsp + 0x98], esi
jmp 0x180001527
movsxd rax, dword [rsp + 0x98]
mov dword [r15 + rax*4], esi
mov eax, dword [rsp + 0x98]
add eax, r14d
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
cmp eax, edx
jb 0x18000150a
mov r8, qword [rsp + 0x90]
mov edx, 1
mov rcx, rdi
call rbx
lea rax, [r12 + rdi]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret