Function at 0x43dac0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edx, 0x79
lea rcx, [0x004c3690]
call fcn.004036d0
lea rsi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceCUploadUnit.cpp
lea rdx, [rsi + rax*2]
lea r9, str.OOBE:_ClearSwMgrConfigFile
mov ecx, 1
mov r8d, 0x1b9
call fcn.0044a600
mov rcx, qword [0x004fb7e0]
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, rcx
cmp rax, 7
jb 0x43e153
lfence
lea r9, [0x004fb7d0]
cmp qword [0x004fb7e8], 8
cmovae r9, qword [0x004fb7d0]
mov qword [rsp + 0x30], 7
lea rax, str.Config.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [0x004fb7d0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x68]
call sym.AsusSoftwareManager.exe_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_struct_std::_String_constructor_concat_tag__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64___wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov r8d, 6
lea rdx, str.Common
lea rcx, [rsp + 0x68]
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__::append_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8d, [rdi + 4]
lea rdx, str..dat
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__::append_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xd8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x43dc63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x43dc5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x43dc5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x43dcbe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x43dcb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x43dcb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], di
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rcx, qword [rsp + 0xc8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, 0x79
lea rcx, [0x004c3690]
test eax, eax
je 0x43df08
call fcn.004036d0
lea rdx, [rsi + rax*2]
lea r9, str.OOBE:_ClearSwMgrConfigFile_true
mov ecx, 1
mov r8d, 0x1be
call fcn.0044a600
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rcx, qword [rsp + 0xc8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
sub rbx, qword [rsp + 0xd8]
cmp rbx, 0x21
jb 0x43e159
lfence
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0x21
lea r9, str.CUploadUnit:_ClearSwMgrConfigFile
lea r8, [rsp + 0xc8]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x88]
call sym.AsusSoftwareManager.exe_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_struct_std::_String_constructor_concat_tag__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64___wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov r8d, 7
lea rdx, str.deleted
lea rcx, [rsp + 0x88]
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__::append_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x100], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xf8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0xa0]
cmp rdx, 8
jb 0x43de57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x43de52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x43de52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], di
lea rbx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rbx, qword [rsp + 0xe8]
mov edx, 0x79
lea rcx, [0x004c3690]
call fcn.004036d0
lea rdx, [rsi + rax*2]
mov r9, rbx
mov ecx, 1
mov r8d, 0x1c2
call fcn.0044a600
nop
mov rdx, qword [rsp + 0x100]
cmp rdx, 8
jb 0x43e0e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x43e0dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x43e0dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.004036d0
lea rdx, [rsi + rax*2]
lea r9, str.OOBE:_ClearSwMgrConfigFile_false
mov ecx, 1
mov r8d, 0x1c6
call fcn.0044a600
sub rbx, qword [rsp + 0xd8]
cmp rbx, 0x21
jb 0x43e15e
lfence
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0x21
lea r9, str.CUploadUnit:_ClearSwMgrConfigFile
lea r8, [rsp + 0xc8]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0xa8]
call sym.AsusSoftwareManager.exe_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_struct_std::_String_constructor_concat_tag__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64___wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov r8d, SafeArrayGetDim
lea rdx, str.is_not_exist
lea rcx, [rsp + 0xa8]
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__::append_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x120], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x118], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x43e037
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x43e032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x43e032
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
lea rbx, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae rbx, qword [rsp + 0x108]
mov edx, 0x79
lea rcx, [0x004c3690]
call fcn.004036d0
lea rdx, [rsi + rax*2]
mov r9, rbx
mov ecx, 1
mov r8d, 0x1c8
call fcn.0044a600
nop
mov rdx, qword [rsp + 0x120]
cmp rdx, 8
jb 0x43e0e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x43e0dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x43e0dc
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 [rsp + 0xe0]
cmp rdx, 8
jb 0x43e12e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x43e128
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x43e128
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
nop
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.00479310
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.004038b0
nop
call fcn.004038b0
call fcn.004038b0
int3