Function at 0x452840
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov r13, r9
mov r15, r8
mov rbx, rdx
mov qword [rbp + 0x100], rdx
mov qword [rbp + 0x108], r8
mov dword [rbp + 0x170], 0x927c0
mov byte [rbp + 0x110], 0
mov edx, 0x7c
call fcn.00454620
lea r14, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServicePackageManager.cpp
lea rdx, [r14 + rax*2]
lea rax, str.PackageManager::RunAndWaitTimeout
mov qword [rsp + 0x20], rax
lea r9, str._s_In
mov ecx, 4
mov r8d, 0x160
call fcn.0044b390
mov byte [rbp + 0x138], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x90], 0x70
xor esi, esi
mov qword [rbp + 0x98], rsi
lea rax, str.open
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xc0], esi
mov eax, 0x40
mov ecx, 0x100
cmp byte [rbp + 0x228], sil
cmovne eax, ecx
mov dword [rbp + 0x94], eax
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x140], rsi
mov byte [rbp + 0x148], sil
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x130], 7
mov word [rbp + 0x118], si
xor r8d, r8d
mov edx, 0x400
lea rcx, [rbp + 0x118]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_unsigned_long_long_unsigned___int64___wchar_t____ptr64
nop
mov qword [rbp + 0x178], rsi
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x190], 7
mov word [rbp + 0x178], si
xor r8d, r8d
lea rdx, [0x004b993c]
lea rcx, [rbp + 0x178]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x160], rsi
mov qword [rbp + 0x168], 7
mov word [rbp + 0x150], si
xor r8d, r8d
lea rdx, [0x004b993c]
lea rcx, [rbp + 0x150]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov qword [rbp + 0x198], rsi
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1b0], 7
mov word [rbp + 0x198], si
xor r8d, r8d
lea rdx, [0x004b993c]
lea rcx, [rbp + 0x198]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov dword [r13], esi
lea r12, [rsi - 1]
cmp qword [r15 + 0x10], rsi
je 0x45340f
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rdx, qword [rbp + 0x118]
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x452a71
mov rcx, qword [r15]
mov r8d, dword [rbp + 0x128]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rdx, qword [rbp + 0x118]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov r8, r12
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x452ab0
lea rcx, [rsp + 0x48]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x118]
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Move_assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__struct_std::integral_constant_bool__1_____ptr64
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x452b1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x452b16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x452f8f
call fcn.00479330
mov word [rsp + 0x48], si
lea rcx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rcx, qword [rbp + 0x118]
mov qword [rsp + 0x20], 3
lea r9, [0x004c8688]
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
call fcn.0040bb70
mov r14, rax
lea rcx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rcx, qword [rbp + 0x118]
mov qword [rsp + 0x20], 3
lea r9, [0x004c86a8]
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
call fcn.0040bb70
mov rdi, rax
lea rcx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rcx, qword [rbp + 0x118]
mov qword [rsp + 0x20], 2
lea r9, [0x004c869c]
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
call fcn.0040bb70
mov rsi, rax
cmp r14, r12
je 0x452cf1
lea rcx, [r14 + 3]
xor esi, esi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
cmp qword [rbp + 0x128], rcx
jb 0x4536fc
lfence
mov rax, qword [rbp + 0x128]
sub rax, rcx
mov r8, r12
cmp rax, r12
cmovb r8, rax
lea rax, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rax, qword [rbp + 0x118]
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x78]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x178]
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Move_assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__struct_std::integral_constant_bool__1_____ptr64
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x452c85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x452c80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x452f8f
call fcn.00479330
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 7
cmp qword [rbp + 0x128], r14
cmovb r14, qword [rbp + 0x128]
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rdx, qword [rbp + 0x118]
mov r8, r14
lea rcx, [rbp - 0x58]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x118]
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Move_assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__struct_std::integral_constant_bool__1_____ptr64
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x452f9d
mov rcx, qword [rbp - 0x58]
jmp 0x452e12
cmp rdi, r12
je 0x452e49
lea rcx, [rdi + 3]
xor esi, esi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
cmp qword [rbp + 0x128], rcx
jb 0x4536fc
lfence
mov rax, qword [rbp + 0x128]
sub rax, rcx
mov r8, r12
cmp rax, r12
cmovb r8, rax
lea rax, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rax, qword [rbp + 0x118]
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x38]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x178]
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Move_assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__struct_std::integral_constant_bool__1_____ptr64
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x452dab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x452da6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x452f8f
call fcn.00479330
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], 7
cmp qword [rbp + 0x128], rdi
cmovb rdi, qword [rbp + 0x128]
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rdx, qword [rbp + 0x118]
mov r8, rdi
lea rcx, [rbp - 0x18]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x118]
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Move_assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__struct_std::integral_constant_bool__1_____ptr64
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x452f9d
mov rcx, qword [rbp - 0x18]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rax, rcx
jb 0x452e3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x452f8f
call fcn.00479330
jmp 0x452f9d
cmp rsi, r12
je 0x452f9b
lea rcx, [rax + 2]
xor edi, edi
mov qword [rbp + 8], rdi
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], 7
cmp qword [rbp + 0x128], rcx
jb 0x4536fc
lfence
mov rax, qword [rbp + 0x128]
sub rax, rcx
mov r8, r12
cmp rax, r12
cmovb r8, rax
lea rax, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rax, qword [rbp + 0x118]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 8]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x178]
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Move_assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__struct_std::integral_constant_bool__1_____ptr64
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x452f03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x452efe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x452f8f
call fcn.00479330
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], 7
cmp qword [rbp + 0x128], rsi
cmovb rsi, qword [rbp + 0x128]
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rdx, qword [rbp + 0x118]
mov r8, rsi
lea rcx, [rbp + 0x28]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x118]
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Move_assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__struct_std::integral_constant_bool__1_____ptr64
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x452f9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x452f96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x452f96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
xor esi, esi
mov rcx, qword [rbp + 0x128]
cmp rcx, 3
jb 0x453086
lea rax, [rbp + 0x118]
mov rdx, qword [rbp + 0x118]
mov r8, qword [rbp + 0x130]
cmp r8, 8
cmovae rax, rdx
cmp word [rax], 0x22
jne 0x453086
lea rax, [rbp + 0x118]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + rcx*2 - 2], 0x22
jne 0x453086
dec rcx
mov qword [rbp + 0x128], rcx
lea rax, [rbp + 0x118]
cmp r8, 8
cmovae rax, rdx
mov word [rax + rcx*2], si
lea r10, [rbp + 0x118]
mov r9, qword [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae r10, r9
lea rax, [rbp + 0x118]
cmovae rax, r9
sub r10, rax
sar r10, 1
mov r8, qword [rbp + 0x128]
mov rax, r8
sub rax, r10
mov edx, 1
cmp rax, rdx
cmovb rdx, rax
lea rax, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rax, r9
lea rcx, [rax + r10*2]
sub r8, rdx
mov qword [rbp + 0x128], r8
sub r8, r10
lea r8, [r8*2 + 2]
lea rdx, [rcx + rdx*2]
call fcn.004a2610
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x453235
mov rcx, rbx
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x4530a3
mov rcx, qword [rbx]
cmp word [rcx + rax*2 - 2], 0x5c
jne 0x4530c3
lea rcx, [rax - 1]
mov qword [rbx + 0x10], rcx
mov rax, rbx
cmp rdx, 8
jb 0x4530bf
mov rax, qword [rbx]
mov word [rax + rcx*2], si
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
lea rdx, [rbp + 0x118]
lea rcx, [rsp + 0x68]
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Construct_lv_contents_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov edx, 0x7c
call fcn.00454620
lea r14, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServicePackageManager.cpp
lea rdx, [r14 + rax*2]
lea rdi, str.PackageManager::IsInByPassVerificationList
mov qword [rsp + 0x20], rdi
lea r9, str._s_In
mov ecx, 1
mov r8d, 0x2f2
call fcn.0044b390
mov edx, 0x7c
call fcn.00454620
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
lea r9, str._s_Out__d_
mov ecx, 1
mov r8d, 0x302
call fcn.0044b390
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x45319b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x453196
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x453196
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov edx, 0x7c
call fcn.00454620
lea rdx, [r14 + rax*2]
mov dword [rsp + 0x20], 1
lea r9, str.IsInByPassVerificationList___d___No_secure_check_
mov ecx, 4
mov r8d, 0x1aa
call fcn.0044b390
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rdx, qword [rbp + 0x118]
mov r8, qword [rbp + 0x128]
lea rcx, [rbp + 0x150]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 8
cmovae rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x160]
lea rcx, [rbp + 0x198]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x453229
mov rax, qword [rbx]
mov qword [rbp + 0xb8], rax
jmp 0x4532bc
mov edx, 0x7c
call fcn.00454620
lea r14, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServicePackageManager.cpp
lea rdx, [r14 + rax*2]
lea r9, str.Working_directory_is_empty___No_secure_check_
mov ecx, 4
mov r8d, 0x1bf
call fcn.0044b390
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 8
cmovae rdx, qword [rbp + 0x118]
mov r8, qword [rbp + 0x128]
lea rcx, [rbp + 0x150]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 8
cmovae rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x160]
lea rcx, [rbp + 0x198]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov qword [rbp + 0xb8], rsi
lea rax, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 8
cmovae rax, qword [rbp + 0x198]
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0x178]
cmp qword [rbp + 0x190], 8
cmovae rax, qword [rbp + 0x178]
mov qword [rbp + 0xb0], rax
mov edx, 0x7c
call fcn.00454620
lea rdx, [r14 + rax*2]
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, str.D:__s__F:__s__P:__s
mov ecx, 4
mov r8d, 0x1c6
call fcn.0044b390
lea rax, [rbp + 0x138]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x170]
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], r13
lea rax, [rbp + 0x110]
mov qword [rbp + 0x68], rax
lea r8, [rbp + 0x48]
lea rcx, [rbp + 0x70]
call fcn.00454860
nop
lea rcx, [rbp + 0x140]
cmp rcx, rax
je 0x4533a2
mov rcx, qword [rax]
mov qword [rbp + 0x140], rcx
mov qword [rax], rsi
movzx eax, byte [rax + 8]
mov byte [rbp + 0x148], al
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x4533dc
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x4533dc
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x4533d1
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x4533dc
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x4536e2
cmp byte [rbp + 0x148], 0
je 0x453402
cmp byte [rcx + 0xb8], 0
jne 0x4536e2
mov rcx, qword [rbp + 0x140]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x7c
call fcn.00454620
movzx ecx, byte [rbp + 0x110]
lea rdx, [r14 + rax*2]
mov eax, dword [r13]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rax, str.PackageManager::RunAndWaitTimeout
mov qword [rsp + 0x20], rax
lea r9, str._s_Out__d__0x_08x_
mov ecx, 4
mov r8d, 0x1fa
call fcn.0044b390
movzx edi, byte [rbp + 0x110]
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 8
jb 0x4534a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x45349e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x45349e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1b0], 7
mov word [rbp + 0x198], si
mov rdx, qword [rbp + 0x168]
cmp rdx, 8
jb 0x453506
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x453500
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x453500
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
nop
mov rdx, qword [rbp + 0x190]
cmp rdx, 8
jb 0x45354f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x45354a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x45354a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x190], 7
mov word [rbp + 0x178], si
mov rdx, qword [rbp + 0x130]
cmp rdx, 8
jb 0x4535b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x4535ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x4535ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x130], 7
mov word [rbp + 0x118], si
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x45360d
lock xadd dword [rcx + 8], r12d
cmp r12d, 1
jne 0x45360d
mov rcx, qword [rbp + 0x140]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x453602
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x45360d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x45364c
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x453647
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x4536d4
mov rcx, r8
call fcn.00479330
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x453696
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x453691
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x4536db
mov rcx, r8
call fcn.00479330
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], 7
mov word [r15], si
movzx eax, dil
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edx, 4
lea rcx, [rbp + 0x80]
call fcn.0042ac30
mov rcx, rax
call fcn.00480de0
int3
call fcn.00407de0
int3