Function at 0x1400046a0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x488]
sub rsp, 0x570
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 8], 0
je 0x140004722
mov r9, rbx
lea r8, str.Call_IWrap_with_command:__s
mov edx, 0x208
lea rcx, [rbp + 0x140]
call fcn.140008cb0
lea rdx, [rbp + 0x140]
mov rcx, qword [rdi + 8]
call fcn.140025be0
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rbp + 0x350]
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x14006508d]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_310]
nop
mov dword [rsp + 0x54], Ordinal_266
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x350]
mov qword [rsp + 0x20], rax
lea r9, str.PROSetBinDir
lea r8, str.SOFTWAREIntelWireless
mov rdx, 0xffffffff80000002
mov rcx, rdi
call fcn.140008210
test eax, eax
je 0x1400047b1
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000479e
lea rdx, str.CallIWrap__:_Failed_to_get_PROSet_install_path._Unable_to_continue.
call fcn.140025be0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
or eax, 0xffffffff
jmp 0x140004a0d
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
or r9, 0xffffffffffffffff
lea r8, [rbp + 0x350]
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rdx, str.iwrap.exe
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
or r9, 0xffffffffffffffff
lea r8, [0x140065294]
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
or r9, 0xffffffffffffffff
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
mov byte [rbp + 0x133], 0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x40], 0x68
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
cmp qword [rdi + 8], rax
je 0x140004878
lea r9, [rbp + 0x30]
lea r8, str.CallIWrap_Full_Command_Line:__s
mov edx, 0x208
lea rcx, [rbp + 0x140]
call fcn.140008cb0
lea rdx, [rbp + 0x140]
mov rcx, qword [rdi + 8]
call fcn.140025be0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000020
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140004912
cmp qword [rdi + 8], r14
je 0x1400048f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Failed_to_start_IWrap:__d
mov edx, 0x208
lea rcx, [rbp + 0x140]
call fcn.140008cb0
lea rdx, [rbp + 0x140]
mov rcx, qword [rdi + 8]
call fcn.140025be0
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
or eax, 0xffffffff
jmp 0x140004a0d
mov ebx, r14d
mov esi, 1
nop word [rax + rax]
mov dword [rsp + 0x20], 0x1cff
mov r9d, 0x1388
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov ecx, esi
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
cmove ebx, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400049a0
nop dword [rax]
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
cmove ebx, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140004960
test ebx, ebx
je 0x140004920
mov dword [rsp + 0x50], r14d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp qword [rdi + 8], r14
je 0x1400049f0
mov r9d, dword [rsp + 0x50]
lea r8, str.Iwrap_exited_with_code:__d
mov edx, 0x208
lea rcx, [rbp + 0x140]
call fcn.140008cb0
lea rdx, [rbp + 0x140]
mov rcx, qword [rdi + 8]
call fcn.140025be0
mov ebx, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov eax, ebx
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret