Function at 0x4142b0
Capabilities:
Acquire debug privileges
Connect pipe
Copy file
Create directory
Create thread
Delete directory
Read file on windows
Set registry value
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xec8
mov rax, qword [0x0042d620]
xor rax, rsp
mov qword [rsp + 0xeb0], rax
mov dword [rsp + 0x294], 0
mov qword [rsp + 0x298], 0
mov rax, qword [rsp + 0xed0]
movzx eax, word [rax]
test eax, eax
jne 0x41431a
mov r9d, InitCommonControls
lea r8, str.tcmadmin
lea rdx, str.This_program_is_internal_to_Total_Commander._Do_not_call_it_directly_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x415372
mov r8d, 0x103
lea rdx, str..PipeTcInstallPipe
lea rcx, [rsp + 0x80]
call fcn.00415400
lea rcx, [rsp + 0x80]
call fcn.00417030
lea rax, [rsp + rax*2 + 0x80]
mov qword [rsp + 0x50], rax
mov r8d, 0x103
mov rdx, qword [rsp + 0xed0]
lea rcx, [rsp + 0x80]
call fcn.004155a0
mov dx, 0x20
mov rcx, qword [rsp + 0x50]
call fcn.00417000
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x4143b5
mov rax, qword [rsp + 0x58]
mov word [rax], 0
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov r8d, 0x103
mov rdx, qword [rsp + 0x58]
lea rcx, [0x0042f9a0]
call fcn.00415400
jmp 0x4143be
mov word [0x0042f9a0], 0
lea rcx, [rsp + 0x80]
call fcn.00413f60
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x4143e2
mov eax, 1
jmp 0x415372
mov dword [0x0042f990], 0
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
lea r8, [0x00414200]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x68], rax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x41443d
mov dword [rsp + 0xe90], 1
jmp 0x414470
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x414457
mov dword [rsp + 0xe94], 1
jmp 0x414462
mov dword [rsp + 0xe94], 0
mov eax, dword [rsp + 0xe94]
mov dword [rsp + 0xe90], eax
mov eax, dword [rsp + 0xe90]
mov dword [rsp + 0x290], eax
mov dword [0x0042f990], 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x290], 0
jne 0x4144b2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x415372
xor eax, eax
cmp eax, 1
je 0x41535a
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xab4]
mov r8d, 0x800
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0xab0], eax
cmp dword [rsp + 0xab0], 0
je 0x414502
cmp dword [rsp + 0xab4], 0
jne 0x414507
jmp 0x41535a
mov eax, dword [rsp + 0xab4]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x2ac], eax
mov dword [rsp + 0x2a8], 0x78
mov dword [rsp + 0x2a4], 0
mov r8d, 7
lea rdx, str.MKLINK_t
lea rcx, [rsp + 0x2b0]
call fcn.00417ed0
test eax, eax
jne 0x414632
mov dx, 9
lea rcx, [rsp + 0x2b0]
call fcn.00417000
mov qword [rsp + 0xac0], rax
mov qword [rsp + 0xac8], 0
cmp qword [rsp + 0xac0], 0
je 0x4145a7
mov rax, qword [rsp + 0xac0]
add rax, 2
mov dx, 9
mov rcx, rax
call fcn.00417000
mov qword [rsp + 0xac8], rax
cmp qword [rsp + 0xac8], 0
je 0x41462d
mov rax, qword [rsp + 0xac0]
mov word [rax], 0
mov rax, qword [rsp + 0xac0]
add rax, 2
mov qword [rsp + 0xac0], rax
mov rax, qword [rsp + 0xac8]
mov word [rax], 0
mov rax, qword [rsp + 0xac8]
add rax, 2
mov qword [rsp + 0xac8], rax
mov r8, qword [rsp + 0xac0]
mov rdx, qword [rsp + 0xac8]
mov rcx, qword [rsp + 0xac0]
call fcn.00412580
test eax, eax
je 0x414622
mov dword [rsp + 0x2a8], 0
jmp 0x41462d
mov dword [rsp + 0x2a8], 1
jmp 0x4152bf
mov r8d, 5
lea rdx, str.COPY_t
lea rcx, [rsp + 0x2b0]
call fcn.00417ed0
test eax, eax
jne 0x41472e
mov dx, 9
lea rcx, [rsp + 0x2b0]
call fcn.00417000
mov qword [rsp + 0xad0], rax
mov qword [rsp + 0xad8], 0
cmp qword [rsp + 0xad0], 0
je 0x4146a4
mov rax, qword [rsp + 0xad0]
add rax, 2
mov dx, 9
mov rcx, rax
call fcn.00417000
mov qword [rsp + 0xad8], rax
cmp qword [rsp + 0xad8], 0
je 0x414729
mov rax, qword [rsp + 0xad0]
mov word [rax], 0
mov rax, qword [rsp + 0xad0]
add rax, 2
mov qword [rsp + 0xad0], rax
mov rax, qword [rsp + 0xad8]
mov word [rax], 0
mov rax, qword [rsp + 0xad8]
add rax, 2
mov qword [rsp + 0xad8], rax
mov r8d, 1
mov rdx, qword [rsp + 0xad8]
mov rcx, qword [rsp + 0xad0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41471e
mov dword [rsp + 0x2a8], 0
jmp 0x414729
mov dword [rsp + 0x2a8], 1
jmp 0x4152bf
mov r8d, 6
lea rdx, str.MKDIR_t
lea rcx, [rsp + 0x2b0]
call fcn.00417ed0
test eax, eax
jne 0x4147c4
mov dx, 9
lea rcx, [rsp + 0x2b0]
call fcn.00417000
mov qword [rsp + 0xae0], rax
cmp qword [rsp + 0xae0], 0
jne 0x41477d
mov dword [rsp + 0x2a8], 0xffffffff
jmp 0x4147bf
mov rax, qword [rsp + 0xae0]
add rax, 2
mov qword [rsp + 0xae0], rax
xor edx, edx
mov rcx, qword [rsp + 0xae0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4147b2
mov dword [rsp + 0x2a8], 0
jmp 0x4147bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x2a8], eax
jmp 0x4152bf
mov r8d, 6
lea rdx, str.RMDIR_t
lea rcx, [rsp + 0x2b0]
call fcn.00417ed0
test eax, eax
jne 0x414858
mov dx, 9
lea rcx, [rsp + 0x2b0]
call fcn.00417000
mov qword [rsp + 0xae8], rax
cmp qword [rsp + 0xae8], 0
jne 0x414813
mov dword [rsp + 0x2a8], 0xffffffff
jmp 0x414853
mov rax, qword [rsp + 0xae8]
add rax, 2
mov qword [rsp + 0xae8], rax
mov rcx, qword [rsp + 0xae8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x414846
mov dword [rsp + 0x2a8], 0
jmp 0x414853
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x2a8], eax
jmp 0x4152bf
mov r8d, 0xb
lea rdx, str.OPENHANDLE_t
lea rcx, [rsp + 0x2b0]
call fcn.00417ed0
test eax, eax
jne 0x414dd4
mov qword [rsp + 0xb10], 0xffffffffffffffff
mov qword [rsp + 0xb20], 0
mov dx, 9
lea rcx, [rsp + 0x2b0]
call fcn.00417000
mov qword [rsp + 0xb18], rax
mov qword [rsp + 0xaf8], 0
mov qword [rsp + 0xaf0], 0
mov qword [rsp + 0xb08], 0
mov dword [rsp + 0xb28], 0
mov dword [rsp + 0xb00], 0
mov dword [rsp + 0x2a8], 0xffffffff
cmp qword [rsp + 0xb18], 0
je 0x414928
mov rax, qword [rsp + 0xb18]
add rax, 2
mov qword [rsp + 0xb18], rax
mov dx, 9
mov rcx, qword [rsp + 0xb18]
call fcn.00417000
mov qword [rsp + 0xaf8], rax
cmp qword [rsp + 0xaf8], 0
je 0x414981
mov rax, qword [rsp + 0xaf8]
mov word [rax], 0
mov rax, qword [rsp + 0xaf8]
add rax, 2
mov qword [rsp + 0xaf8], rax
mov rcx, qword [rsp + 0xb18]
call fcn.00417c40
mov dword [rsp + 0xb28], eax
mov dx, 9
mov rcx, qword [rsp + 0xaf8]
call fcn.00417000
mov qword [rsp + 0xaf0], rax
cmp qword [rsp + 0xaf0], 0
je 0x4149c6
mov rax, qword [rsp + 0xaf0]
mov word [rax], 0
mov rax, qword [rsp + 0xaf0]
add rax, 2
mov qword [rsp + 0xaf0], rax
mov dx, 9
mov rcx, qword [rsp + 0xaf0]
call fcn.00417000
mov qword [rsp + 0xb08], rax
cmp qword [rsp + 0xb08], 0
je 0x414a06
mov rax, qword [rsp + 0xb08]
mov word [rax], 0
mov rax, qword [rsp + 0xb08]
add rax, 2
mov qword [rsp + 0xb08], rax
mov rcx, qword [rsp + 0xaf0]
call fcn.00417c40
mov dword [rsp + 0xb00], eax
cmp dword [rsp + 0xb28], 0
je 0x414a38
cmp qword [rsp + 0xb08], 0
je 0x414a38
mov r8d, dword [rsp + 0xb28]
xor edx, edx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0xb20], rax
cmp qword [rsp + 0xb20], 0
jne 0x414a84
cmp dword [0x0042eb70], 0
jne 0x414a84
mov dword [0x0042eb70], 1
mov edx, 1
lea rcx, str.SeDebugPrivilege
call fcn.00413b90
mov r8d, dword [rsp + 0xb28]
xor edx, edx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0xb20], rax
cmp qword [rsp + 0xb20], 0
je 0x414c00
mov dword [rsp + 0x2a4], 1
mov dword [rsp + 0xb40], 0x80000000
mov dx, 0x57
mov rcx, qword [rsp + 0xaf8]
call fcn.004141c0
test eax, eax
je 0x414ad1
mov eax, dword [rsp + 0xb40]
or eax, 0x40000000
mov dword [rsp + 0xb40], eax
mov dword [rsp + 0xb38], 0
mov dx, 0x72
mov rcx, qword [rsp + 0xaf8]
call fcn.004141c0
test eax, eax
je 0x414b02
mov eax, dword [rsp + 0xb38]
or eax, 1
mov dword [rsp + 0xb38], eax
mov dx, 0x77
mov rcx, qword [rsp + 0xaf8]
call fcn.004141c0
test eax, eax
je 0x414b28
mov eax, dword [rsp + 0xb38]
or eax, 2
mov dword [rsp + 0xb38], eax
mov dword [rsp + 0xb3c], 3
mov dx, 0x4e
mov rcx, qword [rsp + 0xaf8]
call fcn.004141c0
test eax, eax
je 0x414b55
mov dword [rsp + 0xb3c], 1
jmp 0x414bb9
mov dx, 0x41
mov rcx, qword [rsp + 0xaf8]
call fcn.004141c0
test eax, eax
je 0x414b77
mov dword [rsp + 0xb3c], 2
jmp 0x414bb9
mov dx, 0x4f
mov rcx, qword [rsp + 0xaf8]
call fcn.004141c0
test eax, eax
je 0x414b99
mov dword [rsp + 0xb3c], 4
jmp 0x414bb9
mov dx, 0x54
mov rcx, qword [rsp + 0xaf8]
call fcn.004141c0
test eax, eax
je 0x414bb9
mov dword [rsp + 0xb3c], 5
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0xb00]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xb3c]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0xb38]
mov edx, dword [rsp + 0xb40]
mov rcx, qword [rsp + 0xb08]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xb10], rax
cmp qword [rsp + 0xb10], 0xffffffffffffffff
je 0x414c77
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xb48]
mov r8, qword [rsp + 0xb20]
mov rdx, qword [rsp + 0xb10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x414c77
mov dword [rsp + 0x2a8], 0
mov rcx, qword [rsp + 0xb10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0xb48]
mov qword [rsp + 0xb10], rax
cmp qword [rsp + 0xb10], 0xffffffffffffffff
je 0x414d13
mov r8d, 0xa
lea rdx, [rsp + 0x2b0]
xor ecx, ecx
call fcn.00417b50
lea rcx, [rsp + 0x2b0]
call fcn.00417030
lea rax, [rsp + rax*2 + 0x2b2]
mov qword [rsp + 0xb30], rax
mov r8d, 0xa
mov rdx, qword [rsp + 0xb30]
mov ecx, dword [rsp + 0xb10]
call fcn.00417b50
lea rcx, [rsp + 0x2b0]
call fcn.00417030
mov qword [rsp + 0xe98], rax
mov rcx, qword [rsp + 0xb30]
call fcn.00417030
mov rcx, qword [rsp + 0xe98]
add rcx, rax
mov rax, rcx
lea rax, [rax + rax + 4]
mov dword [rsp + 0xab8], eax
jmp 0x414db6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xa
lea rdx, [rsp + 0x2b0]
mov ecx, eax
call fcn.00417b50
lea rcx, [rsp + 0x2b0]
call fcn.00417030
lea rax, [rsp + rax*2 + 0x2b2]
mov qword [rsp + 0xb30], rax
mov rcx, qword [rsp + 0xb30]
call fcn.00417030
mov rcx, qword [rsp + 0xb30]
lea rax, [rcx + rax*2 + 2]
mov r8d, 0xa
mov rdx, rax
mov ecx, dword [rsp + 0xb10]
call fcn.00417b50
lea rcx, [rsp + 0x2b0]
call fcn.00417030
mov qword [rsp + 0xea0], rax
mov rcx, qword [rsp + 0xb30]
call fcn.00417030
mov rcx, qword [rsp + 0xea0]
add rcx, rax
mov rax, rcx
lea rax, [rax + rax + 4]
mov dword [rsp + 0xab8], eax
cmp qword [rsp + 0xb20], 0
je 0x414dcf
mov rcx, qword [rsp + 0xb20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4152bf
mov r8d, 9
lea rdx, str.CREATEKEY
lea rcx, [rsp + 0x2b0]
call fcn.00417ed0
test eax, eax
jne 0x414f32
mov dx, 9
lea rcx, [rsp + 0x2b0]
call fcn.00417000
mov qword [rsp + 0xb50], rax
mov qword [rsp + 0xb58], 0
cmp qword [rsp + 0xb50], 0
je 0x414e46
mov rax, qword [rsp + 0xb50]
add rax, 2
mov dx, 9
mov rcx, rax
call fcn.00417000
mov qword [rsp + 0xb58], rax
cmp qword [rsp + 0xb58], 0
je 0x414f2d
mov rax, qword [rsp + 0xb50]
mov word [rax], 0
mov rax, qword [rsp + 0xb50]
add rax, 2
mov qword [rsp + 0xb50], rax
mov rax, qword [rsp + 0xb58]
mov word [rax], 0
mov rax, qword [rsp + 0xb58]
add rax, 2
mov qword [rsp + 0xb58], rax
mov rax, qword [rsp + 0xb58]
movzx eax, word [rax]
cmp eax, 0x31
jne 0x414eb4
mov dword [rsp + 0xea8], 0x200
jmp 0x414ebf
mov dword [rsp + 0xea8], 0
mov eax, dword [rsp + 0xea8]
or eax, 2
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x298]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xb50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x414f20
mov dword [rsp + 0x2a8], 0
jmp 0x414f2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x2a8], eax
jmp 0x4152bf
mov r8d, InitCommonControls
lea rdx, str.REGSETSTRING
lea rcx, [rsp + 0x2b0]
call fcn.00417ed0
test eax, eax
jne 0x4150e2
mov dx, 9
lea rcx, [rsp + 0x2b0]
call fcn.00417000
mov qword [rsp + 0xb60], rax
mov qword [rsp + 0xb68], 0
cmp qword [rsp + 0xb60], 0
je 0x414fa4
mov rax, qword [rsp + 0xb60]
add rax, 2
mov dx, 9
mov rcx, rax
call fcn.00417000
mov qword [rsp + 0xb68], rax
cmp qword [rsp + 0xb68], 0
je 0x4150dd
mov rax, qword [rsp + 0xb60]
mov word [rax], 0
mov rax, qword [rsp + 0xb60]
add rax, 2
mov qword [rsp + 0xb60], rax
mov rax, qword [rsp + 0xb68]
mov word [rax], 0
mov rax, qword [rsp + 0xb68]
add rax, 2
mov qword [rsp + 0xb68], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xfe
lea rax, [rsp + 0xc70]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0xb60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xfe
lea rax, [rsp + 0xb70]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0xb68]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp qword [rsp + 0x298], 0
je 0x4150d0
lea rcx, [rsp + 0xb70]
call fcn.004161d0
add rax, 1
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xb70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0xc70]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4150d0
mov dword [rsp + 0x2a8], 0
jmp 0x4150dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x2a8], eax
jmp 0x4152bf
mov r8d, 0xb
lea rdx, str.REGSETDWORD
lea rcx, [rsp + 0x2b0]
call fcn.00417ed0
test eax, eax
jne 0x415257
mov dx, 9
lea rcx, [rsp + 0x2b0]
call fcn.00417000
mov qword [rsp + 0xd70], rax
mov qword [rsp + 0xd78], 0
cmp qword [rsp + 0xd70], 0
je 0x415154
mov rax, qword [rsp + 0xd70]
add rax, 2
mov dx, 9
mov rcx, rax
call fcn.00417000
mov qword [rsp + 0xd78], rax
cmp qword [rsp + 0xd78], 0
je 0x415255
mov rax, qword [rsp + 0xd70]
mov word [rax], 0
mov rax, qword [rsp + 0xd70]
add rax, 2
mov qword [rsp + 0xd70], rax
mov rax, qword [rsp + 0xd78]
mov word [rax], 0
mov rax, qword [rsp + 0xd78]
add rax, 2
mov qword [rsp + 0xd78], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xfe
lea rax, [rsp + 0xd90]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0xd70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsp + 0xd78]
call fcn.00417c40
mov dword [rsp + 0xd80], eax
cmp qword [rsp + 0x298], 0
je 0x415248
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xd80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0xd90]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x415248
mov dword [rsp + 0x2a8], 0
jmp 0x415255
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x2a8], eax
jmp 0x4152bf
mov r8d, 8
lea rdx, str.CLOSEKEY
lea rcx, [rsp + 0x2b0]
call fcn.00417ed0
test eax, eax
jne 0x41529c
cmp qword [rsp + 0x298], 0
je 0x41528e
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x298], 0
jmp 0x4152bf
lea rdx, str.QUIT
lea rcx, [rsp + 0x2b0]
call fcn.00417320
test eax, eax
jne 0x4152bf
mov dword [rsp + 0x2a8], 0
cmp dword [rsp + 0x2a4], 0
jne 0x4152fc
mov r8d, 0xa
lea rdx, [rsp + 0x2b0]
mov ecx, dword [rsp + 0x2a8]
call fcn.00417b50
lea rcx, [rsp + 0x2b0]
call fcn.00417030
lea rax, [rax + rax + 2]
mov dword [rsp + 0xab8], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xab4]
mov r8d, dword [rsp + 0xab8]
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0xab0], eax
cmp dword [rsp + 0xab0], 0
jne 0x41533b
jmp 0x41535a
lea rdx, str.QUIT
lea rcx, [rsp + 0x2b0]
call fcn.00417e20
test eax, eax
jne 0x415355
jmp 0x41535a
jmp 0x4144b2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0xeb0]
xor rcx, rsp
call fcn.00416330
add rsp, 0xec8
ret