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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov r9, qword [rcx + 0x68]
mov rsi, rcx
xor r15d, r15d
mov rcx, r9
mov r14, r8
mov ebx, r15d
call fcn.7ff74ae3aec
cmp eax, r15d
je 0x7ff74b0f96d
movzx edx, word [rsi + 0x78]
cmp r15w, dx
jne 0x7ff74b0f9e8
lea rcx, [r9 + 4]
movzx eax, word [rcx]
cmp ax, r15w
je 0x7ff74b0f998
mov edx, 0x10
cmp ax, dx
jne 0x7ff74b0f977
cmp rcx, r15
je 0x7ff74b0f9a0
movzx eax, word [r9 + 2]
lea r8, [rsp + 0xc0]
lea rdx, [r9 + rax*2 + 4]
call fcn.7ff74ae5464
mov ebx, eax
jmp 0x7ff74ae541b
cmp ebx, r15d
jne 0x7ff74ae543e
lea rdx, [rsi + 0x40]
mov rcx, r14
mov r8d, 0x30
call sub.msvcrt.dll_memcpy
mov r11, qword [rsp + 0xc0]
mov qword [r14 + 0x28], r11
mov eax, ebx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov eax, 0x776
jmp 0x7ff74ae5440
cmp ax, r15w
je 0x7ff74b0f987
add rcx, 2
cmp word [rcx], r15w
jne 0x7ff74b0f97d
add rcx, 2
mov ax, word [rcx]
cmp ax, r15w
jne 0x7ff74ae53ee
mov rcx, r15
jmp 0x7ff74ae53f7
cmp dword [0x7ff74b582c8], r15d
je 0x7ff74b0fd78
mov rcx, qword [0x7ff74b58350]
lea rbp, [0x7ff74b58350]
cmp rcx, rbp
je 0x7ff74b0fd78
test byte [rcx + 0x1c], 1
je 0x7ff74b0fd78
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff74b51060]
mov edx, 0xc
call fcn.7ff74b25da0
jmp 0x7ff74b0fd78
mov eax, 0xffff
mov qword [rsp + 0xc0], r15
mov r12, r15
lea rbp, [0x7ff74b58350]
cmp word [rsi + 0x7a], ax
je 0x7ff74b0fa13
movzx eax, word [rsi + 0x7a]
lea r12, [r9 + rax*2 + 4]
jmp 0x7ff74b0fcfb
mov rcx, qword [rsi + 0x80]
cmp rcx, r15
je 0x7ff74b0fa43
lea r8, [r9 + 4]
call fcn.7ff74b29fcc
cmp rax, r15
je 0x7ff74b0fa43
mov r12, rax
sub eax, dword [rsi + 0x68]
sub rax, 4
sar rax, 1
mov word [rsi + 0x7a], ax
jmp 0x7ff74b0fcfb
mov rcx, qword [0x7ff74b58420]
lea rax, [0x7ff74b51d60]
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x68]
mov dword [rsp + 0x48], r15d
add rax, 4
mov dword [rsp + 0x58], 0x6ba
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], rax
lock add dword [rcx + 0x3c], 0xffffffff
mov dword [rcx + 0x40], r15d
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rsp + 0x30]
call fcn.7ff74b2a2d4
mov edi, eax
cmp dword [0x7ff74b582c8], r15d
je 0x7ff74b0fadd
mov rcx, qword [0x7ff74b58350]
cmp rcx, rbp
je 0x7ff74b0fadd
test byte [rcx + 0x1c], 8
je 0x7ff74b0fadd
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff74b51060]
mov edx, 0xd
mov r9d, eax
call fcn.7ff74b25ec4
cmp edi, 0x6b5
jne 0x7ff74b0fc19
cmp ebx, r15d
jne 0x7ff74b0fc19
mov ebx, r15d
cmp dword [rsp + 0x38], r15d
jbe 0x7ff74b0fc19
mov rdx, qword [rsp + 0x78]
cmp rdx, r15
je 0x7ff74b0fb16
mov eax, ebx
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
jmp 0x7ff74b0fb19
mov rcx, r15
mov rcx, qword [rcx]
lea rdx, [rsp + 0xd8]
call qword [sym.imp.RPCRT4.dll_RpcBindingCopy]
mov edi, eax
cmp eax, r15d
jne 0x7ff74b0fbe6
mov rdx, qword [rsp + 0x78]
cmp rdx, r15
je 0x7ff74b0fb4b
mov eax, ebx
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
jmp 0x7ff74b0fb4e
mov rcx, r15
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.RPCRT4.dll_RpcBindingReset]
mov edi, eax
cmp eax, r15d
jne 0x7ff74b0fba3
mov rdx, qword [rsp + 0x78]
cmp rdx, r15
je 0x7ff74b0fb7f
mov eax, ebx
lea rcx, [rax + rax*2]
lea r8, [rdx + rcx*8]
jmp 0x7ff74b0fb82
mov r8, r15
mov rax, qword [rsp + 0xd8]
inc ebx
mov qword [r8], rax
cmp ebx, dword [rsp + 0x38]
jb 0x7ff74b0fb00
mov ebx, 1
jmp 0x7ff74b0fa9e
cmp dword [0x7ff74b582c8], r15d
je 0x7ff74b0fbd6
mov rcx, qword [0x7ff74b58350]
cmp rcx, rbp
je 0x7ff74b0fbd6
test byte [rcx + 0x1c], 1
je 0x7ff74b0fbd6
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff74b51060]
mov edx, 0xf
mov r9d, eax
call fcn.7ff74b25ec4
lea rcx, [rsp + 0xd8]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
jmp 0x7ff74b0fc19
cmp dword [0x7ff74b582c8], r15d
je 0x7ff74b0fc19
mov rcx, qword [0x7ff74b58350]
cmp rcx, rbp
je 0x7ff74b0fc19
test byte [rcx + 0x1c], 1
je 0x7ff74b0fc19
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff74b51060]
mov edx, 0xe
mov r9d, eax
call fcn.7ff74b25ec4
mov rcx, qword [0x7ff74b58420]
call fcn.7ff74ae3010
cmp edi, r15d
jne 0x7ff74b0fc8a
mov rax, qword [rsp + 0x80]
mov r12, qword [rax + 0x10]
cmp dword [0x7ff74b582c8], r15d
je 0x7ff74b0fc79
mov rcx, qword [0x7ff74b58350]
cmp rcx, rbp
je 0x7ff74b0fc79
test byte [rcx + 0x1c], 8
je 0x7ff74b0fc79
mov rcx, qword [rcx + 0x10]
lea rax, [r12 + 2]
cmp r12, r15
lea r9, [0x7ff74b48980]
lea r8, [0x7ff74b51060]
mov edx, 0x10
cmovne r9, rax
call fcn.7ff74b25f00
mov eax, r12d
sub eax, dword [rsi + 0x68]
sub rax, 4
sar rax, 1
mov word [rsi + 0x7a], ax
mov ebx, r15d
cmp dword [rsp + 0x38], r15d
jbe 0x7ff74b0fcb8
mov eax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0x78]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + 8]
inc ebx
cmp ebx, dword [rsp + 0x38]
jb 0x7ff74b0fc94
mov r8, qword [rsp + 0x78]
mov rcx, qword [0x7ff74b584e0]
xor edx, edx
call qword [case.0x7ff74b3e5fd.0]
mov r8, qword [rsp + 0x70]
mov rcx, qword [0x7ff74b584e0]
lea rax, [0x7ff74b51da0]
xor edx, edx
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x78], r15
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x30], rax
call qword [case.0x7ff74b3e5fd.0]
cmp r12, r15
je 0x7ff74b0fd37
mov rdx, qword [rsi + 0x68]
lea r8, [rsp + 0xc0]
mov rcx, r12
movzx eax, word [rdx + 2]
lea rdx, [rdx + rax*2 + 4]
call fcn.7ff74ae5464
mov ebx, eax
cmp qword [rsp + 0xc0], r15
jne 0x7ff74ae541b
mov ebx, 0xe
jmp 0x7ff74ae541b
cmp dword [0x7ff74b582c8], r15d
je 0x7ff74b0fd78
mov rcx, qword [0x7ff74b58350]
cmp rcx, rbp
je 0x7ff74b0fd78
test byte [rcx + 0x1c], 1
je 0x7ff74b0fd78
mov rax, qword [rsi + 0x68]
mov r9, qword [rsi + 0x18]
mov rcx, qword [rcx + 0x10]
add rax, 6
lea r8, [0x7ff74b51060]
mov edx, 0x11
mov qword [rsp + 0x20], rax
call fcn.7ff74b265d0
mov ebx, 0x776
jmp 0x7ff74ae541b