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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdx
lea rdx, [rsp + 0x50]
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 1
xor edi, edi
mov rcx, rbx
xor r8d, r8d
mov r9b, 1
call fcn.140001280
cmp qword [rsp + 0x58], 0
je 0x1400d18f6
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + r14*8]
mov rsi, qword [rax + 0x10]
test rsi, rsi
je 0x1400d1d93
add rsi, 0x108
mov rcx, rsi
call r15
test al, al
je 0x1400d1cb9
inc r14
mov rdi, qword [rsp + 0x58]
cmp r14, rdi
jb 0x1400d18be
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x10]
cmp dword [rax + 4], 4
je 0x1400d1bfd
mov rbp, qword [rax + 0xe0]
test rbp, rbp
je 0x1400d1bfd
mov eax, 1
lock xadd dword [rbp + 8], eax
cmp eax, 0x7fffffff
je 0x1400d1d96
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1400d1963
xor edi, edi
mov r14d, 0x108
mov rsi, qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + rdi*8]
mov rcx, qword [rax + 0x10]
add rcx, r14
call rsi
inc rdi
cmp rdi, qword [rsp + 0x58]
jb 0x1400d1947
test rbp, rbp
je 0x1400d1bd3
mov rax, qword [rbp]
mov rax, qword [rax + 8]
lea rcx, [0x140097b00]
cmp rax, rcx
jne 0x1400d1bf2
mov r14, qword [rbp + 0x10]
lea rsi, [r14 + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400d1c9d
cmp byte [r14 + 0x50], 0
jne 0x1400d1bc0
mov rax, qword [r14 + 0x10]
mov r12, qword [rax + 0x20]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 1
xor r15d, r15d
mov rcx, rbx
xor r8d, r8d
mov r9b, 1
call fcn.140001280
cmp qword [rsp + 0x58], 0
je 0x1400d1a26
xor edi, edi
mov r13, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + rdi*8]
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x1400d1d99
add rbx, 0x108
mov rcx, rbx
call r13
test al, al
je 0x1400d1cab
inc rdi
mov r15, qword [rsp + 0x58]
cmp rdi, r15
jb 0x1400d19ee
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x10]
mov r9d, dword [rax + 4]
cmp r9d, 1
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x3c], r9d
jne 0x1400d1cf0
mov rcx, qword [rax + 0x88]
mov rbx, qword [rax + 0x90]
cmp rcx, rbx
jne 0x1400d1c86
mov rdx, qword [rax + 0xa0]
xor r8d, r8d
movzx edi, byte [rax + 0xe9]
test dil, dil
mov dword [rsp + 0x24], r8d
jne 0x1400d1c29
cmp byte [rax + 0xe8], 0
jne 0x1400d1c29
mov dl, 1
mov dword [rsp + 0x20], edx
mov rdx, qword [rax + 8]
xor rdx, qword [r12]
mov r8, qword [rax + 0x10]
xor r8, qword [r12 + 8]
or r8, rdx
setne r13b
sub rbx, rcx
sar rbx, 3
mov rcx, qword [rax + 0xb0]
mov qword [rsp + 0x40], rcx
mov r12, qword [rax + 0x68]
not r12
add r12, qword [rax + 0x60]
test r15, r15
je 0x1400d1afb
xor r15d, r15d
mov esi, 0x108
mov rbp, qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + r15*8]
mov rcx, qword [rax + 0x10]
add rcx, rsi
call rbp
inc r15
cmp r15, qword [rsp + 0x58]
jb 0x1400d1adf
cmp dword [rsp + 0x3c], 1
jne 0x1400d1d19
movzx edx, byte [rsp + 0x24]
test dil, dil
jne 0x1400d1c48
mov ecx, 2
test r13b, r13b
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
jne 0x1400d1d4c
or ecx, edx
movabs rax, 0x3700000000
cmp byte [r14 + 0x90], 0
jne 0x1400d1d70
cmp byte [r14 + 0xa8], 0
jne 0x1400d1d56
cmp byte [r14 + 0xc0], 0
jne 0x1400d1d7f
mov dword [r14 + 0x4c], ecx
mov edx, ecx
or rdx, rax
mov qword [rsp + 0x48], rdx
shr rax, 0x20
cmp byte [r14 + 0x80], 0
jne 0x1400d1c04
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x84], rax
mov byte [r14 + 0x80], 1
mov rdi, qword [r14 + 0x68]
mov r15, qword [r14 + 0x70]
cmp rdi, r15
je 0x1400d1bc0
lea rbx, [rsp + 0x48]
mov rcx, qword [rdi]
mov rdx, qword [r14 + 0x58]
mov r8, rbx
call fcn.1400ab860
add rdi, 0x28
cmp rdi, r15
jne 0x1400d1ba8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lock dec dword [rbp + 8]
je 0x1400d1cd6
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14013d520
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbp
call qword [case.0x14017aab5.0]
jmp 0x1400d1bc9
xor ebp, ebp
jmp 0x1400d1933
cmp ecx, dword [r14 + 0x84]
je 0x1400d1c1e
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x84], rax
jmp 0x1400d1b96
cmp eax, dword [r14 + 0x88]
je 0x1400d1bc0
jmp 0x1400d1c0d
cmp byte [rax + 0xea], 0
je 0x1400d1c77
cmp rcx, rbx
jne 0x1400d1cc7
mov dword [rsp + 0x20], 0
jmp 0x1400d1a95
mov eax, edx
or al, 0x24
or edx, 4
cmp byte [rsp + 0x20], 0
movzx eax, al
mov ecx, 0x25
cmove ecx, eax
movzx eax, cl
shl rax, 0x20
mov ecx, edx
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
jmp 0x1400d1b38
dec rdx
cmp qword [rax + 0x78], rdx
jne 0x1400d1a8f
jmp 0x1400d1c3b
mov r8, qword [rcx]
mov rdx, qword [rax + 0xa0]
cmp qword [r8 + 0x38], rdx
sete r8b
jmp 0x1400d1a6d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400d199d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400d1a19
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400d18e9
mov r8, qword [rcx]
cmp qword [r8 + 0x38], rdx
sete dl
jmp 0x1400d1a91
mov rax, qword [rbp]
mov rax, qword [rax]
mov rcx, rbp
mov edx, 1
call qword [case.0x14017aab5.0]
jmp 0x1400d1bd3
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov al, 0xaa
mov dword [rsp + 0x20], eax
mov dil, 0xaa
mov r13b, 0xaa
mov al, 0xaa
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x40], rbx
mov r12, rbx
jmp 0x1400d1acb
mov al, byte [r14 + 0x48]
test al, 1
jne 0x1400d1d30
cmp byte [r14 + 0x50], 0
jne 0x1400d1d30
mov al, byte [r14 + 0x51]
test al, 1
je 0x1400d1d9c
mov qword [rsp + 0x48], 0
xor eax, eax
xor ecx, ecx
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
jmp 0x1400d1b74
mov ecx, 0x12
jmp 0x1400d1b2c
mov rdx, qword [rsp + 0x40]
cmp rdx, qword [r14 + 0xb0]
jbe 0x1400d1b54
or ecx, 0x20
jmp 0x1400d1b62
cmp rbx, qword [r14 + 0x98]
jbe 0x1400d1b46
jmp 0x1400d1d68
mov edx, ecx
or edx, 0x20
cmp r12, qword [r14 + 0xc8]
cmova ecx, edx
jmp 0x1400d1b62
int3
int3
int3
int3