Function at 0x140073600
Capabilities:
Get session user name
Impersonate user
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov rbx, rdx
mov r12, rcx
xor r13b, r13b
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
test rax, 0xfffffffffffffff8
jne 0x140073656
lea rcx, str.CPatchUpdateController::GetPatchInfoToVector:Patch_SPID_transfer_error
call fcn.1400191f0
jmp 0x140074b3b
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
sar rcx, 3
xor edx, edx
mov r15d, edx
movsxd rcx, ecx
mov qword [rbp + 0x158], rcx
lea r14d, [rdx + 1]
or rsi, 0xffffffffffffffff
test rcx, rcx
jle 0x140073e9f
nop dword [rax + rax]
mov qword [rbp - 0x40], rdx
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x38], rdi
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x10], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 8], rax
mov rax, qword [rbx]
mov r12, qword [rax + r15*8]
movsxd rdx, dword [r12 - 0x10]
mov r14, r12
mov rax, qword [rsp + 0x30]
sub r14, rax
sar r14, 1
mov r13d, dword [rax - 0x10]
xor ebx, ebx
mov ecx, ebx
test edx, edx
setns cl
test ecx, ecx
je 0x140073e94
test r12, r12
jne 0x14007378b
mov esi, ebx
jmp 0x14007379c
mov rcx, r12
call qword [sym.imp.MSVCR100.dll_wcsnlen]
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov ecx, 0x7fffffff
sub ecx, esi
mov edx, ebx
cmp ecx, r13d
setge dl
test edx, edx
je 0x140073e89
lea ebx, [r13 + rsi]
test ebx, ebx
js 0x140073e7e
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, ebx
or ecx, edx
jge 0x1400737e2
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140001c20
mov rax, qword [rsp + 0x30]
cmp r14, r13
ja 0x1400737eb
lea r12, [rax + r14*2]
movsxd rdx, esi
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call qword [sym.imp.MSVCR100.dll_memcpy_s]
mov rdx, qword [rsp + 0x30]
cmp ebx, dword [rdx - 0xc]
jg 0x140073e73
mov dword [rdx - 0x10], ebx
movsxd rcx, ebx
mov rax, qword [rsp + 0x30]
xor edx, edx
mov word [rax + rcx*2], dx
mov r14d, 1
mov r8d, r14d
lea rdx, reloc.ATL100.DLL_Ordinal_44
lea rcx, [rsp + 0x30]
call fcn.140003c10
mov r11, qword [rbp + 0x148]
mov rdx, qword [r11]
mov r13, qword [rdx + r15*8]
lea rcx, [r13 - 0x18]
lea rbx, [rdi - 0x18]
cmp rcx, rbx
je 0x14007397a
cmp dword [rbx + 0x10], 0
jl 0x140073892
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140073892
call fcn.140001b90
mov rdi, rax
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x140073889
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
add rdi, 0x18
jmp 0x140073976
movsxd rsi, dword [r13 - 0x10]
test esi, esi
jne 0x1400738f3
mov rsi, qword [rbx]
cmp dword [rbx + 8], 0
je 0x14007397a
cmp dword [rbx + 0x10], 0
jge 0x1400738c7
cmp dword [rdi - 0xc], 0
jl 0x140073df3
xor r9d, r9d
mov dword [rdi - 0x10], r9d
mov word [rdi], r9w
jmp 0x14007397d
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x1400738e1
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
jmp 0x140073976
test r13, r13
je 0x140073e14
mov r14d, dword [rdi - 0x10]
mov r12, r13
sub r12, rdi
sar r12, 1
test esi, esi
js 0x140073e09
mov ecx, 1
sub ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, esi
or eax, ecx
jge 0x140073931
mov edx, esi
lea rcx, [rbp - 0x38]
call fcn.140001c20
mov rdi, qword [rbp - 0x38]
lea rbx, [rsi + rsi]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
mov r9, rbx
add rdx, rdx
cmp r12, r14
ja 0x140073953
lea r8, [rdi + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x14007395c
mov r8, r13
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp esi, dword [rdi - 0xc]
jg 0x140073dfe
mov dword [rdi - 0x10], esi
xor r9d, r9d
mov word [rdi + rbx], r9w
lea r14d, [r9 + 1]
jmp 0x14007397d
mov qword [rbp - 0x38], rdi
xor r9d, r9d
mov r12, qword [rbp + 0x140]
lea rbx, [r12 + 0xa8]
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
cmp rax, rcx
jae 0x140073a3b
mov rax, qword [rbx]
lea rdx, [rbp - 0x40]
cmp rax, rdx
ja 0x140073a3b
lea rdi, [rbp - 0x40]
sub rdi, rax
mov rdx, qword [rbx + 0x10]
cmp rcx, rdx
jne 0x140073a15
sub rcx, rax
sar rcx, 6
movabs r8, 0x3fffffffffffffe
cmp rcx, r8
ja 0x140073e1f
inc rcx
sub rdx, rax
sar rdx, 6
cmp rcx, rdx
jbe 0x140073a15
mov r8, rdx
shr r8, 1
movabs rax, 0x3ffffffffffffff
sub rax, r8
cmp rax, rdx
jae 0x140073a03
mov rdx, r9
jmp 0x140073a06
add rdx, r8
cmp rdx, rcx
cmovb rdx, rcx
mov rcx, rbx
call fcn.14006d5f0
and rdi, 0xffffffffffffffc0
add rdi, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x70], rcx
test rcx, rcx
je 0x140073a36
mov rdx, rdi
call fcn.140065c30
nop
jmp 0x140073dc7
mov rdx, qword [rbx + 0x10]
cmp rcx, rdx
jne 0x140073a9f
mov rax, qword [rbx]
sub rcx, rax
sar rcx, 6
movabs r8, 0x3fffffffffffffe
cmp rcx, r8
ja 0x140073e2d
inc rcx
sub rdx, rax
sar rdx, 6
cmp rcx, rdx
jbe 0x140073a9f
mov r8, rdx
shr r8, 1
movabs rax, 0x3ffffffffffffff
sub rax, r8
cmp rax, rdx
jae 0x140073a8d
mov rdx, r9
jmp 0x140073a90
add rdx, r8
cmp rdx, rcx
cmovb rdx, rcx
mov rcx, rbx
call fcn.14006d5f0
mov rsi, qword [rbx + 8]
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x70], rsi
test rsi, rsi
je 0x140073dc7
mov rax, qword [rbp - 0x40]
mov qword [rsi], rax
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140073ade
cmp rax, qword [rdi - 0x18]
jne 0x140073ade
lea r12, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x140073b1d
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
je 0x140073e5f
mov eax, dword [rdi - 0x10]
mov dword [r12 + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r12 + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [r12 + 0x18]
mov qword [rsi + 8], rax
mov rdi, qword [rbp - 0x30]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140073b4d
cmp rax, qword [rdi - 0x18]
jne 0x140073b4d
lea r12, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x140073b8c
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
je 0x140073e59
mov eax, dword [rdi - 0x10]
mov dword [r12 + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r12 + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [r12 + 0x18]
mov qword [rsi + 0x10], rax
mov rdi, qword [rbp - 0x28]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140073bbc
cmp rax, qword [rdi - 0x18]
jne 0x140073bbc
lea r12, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x140073bfb
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
je 0x140073e53
mov eax, dword [rdi - 0x10]
mov dword [r12 + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r12 + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [r12 + 0x18]
mov qword [rsi + 0x18], rax
mov rdi, qword [rbp - 0x20]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140073c2b
cmp rax, qword [rdi - 0x18]
jne 0x140073c2b
lea r12, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x140073c6a
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
je 0x140073e4d
mov eax, dword [rdi - 0x10]
mov dword [r12 + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r12 + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [r12 + 0x18]
mov qword [rsi + 0x20], rax
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140073c9a
cmp rax, qword [rdi - 0x18]
jne 0x140073c9a
lea r12, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x140073cd9
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
je 0x140073e47
mov eax, dword [rdi - 0x10]
mov dword [r12 + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r12 + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [r12 + 0x18]
mov qword [rsi + 0x28], rax
mov rdi, qword [rbp - 0x10]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140073d09
cmp rax, qword [rdi - 0x18]
jne 0x140073d09
lea r12, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x140073d48
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
je 0x140073e41
mov eax, dword [rdi - 0x10]
mov dword [r12 + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r12 + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [r12 + 0x18]
mov qword [rsi + 0x30], rax
mov rdi, qword [rbp - 8]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140073d78
cmp rax, qword [rdi - 0x18]
jne 0x140073d78
lea r12, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x140073db7
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
je 0x140073e3b
mov eax, dword [rdi - 0x10]
mov dword [r12 + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r12 + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [r12 + 0x18]
mov qword [rsi + 0x38], rax
mov r12, qword [rbp + 0x140]
add qword [rbx + 8], 0x40
lea rcx, [rbp - 0x40]
call fcn.140065dc0
inc r15
cmp r15, qword [rbp + 0x158]
jge 0x140073e65
mov rbx, qword [rbp + 0x148]
xor edx, edx
jmp 0x1400736a0
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
call fcn.140001920
nop
call fcn.140001920
nop
call fcn.140001920
nop
call fcn.140001920
nop
call fcn.140001920
nop
call fcn.140001920
nop
call fcn.140001920
nop
mov rax, qword [rsp + 0x30]
or rsi, 0xffffffffffffffff
xor r13b, r13b
jmp 0x140073e9f
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov rcx, rax
xor r15d, r15d
mov edi, r15d
movzx edx, word [rax]
test dx, dx
je 0x140073f2f
cmp dx, 0x2c
jne 0x140073ec4
test rdi, rdi
jne 0x140073ec7
mov rdi, rcx
jmp 0x140073ec7
mov rdi, r15
add rcx, 2
movzx edx, word [rcx]
test dx, dx
jne 0x140073eb4
test rdi, rdi
je 0x140073f2f
sub rdi, rax
sar rdi, 1
test edi, edi
jns 0x140073eed
mov ecx, 0x80070057
call fcn.140001000
int3
mov edx, r14d
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edi
or ecx, edx
jge 0x140073f0d
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001c20
mov rax, qword [rsp + 0x30]
cmp edi, dword [rax - 0xc]
jg 0x140073f24
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rsp + 0x30]
mov word [rax + rcx*2], r15w
jmp 0x140073f2f
mov ecx, 0x80070057
call fcn.140001000
int3
mov edx, reloc.ATL100.DLL_Ordinal_44
lea rcx, [rsp + 0x30]
call fcn.140007340
mov rbx, qword [rsp + 0x30]
mov rdi, r15
cmp word [rbx], di
je 0x140073fd5
nop
movzx ecx, word [rbx]
call qword [sym.imp.MSVCR100.dll_iswspace]
test eax, eax
je 0x140073f67
test rdi, rdi
jne 0x140073f6a
mov rdi, rbx
jmp 0x140073f6a
mov rdi, r15
add rbx, 2
cmp word [rbx], r15w
jne 0x140073f50
test rdi, rdi
je 0x140073fd5
mov rax, qword [rsp + 0x30]
sub rdi, rax
sar rdi, 1
test edi, edi
jns 0x140073f93
mov ecx, 0x80070057
call fcn.140001000
int3
mov edx, r14d
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edi
or ecx, edx
jge 0x140073fb3
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001c20
mov rax, qword [rsp + 0x30]
cmp edi, dword [rax - 0xc]
jg 0x140073fca
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rsp + 0x30]
mov word [rax + rcx*2], r15w
jmp 0x140073fd5
mov ecx, 0x80070057
call fcn.140001000
int3
lea rcx, [rsp + 0x30]
call fcn.140002140
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.1400669d0
test al, al
jne 0x14007407d
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140074047
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140074066
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jmp 0x140074b30
lea rcx, [rbp + 0x70]
call fcn.14004a620
nop
lea r8, [rsp + 0x70]
mov edx, dword [rbp - 0x50]
lea rcx, [rbp + 0x70]
call fcn.1400480e0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.14004bf40
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rsp + 0x40]
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rdx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test edx, edx
jne 0x140074186
lea rcx, str.CPatchUpdateController::GetPatchInfoToVector:Get_LocalInfo_error_Vector_size_was_zero.
call fcn.1400191f0
nop
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140074129
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x140074121
mov rcx, rdi
call fcn.14002be60
add rdi, 0x160
cmp rdi, rbx
jne 0x140074108
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea rcx, [rbp + 0x70]
call fcn.14004bd80
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140074162
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140074181
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140074066
mov r12, qword [r12 + 0xb0]
mov rax, qword [rbp + 0x140]
sub r12, qword [rax + 0xa8]
sar r12, 6
test r12d, r12d
jne 0x14007424e
lea rcx, str.CPatchUpdateController::GetPatchInfoToVector:Get_LocalInfo_error_Vector_size_was_zero.
call fcn.1400191f0
nop
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x1400741f1
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x1400741e9
nop word [rax + rax]
mov rcx, rdi
call fcn.14002be60
add rdi, 0x160
cmp rdi, rbx
jne 0x1400741d0
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea rcx, [rbp + 0x70]
call fcn.14004bd80
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007422a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140074249
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140074066
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
lea rdi, [rbp + 0x38]
xor eax, eax
mov ecx, reloc.ATL100.DLL_Ordinal_56
rep stosb byte [rdi], al
mov qword [rsp + 0x78], r15
mov dword [rbp + 0x150], r15d
lea rdx, [rbp + 0x150]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ecx, dword [rbp + 0x150]
test eax, eax
jne 0x1400742a2
test ecx, ecx
je 0x1400744d6
mov eax, 2
mul rcx
mov r15, 0xffffffffffffffff
cmovo rax, r15
mov rcx, rax
call fcn.1400ca8e8
mov r13, rax
lea rdx, [rbp + 0x150]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1400744c7
test r13, r13
je 0x1400744da
mov dword [rbp + reloc.ATL100.DLL_Ordinal_56], 0x38
mov qword [rbp + 0x40], r13
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ecx, eax
lea rdx, [rsp + 0x78]
call sub.WTSAPI32.dll_WTSQueryUserToken
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400744c7
lea rdx, [rbp + 0x38]
call qword [sym.imp.USERENV.dll_LoadUserProfileW]
test eax, eax
je 0x1400744c7
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x1400744c7
xor edi, edi
mov qword [rbp], rdi
mov dword [rbp + 8], edi
mov qword [rbp + 0x10], rdi
mov r9d, 0x20019
lea r8, str.SOFTWARESony_CorporationVAIO_Update
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp]
call fcn.140008440
test eax, eax
jne 0x1400744b8
mov dword [rbp - 0x80], edi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x58]
xor r8d, r8d
lea rdx, str.CurrentLanguageName
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400744b8
mov eax, dword [rbp - 0x58]
cmp eax, 1
je 0x1400743a2
cmp eax, 2
jne 0x1400744b8
mov esi, dword [rbp - 0x80]
shr esi, 1
mov dword [rbp - 0x54], esi
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x68], rdi
test esi, esi
jns 0x1400743d2
mov ecx, 0x80070057
call fcn.140001000
int3
sub r14d, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, esi
or eax, r14d
jge 0x1400743ef
mov edx, esi
lea rcx, [rbp - 0x68]
call fcn.140001c20
mov rdi, qword [rbp - 0x68]
lea r9, [rbp - 0x54]
mov r8, rdi
lea rdx, str.CurrentLanguageName
lea rcx, [rbp]
call fcn.140008540
test eax, eax
jne 0x140074498
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsnlen]
test eax, eax
js 0x14007448d
cmp eax, dword [rdi - 0xc]
jg 0x14007448d
mov dword [rdi - 0x10], eax
cdqe
xor edx, edx
mov word [rdi + rax*2], dx
lea rcx, [rdi - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140074498
cmp dword [rbx + 0x10], edx
jl 0x14007447a
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14007447a
call fcn.140001b90
mov rdi, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14007446b
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x60], rax
mov rdi, qword [rbp - 0x68]
jmp 0x140074498
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140001e80
jmp 0x140074498
mov ecx, 0x80070057
call fcn.140001000
nop
lea rdx, [rdi - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400744b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400744c7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r13, r13
je 0x1400744da
mov rcx, r13
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x1400744da
or r15, 0xffffffffffffffff
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rdx, qword [rbp + 0x68]
test rdx, rdx
je 0x1400744f9
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140074509
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140074509
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [rbp + 0x158], esi
mov r11d, esi
mov dword [rbp + 0x148], esi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x48], rsi
movsxd rax, r12d
mov qword [rbp - 0x60], rax
test r12d, r12d
jle 0x140074a59
xor r12d, r12d
mov r13d, r12d
mov r14, qword [rbp + 0x140]
nop
mov edi, r12d
mov r10, r12
mov rcx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
sub rcx, rsi
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
mov r9, rdx
sar r9, 6
mov rax, r9
shr rax, 0x3f
add r9, rax
test r9d, r9d
jle 0x1400745e9
mov r11, qword [r14 + 0xa8]
mov r8, rsi
mov rdx, qword [r8]
mov eax, r12d
test rdx, rdx
setne al
test eax, eax
je 0x140074a20
mov rax, qword [r13 + r11 + 8]
sub rdx, rax
nop dword [rax]
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1400745b7
add rax, 2
test cx, cx
jne 0x1400745a0
mov eax, r12d
jmp 0x1400745bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x1400745d8
inc edi
inc r10
add r8, 0x160
cmp edi, r9d
jl 0x140074580
jmp 0x1400745e2
mov dword [rbp + 0x158], edi
mov qword [rbp - 0x48], r10
mov r11d, dword [rbp + 0x148]
mov r12, qword [rbp - 0x48]
imul r12, r12, 0x160
mov r8, qword [rsi + r12 + 0x128]
mov rdx, qword [r8 + 8]
xor r10d, r10d
cmp byte [rdx + 0x29], r10b
jne 0x14007465d
mov r9d, r10d
test rbx, rbx
setne r9b
test r9d, r9d
je 0x140074a2b
mov rax, qword [rdx + 0x18]
mov rdi, rbx
sub rdi, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdi]
jne 0x14007463d
add rax, 2
test cx, cx
jne 0x140074626
mov eax, r10d
jmp 0x140074642
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sets al
test al, al
je 0x140074651
mov rdx, qword [rdx + 0x10]
jmp 0x140074657
mov r8, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x29], r10b
je 0x140074613
mov qword [rbp + 0x28], r8
mov rax, qword [rsi + r12 + 0x128]
cmp r8, rax
je 0x1400746bb
mov rdi, qword [r8 + 0x18]
mov ecx, r10d
test rdi, rdi
setne cl
test ecx, ecx
je 0x140074a36
mov rcx, rbx
sub rdi, rbx
nop dword [rax]
movzx edx, word [rcx]
cmp dx, word [rcx + rdi]
jne 0x1400746a7
add rcx, 2
test dx, dx
jne 0x140074690
mov ecx, r10d
jmp 0x1400746ac
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
sets cl
test cl, cl
jne 0x1400746bb
lea rax, [rbp + 0x28]
jmp 0x1400746c3
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x20]
mov rax, qword [rax]
cmp rax, qword [rsi + r12 + 0x128]
jne 0x1400746fd
movsxd rax, dword [rbp + 0x158]
imul rax, rax, 0x160
lea rdx, [rax + rsi + 0x18]
movsxd rsi, r11d
shl rsi, 6
mov rax, qword [r14 + 0xa8]
lea rcx, [rax + rsi + 0x10]
call fcn.140002250
jmp 0x140074732
lea rdx, [rax + 0x20]
movsxd rsi, r11d
shl rsi, 6
mov rax, qword [r14 + 0xa8]
lea rcx, [rax + rsi + 0x10]
call fcn.140002250
mov rdx, qword [r14 + 0xa8]
lea rcx, [rdx + rsi + 0x10]
call fcn.1400020d0
mov rcx, rax
call fcn.140002140
mov rax, qword [rsp + 0x40]
mov rdi, qword [r14 + 0xa8]
mov rcx, qword [rax + r12 + 0x40]
call qword [sym.imp.MSVCR100.dll__wtoi]
movsxd rcx, eax
mov qword [r13 + rdi], rcx
movsxd rdi, dword [rbp + 0x158]
imul rdi, rdi, 0x160
mov rax, qword [rsp + 0x40]
lea rdx, [rax + rdi + 0x48]
mov rax, qword [r14 + 0xa8]
lea rcx, [rax + rsi + 0x18]
call fcn.140002250
mov rdx, qword [rsp + 0x40]
lea rdx, [rdx + rdi + 0x60]
mov rax, qword [r14 + 0xa8]
lea rcx, [rax + rsi + 0x20]
call fcn.140002250
mov rcx, qword [r14 + 0x30]
call fcn.1400221a0
mov edx, eax
mov rax, qword [r14 + 0xa8]
dec edx
je 0x1400747f7
lea rdi, [rax + rsi + 0x30]
mov r8, rdi
mov rdx, qword [r13 + rax + 0x18]
mov rcx, r14
call fcn.140068ef0
test al, al
je 0x1400747d9
mov r8d, 3
lea rdx, [0x1400e7b08]
mov rcx, rdi
call fcn.140003c10
mov rax, qword [r14 + 0xa8]
lea r8, [rax + rsi + 0x28]
mov rdx, qword [r13 + rax + 0x18]
mov rcx, r14
call fcn.140068ef0
jmp 0x1400749f2
mov rcx, qword [r13 + rax + 0x18]
sub rcx, 0x18
call fcn.140001b90
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
mov rax, qword [r14 + 0xa8]
lea rcx, [rax + rsi + 0x30]
call fcn.140001a60
mov r11, qword [r14 + 0xa8]
lea rcx, [r11 + rsi + 0x28]
call fcn.140001a60
mov edx, Ordinal_49
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsrchr]
mov rbx, rax
test rax, rax
je 0x1400749d2
sub rbx, rdi
sar rbx, 1
cmp ebx, 0xffffffff
je 0x1400749d2
test ebx, ebx
js 0x140074a4c
movsxd r12, dword [rdi - 0x10]
cmp ebx, r12d
jge 0x140074a4c
cmp dword [rdi - 8], 1
jle 0x140074886
mov edx, dword [rdi - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140001930
mov rdi, qword [rsp + 0x38]
movsxd rax, ebx
mov ecx, 0x5c
mov word [rdi + rax*2], cx
test r12d, r12d
js 0x140074a41
cmp r12d, dword [rdi - 0xc]
jg 0x140074a41
mov dword [rdi - 0x10], r12d
xor edx, edx
mov word [rdi + r12*2], dx
lea edx, [rcx - 0x2d]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsrchr]
test rax, rax
je 0x1400749d2
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x1400749d2
mov edx, Ordinal_49
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsrchr]
test rax, rax
jne 0x1400748ec
mov eax, r15d
jmp 0x1400748f2
sub rax, rdi
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x38]
call fcn.140006920
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002250
nop
mov rdx, qword [rbp + 0x18]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140074932
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.1400663c0
mov r8d, Ordinal_17
lea rdx, str.UpdateModules_
lea rcx, [rsp + 0x68]
call fcn.140003c10
mov rdx, qword [rsp + 0x38]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140003c10
mov rdx, qword [r14 + 0xa8]
lea rcx, [rdx + rsi + 0x30]
lea rdx, [rsp + 0x68]
call fcn.140002250
mov rdx, qword [r14 + 0xa8]
lea rcx, [rdx + rsi + 0x28]
lea rdx, [rsp + 0x68]
call fcn.140002250
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400749cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x38]
lea rdx, [rdi - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400749ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x60]
mov r11d, dword [rbp + 0x148]
inc r11d
mov dword [rbp + 0x148], r11d
mov r8, qword [rbp - 0x70]
inc r8
mov qword [rbp - 0x70], r8
add r13, 0x40
cmp r8, qword [rbp - 0x60]
jge 0x140074a57
xor r12d, r12d
jmp 0x140074540
mov ecx, 0x80004005
call fcn.140001000
int3
mov ecx, 0x80004005
call fcn.140001000
int3
mov ecx, 0x80004005
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
xor esi, esi
mov r13b, 1
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140074a78
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
cmp qword [rsp + 0x40], 0
je 0x140074ac1
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
cmp rdi, rbx
je 0x140074ab9
nop word [rax + rax]
mov rcx, rdi
call fcn.14002be60
add rdi, 0x160
cmp rdi, rbx
jne 0x140074aa0
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rcx, [rbp + 0x70]
call fcn.14004bd80
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140074afb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140074b1b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
dec r15d
test r15d, r15d
jg 0x140074b3b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, r13b
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret