Function at 0x140010640
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, 0x480
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov qword [rsp + 0xd8], r8
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x58], rcx
mov r14, qword [rdx + 0xb0]
xor edi, edi
mov esi, edi
mov qword [rsp + 0xc8], rdi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400943e8]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov r15d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x14003782a
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x140037840
shr eax, 1
lea ecx, [rax + 1]
mov eax, 2
mul rcx
mov r12, 0xffffffffffffffff
cmovo rax, r12
mov rcx, rax
mov rax, qword [0x14008d250]
call qword [case.0x140002c98.0]
mov rdi, rax
test rax, rax
je 0x14003784b
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400943e8]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov r15d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x140037856
mov eax, dword [rsp + 0x34]
shr rax, 1
xor r14d, r14d
mov word [rdi + rax*2], r14w
mov rsi, rdi
mov qword [rsp + 0xc8], rdi
xor edi, edi
mov dword [rsp + 0x30], edi
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [rsp + 0xac], 4
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x140037890
lea rax, [rsp + 0xac]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
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 0x140037d2b
cmp dword [rsp + 0xb0], 4
jne 0x140037d2b
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [rsp + 0xb4], 4
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14003789a
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
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 0x140037d10
cmp dword [rsp + 0xb8], 4
jne 0x140037d10
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [rsp + 0xbc], 4
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x1400378a4
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc0]
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 0x140037d10
cmp dword [rsp + 0xc0], 4
jne 0x140037d10
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov dword [rsp + 0x80], 4
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x1400378ae
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x84]
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 0x1400378b5
cmp dword [rsp + 0x84], 4
jne 0x1400378b5
mov edi, dword [rsp + 0x88]
mov dword [rsp + 0x50], edi
xor edi, edi
mov dword [rsp + 0x54], edi
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 0x1400378d1
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, [0x1400943f8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400378d8
cmp dword [rsp + 0x90], 4
jne 0x1400378d8
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x54], eax
mov rax, qword [0x1400c60d0]
lea rcx, [0x1400c60d0]
mov rax, qword [rax + 0x18]
call qword [case.0x140002c98.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
test rsi, rsi
je 0x140037948
cmp rsi, 0x10000
jb 0x140037901
mov rdi, r12
nop dword [rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1400109d0
test edi, edi
je 0x140037948
mov r15d, dword [rbx - 0x10]
mov r14, rsi
sub r14, rbx
sar r14, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140010a11
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140011600
mov rbx, qword [rsp + 0x40]
movsxd rax, edi
mov rcx, rbx
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
mov rdx, r15
jbe 0x14003792e
mov r8, rsi
call qword [sym.imp.msvcrt.dll_memcpy_s]
test edi, edi
js 0x14003793e
cmp edi, dword [rbx - 0xc]
jg 0x14003793e
mov dword [rbx - 0x10], edi
xor r14d, r14d
mov word [r15 + rbx], r14w
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0xa4], eax
lea r15, [r13 + 8]
lea rdi, [rbx - 0x18]
mov r14, qword [r15]
sub r14, 0x18
cmp rdi, r14
je 0x140010ae6
cmp dword [r14 + 0x10], 0
jl 0x140037a01
mov rcx, qword [rdi]
cmp rcx, qword [r14]
jne 0x140037a01
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x140037998
cmp rax, qword [rdi]
jne 0x140037998
lock inc dword [rdi + 0x10]
mov eax, r12d
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jle 0x1400379e8
lea rax, [rdi + 0x18]
mov qword [r15], rax
mov rbx, qword [rsp + 0x40]
xor r13d, r13d
mov dword [rsp + 0xf8], r13d
lea rax, [rsp + 0x120]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], 0xc1
mov word [rsp + 0x120], r13w
lea rax, [0x14008a850]
mov qword [rsp + 0x108], rax
lea rax, [0x14008a810]
mov qword [rsp + 0xf0], rax
mov rcx, qword [0x1400c5cc8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140002c98.0]
nop
mov rax, qword [rsp + 0x108]
mov r9d, 0xffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x108]
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
mov r14d, r13d
mov dword [rsp + 0x60], r13d
mov edi, dword [rsp + 0x11c]
mov dword [rsp + 0x64], edi
lea r15, [rsp + 0x108]
mov qword [rsp + 0x68], r15
test edi, edi
je 0x140010bcc
mov ecx, r14d
mov rax, qword [r15 + 8]
movzx ecx, word [rax + rcx*2]
call qword [sym.imp.msvcrt.dll_iswspace]
test eax, eax
jne 0x140037a16
test edi, edi
je 0x140010bcc
lea ecx, [rdi - 1]
add ecx, r14d
mov rax, qword [r15 + 8]
movzx ecx, word [rax + rcx*2]
call qword [sym.imp.msvcrt.dll_iswspace]
test eax, eax
jne 0x140037a38
cmp edi, dword [rsp + 0x11c]
jne 0x140037a69
mov qword [rsp + 0x2aa], 0
mov qword [rsp + 0x2b2], 0
mov dword [rsp + 0x2ba], 0
mov dword [rsp + 0x2c0], 0
mov eax, 0x7f
mov word [rsp + 0x2be], ax
lea rcx, [rsp + 0xf0]
call fcn.140011730
test byte [rsp + 0x2be], 2
je 0x140037abb
lea rcx, [rsp + 0xf0]
call fcn.140011730
movzx edi, word [rsp + 0x2ac]
movzx r8d, word [rsp + 0x2aa]
lea rdx, [r8 + rdi]
cmp rdx, r8
jb 0x140011014
mov eax, dword [rsp + 0x11c]
cmp rdx, rax
ja 0x140037b61
mov dword [rsp + 0x70], r8d
mov dword [rsp + 0x74], edi
lea rax, [rsp + 0x108]
mov qword [rsp + 0x78], rax
mov r13, qword [rsp + 0x78]
mov r15, qword [r13 + 8]
mov eax, dword [rsp + 0x70]
add rax, rax
mov qword [rsp + 0xd0], rax
add r15, rax
mov r14d, edi
cmp edi, 1
mov eax, 1
cmova r14d, eax
mov dword [rsp + 0x28], r14d
lea rcx, [0x1400943f4]
mov qword [rsp + 0x20], rcx
mov r9d, edi
mov r8, r15
mov edx, eax
mov ecx, 0x800
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringW]
mov r8d, eax
cmp eax, 2
jne 0x140010ffb
movsxd rax, edi
cmp rax, 1
jae 0x140010ceb
test edi, edi
jne 0x140010f73
lea rdx, str.LocalHost
mov rdi, r12
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140010cf5
test edi, edi
je 0x140037bba
mov r13, qword [rsp + 0x58]
mov rax, qword [r13 + 0x10]
mov r15d, dword [rax - 0x10]
mov r14, rdx
sub r14, rax
sar r14, 1
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ecx
jge 0x140010d40
mov edx, edi
lea rcx, [r13 + 0x10]
call fcn.140011600
lea rdx, str.LocalHost
mov rcx, qword [r13 + 0x10]
movsxd rax, edi
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
jbe 0x140037c11
mov r8, rdx
mov rdx, r15
call qword [sym.imp.msvcrt.dll_memcpy_s]
test edi, edi
js 0x140037cf3
mov rax, qword [r13 + 0x10]
cmp edi, dword [rax - 0xc]
jg 0x140037cf3
mov dword [rax - 0x10], edi
mov rax, qword [r13 + 0x10]
xor r14d, r14d
mov word [r15 + rax], r14w
lea rax, [0x14008a810]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xf8], 0xc0000001
mov rcx, qword [0x1400c5cc8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140002c98.0]
lea rax, fcn.1400275e0
mov qword [rsp + 0xf0], rax
lea rax, [0x14008a850]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x140010df1
lea rax, [rsp + 0x120]
cmp rcx, rax
jne 0x140037c24
lea rax, fcn.1400275e0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0xa4]
mov dword [rax + 0x18], ecx
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 0x1c], ecx
mov r13d, 1
mov dword [rax + 0x20], r13d
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov qword [rax + 0x28], r13
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x30], ecx
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x34], ecx
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, r13d
jle 0x140037c30
mov rax, qword [0x1400c60d0]
lea rcx, [0x1400c60d0]
mov rax, qword [rax + 0x18]
call qword [case.0x140002c98.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
test rsi, rsi
je 0x140037c8d
cmp rsi, 0x10000
jb 0x140037c46
mov rdi, r12
nop dword [rax + rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x140010e90
test edi, edi
je 0x140037c8d
mov r15d, dword [rbx - 0x10]
mov r14, rsi
sub r14, rbx
sar r14, 1
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, r13d
jge 0x140010ece
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140011600
mov rbx, qword [rsp + 0x48]
movsxd rax, edi
mov rcx, rbx
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
mov rdx, r15
jbe 0x140037c73
mov r8, rsi
call qword [sym.imp.msvcrt.dll_memcpy_s]
test edi, edi
js 0x140037c83
cmp edi, dword [rbx - 0xc]
jg 0x140037c83
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r15 + rbx], ax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xd8]
call fcn.140011090
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jle 0x140037cdd
mov r15d, dword [rsp + 0x30]
test rsi, rsi
je 0x140010f4d
mov rcx, rsi
mov rax, qword [0x14008d258]
call qword [case.0x140002c98.0]
nop
mov eax, r15d
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14002c9c0
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea ecx, [rdi + 1]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
mov rax, qword [0x14008d250]
call qword [case.0x140002c98.0]
mov r14, rax
test rax, rax
je 0x140037ba7
mov eax, edi
lea rdi, [rax + rax]
mov rdx, qword [rsp + 0xd0]
add rdx, qword [r13 + 8]
mov r8, rdi
mov rcx, r14
call sub.msvcrt.dll_memcpy
xor eax, eax
mov word [rdi + r14], ax
mov rax, r12
inc rax
cmp word [r14 + rax*2], 0
jne 0x140010fc5
mov r8d, eax
mov rdx, r14
mov rcx, qword [rsp + 0x58]
add rcx, 0x10
call fcn.14000df44
nop
mov rcx, r14
mov rax, qword [0x14008d258]
call qword [case.0x140002c98.0]
nop
jmp 0x140010d87
sub r8d, 1
je 0x140010ce3
cmp r8d, 2
je 0x140010ce3
jmp 0x140037b80
call fcn.14004b628
nop
int3
mov r12, 0xffffffffffffffff
jle 0x140037882
movzx r15d, ax
or r15d, 0x80070000
jmp 0x14003787d
mov r15d, 0x8000ffff
jmp 0x140010f4d
mov r15d, 0x8007000e
jmp 0x140010f4d
mov rcx, rdi
mov rax, qword [0x14008d258]
call qword [case.0x140002c98.0]
nop
test r15d, r15d
jg 0x140037870
xor edi, edi
jmp 0x140037882
movzx r15d, r15w
or r15d, 0x80070000
xor edi, edi
mov dword [rsp + 0x30], r15d
test r15d, r15d
js 0x140010f4d
jmp 0x14001075f
mov ecx, 6
jmp 0x140037d2d
mov ecx, 6
jmp 0x140037d12
mov ecx, 6
jmp 0x140037d12
mov ecx, 6
jmp 0x1400378b7
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 0x1400378f1
mov dword [rsp + 0x50], edi
jmp 0x140010918
mov ecx, 6
jmp 0x1400378da
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 0x140010992
test eax, eax
jg 0x140037d44
mov r15d, eax
jmp 0x140010f37
movzx edi, si
mov ecx, edi
call fcn.14004ed90
test rax, rax
je 0x140010a4f
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14005044c
mov rbx, qword [rsp + 0x40]
jmp 0x140010a4f
lea r8, [rbx + r14*2]
call qword [sym.imp.msvcrt.dll_memmove_s]
nop
jmp 0x140010a33
mov ecx, 0x80070057
call fcn.1400451cc
lea rcx, [rbx - 0x18]
mov rdi, qword [rcx]
cmp dword [rcx + 8], 0
je 0x140010a4f
mov eax, dword [rcx + 0x10]
shr eax, 0x1f
test al, al
je 0x140037975
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14000a8e8
nop
jmp 0x140010a4f
call fcn.14000ee40
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140002c98.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
jmp 0x140010a4f
lea r13, [rdi + 8]
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r13]
mov rax, qword [rax]
call qword [case.0x140002c98.0]
mov rdi, rax
test rax, rax
jne 0x1400379bf
call fcn.140051b0c
mov eax, dword [r13]
mov dword [rdi + 8], eax
mov eax, dword [r13]
inc eax
movsxd rdx, eax
add rdx, rdx
lea rcx, [rdi + 0x18]
mov r9, rdx
mov r8, rbx
call qword [sym.imp.msvcrt.dll_memcpy_s]
nop
jmp 0x140010ac8
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
mov rax, qword [rax + 8]
call qword [case.0x140002c98.0]
nop
jmp 0x140010ada
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, r15
call fcn.14000df44
nop
jmp 0x140010ae6
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140055110
mov r15, qword [rsp + 0x68]
mov edi, dword [rsp + 0x64]
mov r14d, dword [rsp + 0x60]
jmp 0x140010b8f
lea eax, [rdi - 1]
cmp eax, edi
jbe 0x140037a5e
mov rcx, qword [rsp + 0x4b8]
mov r9d, 0xce
lea r8, [0x140096f50]
mov edx, 0x3ca
call fcn.14004c744
mov edi, eax
mov dword [rsp + 0x64], eax
jmp 0x140010bac
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x2d0]
call fcn.14000a9e8
nop
mov rax, qword [rsp + 0x108]
mov r9d, 0xffffffff
xor r8d, r8d
mov rdx, qword [rsp + 0x2d8]
lea rcx, [rsp + 0x108]
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
nop
lea rcx, [rsp + 0x2d0]
call fcn.140011de0
nop
jmp 0x140010bd9
movzx ecx, word [rsp + 0x2aa]
movzx eax, word [rsp + 0x2ac]
add ecx, eax
movzx eax, word [rsp + 0x2b2]
cmp eax, ecx
jbe 0x140010c2f
lea rcx, [rsp + 0xf0]
call fcn.140011930
cmp word [rsp + 0x2a8], 1
jne 0x140037b31
lea rcx, [rsp + 0xf0]
call fcn.140011730
test byte [rsp + 0x2be], 2
jne 0x140037b31
cmp dword [rsp + 0x2c4], 0x50
jne 0x140037b31
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.140009c5c
mov edi, dword [rsp + 0x74]
jmp 0x140010c80
movzx r8d, word [rsp + 0x2aa]
movzx r9d, word [rsp + 0x2b2]
sub r9d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x108]
call fcn.14000b988
mov edi, dword [rsp + 0x74]
jmp 0x140010c80
mov rcx, qword [rsp + 0x4b8]
mov r9d, 0xce
lea r8, [0x140096f50]
mov edx, 0x44c
call fcn.14004c744
cmp edi, r14d
cmovl r14d, edi
movsxd r8, r14d
lea rdx, [0x1400943f4]
mov rcx, r15
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x140010ce3
jmp 0x140010cda
lea rcx, [rsp + 0xf0]
call fcn.140009bc0
nop
jmp 0x140010e00
mov r15, qword [rsp + 0x58]
mov rcx, qword [r15 + 0x10]
sub rcx, 0x18
mov rdi, qword [rcx]
cmp dword [rcx + 8], 0
je 0x140010d87
mov eax, dword [rcx + 0x10]
shr eax, 0x1f
test al, al
je 0x140037bef
xor edx, edx
lea rcx, [r15 + 0x10]
call fcn.14000a8e8
nop
jmp 0x140010d87
call fcn.14000ee40
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140002c98.0]
add rax, 0x18
mov qword [r15 + 0x10], rax
jmp 0x140010d87
lea r8, [rcx + r14*2]
mov rdx, r15
call qword [sym.imp.msvcrt.dll_memmove_s]
nop
jmp 0x140010d63
call qword [sym.imp.msvcrt.dll_free]
nop
jmp 0x140010df1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140002c98.0]
nop
jmp 0x140010e51
movzx edi, si
mov ecx, edi
call fcn.14004ed90
test rax, rax
je 0x140010f0b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14005044c
mov rbx, qword [rsp + 0x48]
jmp 0x140010f0b
lea r8, [rbx + r14*2]
call qword [sym.imp.msvcrt.dll_memmove_s]
nop
jmp 0x140010ef0
mov ecx, 0x80070057
call fcn.1400451cc
lea rcx, [rbx - 0x18]
mov rdi, qword [rcx]
cmp dword [rcx + 8], 0
je 0x140010f0b
mov eax, dword [rcx + 0x10]
shr eax, 0x1f
test al, al
je 0x140037cba
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.14000a8e8
nop
jmp 0x140010f0b
call fcn.14000ee40
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140002c98.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
jmp 0x140010f0b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140002c98.0]
nop
jmp 0x140010f32
mov ecx, 0x80070057
call fcn.1400451cc
nop
mov rsi, qword [rsp + 0xc8]
mov r15d, dword [rsp + 0x38]
jmp 0x140010f37
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 r15d, eax
test eax, eax
jle 0x140010f37
jmp 0x140037d44
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 r15d, eax
test eax, eax
jle 0x140010f37
movzx r15d, ax
or r15d, 0x80070000
jmp 0x140010f37