Function at 0x18006ffc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov r14, r8
mov r13d, edx
mov rsi, rcx
mov dword [rsp + 0x70], 0xc0000001
cmp r13d, dword [rcx + 0x18]
jb 0x180070005
mov ebx, 0xc00000f0
mov dword [rsp + 0x70], ebx
xor r12d, r12d
jmp 0x1800709d9
lfence
cmp qword [r8 + 8], 0
jne 0x18007002e
cmp qword [r8 + 0x18], 0
jne 0x18007002e
cmp qword [r8 + 0x28], 0
jne 0x18007002e
mov ebx, 0xc00000f1
mov dword [rsp + 0x70], ebx
xor r12d, r12d
jmp 0x1800709d9
imul r15, r13, 0x70
mov rcx, qword [rcx + 0x20]
xor r12d, r12d
xor eax, eax
lock cmpxchg dword [rcx + r15], r12d
mov dword [rsp + 0x98], eax
cmp eax, 1
je 0x18007005b
mov ebx, 0xe8040025
mov dword [rsp + 0x70], ebx
jmp 0x1800709d9
mov eax, dword ds:[r8]
test eax, eax
je 0x180070131
cmp eax, 0xfffffff
jbe 0x18007007d
mov ebx, 0xc0000095
mov dword [rsp + 0x70], ebx
jmp 0x1800709d9
mov rbx, rax
shl rbx, 4
lea r8, [rbx + 0x18]
lea rax, [rbx + 0x10]
cmp rax, rbx
jae 0x180070096
mov rcx, r12
jmp 0x1800700ea
cmp r8, rbx
jae 0x1800700a2
mov rcx, r12
jmp 0x1800700ea
lfence
xor edx, edx
mov rcx, qword [0x180152670]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
jne 0x1800700be
mov rcx, r12
jmp 0x1800700ea
mov dword [rax + 0xc], 0xaaaaaaaa
mov dword [rax + 8], 0x45544323
mov qword [rax], rbx
mov dword [rax + rbx + 0x10], 0xbbbbbbbb
mov dword [rax + rbx + 0x14], 0x45544323
lock inc dword [0x180152678]
lea rcx, [rax + 0x10]
mov qword [rsp + 0xa8], rcx
mov rax, qword [rsi + 0x20]
mov qword [r15 + rax + 0x48], rcx
mov rax, qword [rsi + 0x20]
mov rcx, qword [r15 + rax + 0x48]
test rcx, rcx
jne 0x180070117
mov ebx, 0xc000009a
mov dword [rsp + 0x70], ebx
jmp 0x1800709d9
mov r8d, dword [r14]
shl r8, 4
xor edx, edx
call sub.ntdll.dll_memset
mov ecx, dword [r14]
mov rax, qword [rsi + 0x20]
mov dword [r15 + rax + 0x40], ecx
mov edi, r12d
mov dword [rsp + 0x74], r12d
mov eax, r12d
nop dword [rax]
cmp eax, dword [r14]
jae 0x180070235
mov rdx, qword [rsi + 0x20]
mov eax, dword [r15 + rdx + 8]
mov r8, qword [rsi + 8]
cmp eax, dword [r8 + 0x5c]
jb 0x180070162
xor bl, bl
jmp 0x18007017c
lfence
mov rcx, rax
add rcx, rcx
mov rax, qword [r8 + 0x60]
movzx ebx, byte [rax + rcx*8 + 6]
mov rdx, qword [rsi + 0x20]
mov edi, dword [rsp + 0x74]
mov r10d, edi
lea rax, [r10 + r10*2]
lea r13, [rax*8]
shl r10, 4
mov rax, qword [r14 + 8]
mov rcx, qword [rax + r13 + 8]
mov rax, qword [r15 + rdx + 0x48]
mov qword [r10 + rax], rcx
mov r9, qword [r14 + 8]
mov edx, dword [r9 + r13 + 0x14]
mov rcx, qword [rsi + 0x20]
mov eax, dword [r15 + rcx + 8]
mov r11, qword [rsi + 8]
cmp eax, dword [r11 + 0x5c]
jae 0x1800701e6
mov r8d, eax
add r8, r8
mov rax, qword [r11 + 0x60]
cmp byte [rax + r8*8 + 5], r12b
je 0x1800701e6
lfence
mov rax, qword [r11 + 0x60]
mov edx, dword [rax + r8*8 + 8]
mov rcx, qword [rsi + 0x20]
mov r9, qword [r14 + 8]
mov edi, dword [rsp + 0x74]
mov dword [rsp + 0x7c], edx
mov rax, qword [r15 + rcx + 0x48]
lea rcx, [r10 + 8]
add rcx, rax
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x28], bl
mov dword [rsp + 0x20], edx
mov r8, qword [r9 + r13 + 8]
mov edx, dword [r9 + r13]
mov rcx, qword [rsi + 0x10]
call fcn.1800301c0
mov ebx, eax
mov dword [rsp + 0x70], eax
test eax, eax
js 0x1800709d1
inc edi
mov dword [rsp + 0x74], edi
mov eax, edi
jmp 0x180070140
mov eax, dword ds:[r14 + 0x10]
test eax, eax
je 0x18007030b
cmp eax, 0xfffffff
jbe 0x180070259
mov ebx, 0xc0000095
jmp 0x1800709cd
mov rbx, rax
shl rbx, 4
lea r8, [rbx + 0x18]
lea rax, [rbx + 0x10]
cmp rax, rbx
jae 0x180070272
mov rcx, r12
jmp 0x1800702c4
cmp r8, rbx
jae 0x18007027c
mov rcx, r12
jmp 0x1800702c4
lfence
xor edx, edx
mov rcx, qword [0x180152670]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
jne 0x180070298
mov rcx, r12
jmp 0x1800702c4
mov dword [rax + 0xc], 0xaaaaaaaa
mov dword [rax + 8], 0x45544323
mov qword [rax], rbx
mov dword [rax + rbx + 0x10], 0xbbbbbbbb
mov dword [rax + rbx + 0x14], 0x45544323
lock inc dword [0x180152678]
lea rcx, [rax + 0x10]
mov qword ds:[rsp + 0xb0], rcx
mov rax, qword [rsi + 0x20]
mov qword [r15 + rax + 0x58], rcx
mov rax, qword [rsi + 0x20]
mov rcx, qword [r15 + rax + 0x58]
test rcx, rcx
jne 0x1800702ef
mov ebx, 0xc000009a
jmp 0x1800709cd
mov r8d, dword [r14 + 0x10]
shl r8, 4
xor edx, edx
call sub.ntdll.dll_memset
mov ecx, dword [r14 + 0x10]
mov rax, qword [rsi + 0x20]
mov dword [r15 + rax + 0x50], ecx
mov edi, r12d
mov dword [rsp + 0x74], r12d
mov eax, r12d
mov rcx, qword [0x180146040]
nop dword [rax]
cmp eax, dword [r14 + 0x10]
jae 0x18007053c
mov rdx, qword [rsi + 0x20]
mov eax, dword [r15 + rdx + 8]
mov r8, qword [rsi + 8]
cmp eax, dword [r8 + 0x5c]
jb 0x180070342
xor bl, bl
jmp 0x18007035c
lfence
mov rcx, rax
add rcx, rcx
mov rax, qword [r8 + 0x60]
movzx ebx, byte [rax + rcx*8 + 6]
mov rdx, qword [rsi + 0x20]
mov edi, dword [rsp + 0x74]
mov r11d, edi
lea rax, [r11 + r11*8]
lea r13, [rax*8]
shl r11, 4
mov rax, qword [r14 + 0x18]
mov rcx, qword [rax + r13]
mov rax, qword [r15 + rdx + 0x58]
mov qword [r11 + rax], rcx
mov rdx, qword [r14 + 0x18]
mov r8d, dword [rdx + r13 + 0x38]
mov rax, qword [rsi + 0x20]
mov ecx, dword [r15 + rax + 8]
mov r9, qword [rsi + 8]
cmp ecx, dword [r9 + 0x5c]
jae 0x1800703be
add rcx, rcx
mov rax, qword [r9 + 0x60]
cmp byte [rax + rcx*8 + 5], r12b
je 0x1800703be
lfence
mov rax, qword [r9 + 0x60]
mov r8d, dword [rax + rcx*8 + 8]
mov rdx, qword [r14 + 0x18]
mov edi, dword [rsp + 0x74]
mov dword [rsp + 0x7c], r8d
mov r10d, dword [rdx + r13 + 0x40]
mov eax, r10d
shr eax, 2
test al, 1
je 0x18007044d
mov r9d, dword ds:[rdx + r13 + 8]
mov eax, r9d
shr eax, 1
test al, 1
jne 0x18007044d
mov ebx, 0xc000000d
mov dword [rsp + 0x70], ebx
mov rcx, qword [0x180146040]
lea rax, [0x180146040]
nop dword [rax + rax]
cmp rcx, rax
je 0x1800709d1
test byte [rcx + 0x1c], 1
je 0x1800709d1
cmp byte [rcx + 0x19], 2
jb 0x1800709d1
lea rax, [r13 + 0x10]
add rax, rdx
lea r8, [r13 + 0x20]
add r8, rdx
mov edx, 0x11
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], r10d
mov rcx, qword [rcx + 0x10]
call fcn.18006f1a0
jmp 0x1800709d1
mov rax, qword [rsi + 0x20]
mov rax, qword [r15 + rax + 0x58]
add rax, 8
add rax, r11
lea rcx, [r13 + 0x20]
add rcx, rdx
lea r9, [r13 + 0x10]
add r9, rdx
mov dword [rsp + 0x60], r10d
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x48], bl
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], r8d
mov eax, dword [rdx + r13 + 0x34]
mov dword [rsp + 0x30], eax
movzx eax, word [rdx + r13 + 0x30]
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rcx
mov r8d, dword [rdx + r13 + 8]
mov rdx, qword [rdx + r13]
lea rcx, [0x180152880]
call fcn.1800160c0
mov ebx, eax
mov dword [rsp + 0x70], eax
cmp eax, 0xc0000225
jne 0x18007051d
mov rcx, qword [0x180146040]
lea rax, [0x180146040]
cmp rcx, rax
je 0x180070510
test byte [rcx + 0x1c], 1
je 0x180070510
cmp byte [rcx + 0x19], 4
jb 0x180070510
mov rax, qword [r14 + 0x18]
lea r8, [rax + 0x20]
add r8, r13
lea r9, [rax + 0x10]
add r9, r13
mov edx, 0x12
mov qword [rsp + 0x20], r8
lea r8, [0x1801351d8]
mov rcx, qword [rcx + 0x10]
call fcn.180030e40
mov rcx, qword [0x180146040]
inc edi
mov dword [rsp + 0x74], edi
mov eax, edi
jmp 0x180070320
nop dword [rax]
test eax, eax
js 0x1800709d1
mov rcx, qword [0x180146040]
inc edi
mov dword [rsp + 0x74], edi
mov eax, edi
jmp 0x180070320
mov eax, dword [r14 + 0x20]
test eax, eax
je 0x18007061d
cmp eax, 0xfffffff
jbe 0x180070559
mov ebx, 0xc0000095
jmp 0x1800709cd
mov rbx, rax
shl rbx, 4
lea r8, [rbx + 0x18]
lea rax, [rbx + 0x10]
cmp rax, rbx
jae 0x180070572
mov rcx, r12
jmp 0x1800705c4
cmp r8, rbx
jae 0x18007057c
mov rcx, r12
jmp 0x1800705c4
lfence
xor edx, edx
mov rcx, qword [0x180152670]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
jne 0x180070598
mov rcx, r12
jmp 0x1800705c4
mov dword [rax + 0xc], 0xaaaaaaaa
mov dword [rax + 8], 0x45544323
mov qword [rax], rbx
mov dword [rax + rbx + 0x10], 0xbbbbbbbb
mov dword [rax + rbx + 0x14], 0x45544323
lock inc dword [0x180152678]
lea rcx, [rax + 0x10]
mov qword [rsp + 0xb8], rcx
mov r13d, dword [rsp + 0x108]
imul rbx, r13, 0x70
mov rax, qword [rsi + 0x20]
mov qword [rbx + rax + 0x68], rcx
mov rax, qword [rsi + 0x20]
mov rcx, qword [rbx + rax + 0x68]
test rcx, rcx
jne 0x1800705f9
mov ebx, 0xc000009a
jmp 0x1800709cd
mov r8d, dword [r14 + 0x20]
shl r8, 4
xor edx, edx
call sub.ntdll.dll_memset
mov ecx, dword [r14 + 0x20]
mov rax, qword [rsi + 0x20]
mov dword [rbx + rax + 0x60], ecx
mov rcx, qword [0x180146040]
jmp 0x180070625
mov r13d, dword [rsp + 0x108]
mov edi, r12d
mov dword [rsp + 0x74], r12d
mov eax, r12d
cmp eax, dword [r14 + 0x20]
jae 0x1800708b8
imul r10, r13, 0x70
mov rax, qword [rsi + 0x20]
mov edx, dword [rax + r10 + 8]
mov r8, qword [rsi + 8]
cmp edx, dword [r8 + 0x5c]
jb 0x18007065b
mov byte [rsp + 0x118], r12b
jmp 0x180070683
lfence
mov rcx, rdx
add rcx, rcx
mov rax, qword [r8 + 0x60]
movzx eax, byte [rax + rcx*8 + 6]
mov byte [rsp + 0x118], al
mov rax, qword [rsi + 0x20]
mov edi, dword [rsp + 0x74]
mov rcx, qword [0x180146040]
lea r9, [rax + r10]
test byte [r9 + 0x30], 1
jne 0x1800706cf
lea r11, [0x180146040]
cmp rcx, r11
je 0x1800706c5
test byte ds:[rcx + 0x1c], 0x10
je 0x1800706c5
cmp byte [rcx + 0x19], 2
jb 0x1800706c5
mov edx, 0x13
mov r9d, dword [r9 + 8]
lea r8, [0x1801351d8]
mov rcx, qword [rcx + 0x10]
call fcn.180012460
mov ebx, 0xe80400e6
jmp 0x1800709cd
mov r8d, edi
lea rdx, [r8 + r8*2]
shl rdx, 4
shl r8, 4
mov rax, qword [r14 + 0x28]
mov rcx, qword [rdx + rax]
mov rax, qword [r9 + 0x68]
mov qword [r8 + rax], rcx
add rdx, qword [r14 + 0x28]
mov rax, qword [rsi + 0x20]
mov rcx, qword [r10 + rax + 0x68]
lea rax, [r8 + 8]
add rax, rcx
mov qword [rsp + 0xa0], rax
movzx eax, byte [rdx + 0x28]
mov byte [rsp + 0x78], al
mov eax, dword [rdx + 0x24]
mov dword [rsp + 0x80], eax
mov eax, dword [rdx + 8]
mov dword [rsp + 0x84], eax
mov rax, qword [rdx]
mov qword [rsp + 0x90], rax
movzx eax, byte [rdx + 0x21]
mov byte [rsp + 0x79], al
movzx r15d, byte [rdx + 0x20]
mov qword [rsp + 0x88], r12
cmp r15b, 2
ja 0x180070756
mov ebx, 0xc0000022
jmp 0x1800709cd
cmp r15b, 0x40
jb 0x1800707af
mov rax, qword [0x180146040]
lea r11, [0x180146040]
cmp rax, r11
je 0x1800707a5
test dword [rax + 0x1c], 0x100
je 0x1800707a5
cmp byte [rax + 0x19], 1
jb 0x1800707a5
lfence
mov r9d, r15d
mov edx, 0x11
lea r8, [0x180132600]
mov rcx, qword [0x180146040]
mov rcx, qword [rcx + 0x10]
call fcn.180012460
mov ebx, 0xc0000095
jmp 0x1800709cd
mov eax, dword [rdx + 0xc]
imul rcx, rax, 0x38
add rcx, qword [0x180152ad8]
add rdx, 0x10
lea r8, [rsp + 0x88]
call fcn.180027bc0
mov ebx, eax
test eax, eax
jns 0x18007082c
mov rcx, qword [0x180146040]
lea rax, [0x180146040]
cmp rcx, rax
je 0x180070823
test dword [rcx + 0x1c], 0x100
je 0x180070823
cmp byte [rcx + 0x19], 2
jb 0x180070823
lfence
mov edx, 0x12
mov r9d, ebx
lea r8, [0x180132600]
mov rcx, qword [0x180146040]
mov rcx, qword [rcx + 0x10]
call fcn.180012460
mov edi, dword [rsp + 0x74]
mov rcx, qword [0x180146040]
mov dword [rsp + 0x70], ebx
jmp 0x1800708a3
lfence
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x118]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x79]
movzx r8d, r15b
mov rdx, qword [rsp + 0x88]
lea rcx, [0x180152a80]
call fcn.180027d00
mov ebx, eax
mov dword [rsp + 0x70], eax
mov edi, dword [rsp + 0x74]
mov rcx, qword [0x180146040]
test ebx, ebx
js 0x1800709d1
inc edi
mov dword [rsp + 0x74], edi
mov eax, edi
jmp 0x180070630
mov dword [rsp + 0x74], r12d
mov r15d, r12d
imul rdx, r13, 0x70
add rdx, qword [rsi + 0x20]
cmp r15d, dword [rdx + 0x40]
jae 0x18007093a
mov edi, r15d
lea rcx, [rdi + rdi*2]
mov rax, qword [r14 + 8]
cmp byte [rax + rcx*8 + 0x10], r12b
jne 0x180070930
add rdi, rdi
mov rax, qword [rdx + 0x48]
mov rdi, qword [rax + rdi*8 + 8]
mov qword [rsp + 0x118], rdi
mov rbx, qword [rsi + 8]
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r8, qword [rbx + 0x20]
mov eax, edi
mov edx, dword [r8 + rax*8 + 4]
and edx, 0xfffffffe
mov eax, edi
mov dword [r8 + rax*8 + 4], edx
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [rsp + 0x70], r12d
nop dword [rax]
inc r15d
mov dword [rsp + 0x74], r15d
jmp 0x1800708c0
mov dword [rsp + 0x74], r12d
mov r15d, r12d
nop dword [rax]
nop word [rax + rax]
imul rdx, r13, 0x70
mov rax, qword [rsi + 0x20]
add rdx, rax
cmp r15d, dword [rdx + 0x50]
jae 0x1800709ca
mov edi, r15d
lea rcx, [rdi + rdi*8]
mov rax, qword [r14 + 0x18]
cmp byte [rax + rcx*8 + 0x3c], r12b
jne 0x1800709c0
add rdi, rdi
mov rax, qword [rdx + 0x58]
mov rdi, qword [rax + rdi*8 + 8]
mov qword [rsp + 0x90], rdi
mov rbx, qword [rsi + 8]
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r8, qword [rbx + 0x38]
mov eax, edi
mov edx, dword [r8 + rax*8 + 4]
and edx, 0xfffffffe
mov eax, edi
mov dword [r8 + rax*8 + 4], edx
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [rsp + 0x70], r12d
nop
inc r15d
mov dword [rsp + 0x74], r15d
jmp 0x180070950
mov ebx, r12d
mov dword [rsp + 0x70], ebx
mov r13d, dword [rsp + 0x108]
nop dword [rax]
test ebx, ebx
jns 0x180070ac7
mov eax, r13d
imul rdi, rax, 0x70
mov rax, qword [rsi + 0x20]
lea r14, [rax + rdi]
mov r8, qword [r14 + 0x48]
test r8, r8
je 0x180070a3d
add r8, 0xfffffffffffffff0
xor edx, edx
mov rcx, qword [0x180152670]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lock dec dword [0x180152678]
mov qword [r14 + 0x48], r12
mov rax, qword [rsi + 0x20]
mov qword [rdi + rax + 0x48], r12
mov rax, qword [rsi + 0x20]
mov dword [rdi + rax + 0x40], r12d
mov rax, qword [rsi + 0x20]
mov ebx, dword [rsp + 0x70]
lea r14, [rax + rdi]
mov r8, qword [r14 + 0x58]
test r8, r8
je 0x180070a82
add r8, 0xfffffffffffffff0
xor edx, edx
mov rcx, qword [0x180152670]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lock dec dword [0x180152678]
mov qword [r14 + 0x58], r12
mov rax, qword [rsi + 0x20]
mov qword [rdi + rax + 0x58], r12
mov rax, qword [rsi + 0x20]
mov dword [rdi + rax + 0x50], r12d
mov rax, qword [rsi + 0x20]
mov ebx, dword [rsp + 0x70]
lea r14, [rax + rdi]
mov r8, qword [r14 + 0x68]
test r8, r8
je 0x180070ac7
add r8, 0xfffffffffffffff0
xor edx, edx
mov rcx, qword [0x180152670]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lock dec dword [0x180152678]
mov qword [r14 + 0x68], r12
mov rax, qword [rsi + 0x20]
mov qword [rdi + rax + 0x68], r12
mov rax, qword [rsi + 0x20]
mov dword [rdi + rax + 0x60], r12d
mov ebx, dword [rsp + 0x70]
mov eax, ebx
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret