Function at 0x14005afe0
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x350
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r14, rdx
mov dword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rax, [rbp + 0x10]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x68], rax
mov rdx, qword [r14 + 8]
lea rcx, [rbp + 0x10]
call fcn.14000c950
mov rbx, rax
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005b836
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, [0x1400a6eb4]
lea rcx, [rsp + 0x58]
call fcn.14000ce70
test al, al
jne 0x14005b0ae
lea rdx, [0x1400a6eb4]
lea rcx, [rsp + 0x58]
call fcn.14000c670
nop
mov rdi, 0xffffffffffffffff
mov r8d, edi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14005c860
cmp qword [r14 + 8], 0
je 0x14005b7fd
mov r8d, 0x80
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005b841
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.14000ce70
test al, al
jne 0x14005b13b
lea rcx, [rbp + 0x40]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005b120
mov r8d, eax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.14000d350
nop
mov rbx, qword [rbp - 0x80]
cmp dword [rbx - 0x10], 0
jge 0x14005b149
mov esi, edi
jmp 0x14005b16b
lea rdx, [0x1400a6eb8]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rsi, rax
test rax, rax
jne 0x14005b165
mov esi, edi
jmp 0x14005b16b
sub rsi, rbx
sar rsi, 1
shr esi, 0x1f
xor sil, 1
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov r15d, eax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], rax
lea r14, [rbx - 0x18]
mov rcx, r14
call fcn.14000d260
add rax, 0x18
mov qword [rbp - 0x28], rax
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005b84c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, str.FileName_:
lea rcx, [rsp + 0x60]
call fcn.14000ce70
test al, al
jne 0x14005b1eb
lea rdx, str.FileName_:
lea rcx, [rsp + 0x60]
call fcn.14000c670
nop
mov r8d, r15d
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.14005c860
test sil, sil
jne 0x14005b762
lea eax, [r15 - 0x8c]
cmp eax, 0x39
ja 0x14005b221
movabs rcx, 0x238000080000401
bt rcx, rax
jb 0x14005b237
cmp r15d, 0xda
je 0x14005b237
cmp r15d, 0xe5
jne 0x14005b762
call fcn.140062770
cmp al, 1
jne 0x14005b762
lea rcx, [rbp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005b857
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14000ce70
test al, al
jne 0x14005b2ac
lea rcx, [rbp + 0x40]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005b290
mov r8d, eax
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14000d350
nop
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005b862
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, str.IAssistHelperN64.exe
lea rcx, [rsp + 0x68]
call fcn.14000ce70
test al, al
jne 0x14005b2f3
lea rdx, str.IAssistHelperN64.exe
lea rcx, [rsp + 0x68]
call fcn.14000c670
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000bc20
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b326
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14000d260
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.140061c40
test al, al
je 0x14005b6e0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14000d260
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rdx, str.IAssistHelperN64_found_so_call_IAssistHelperN64_and_exit_the_IAssistHelperN
lea rcx, [rbp + 0x18]
call fcn.14000c8e0
nop
mov r8d, r15d
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.14005c860
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14000d260
add rax, 0x18
mov qword [rbp - 0x10], rax
lea rdx, str.This_iAssistHelperN64_got_invoked
lea rcx, [rbp + 0x20]
call fcn.14000c8e0
nop
mov r8d, r15d
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.14005c860
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005b86d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
mov r8d, r15d
lea rdx, [0x14009a148]
lea rcx, [rbp - 0x38]
call fcn.14000d580
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14000d260
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rdx, str.utils_execute_command
lea rcx, [rbp + 0x28]
call fcn.14000c8e0
nop
mov r8d, edi
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.14005c860
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005b878
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x70], rax
mov r8d, r15d
lea rdx, [0x14009a148]
lea rcx, [rbp - 0x70]
call fcn.14000d580
lea rax, [rbp - 8]
mov qword [rsp + 0x40], rax
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005b883
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [0x140099334]
lea rcx, [rsp + 0x70]
call fcn.14000ce70
test al, al
jne 0x14005b4e2
lea rdx, [0x140099334]
lea rcx, [rsp + 0x70]
call fcn.14000c670
nop
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14005b4fe
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14005b50f
call fcn.14000db70
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14005b88e
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov ebx, 2
mov dword [rsp + 0x48], ebx
mov r9, qword [rsp + 0x70]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x78]
call fcn.14000d050
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 8]
call fcn.14000bc20
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14005e5d0
nop
and ebx, 0xfffffffd
mov dword [rsp + 0x48], ebx
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b595
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b5b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp]
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp - 0x40]
add rcx, 0xffffffffffffffe8
call fcn.14000d260
add rax, 0x18
mov qword [rbp - 0x50], rax
lea rdx, str.utils_execute_command_after_result
lea rcx, [rbp]
call fcn.14000c8e0
nop
mov r8d, edi
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.14005c860
lea rax, [rbp - 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14000d260
add rax, 0x18
mov qword [rbp - 0x48], rax
lea rdx, str.This_iAssistHelperN64_got_invoked_after_the_shell_execute_command
lea rcx, [rbp + 8]
call fcn.14000c8e0
nop
mov r8d, r15d
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.14005c860
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b661
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b67f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b69d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b6bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b6db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14005b7e6
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea rdx, [0x140099090]
lea rcx, [rbp - 0x68]
call fcn.14000c8e0
mov rbx, rax
lea rdx, str.IAssistHelperN64_not_found
lea rcx, [rbp - 0x60]
call fcn.14000c8e0
nop
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call fcn.14005c860
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b744
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005b762
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005b82b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, str.called
lea rcx, [rsp + 0x78]
call fcn.14000ce70
test al, al
jne 0x14005b7bc
lea rdx, str.called
lea rcx, [rsp + 0x78]
call fcn.14000c670
nop
mov rcx, r14
call fcn.14000d260
add rax, 0x18
mov qword [rbp - 0x30], rax
mov r8d, r15d
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x30]
call fcn.14005c860
mov ecx, r15d
call fcn.14000ebe0
nop
lock xadd dword [r14 + 0x10], edi
sub edi, 1
jg 0x14005b7fd
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 8]
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400693e0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
int3