Function at 0x14002e000
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x8d8]
sub rsp, 0x9d0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0x8c0], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x510]
test rcx, rcx
je 0x14002e075
mov edx, 1
call fcn.140025ed0
lea rdx, str._t_CProfileConverter::Initialize___started_
mov rcx, qword [rbx + 0x510]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 0x510]
call fcn.140025ed0
cmp qword [rbx + 8], 0
jne 0x14002e34c
mov dword [rsp + 0x30], Ordinal_266
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea rdi, str.PROSetBinDir
mov r8, rdi
lea rsi, str.SOFTWAREIntelWireless
mov rdx, rsi
mov rcx, 0xffffffff80000002
call fcn.140025820
mov rcx, qword [rbx + 0x510]
test al, al
jne 0x14002e112
test rcx, rcx
je 0x14002e10b
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
lea r9, str._t_FAILED__Failed_to_data_of_registry_value:_HKEY_LOCAL_MACHINE_s_s
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rbp + 0xc0]
call fcn.140008c50
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbx + 0x510]
call fcn.140025be0
mov rcx, qword [rbx + 0x510]
call fcn.140025dc0
xor al, al
jmp 0x14002e34e
test rcx, rcx
je 0x14002e14f
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, str._tChange_the_current_directory_to:__s
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rbp + 0xc0]
call fcn.140008c50
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbx + 0x510]
call fcn.140025be0
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x14002e191
cmp qword [rbx + 0x510], 0
je 0x14002e10b
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, str._t_FAILED__Failed_to_set_current_directory_to__s
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rbp + 0xc0]
call fcn.140008c50
jmp 0x14002e0ec
lea r8, [0x14006ca40]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.14002e830
mov qword [rbx + 8], rax
test rax, rax
je 0x14002e10b
lea r8, str.PanApi.dll
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.14002e830
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14002e2e0
lea rdx, str.WifiPanGetPanAdapter
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14002e2c7
mov dword [rsp + 0x34], 0x10
lea rax, [rbx + 0x500]
mov qword [rbx + 0x20], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.PsRegApi.dll_public:_void___cdecl_CRegApi::constructor_void____ptr64]
nop
mov r9d, 0x20019
lea r8, str.SOFTWAREIntelWirelessiConvrtr
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call qword [sym.imp.PsRegApi.dll_public:_long_int___cdecl_CRegApi::OpenKey_struct_HKEY______ptr64__char_const____ptr64__unsigned_long_int____ptr64]
test eax, eax
je 0x14002e249
lea rcx, [rsp + 0x40]
call qword [sym.imp.PsRegApi.dll_public_virtual:_void___cdecl_CRegApi::destructor_void____ptr64]
jmp 0x14002e323
xor edi, edi
nop dword [rax + rax]
lea r9, [rsp + 0x34]
mov r8, qword [rbx + 0x20]
lea rdx, str.P2PAdapterGUID
lea rcx, [rsp + 0x40]
call qword [sym.imp.PsRegApi.dll_public:_long_int___cdecl_CRegApi::QueryValue_char_const____ptr64__unsigned_char____ptr64__unsigned_long_int____ptr64____ptr64]
test eax, eax
je 0x14002e296
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x14002e250
mov rcx, qword [rbx + 0x510]
test rcx, rcx
je 0x14002e2ae
lea rdx, str.CANNOT_find_CP_Interface_GUID___CP_profiles_will_NOT_be_saved_or_restored_
jmp 0x14002e2a9
mov rcx, qword [rbx + 0x510]
test rcx, rcx
je 0x14002e2ae
lea rdx, str.Found_CP_Interface_GUID
call fcn.140025be0
lea rcx, [rsp + 0x40]
call qword [sym.imp.PsRegApi.dll_public:_long_int___cdecl_CRegApi::CloseKey_void____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.PsRegApi.dll_public_virtual:_void___cdecl_CRegApi::destructor_void____ptr64]
jmp 0x14002e323
cmp qword [rbx + 0x510], 0
je 0x14002e323
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str._t_WARNING__m_pfWifiPanGetPanAdapter_not_found.__CP_profiles_will_not_be_backed_up:_d
jmp 0x14002e2f7
cmp qword [rbx + 0x510], 0
je 0x14002e323
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str._t_WARNING__PANAPI.DLL_is_not_loaded.__CP_profiles_will_not_be_backed_up:_d
mov dword [rsp + 0x20], eax
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rbp + 0xc0]
call fcn.140008c50
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbx + 0x510]
call fcn.140025be0
mov rcx, qword [rbx + 0x510]
test rcx, rcx
je 0x14002e34c
lea rdx, str._t_CProfileConverter::Initialize___completed_
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 0x510]
call fcn.140025ed0
mov al, 1
mov rcx, qword [rbp + 0x8c0]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x9d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret