Function at 0x1400016f4
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
push r12
push r14
sub rsp, 0x130
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400481f8]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rdi, rcx
xor r9d, r9d
xor r8d, r8d
lea r12d, [r9 + 1]
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rdi + 0x2a8], rax
test rax, rax
jne 0x140001786
lea rsi, [0x140048138]
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x14000177c
test byte [rcx + 0x1c], r12b
je 0x14000177c
cmp byte [rcx + 0x19], 2
jb 0x14000177c
lea edx, [rax + 0xa]
lea r8, [0x14003e938]
mov rcx, qword [rcx + 0x10]
call fcn.140001608
mov eax, 0x8007000e
jmp 0x140001b55
mov rax, qword [0x1400480a8]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [rsp + 0x38], xmm0
and qword [0x1400480c8], 0
and qword [0x1400480d0], 0
lea r9, [0x1400480c0]
lea r8, [0x1400480a0]
lea rdx, section..text
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister]
test eax, eax
jne 0x1400017e6
mov r8, qword [0x1400480a8]
movzx r9d, word [r8]
lea edx, [rax + 2]
mov rcx, qword [0x1400480c0]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventSetInformation]
call int.1400015b4
and qword [rdi + 0x2b0], 0
lea rsi, [0x140048138]
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x14000182a
test byte [rcx + 0x1c], r12b
je 0x14000182a
cmp byte [rcx + 0x19], 4
jb 0x14000182a
mov edx, 0xb
mov r9d, eax
lea r8, [0x14003e938]
mov rcx, qword [rcx + 0x10]
call fcn.140001450
mov ecx, 0x198
call fcn.14003b4a8
test rax, rax
je 0x140001841
mov rcx, rax
call fcn.140003f3c
mov qword [0x140048860], rax
test rax, rax
jne 0x140001882
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x140001878
test byte [rcx + 0x1c], r12b
je 0x140001878
cmp byte [rcx + 0x19], 2
jb 0x140001878
lea edx, [rax + 0xc]
lea r8, [0x14003e938]
mov rcx, qword [rcx + 0x10]
call fcn.140001608
mov eax, 0x8007000e
jmp 0x140001b55
mov r9d, 0x64
lea r8, [rsp + 0x50]
lea edx, [r9 + 2]
mov rcx, qword [0x140048868]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
test eax, eax
jne 0x1400018ee
lea r8, [0x14003e830]
mov ebx, 0xc8
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140003784
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x1400018ee
test byte [rcx + 0x1c], r12b
je 0x1400018ee
cmp byte [rcx + 0x19], 3
jb 0x1400018ee
mov edx, 0xd
mov dword [rsp + 0x20], eax
mov r9d, ebx
lea r8, [0x14003e938]
mov rcx, qword [rcx + 0x10]
call fcn.140001628
lea rdx, [rsp + 0x50]
call fcn.1400040b4
mov ebx, eax
test eax, eax
jns 0x140001935
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x14000192e
test byte [rcx + 0x1c], r12b
je 0x14000192e
cmp byte [rcx + 0x19], 2
jb 0x14000192e
mov edx, 0xe
mov r9d, eax
lea r8, [0x14003e938]
mov rcx, qword [rcx + 0x10]
call fcn.140001450
mov eax, ebx
jmp 0x140001b55
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x140001e70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x2b0], rax
test rax, rax
jne 0x1400019af
mov rax, qword [0x140048138]
cmp rax, rsi
je 0x14000199d
test byte [rax + 0x1c], r12b
je 0x14000199d
cmp byte [rax + 0x19], 2
jb 0x14000199d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r9d, eax
mov edx, 0xf
lea r8, [0x14003e938]
mov rcx, qword [0x140048138]
mov rcx, qword [rcx + 0x10]
call fcn.140001450
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.14000395c
jmp 0x140001b55
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [rdi + 0x28c], eax
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
test rax, rax
jne 0x1400019e7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400019f8
mov qword [rdi + 0x2a0], rax
mov rcx, rdi
call fcn.140002b74
mov ebx, eax
test ebx, ebx
jne 0x140001a19
lea edx, [rbx + 4]
mov rcx, rdi
call fcn.140002304
or edx, 0xffffffff
mov rcx, qword [rdi + 0x2a0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test ebx, ebx
js 0x140001a67
xor ebx, ebx
mov r14, qword [0x140048c40]
mov rax, qword [0x140048c48]
jmp 0x140001a53
test ebx, ebx
jne 0x140001a58
mov rcx, qword [r14]
test rcx, rcx
je 0x140001a4f
mov ecx, dword [rcx + 0x28]
test ecx, ecx
je 0x140001a4f
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
mov ebx, eax
mov rax, qword [0x140048c48]
add r14, 8
cmp r14, rax
jb 0x140001a2d
cmp byte [rdi + 0x60], 0
je 0x140001a67
mov ecx, dword [rdi + 0x5c]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [0x140048860]
test rcx, rcx
je 0x140001ab9
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x140001aa0
test byte [rcx + 0x1c], r12b
je 0x140001aa0
cmp byte [rcx + 0x19], 4
jb 0x140001aa0
mov edx, 0x10
lea r8, [0x14003e938]
mov rcx, qword [rcx + 0x10]
call fcn.140001608
mov rcx, qword [rdi + 0x2a8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
call fcn.140004868
mov rcx, qword [0x140048860]
mov rax, qword [rdi + 0x2b0]
test rax, rax
je 0x140001b0d
mov rcx, rax
mov r9, qword [0x140048138]
cmp r9, rsi
je 0x140001afd
test byte [r9 + 0x1c], r12b
je 0x140001afd
cmp byte [r9 + 0x19], 4
jb 0x140001afd
mov edx, 0x11
lea r8, [0x14003e938]
mov rcx, qword [r9 + 0x10]
call fcn.140001608
mov rcx, qword [rdi + 0x2b0]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [0x140048860]
test rcx, rcx
je 0x140001b1f
call fcn.140001d70
and qword [0x140048860], 0
mov rcx, qword [0x140048138]
cmp rcx, rsi
je 0x140001b4c
test byte [rcx + 0x1c], r12b
je 0x140001b4c
cmp byte [rcx + 0x19], 4
jb 0x140001b4c
mov edx, 0x12
lea r8, [0x14003e938]
mov rcx, qword [rcx + 0x10]
call fcn.140001608
mov eax, ebx
jmp 0x140001b55
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14003b8a0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret