Function at 0x14000eb50
Capabilities:
Check if file exists
Delete registry value
Get thread local storage value
Get token membership
Query or enumerate registry value
Terminate process

Disassembly:
push rbp
push rbx
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x1400ad768]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor edi, edi
mov qword [rbp - 0x80], r9
mov qword [rsp + 0x70], r8
mov r14, r8
mov qword [rbp + 0x18], rdx
mov r15, rcx
mov qword [rbp - 0x58], rcx
mov r13, rcx
mov dword [rsp + 0x64], 0x7b
lea rbx, [rdi - 1]
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x78], rdi
mov dword [rbp - 0x70], edi
mov qword [rsp + 0x68], rdi
test rcx, rcx
je 0x14000ebcc
mov rax, rbx
inc rax
cmp word [rcx + rax*2], di
jne 0x14000ebb4
inc rax
cmp rax, 0x21b
ja 0x140028054
cmp dword [0x1400aede8], edi
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x158], r12
mov r12d, 2
je 0x140028066
test r15, r15
je 0x14000ec11
lea rdx, str._NoCache
mov rcx, r15
call qword [sym.imp.msvcrt.dll_wcsstr]
mov rdi, rax
test rax, rax
jne 0x14002812a
xor edi, edi
mov rcx, qword [0x1400af198]
mov edx, 8
lea r8d, [rdx + 0x60]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x14002814d
mov dword [rax], 0x6060
mov qword [rax + 0x38], rbx
mov qword [rax + 0x40], rdi
mov qword [rax + 0x50], 0
mov dword [rax + 0x58], edi
mov qword [rax + 0x60], rdi
test r13, r13
je 0x14000ecbc
mov rax, rbx
nop dword [rax + rax]
cmp word [r13 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000ec60
mov rcx, qword [0x1400af198]
lea r14d, [rax*2 + 2]
mov r8d, r14d
mov edx, 8
mov esi, r14d
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400281ad
mov r8d, esi
mov rdx, r13
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov qword [r12 + 0x48], rdi
test rdi, rdi
je 0x1400281f7
mov r14, qword [rsp + 0x70]
xor edi, edi
test r14, r14
je 0x14000eccc
cmp qword [r14 + 8], 0
jne 0x14000f1ff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x1400af184]
mov esi, eax
cmp ecx, 0xffffffff
je 0x14002821d
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqTransportType]
mov edi, eax
test eax, eax
jne 0x14000f041
cmp dword [rbp - 0x50], 4
jne 0x14002823b
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
mov rcx, rax
lea r9, [rbp - 8]
lea edx, [rdi + 8]
lea r8d, [rdi + 1]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
test eax, eax
je 0x14000f209
mov dword [rbp + 0x38], edi
lea rax, [rbp - 0x48]
xor edi, edi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
lea rcx, [rbp + 0x38]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], edi
mov dl, 1
mov dword [rsp + 0x30], edi
lea r8d, [rdi + 2]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov word [rbp + 0x3c], 0x500
mov qword [rbp - 0x48], rdi
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14002826d
mov rdx, qword [rbp - 0x48]
lea r8, [rbp - 0x4c]
mov rcx, qword [rbp - 8]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
test eax, eax
je 0x14002824f
cmp dword [rbp - 0x4c], edi
jne 0x140028245
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
mov rcx, qword [rbp - 8]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov ecx, esi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
test edi, edi
js 0x14002828b
lea r15, [0x1400ad2f8]
test edi, edi
jne 0x14000f1ff
mov rcx, r13
call fcn.14000f240
xor esi, esi
mov qword [rsp + 0x78], rsi
mov edi, esi
mov qword [rsp + 0x68], rsi
test r13, r13
je 0x14000f031
lea rdx, [rsp + 0x60]
mov qword [rbp], rbx
lea rcx, [rbp]
mov byte [rbp + 8], sil
mov dword [rsp + 0x60], esi
call fcn.14000bbe0
test eax, eax
je 0x14000ee14
cmp dword [rsp + 0x60], esi
jne 0x1400282ca
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x78], rsi
mov ecx, 0x2001f
mov qword [rbp - 0x60], rsi
mov r14, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenCurrentUser]
mov edi, eax
test eax, eax
jne 0x1400282d3
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x140028325
cmp word [r13], 0x5c
je 0x14000f0af
lea rax, [rbp + 0x10]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [0x140091110]
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000ee95
mov r14, r13
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
jne 0x1400283c2
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
mov ebx, eax
test eax, eax
jne 0x14000eef9
mov ecx, dword [rsp + 0x60]
cmp ecx, 0x48
jae 0x1400283dc
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
jne 0x14002849b
mov rbx, qword [rbp]
cmp rbx, 0xffffffffffffffff
je 0x14000ef3c
test rbx, rbx
je 0x14000ef33
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadToken]
test eax, eax
je 0x1400284e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test rdi, rdi
jne 0x1400284ed
xor edx, edx
lea rcx, [rbp - 0x40]
lea r8d, [rdx + 0x38]
call sub.msvcrt.dll_memset
mov esi, dword [rbp + 0xc0]
mov rbx, qword [rbp - 0x80]
cmp esi, 4
je 0x14000f055
cmp esi, 3
je 0x14002851f
cmp dword [rbp + 0xc8], 0
mov r15d, 3
je 0x140028577
mov r14, qword [0x1400aede0]
lea eax, [rsi - 3]
mov r8, qword [rsp + 0x70]
lea r9, [rbp - 0x40]
cmp eax, 1
lea rdx, [rbp - 0x78]
mov ecx, r15d
lea eax, [rsi - 3]
cmova ecx, esi
cmp eax, 1
mov rax, qword [r14 + 0x1e8]
mov dword [rsp + 0x20], ecx
cmova r9, rbx
mov rcx, r13
call qword [0x14008f7f0]
mov ebx, eax
cmp eax, 1
jne 0x140028558
mov qword [r12 + 8], r14
mov esi, 1
mov rax, qword [rbp - 0x78]
mov qword [r12 + 0x10], rax
mov rax, qword [rbp + 0x18]
mov qword [rax], r12
mov rcx, qword [0x1400af198]
mov r8, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp r13, qword [rbp - 0x58]
jne 0x14002881d
mov eax, esi
mov rsi, qword [rsp + 0x160]
mov r12, qword [rsp + 0x158]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14001aad0
add rsp, 0x168
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
jmp 0x14000ef45
cmp eax, 0x6bd
jne 0x140028225
xor eax, eax
mov edi, eax
jmp 0x14000edae
mov eax, dword [rbx + 0x30]
mov dword [r12 + 0x54], eax
mov eax, dword [rbx + 0x34]
mov dword [r12 + 0x58], eax
mov eax, dword [rbx]
mov dword [rbp - 0x3c], eax
mov rax, qword [rbx + 8]
mov qword [rbp - 0x30], rax
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x28], rax
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov eax, dword [rbx + 0x1c]
mov dword [rbp - 0x1c], eax
mov eax, dword [rbx + 0x20]
mov dword [rbp - 0x18], eax
movzx eax, word [rbx + 0x24]
mov word [rbp - 0x14], ax
mov rax, qword [rbx + 0x28]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x38], 0x28
mov dword [rbp - 0x40], 0x38
jmp 0x14000ef70
cmp word [r13 + 2], 0x5c
jne 0x14000ee52
nop dword [rax + rax]
inc rbx
cmp word [r13 + rbx*2], si
jne 0x14000f0c0
cmp rbx, 0x21b
jae 0x1400283ac
mov rcx, qword [0x1400af198]
mov edx, 8
mov r8d, 0x462
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140028353
lea r8, [0x140091590]
mov edx, 0x231
sub r8, rax
mov rcx, rax
nop
lea rax, [rdx + 0x7ffffdcd]
test rax, rax
je 0x14000f138
movzx eax, word [rcx + r8]
test ax, ax
je 0x14000f138
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000f110
jmp 0x14002839a
test rdx, rdx
je 0x14002839a
xor r10d, r10d
lea r8, [rsi + 0x2a]
mov word [rcx], r10w
cmp r8, r13
je 0x14000f195
mov r9, r13
mov edx, 0x21c
sub r9, r8
mov rax, r8
nop
lea rcx, [rdx + 0x7ffffde2]
test rcx, rcx
je 0x14000f188
movzx ecx, word [rax + r9]
test cx, cx
je 0x14000f188
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14000f160
jmp 0x1400283a3
test rdx, rdx
je 0x1400283a3
mov word [rax], r10w
movzx eax, word [r8]
test ax, ax
je 0x14000f1b7
mov ecx, 0x2c
cmp ax, 0x5c
je 0x14000f1f9
movzx eax, word [r8 + 2]
add r8, 2
test ax, ax
jne 0x14000f1a3
lea rax, [rsp + 0x78]
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [0x1400af198]
mov r8, rsi
xor edx, edx
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
xor esi, esi
test ebx, ebx
jne 0x14000ee52
jmp 0x1400283b6
mov word [r8], cx
jmp 0x14000f1a9
mov rdi, qword [rsp + 0x68]
jmp 0x14000ef45
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14000f21e
movzx edi, ax
or edi, 0x80070000
cmp edi, 0x800703f0
je 0x14000f04c
jmp 0x14000edae
mov ecx, 0x709
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x14000f014
call sym.spoolsv.exe_PrvRevertToPrinterSelf
lea r8, str.RouterPreInitEvent
xor edx, edx
mov ecx, r12d
mov rsi, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov rdi, rax
test rax, rax
jne 0x1400280e4
mov rax, qword [0x1400ad2f8]
lea rcx, [0x1400ad2f8]
cmp rax, rcx
je 0x1400280c4
test byte [rax + 0x1c], 0x20
je 0x1400280c4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [0x1400ad2f8]
lea edx, [rdi + 0x15]
mov r9d, eax
lea r8, [0x1400936e0]
mov rcx, qword [rcx + 0x10]
call fcn.14002efb8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
xor r8d, r8d
lea rcx, [0x140092180]
mov edx, eax
call fcn.14005200c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test rsi, rsi
je 0x140028119
mov rcx, rsi
call sym.spoolsv.exe_PrvImpersonatePrinterClient
test eax, eax
jne 0x140028119
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
mov ecx, 0x69
call fcn.140051c38
mov edx, 0xffffffff
call fcn.140013d88
xor edi, edi
jmp 0x14000ebee
mov rcx, r15
call sym.spoolsv.exe_PrvDllAllocSplStr
mov r13, rax
test rax, rax
je 0x1400281a6
sub rdi, r15
sar rdi, 1
xor eax, eax
mov word [r13 + rdi*2], ax
jmp 0x14000ec0f
mov ecx, 8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov rcx, qword [0x1400ad2f8]
lea rax, [0x1400ad2f8]
cmp rcx, rax
je 0x14002818a
test byte [rcx + 0x1c], 0x20
je 0x14002818a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093700]
mov edx, 0xa
lea r9d, [rdx + 0x5e]
call fcn.14002efb8
cmp r13, r15
je 0x1400281a6
test r13, r13
je 0x1400281a6
mov rcx, qword [0x1400af198]
mov r8, r13
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
xor eax, eax
jmp 0x14000f004
mov ecx, 8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov rcx, qword [0x1400ad2f8]
lea rax, [0x1400ad2f8]
cmp rcx, rax
je 0x14000eca7
test byte [rcx + 0x1c], 0x20
je 0x14000eca7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093700]
mov edx, 0xa
mov r9d, r14d
call fcn.14002efb8
nop
jmp 0x14000eca7
cmp r13, r15
je 0x14002820e
mov rcx, qword [0x1400af198]
mov r8, r13
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
mov rcx, r12
call fcn.140005074
xor eax, eax
jmp 0x14000f004
mov rax, rdi
jmp 0x14000ece9
test eax, eax
jle 0x14000edae
movzx edi, ax
or edi, 0x80070000
jmp 0x14000edae
mov edi, 1
jmp 0x14000edae
mov edi, 1
jmp 0x14000ed9a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14000ed9a
movzx edi, ax
or edi, 0x80070000
jmp 0x14000ed9a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14000eda4
movzx edi, ax
or edi, 0x80070000
jmp 0x14000eda4
mov rcx, qword [0x1400ad2f8]
lea r15, [0x1400ad2f8]
cmp rcx, r15
je 0x14000edc5
test byte [rcx + 0x1c], 0x20
je 0x14000edc5
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400937b8]
mov edx, 0xe
mov r9d, edi
call fcn.14002efb8
nop
jmp 0x14000edc5
mov byte [rbp + 8], 1
jmp 0x14000ee14
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
cmp edi, 5
je 0x14002830a
mov rcx, qword [0x1400ad2f8]
cmp rcx, r15
je 0x14002830a
test byte [rcx + 0x1c], 0x20
je 0x14002830a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400937b8]
mov edx, 0xb
mov r9d, edi
call fcn.14002efb8
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140028319
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, rsi
mov qword [rbp - 0x60], rsi
jmp 0x14000ee3d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 5
jne 0x14002833d
mov ecx, 0x20019
call sym.spoolsv.exe_PrvSplGetClientUserHandle
mov rdi, rax
test rdi, rdi
jne 0x14000ee46
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x14000ee9e
mov ecx, 8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov rcx, qword [0x1400ad2f8]
cmp rcx, r15
je 0x14002838b
test byte [rcx + 0x1c], 0x20
je 0x14002838b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093700]
mov edx, 0xa
mov r9d, 0x462
call fcn.14002efb8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
xor esi, esi
jmp 0x14000f1ec
sub rcx, 2
jmp 0x14000f141
sub rax, 2
jmp 0x14000f191
mov ebx, 0x57
jmp 0x14000f1ec
lea r14, str.DevMode
jmp 0x14000ee95
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rdi, qword [rsp + 0x68]
mov ebx, eax
jmp 0x14000ef09
call sym.spoolsv.exe_PrvDllAllocSplMem
mov qword [rsp + 0x68], rax
mov rdi, rax
test rax, rax
jne 0x1400283fb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x14000eefe
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140028476
mov r8d, dword [rsp + 0x60]
mov r9d, 0x8007000d
cmp r8, 0x4c
jb 0x140028450
movzx ecx, word [rdi + 0x46]
movzx eax, word [rdi + 0x44]
add rcx, rax
cmp r8, rcx
jb 0x140028450
mov rcx, rdi
call fcn.14000bda0
mov r9d, eax
mov ecx, r9d
call fcn.140005d64
mov ebx, eax
test eax, eax
je 0x140028490
mov rcx, qword [rsp + 0x78]
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, eax
mov eax, 2
cmove ebx, eax
mov rcx, qword [0x1400af198]
mov r8, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
mov rdi, rsi
mov qword [rsp + 0x68], rsi
cmp ebx, 2
cmove ebx, esi
jmp 0x14000eefe
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
cmp ebx, 5
je 0x1400284d2
mov rcx, qword [0x1400ad2f8]
cmp rcx, r15
je 0x1400284d2
test byte [rcx + 0x1c], 0x20
je 0x1400284d2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093840]
mov edx, 0xf
mov r9d, ebx
call fcn.14002efb8
lea rcx, [rbp]
call fcn.14006c530
nop
jmp 0x14000ef45
mov ecx, 1
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140028506
mov rax, qword [rcx]
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 0x10]
mov dword [rbp + 0x30], eax
jmp 0x14002850d
mov qword [rbp + 0x20], rsi
mov dword [rbp + 0x30], esi
lea rax, [rbp + 0x20]
mov qword [rbp + 0x28], rdi
mov qword [rsp + 0x70], rax
jmp 0x14000ef45
mov eax, dword [rbx + 4]
mov dword [rbp - 0x3c], eax
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x30], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp - 0x28], rax
mov eax, dword [rbx + 0x20]
mov dword [rbp - 0x20], eax
mov eax, dword [rbx + 0x24]
mov dword [rbp - 0x1c], eax
mov eax, dword [rbx + 0x28]
mov dword [rbp - 0x18], eax
movzx eax, word [rbx + 0x2c]
mov word [rbp - 0x14], ax
mov rax, qword [rbx + 0x30]
jmp 0x14000f098
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x64]
call fcn.14005eb38
cmp ebx, 2
je 0x140028764
mov rbx, qword [rbp - 0x80]
lea rcx, [0x1400af060]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rcx, r13
call fcn.14006918c
lea rcx, [0x1400af060]
mov r14, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test r14, r14
je 0x14002863f
mov r8, qword [rsp + 0x70]
lea eax, [rsi - 3]
cmp eax, 1
lea r9, [rbp - 0x40]
mov ecx, r15d
lea eax, [rsi - 3]
cmova ecx, esi
lea rdx, [rbp - 0x78]
cmp eax, 1
mov dword [rsp + 0x20], ecx
mov rax, qword [r14 + 0x1e8]
mov rcx, r13
cmova r9, rbx
call qword [0x14008f7f0]
mov ebx, eax
test eax, eax
jne 0x1400285ef
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x32
jne 0x140028615
jmp 0x1400285f4
cmp eax, 0x32
jne 0x14002860c
mov r8, qword [rsp + 0x70]
lea rdx, [rbp - 0x78]
mov rax, qword [r14 + 0x20]
mov rcx, r13
call qword [0x14008f7f0]
mov ebx, eax
cmp ebx, 1
je 0x14000efcc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x64]
call fcn.14005eb38
cmp ebx, 2
je 0x140028764
mov rbx, qword [rbp - 0x80]
mov dword [rbp - 0x70], 1
mov qword [rbp - 0x68], r14
mov rcx, r13
call fcn.14005e6d0
cmp dword [rbp - 0x70], 0
mov r14, rax
mov rcx, qword [rbp - 0x68]
je 0x14002867f
cmp rax, rcx
je 0x14002867f
lea rcx, [0x1400af060]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rcx, r13
call fcn.140069048
lea rcx, [0x1400af060]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp - 0x68]
test r14, r14
je 0x1400286db
cmp r14, rcx
je 0x140028764
mov r9, qword [rsp + 0x70]
lea eax, [rsi - 3]
cmp eax, 1
lea rcx, [rbp - 0x40]
lea eax, [rsi - 3]
mov rdx, r13
cmova r15d, esi
lea r8, [rbp - 0x78]
cmp eax, 1
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x64]
cmova rcx, rbx
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14005ea50
cmp eax, 1
je 0x14000efcc
jmp 0x140028764
mov rax, qword [0x1400aede0]
mov r14, qword [rax]
test r14, r14
je 0x140028764
cmp r14, rcx
je 0x140028757
mov rcx, qword [r14 + 8]
lea eax, [rsi - 3]
cmp eax, 1
lea rbx, [rbp - 0x40]
lea eax, [rsi - 3]
mov edi, r15d
cmova edi, esi
lea rdx, str.win32spl.dll
cmp eax, 1
cmova rbx, qword [rbp - 0x80]
call qword [sym.imp.msvcrt.dll__wcsicmp]
mov rdx, qword [rbp - 0x58]
lea r8, [rbp - 0x78]
mov r9, qword [rsp + 0x70]
test eax, eax
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x64]
cmovne rdx, r13
mov qword [rsp + 0x28], rbx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14005ea50
sub eax, 1
je 0x1400287c2
cmp eax, 1
je 0x14002875f
mov rcx, qword [rbp - 0x68]
mov r14, qword [r14]
test r14, r14
jne 0x1400286ea
mov rdi, qword [rsp + 0x68]
mov rcx, r12
call fcn.140005074
mov ecx, dword [rsp + 0x64]
mov ebx, 0x709
cmp ecx, 0x7b
cmove ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
mov esi, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 5
je 0x1400287cc
cmp eax, ebx
je 0x1400287cc
mov rax, qword [0x1400ad2f8]
lea rcx, [0x1400ad2f8]
cmp rax, rcx
je 0x14000efe6
test byte [rax + 0x1c], 0x20
je 0x14000efe6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, 0xf
jmp 0x1400287f8
mov rdi, qword [rsp + 0x68]
jmp 0x14000efcc
mov rax, qword [0x1400ad2f8]
lea rcx, [0x1400ad2f8]
cmp rax, rcx
je 0x14000efe6
test byte [rax + 0x1c], 0x80
je 0x14000efe6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, 0xe
mov rcx, qword [0x1400ad2f8]
lea r8, [0x140093720]
mov r9, qword [rbp - 0x58]
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.14004cc94
nop
jmp 0x14000efe6
test r13, r13
je 0x14000f002
mov rcx, qword [0x1400af198]
mov r8, r13
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop
jmp 0x14000f002