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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp + 0x18]
sub rsp, 0x118
mov r8, qword [rcx]
mov rbx, rcx
movzx r10d, word [rcx]
mov rax, r8
and qword [rbp + 0x10], 0
lea rcx, [rbp + 0x10]
shr rax, 0x10
movzx edx, ax
mov rax, r8
shr rax, 0x20
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], edx
lea rdx, str._d._d._d._d
movzx r9d, ax
shr r8, 0x30
call fcn.7ff7d50edab0
mov edi, eax
test eax, eax
jns 0x7ff7d50e89da
mov rcx, qword [section..data]
lea rdx, [section..data]
cmp rcx, rdx
je 0x7ff7d50e89c5
test byte [rcx + 0x1c], 1
je 0x7ff7d50e89c5
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7d50f4210]
mov edx, 0xa
mov r9d, eax
call fcn.7ff7d50e81a4
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x7ff7d50e89d3
call fcn.7ff7d50e1820
mov eax, edi
jmp 0x7ff7d50e8c61
mov r8, qword [rbx]
movzx edx, word [rbx + 8]
mov rax, r8
movzx r10d, word [rbx]
and qword [rbp + 0x18], 0
shr rax, 0x10
movzx ecx, ax
mov rax, r8
mov dword [rsp + 0x30], edx
lea rdx, str._d._d._d._d__d
shr rax, 0x20
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x18]
movzx r9d, ax
shr r8, 0x30
call fcn.7ff7d50edab0
mov ebx, eax
test eax, eax
jns 0x7ff7d50e8a7a
mov rcx, qword [section..data]
lea rdx, [section..data]
cmp rcx, rdx
je 0x7ff7d50e8a57
test byte [rcx + 0x1c], 1
je 0x7ff7d50e8a57
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7d50f4210]
mov edx, 0xb
mov r9d, eax
call fcn.7ff7d50e81a4
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x7ff7d50e8a65
call fcn.7ff7d50e1820
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x7ff7d50e8a73
call fcn.7ff7d50e1820
mov eax, ebx
jmp 0x7ff7d50e8c61
mov rsi, qword [0x7ff7d50fa470]
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 0x18]
test rsi, rsi
je 0x7ff7d50e8c0f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x7ff7d50f90a0], 5
jbe 0x7ff7d50e8c06
movabs rdx, 0x400000000000
test qword [0x7ff7d50f90b0], rdx
je 0x7ff7d50e8c06
mov rax, qword [0x7ff7d50f90b8]
and rax, rdx
cmp rax, qword [0x7ff7d50f90b8]
jne 0x7ff7d50e8c06
mov rcx, qword [0x7ff7d50fa468]
lea rdx, [0x7ff7d50f5eb9]
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x30], 0x2000000
mov eax, dword [rcx + 0x48]
mov dword [rbp + 0x10], eax
mov eax, dword [rcx + 0x44]
mov dword [rbp + 0x18], eax
mov eax, dword [rcx + 0x40]
mov dword [rbp + 0x20], eax
movzx eax, byte [rcx + 0x3c]
mov dword [rbp + 0x28], eax
movzx eax, byte [rcx + 0x3b]
mov dword [rbp - 0x80], eax
movzx eax, byte [rcx + 0x3a]
mov dword [rbp - 0x7c], eax
movzx eax, byte [rcx + 0x39]
mov dword [rbp - 0x78], eax
movzx eax, byte [rcx + 0x38]
mov dword [rbp - 0x74], eax
mov rax, qword [rcx + 0x30]
mov qword [rbp - 0x60], rax
mov rax, qword [rcx + 0x28]
mov qword [rbp - 0x58], rax
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x50], rax
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x48], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x40], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0xa0], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x98], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x90], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x88], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x80], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call section..text
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [section..data]
lea rdx, [section..data]
cmp rcx, rdx
je 0x7ff7d50e8c45
test byte [rcx + 0x1c], 4
je 0x7ff7d50e8c45
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7d50f4210]
mov edx, 0xc
mov qword [rsp + 0x20], rdi
mov r9, rbx
call fcn.7ff7d50e98dc
test rdi, rdi
je 0x7ff7d50e8c52
mov rcx, rdi
call fcn.7ff7d50e1820
test rbx, rbx
je 0x7ff7d50e8c5f
mov rcx, rbx
call fcn.7ff7d50e1820
xor eax, eax
add rsp, 0x118
pop rdi
pop rsi
pop rbx
pop rbp
ret