Function at 0x7ff7c0085de0
Capabilities:
Parse pe header
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push rbp
push r13
push r14
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xa8
xor r13d, r13d
mov r14, rcx
mov r15d, r13d
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], r13
mov qword [rbp + 0x7f], r13
call fcn.7ff7c0085320
mov rcx, rax
test rax, rax
jne 0x7ff7c0085e25
add rsp, 0xa8
pop r15
pop r14
pop r13
pop rbp
ret
mov eax, 0x5a4d
mov qword [rsp + 0xd0], rbx
cmp word [rcx], ax
jne 0x7ff7c0085eee
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0xffffffe
ja 0x7ff7c0085eee
cmp dword [rdx + rcx], 0x4550
jne 0x7ff7c0085eee
lea r8, [rcx + 0x88]
add r8, rdx
mov eax, dword [r8]
test eax, eax
je 0x7ff7c0085eee
cmp dword [r8 + 4], r13d
je 0x7ff7c0085eee
lea r9, [rcx + rax]
mov word [rsp + 0x28], r13w
lea rax, [0x7ff7c0188710]
mov qword [rsp + 0x20], rax
call fcn.7ff7c00c4bd0
test rax, rax
je 0x7ff7c0085eee
lea r8, [rbp - 9]
lea rdx, [0x7ff7c0147ac0]
lea rcx, [0x7ff7c0147980]
call qword [case.0x7ff7c00c1f48.0]
test eax, eax
js 0x7ff7c008623d
mov rcx, qword [rbp - 9]
lea r9, [rbp - 0x11]
lea r8, [0x7ff7c0147990]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x7ff7c00c1f48.0]
mov rcx, qword ds:[rbp - 9]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x7ff7c00c1f48.0]
test ebx, ebx
js 0x7ff7c008623d
mov rcx, qword [rbp - 0x11]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], r13
lea rdx, [0x7ff7c0184b68]
mov qword [rsp + 0x30], r13
xor r8d, r8d
mov rax, qword [rcx]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov rax, qword [rax + 0x18]
call qword [case.0x7ff7c00c1f48.0]
test eax, eax
js 0x7ff7c008623d
mov qword [rsp + 0xa0], rsi
lea rcx, [0x7ff7c0184d00]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x90], r12
call sym.ProcessHacker.exe_PhCountStringZ
mov rsi, rax
lea rcx, [r14 + 0xf8]
add rsi, rsi
call sym.ProcessHacker.exe_PhCountStringZ
mov rdx, qword [0x7ff7c01d3b58]
mov rdi, rax
add rdi, rdi
lea rbx, [rdi + rsi]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r12, rax
lea rdx, [0x7ff7c0184d00]
mov r8, rsi
mov qword [rax], rbx
add rax, 0x10
mov qword [r12 + 8], rax
mov word [rax + rbx], r13w
mov rcx, qword [r12 + 8]
call fcn.7ff7c0125120
mov rcx, qword ds:[r12 + 8]
lea rdx, [r14 + 0xf8]
add rcx, rsi
mov r8, rdi
call fcn.7ff7c0125120
mov rcx, qword [rbp - 0x19]
lea rdx, [rbp + 0x7f]
mov r8, qword [r12 + 8]
mov r9d, 0x30
mov qword [rsp + 0x28], rdx
lea rdx, [0x7ff7c0184c38]
mov qword [rsp + 0x20], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
call qword [case.0x7ff7c00c1f48.0]
mov rsi, qword [rsp + 0xa0]
mov edi, 0xffffffff
test eax, eax
js 0x7ff7c0086219
mov rdx, qword [0x7ff7c01d3b60]
lea ecx, [rdi + 0x11]
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x7ff7c01d3cd0]
lea edx, [rdi + 5]
lea r8d, [rdi + 9]
mov r15, rax
mov dword [rax], r13d
mov dword [rax + 4], 1
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov dword [rbp + 0x6f], r13d
lea rdx, [rbp + 0x6f]
mov qword [r15 + 8], rax
lea r9, [rbp + 0x77]
mov rcx, qword [rbp + 0x7f]
lea r8d, [rdi + 2]
mov qword [rsp + 0x20], rdx
mov edx, edi
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x7ff7c00c1f48.0]
test eax, eax
js 0x7ff7c0086219
cmp dword [rbp + 0x6f], r13d
je 0x7ff7c0086219
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
lea r8d, [rdx + 0x1c]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xorps xmm0, xmm0
mov qword [rsp + 0x28], r13
mov rbx, rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 7]
xor r8d, r8d
movups xmmword [rax], xmm0
lea rdx, [0x7ff7c0184c40]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x7ff7c00c1f48.0]
test eax, eax
js 0x7ff7c00860e6
mov rcx, qword [rbp + 0xf]
call sym.ProcessHacker.exe_PhCreateString
lea rcx, ds:[rbp + 7]
mov qword [rbx + 8], rax
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x77]
lea r9, [rbp + 7]
mov qword [rsp + 0x28], r13
lea rdx, [0x7ff7c0184c58]
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x7ff7c00c1f48.0]
test eax, eax
js 0x7ff7c0086129
mov rcx, qword [rbp + 0xf]
call sym.ProcessHacker.exe_PhCreateString
lea rcx, [rbp + 7]
mov qword [rbx], rax
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x77]
lea r9, [rbp + 7]
mov qword [rsp + 0x28], r13
lea rdx, [0x7ff7c0183338]
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x7ff7c00c1f48.0]
test eax, eax
js 0x7ff7c008616d
mov rcx, qword [rbp + 0xf]
call sym.ProcessHacker.exe_PhCreateString
lea rcx, [rbp + 7]
mov qword [rbx + 0x18], rax
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x7ff7c00c1f48.0]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x7ff7c00861a4
mov rdx, qword [rbx]
test rdx, rdx
je 0x7ff7c00861a4
lea r8, [rbp - 1]
call fcn.7ff7c00859e0
test eax, eax
js 0x7ff7c00861a4
mov rax, qword [rbp - 1]
mov qword [rbx + 0x10], rax
mov eax, dword [r15]
mov ecx, dword [r15 + 4]
cmp eax, ecx
jne 0x7ff7c00861da
mov r8, qword [r15 + 8]
lea eax, [rcx + rcx]
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [r15 + 4], eax
call qword [sym.imp.kernel32.dll_HeapReAlloc_1]
mov qword [r15 + 8], rax
mov eax, dword [r15]
mov ecx, eax
lea rdx, [rbp + 0x6f]
mov rax, qword [r15 + 8]
lea r9, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
mov r8d, 1
mov edx, edi
mov qword [rax + rcx*8], rbx
inc dword [r15]
mov rcx, qword [rbp + 0x7f]
mov dword [rbp + 0x6f], r13d
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x7ff7c00c1f48.0]
test eax, eax
jns 0x7ff7c0086072
lea rcx, [r12 - 0x10]
lock xadd dword [rcx + 8], edi
mov r12, qword [rsp + 0x90]
cmp edi, 1
mov rdi, qword [rsp + 0x98]
jne 0x7ff7c008623d
call fcn.7ff7c00c6290
mov rcx, qword [rbp + 0x7f]
mov rbx, qword [rsp + 0xd0]
test rcx, rcx
je 0x7ff7c008625b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x7ff7c00c1f48.0]
mov rcx, qword ds:[rbp - 0x19]
test rcx, rcx
je 0x7ff7c0086272
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x7ff7c00c1f48.0]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x7ff7c0086288
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x7ff7c00c1f48.0]
mov rax, r15
add rsp, 0xa8
pop r15
pop r14
pop r13
pop rbp
ret