Function at 0x140013840
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x650
mov qword [rsp + 0x2b0], 0xfffffffffffffffe
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rsp + 0x640], rax
mov qword [rsp + 0x180], r8
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0xf8], rcx
mov r14, qword [rdx + 0xb0]
xor esi, esi
mov edi, esi
mov qword [rsp + 0x100], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140095a98]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov r13d, eax
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x14003aa34
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14003aa58
shr eax, 1
lea ecx, [rax + 1]
mov eax, 2
mul rcx
mov r12, 0xffffffffffffffff
cmovo rax, r12
mov rcx, rax
mov rax, qword [0x14008e1f8]
call qword [case.0x14000702c.0]
mov rsi, rax
test rax, rax
je 0x14003aa63
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140095a98]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov r13d, eax
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x14003aa6e
mov eax, dword [rsp + 0x50]
shr rax, 1
xor ecx, ecx
mov word [rsi + rax*2], cx
mov rdi, rsi
mov qword [rsp + 0x100], rsi
xor esi, esi
mov r13d, esi
mov dword [rsp + 0x48], esi
test r13d, r13d
js 0x14001433b
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [rsp + 0x8c], 4
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14003aa99
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, str.Include
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003afcf
cmp dword [rsp + 0x90], 4
jne 0x14003afcf
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [rsp + 0x94], 4
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14003aaa3
lea rax, [rsp + 0x94]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xac]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, str.Suppress
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003afb4
cmp dword [rsp + 0x98], 4
jne 0x14003afb4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [rsp + 0x9c], 4
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14003aaad
lea rax, [rsp + 0x9c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.Default
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003afb4
cmp dword [rsp + 0xa0], 4
jne 0x14003afb4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [rsp + 0xe4], 4
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14003aab7
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xdc]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe0]
xor r8d, r8d
lea rdx, str.Policy
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003aabe
cmp dword [rsp + 0xe0], 4
jne 0x14003aabe
mov esi, dword [rsp + 0xdc]
mov dword [rsp + 0x60], esi
xor eax, eax
mov r13d, eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [rsp + 0xd8], 4
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14003aad6
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe8]
xor r8d, r8d
lea rdx, str.NoContent
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003aadd
cmp dword [rsp + 0xe8], 4
jne 0x14003aadd
mov r13d, dword [rsp + 0xa4]
mov qword [rsp + 0x2b8], rdi
mov rax, qword [0x1400c9e30]
mov rax, qword [rax + 0x18]
lea rcx, [fcn.140016920]
cmp rax, rcx
jne 0x14003ab06
lock inc dword [0x1400c9e50]
lea rax, [0x1400c9e40]
mov qword [rsp + 0x1a0], rax
add rax, 0x18
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
test rdi, rdi
je 0x14003ab6b
cmp rdi, 0x10000
jb 0x14003ab19
mov rbx, r12
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140013c00
mov dword [rsp + 0x158], ebx
test ebx, ebx
je 0x14003ab6b
mov rcx, qword [rsp + 0x38]
mov r15d, dword [rcx - 0x10]
mov dword [rsp + 0x15c], r15d
mov rsi, rdi
sub rsi, rcx
sar rsi, 1
mov qword [rsp + 0x1b0], rsi
lea rax, [rcx - 0x18]
mov qword [rsp + 0x1b8], rax
mov edx, 1
sub edx, dword [rax + 0x10]
mov dword [rsp + 0x160], edx
mov eax, dword [rax + 0xc]
sub eax, ebx
mov dword [rsp + 0x164], eax
or eax, edx
jge 0x140013c77
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1400164a0
mov rcx, qword [rsp + 0x38]
movsxd rax, ebx
lea r14, [rax + rax]
mov r9, r14
mov rdx, r14
cmp rsi, r15
jbe 0x14003ab51
mov r8, rdi
call qword [sym.imp.msvcrt.dll_memcpy_s]
test ebx, ebx
js 0x14003ab61
mov rax, qword [rsp + 0x38]
cmp ebx, dword [rax - 0xc]
jg 0x14003ab61
mov dword [rax - 0x10], ebx
mov rax, qword [rsp + 0x38]
xor ecx, ecx
mov word [r14 + rax], cx
mov r15, qword [rsp + 0xf8]
mov esi, dword [rsp + 0x60]
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0xd0], esi
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0xb8], eax
lea rax, [r15 + 8]
mov qword [rsp + 0x170], rax
mov r14, qword [rsp + 0x38]
lea rbx, [r14 - 0x18]
mov qword [rsp + 0x1d8], rbx
mov rsi, qword [rax]
sub rsi, 0x18
mov qword [rsp + 0x168], rsi
cmp rbx, rsi
je 0x140013dbb
cmp dword [rsi + 0x10], 0
jl 0x14003ac55
mov rcx, qword [rbx]
cmp rcx, qword [rsi]
jne 0x14003ac55
mov qword [rsp + 0x1e0], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
lea rdx, [fcn.140016910]
cmp rax, rdx
jne 0x14003abd8
mov qword [rsp + 0x1e8], rcx
cmp dword [rbx + 0x10], 0
jl 0x14003abe6
cmp rcx, qword [rbx]
jne 0x14003abe6
mov qword [rsp + 0xf0], rbx
lock inc dword [rbx + 0x10]
mov eax, r12d
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jle 0x14003ac37
mov rcx, qword [rsp + 0xf0]
add rcx, 0x18
mov rax, qword [rsp + 0x170]
mov qword [rax], rcx
mov r14, qword [rsp + 0x38]
mov qword [rsp + 0x1f0], r14
add r15, 0x10
mov qword [rsp + 0x1f8], r15
xor ebx, ebx
mov dword [rsp + 0x2c8], ebx
lea rax, fcn.14001b680
mov qword [rsp + 0x2c0], rax
lea rax, fcn.14001b680
mov qword [rsp + 0x2d8], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x2e0], rax
mov dword [rsp + 0x2e8], 0xc1
mov dword [rsp + 0x2ec], ebx
mov word [rsp + 0x2f0], bx
lea rax, fcn.140008d70
mov qword [rsp + 0x2d8], rax
lea rax, [0x14008cb10]
mov qword [rsp + 0x2c0], rax
mov rcx, qword [0x1400ca0b0]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14000702c.0]
nop
mov rax, qword [rsp + 0x2d8]
mov rax, qword [rax + 0x20]
lea rcx, [fcn.140017be0]
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, r14
cmp rax, rcx
lea rcx, [rsp + 0x2d8]
jne 0x14003ac72
call fcn.140017be0
mov r14d, ebx
mov dword [rsp + 0x78], ebx
mov ebx, dword [rsp + 0x2ec]
mov dword [rsp + 0x7c], ebx
lea r13, [rsp + 0x2d8]
mov qword [rsp + 0x80], r13
test ebx, ebx
je 0x140013ecd
mov ecx, r14d
mov rax, qword [r13 + 8]
movzx ecx, word [rax + rcx*2]
mov word [rsp + 0x88], cx
call qword [sym.imp.msvcrt.dll_iswspace]
test eax, eax
jne 0x14003ac7e
mov esi, ebx
test ebx, ebx
je 0x140013eef
lea ecx, [rbx - 1]
add ecx, r14d
mov rax, qword [r13 + 8]
movzx ecx, word [rax + rcx*2]
call qword [sym.imp.msvcrt.dll_iswspace]
test eax, eax
jne 0x14003aca3
cmp esi, dword [rsp + 0x2ec]
jne 0x14003acd9
mov qword [rsp + 0x48c], 0x5f0000
xor eax, eax
mov qword [rsp + 0x47a], rax
mov qword [rsp + 0x482], rax
mov word [rsp + 0x48a], ax
mov eax, 0x7f
mov word [rsp + 0x48e], ax
lea rcx, [rsp + 0x2c0]
call fcn.140016aa0
test byte [rsp + 0x48e], 2
je 0x14003ad29
lea rcx, [rsp + 0x2c0]
call fcn.140016aa0
movzx esi, word [rsp + 0x47c]
mov dword [rsp + 0x108], esi
movzx r8d, word [rsp + 0x47a]
mov dword [rsp + 0x110], r8d
mov qword [rsp + 0x200], r8
mov qword [rsp + 0x208], rsi
lea rdx, [rsi + r8]
mov qword [rsp + 0x210], rdx
cmp rdx, r8
jb 0x1400144e2
mov eax, dword [rsp + 0x2ec]
cmp rdx, rax
ja 0x14003adcf
mov dword [rsp + 0x68], r8d
mov dword [rsp + 0x6c], esi
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x218], rcx
mov eax, dword [rsp + 0x68]
add rax, rax
mov qword [rsp + 0x60], rax
lea r14, [rcx + rax]
mov qword [rsp + 0x220], r14
mov ebx, esi
cmp esi, 1
mov r13d, 1
cmova ebx, r13d
mov dword [rsp + 0x118], ebx
mov dword [rsp + 0x28], ebx
lea rax, [0x140095a04]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, r14
mov edx, r13d
mov ecx, 0x800
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringW]
mov r8d, eax
cmp eax, 2
jne 0x1400144c6
xor r14d, r14d
mov dword [rsp + 0x4c], r14d
movsxd rax, esi
cmp rax, r13
jae 0x14001404e
mov dword [rsp + 0x4c], r12d
test esi, esi
jne 0x140014377
mov r10, qword [r15]
mov esi, dword [r10 - 0x10]
mov dword [rsp + 0x130], esi
mov qword [rsp + 0x258], r10
lea rbx, str.LocalHost
sub rbx, r10
sar rbx, 1
mov qword [rsp + 0x260], rbx
lea rax, [r10 - 0x18]
mov qword [rsp + 0x268], rax
mov edx, r13d
sub edx, dword [rax + 0x10]
mov dword [rsp + 0x134], edx
mov ecx, dword [rax + 0xc]
sub ecx, 9
mov dword [rsp + 0x138], ecx
or ecx, edx
jge 0x1400140b3
mov edx, 9
mov rcx, r15
call fcn.1400164a0
mov r10, qword [r15]
mov rcx, r10
cmp rbx, rsi
jbe 0x14003ae4d
mov r9d, SafeArrayGetLBound
lea r8, str.LocalHost
mov edx, r9d
call qword [sym.imp.msvcrt.dll_memcpy_s]
mov rax, qword [r15]
cmp dword [rax - 0xc], 9
jl 0x14003af97
mov dword [rax - 0x10], 9
mov rax, qword [r15]
mov word [rax + 0x12], r14w
lea rax, [0x14008cb10]
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x2c8], 0xc0000001
mov rcx, qword [0x1400ca0b0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
lea rdx, [fcn.1400126f0]
cmp rax, rdx
jne 0x14003ae65
lock dec dword [rcx + 0xc]
lea rax, fcn.14001b680
mov qword [rsp + 0x2c0], rax
lea rax, fcn.140008d70
mov qword [rsp + 0x2d8], rax
mov rcx, qword [rsp + 0x2e0]
test rcx, rcx
je 0x140014169
lea rax, [rsp + 0x2f0]
cmp rcx, rax
jne 0x14003ae71
lea rax, fcn.14001b680
mov qword [rsp + 0x2d8], rax
mov eax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xf8]
mov dword [rcx + 0x18], eax
mov eax, dword [rsp + 0xc0]
mov dword [rcx + 0x1c], eax
mov dword [rcx + 0x20], r13d
mov eax, dword [rsp + 0xc8]
mov dword [rcx + 0x24], eax
mov dword [rcx + 0x28], r13d
mov dword [rcx + 0x2c], r14d
mov eax, dword [rsp + 0xd0]
mov dword [rcx + 0x30], eax
mov eax, dword [rsp + 0x58]
mov dword [rcx + 0x34], eax
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x178], rcx
mov eax, r12d
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jle 0x14003ae7d
mov qword [rsp + 0x270], rdi
mov rax, qword [0x1400c9e30]
mov rax, qword [rax + 0x18]
lea rcx, [fcn.140016920]
cmp rax, rcx
jne 0x14003ae9b
lock inc dword [0x1400c9e50]
lea rcx, [0x1400c9e40]
mov qword [rsp + 0x278], rcx
lea rax, [rcx + 0x18]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x31], 0
test rdi, rdi
je 0x14003af0c
cmp rdi, 0x10000
jb 0x14003aeb0
mov rbx, r12
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140014240
mov dword [rsp + 0x140], ebx
test ebx, ebx
je 0x14003af0c
test rdi, rdi
je 0x14003aee8
mov rcx, qword [rsp + 0x40]
mov r15d, dword [rcx - 0x10]
mov dword [rsp + 0x144], r15d
mov rsi, rdi
sub rsi, rcx
sar rsi, 1
mov qword [rsp + 0x288], rsi
lea rax, [rcx - 0x18]
mov qword [rsp + 0x290], rax
sub r13d, dword [rax + 0x10]
mov dword [rsp + 0x148], r13d
mov eax, dword [rax + 0xc]
sub eax, ebx
mov dword [rsp + 0x14c], eax
or eax, r13d
jge 0x1400142be
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1400164a0
mov rcx, qword [rsp + 0x40]
movsxd rax, ebx
lea r14, [rax + rax]
mov r9, r14
mov rdx, r14
cmp rsi, r15
jbe 0x14003aef2
mov r8, rdi
call qword [sym.imp.msvcrt.dll_memcpy_s]
test ebx, ebx
js 0x14003af02
mov rax, qword [rsp + 0x40]
cmp ebx, dword [rax - 0xc]
jg 0x14003af02
mov dword [rax - 0x10], ebx
mov rax, qword [rsp + 0x40]
xor ecx, ecx
mov word [r14 + rax], cx
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x180]
call fcn.140015d60
nop
mov rax, qword [rsp + 0x40]
add rax, 0xffffffffffffffe8
mov qword [rsp + 0x188], rax
lock xadd dword [rax + 0x10], r12d
sub r12d, 1
jle 0x14003af79
mov r13d, dword [rsp + 0x48]
test rdi, rdi
je 0x140014351
mov rcx, rdi
mov rax, qword [0x14008e200]
call qword [case.0x14000702c.0]
nop
mov eax, r13d
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.14002dd40
add rsp, 0x650
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea ecx, [rsi + 1]
mov eax, 2
mul rcx
cmovo rax, r12
mov qword [rsp + 0x228], rax
mov rcx, rax
mov rax, qword [0x14008e1f8]
call qword [case.0x14000702c.0]
mov r14, rax
mov qword [rsp + 0x230], rax
test rax, rax
je 0x14003ae1a
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x238], rcx
mov eax, esi
lea rbx, [rax + rax]
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov r8, rbx
mov rcx, r14
call sub.msvcrt.dll_memcpy
xor eax, eax
mov word [r14 + rbx], ax
mov dword [rsp + 0x11c], esi
mov rbx, r12
nop dword [rax]
inc rbx
cmp word [r14 + rbx*2], ax
jne 0x1400143f0
mov dword [rsp + 0x120], ebx
test ebx, ebx
je 0x14003ae2f
mov r10, qword [r15]
mov eax, dword [r10 - 0x10]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x124], eax
mov qword [rsp + 0x240], r10
mov rsi, r14
sub rsi, r10
sar rsi, 1
mov qword [rsp + 0x248], rsi
lea rax, [r10 - 0x18]
mov qword [rsp + 0x250], rax
mov edx, r13d
sub edx, dword [rax + 0x10]
mov dword [rsp + 0x128], edx
mov ecx, dword [rax + 0xc]
sub ecx, ebx
mov dword [rsp + 0x12c], ecx
or ecx, edx
jge 0x14001446a
mov edx, ebx
mov rcx, r15
call fcn.1400164a0
mov r10, qword [r15]
movsxd rax, ebx
lea r13, [rax + rax]
mov eax, dword [rsp + 0x60]
mov r9, r13
mov rdx, r13
mov rcx, r10
cmp rsi, rax
jbe 0x14003ae3d
mov r8, r14
call qword [sym.imp.msvcrt.dll_memcpy_s]
test ebx, ebx
js 0x1400144ef
mov rax, qword [r15]
cmp ebx, dword [rax - 0xc]
jg 0x1400144ef
mov dword [rax - 0x10], ebx
mov rax, qword [r15]
xor ecx, ecx
mov word [rax + r13], cx
lea r13d, [rcx + 1]
mov rcx, r14
mov rax, qword [0x14008e200]
call qword [case.0x14000702c.0]
nop
xor r14d, r14d
jmp 0x1400140f1
sub r8d, r13d
je 0x1400144e7
cmp r8d, 2
jne 0x14003adee
mov dword [rsp + 0x4c], r13d
xor r14d, r14d
jmp 0x140014046
call fcn.140051318
xor r14d, r14d
jmp 0x140014041
mov ecx, 0x80070057
call fcn.14004a0f0
nop
int3
jg 0x14003aa3f
or r12, 0xffffffffffffffff
jmp 0x140013963
movzx r13d, ax
or r13d, 0x80070000
mov dword [rsp + 0x48], r13d
or r12, 0xffffffffffffffff
jmp 0x140013963
mov r13d, 0x8000ffff
jmp 0x140014351
mov r13d, 0x8007000e
jmp 0x140014351
mov rcx, rsi
call fcn.14000e5b8
test r13d, r13d
jg 0x14003aa82
xor esi, esi
jmp 0x140013963
movzx r13d, r13w
or r13d, 0x80070000
mov dword [rsp + 0x48], r13d
xor esi, esi
jmp 0x140013963
mov ecx, 6
jmp 0x14003afd1
mov ecx, 6
jmp 0x14003afb6
mov ecx, 6
jmp 0x14003afb6
mov ecx, 6
jmp 0x14003aac0
mov ecx, eax
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]
cmp eax, 2
jne 0x14003aaf6
jmp 0x140013b1f
mov ecx, 6
jmp 0x14003aadf
mov ecx, eax
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]
test eax, 0xfffffffd
je 0x140013b9b
test eax, eax
jg 0x14003afe8
mov r13d, eax
jmp 0x14001433b
lea rcx, [0x1400c9e30]
call qword [case.0x14000702c.0]
nop
jmp 0x140013bcc
movzx ebx, di
mov dword [rsp + 0x154], ebx
mov ecx, ebx
call fcn.1400548e4
mov qword [rsp + 0x1a8], rax
test rax, rax
je 0x14003ab47
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140056088
mov byte [rsp + 0x30], 1
jmp 0x140013cc7
lea r8, [rcx + rsi*2]
call qword [sym.imp.msvcrt.dll_memmove_s]
nop
jmp 0x140013c96
mov ecx, 0x80070057
call fcn.14004a0f0
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x1c0], rcx
mov rbx, qword [rcx]
mov qword [rsp + 0x1c8], rbx
cmp dword [rcx + 8], 0
je 0x140013cc7
mov eax, dword [rcx + 0x10]
shr eax, 0x1f
test al, al
je 0x14003abad
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400165c8
nop
jmp 0x140013cc7
call fcn.1400176e0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x14000702c.0]
mov qword [rsp + 0x1d0], rax
add rax, 0x18
mov qword [rsp + 0x38], rax
jmp 0x140013cc7
call qword [case.0x14000702c.0]
mov rcx, rax
jmp 0x140013d67
mov rax, qword [rcx]
mov r8d, 2
mov edx, dword [rbx + 8]
mov rax, qword [rax]
call qword [case.0x14000702c.0]
mov rcx, rax
mov qword [rsp + 0xf0], rax
test rax, rax
jne 0x14003ac10
call fcn.140056cd8
mov eax, dword [rbx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rbx + 8]
inc eax
movsxd rdx, eax
add rdx, rdx
add rcx, 0x18
mov r9, rdx
mov r8, r14
call qword [sym.imp.msvcrt.dll_memcpy_s]
nop
jmp 0x140013d8e
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14000702c.0]
nop
jmp 0x140013d9f
mov r8d, dword [r14 - 0x10]
mov dword [rsp + 0x190], r8d
mov rdx, r14
mov rcx, rax
call fcn.1400163e0
nop
jmp 0x140013db6
call qword [case.0x14000702c.0]
nop
jmp 0x140013e86
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.14005a2bc
mov r13, qword [rsp + 0x80]
mov ebx, dword [rsp + 0x7c]
mov r14d, dword [rsp + 0x78]
jmp 0x140013ea8
lea ebx, [rsi - 1]
mov dword [rsp + 0x198], ebx
cmp ebx, esi
jbe 0x14003acd0
mov rcx, qword [rsp + 0x688]
mov r9d, 0xce
lea r8, str.onecoreuap_base_appmodel_search_searchcommonincludelmstr.hxx
mov edx, 0x3ca
call fcn.1400029ec
mov dword [rsp + 0x7c], ebx
jmp 0x140013ecd
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x4a0]
call fcn.14001f3d4
nop
mov rax, qword [rsp + 0x2d8]
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, qword [rsp + 0x4a8]
lea rcx, [rsp + 0x2d8]
mov rax, qword [rax + 0x20]
call qword [case.0x14000702c.0]
nop
lea rcx, [rsp + 0x4a0]
call fcn.140009bb0
nop
jmp 0x140013efc
movzx ecx, word [rsp + 0x47a]
movzx eax, word [rsp + 0x47c]
add ecx, eax
movzx eax, word [rsp + 0x482]
cmp eax, ecx
jbe 0x140013f4a
lea rcx, [rsp + 0x2c0]
call fcn.140016cd0
cmp word [rsp + 0x478], 1
jne 0x14003ad9f
lea rcx, [rsp + 0x2c0]
call fcn.140016aa0
test byte [rsp + 0x48e], 2
jne 0x14003ad9f
cmp dword [rsp + 0x494], 0x50
jne 0x14003ad9f
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x2c0]
call fcn.1400443c4
mov esi, dword [rsp + 0x6c]
jmp 0x140013fc2
movzx r8d, word [rsp + 0x47a]
movzx r9d, word [rsp + 0x482]
sub r9d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x2d8]
call fcn.140021908
mov esi, dword [rsp + 0x6c]
jmp 0x140013fc2
mov rcx, qword [rsp + 0x688]
mov r9d, 0xce
lea r8, str.onecoreuap_base_appmodel_search_searchcommonincludelmstr.hxx
mov edx, 0x44c
call fcn.1400029ec
cmp esi, ebx
cmovl ebx, esi
movsxd r8, ebx
lea rdx, [0x140095a04]
mov rcx, r14
call qword [sym.imp.msvcrt.dll__wcsnicmp]
mov dword [rsp + 0x4c], eax
xor r14d, r14d
test eax, eax
jne 0x140014046
jmp 0x140014039
lea rcx, [rsp + 0x2c0]
call fcn.140044374
xor r14d, r14d
jmp 0x140014178
mov rcx, r15
call fcn.140055888
nop
jmp 0x1400144ad
lea r8, [r10 + rsi*2]
call qword [sym.imp.msvcrt.dll_memmove_s]
nop
jmp 0x140014490
lea r8, [r10 + rbx*2]
mov edx, SafeArrayGetLBound
mov r9d, edx
call qword [sym.imp.msvcrt.dll_memmove_s]
nop
jmp 0x1400140d5
call qword [case.0x14000702c.0]
nop
jmp 0x14001412d
call qword [sym.imp.msvcrt.dll_free]
nop
jmp 0x140014169
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14000702c.0]
nop
jmp 0x1400141dd
lea rcx, [0x1400c9e30]
call qword [case.0x14000702c.0]
mov rcx, rax
jmp 0x14001420e
movzx ebx, di
mov dword [rsp + 0x13c], ebx
mov ecx, ebx
call fcn.1400548e4
mov qword [rsp + 0x280], rax
test rax, rax
je 0x14003aede
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140056088
mov byte [rsp + 0x31], 1
jmp 0x140014302
mov ecx, 0x80070057
call fcn.14004a0f0
lea r8, [rcx + rsi*2]
call qword [sym.imp.msvcrt.dll_memmove_s]
nop
jmp 0x1400142dd
mov ecx, 0x80070057
call fcn.14004a0f0
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x298], rcx
mov rbx, qword [rcx]
mov qword [rsp + 0x2a0], rbx
cmp dword [rcx + 8], 0
je 0x140014302
mov eax, dword [rcx + 0x10]
shr eax, 0x1f
test al, al
je 0x14003af4e
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400165c8
nop
jmp 0x140014302
call fcn.1400176e0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x14000702c.0]
mov qword [rsp + 0x2a8], rax
add rax, 0x18
mov qword [rsp + 0x40], rax
jmp 0x140014302
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14000702c.0]
nop
jmp 0x140014336
mov ecx, 0x80070057
call fcn.14004a0f0
nop
mov rdi, qword [rsp + 0x100]
mov r13d, dword [rsp + 0x58]
jmp 0x14001433b
mov ecx, eax
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 r13d, eax
test eax, eax
jle 0x14001433b
jmp 0x14003afe8
mov ecx, eax
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 r13d, eax
test eax, eax
jle 0x14001433b
movzx r13d, ax
or r13d, 0x80070000
jmp 0x14001433b