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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x1403260c0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1402d7ef0]
movaps xmmword [rcx], xmm0
call fcn.140002c38
movzx ebx, byte [rdi + 0x1c]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400022cd
cmp word [rcx], 0
je 0x1400022cd
movzx ebx, bl
inc ebx
lea rdx, [rsp + 0x40]
call fcn.140001260
jmp 0x1400022e2
add ebx, ebx
lea rdx, [rsp + 0x40]
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call fcn.140001882
mov ebp, eax
mov esi, eax
test eax, eax
jne 0x140002318
mov rsi, qword [rdi + 8]
mov r15, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140002f2c
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov rcx, rax
mov dl, 1
mov r8d, ebx
mov r9, rsi
call fcn.140003c18
mov esi, eax
test esi, esi
jns 0x14000254e
cmp byte [rdi + 0x1c], 0
jne 0x14000254e
test ebp, ebp
sete bpl
test ebx, ebx
sete bl
mov eax, dword [0x14033c658]
mov ecx, dword [0x14033cf38]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140002584
mov rcx, qword [0x14033c650]
test rcx, rcx
je 0x14000254e
lea rdx, [0x1402d86b8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000254e
mov rax, qword [0x140325f38]
movups xmm0, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x70], xmm0
cmp qword [0x140325f50], 0
jne 0x1400025ca
xorps xmm0, xmm0
movups xmmword [0x140325f58], xmm0
lea r8, [0x140325f30]
lea rdx, [0x140002a81]
lea r9, [0x140325f50]
lea rdi, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EventRegister]
test eax, eax
jne 0x14000254e
mov r8, qword [0x140325f38]
movzx r9d, word [r8]
mov rcx, qword [0x140325f50]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
cmp dword [0x140325f30], 3
jb 0x14000252c
test byte [0x140325f45], 0x40
je 0x14000252c
movabs rax, 0xffffbfffffffffff
test qword [0x140325f48], rax
jne 0x14000252c
movabs rax, 0x400000000000
lea rcx, [rsp + 0x68]
mov qword [rcx], 0x1000000
lea rdx, [rsp + 0x67]
mov byte [rdx], bl
lea r8, [rsp + 0x66]
mov byte [r8], bpl
lea r9, [rsp + 0x60]
mov dword [r9], esi
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], 8
mov qword [rsp + 0xb0], rdx
mov ecx, 1
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x98], 4
movabs rcx, 0x20b000000
lea rdx, [rsp + 0xd0]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov rax, qword [0x140325f38]
mov qword [rsp + 0x70], rax
movzx eax, word [rax]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7c], 2
lea rax, [0x1402f2794]
mov qword [rsp + 0x80], rax
movabs rax, 0x10000005f
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x3c], 0xaaaaaaaa
lea rax, str.ETW0
lea rcx, [0x1402f2838]
sub ecx, eax
mov dword [rsp + 0x3c], ecx
mov rcx, qword [0x140325f50]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_EventWriteTransfer]
mov rcx, qword [0x140325f50]
mov dword [0x140325f30], 0
mov qword [0x140325f50], 0
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
lea rcx, [rsp + 0x40]
call fcn.140002c4a
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
cmp rcx, qword [0x1403260c0]
jne 0x14000257e
mov eax, esi
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140261420
int3
lea rcx, [0x14033c658]
call fcn.1402612d8
cmp dword [0x14033c658], 0xffffffff
jne 0x14000235a
lea rcx, [0x1402d869e]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x14033c650], rax
lea rcx, [0x14033c658]
call fcn.14026126c
jmp 0x14000235a
mov ecx, 5
int 0x29