Function at 0x18000a490
Capabilities:
Create process on windows
Delete file
Enumerate processes
Get common file path
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb00]
sub rsp, 0xc00
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xc58], rbx
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0xaf0], rax
mov rax, r8
mov rsi, rdx
mov r14, rcx
cmp qword [rcx + 8], 0
jne 0x18000a4e3
xor al, al
jmp 0x18000b4d6
lea rbx, [rdx + 8]
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x2d0]
call fcn.180026c40
nop
xor edi, edi
mov qword [rbp + 0x2a0], rdi
mov qword [rbp + 0x2a8], rdi
mov qword [rbp + 0x2a8], 7
mov qword [rbp + 0x2a0], rdi
mov word [rbp + 0x290], di
cmp qword [rsi + 0x18], rdi
jbe 0x18000a61a
mov r8, rbx
lea rcx, [rsp + 0x38]
cmp qword [rsi + 0x80], rdi
jbe 0x18000a597
lea rdx, [rsi + 0x70]
call fcn.180026c40
mov r14, rax
lea rax, [rbp + 0x290]
cmp rax, r14
je 0x18000a595
cmp qword [rbp + 0x2a8], 8
jb 0x18000a56c
mov rcx, qword [rbp + 0x290]
call fcn.180139b7c
mov qword [rbp + 0x2a8], 7
mov qword [rbp + 0x2a0], rdi
mov word [rbp + 0x290], di
mov rdx, r14
lea rcx, [rbp + 0x290]
call fcn.180005250
nop
jmp 0x18000a5f5
mov rdx, qword [r14 + 8]
add rdx, 0x268
call fcn.180026c40
mov r14, rax
lea rax, [rbp + 0x290]
cmp rax, r14
je 0x18000a5f5
cmp qword [rbp + 0x2a8], 8
jb 0x18000a5cc
mov rcx, qword [rbp + 0x290]
call fcn.180139b7c
mov qword [rbp + 0x2a8], 7
mov qword [rbp + 0x2a0], rdi
mov word [rbp + 0x290], di
mov rdx, r14
lea rcx, [rbp + 0x290]
call fcn.180005250
nop
cmp qword [rsp + 0x50], 8
jb 0x18000a607
mov rcx, qword [rsp + 0x38]
call fcn.180139b7c
mov word [rsp + 0x38], di
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 7
mov eax, dword [rsi]
dec eax
cmp eax, 7
ja case.default.0x18000a63a
cdqe
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0xb500]
add rcx, rdx
jmp rcx
lea r8, [rbp + 0x290]
lea rdx, [rbp + 0x2d0]
call fcn.18000a300
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rdi
mov word [rbp - 0x20], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x40]
call fcn.180005330
call fcn.1800161f0
mov rbx, rax
mov edx, 4
mov rcx, rax
call fcn.180017420
mov esi, eax
test eax, eax
je 0x18000a77e
mov qword [rbp + 0x280], rdi
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
lea rdx, [0x1801a9900]
lea rcx, [rbp + 0x270]
call fcn.180022b70
cmp qword [rbx + 8], 0
je 0x18000a733
mov dword [rsp + 0x28], 0x2c7
lea r14, str.RC::RCTaskUpdate::RunWorkingFile
mov qword [rsp + 0x20], r14
lea r9, str.srcRCTaskUpdate.cpp
lea r8, [rbp + 0x270]
mov edx, 4
mov rcx, rbx
call fcn.1800174c0
cmp esi, 1
jbe 0x18000a74f
cmp qword [rbx + 8], 0
je 0x18000a74f
lea rdx, [rbp + 0x270]
mov rcx, rbx
call fcn.180017980
nop
cmp qword [rbp + 0x288], 8
jb 0x18000a765
mov rcx, qword [rbp + 0x270]
call fcn.180139b7c
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
lea rcx, [rbp - 0x40]
call fcn.18000b520
jmp 0x18000b29a
lea r8, [rbp + 0x290]
lea rdx, [rbp + 0x2d0]
call fcn.18000a300
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rdi
mov word [rbp - 0x20], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x40]
call fcn.180005330
call fcn.1800161f0
mov rbx, rax
mov edx, 4
mov rcx, rax
call fcn.180017420
mov esi, eax
test eax, eax
je 0x18000a8ce
mov qword [rbp + 0x280], rdi
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
lea rdx, [0x1801a9988]
lea rcx, [rbp + 0x270]
call fcn.180022b70
cmp qword [rbx + 8], 0
je 0x18000a883
mov dword [rsp + 0x28], 0x2d0
lea r14, str.RC::RCTaskUpdate::RunWorkingFile
mov qword [rsp + 0x20], r14
lea r9, str.srcRCTaskUpdate.cpp
lea r8, [rbp + 0x270]
mov edx, 4
mov rcx, rbx
call fcn.1800174c0
cmp esi, 1
jbe 0x18000a89f
cmp qword [rbx + 8], 0
je 0x18000a89f
lea rdx, [rbp + 0x270]
mov rcx, rbx
call fcn.180017980
nop
cmp qword [rbp + 0x288], 8
jb 0x18000a8b5
mov rcx, qword [rbp + 0x270]
call fcn.180139b7c
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
lea rcx, [rbp - 0x40]
call fcn.18000b520
jmp 0x18000b29a
lea r8, [rbp + 0x290]
lea rdx, [rbp + 0x2d0]
call fcn.18000a300
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rdi
mov word [rbp - 0x20], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x40]
call fcn.180005330
call fcn.1800161f0
mov rbx, rax
mov edx, 4
mov rcx, rax
call fcn.180017420
mov esi, eax
test eax, eax
je 0x18000aa1e
mov qword [rbp + 0x280], rdi
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
lea rdx, [0x1801a99c0]
lea rcx, [rbp + 0x270]
call fcn.180022b70
cmp qword [rbx + 8], 0
je 0x18000a9d3
mov dword [rsp + 0x28], 0x2da
lea r14, str.RC::RCTaskUpdate::RunWorkingFile
mov qword [rsp + 0x20], r14
lea r9, str.srcRCTaskUpdate.cpp
lea r8, [rbp + 0x270]
mov edx, 4
mov rcx, rbx
call fcn.1800174c0
cmp esi, 1
jbe 0x18000a9ef
cmp qword [rbx + 8], 0
je 0x18000a9ef
lea rdx, [rbp + 0x270]
mov rcx, rbx
call fcn.180017980
nop
cmp qword [rbp + 0x288], 8
jb 0x18000aa05
mov rcx, qword [rbp + 0x270]
call fcn.180139b7c
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
lea rcx, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 8
cmovae rcx, qword [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop
lea rcx, [rbp - 0x40]
test rax, rax
jne 0x18000a782
call fcn.18000b520
jmp case.default.0x18000a63a
call fcn.1800161f0
mov r15, rax
mov edx, 4
mov rcx, rax
call fcn.180017420
mov r12d, eax
test eax, eax
je 0x18000ab3e
mov qword [rbp + 0x280], rdi
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
cmp qword [rbx + 0x18], 8
jb 0x18000aaa6
mov r8, qword [rbx]
jmp 0x18000aaa9
mov r8, rbx
lea rdx, [0x1801a99f8]
lea rcx, [rbp + 0x270]
call fcn.180022b70
cmp qword [r15 + 8], 0
je 0x18000aaf2
mov dword [rsp + 0x28], 0x2e5
lea r14, str.RC::RCTaskUpdate::RunWorkingFile
mov qword [rsp + 0x20], r14
lea r9, str.srcRCTaskUpdate.cpp
lea r8, [rbp + 0x270]
mov edx, 4
mov rcx, r15
call fcn.1800174c0
cmp r12d, 1
jbe 0x18000ab0f
cmp qword [r15 + 8], 0
je 0x18000ab0f
lea rdx, [rbp + 0x270]
mov rcx, r15
call fcn.180017980
nop
cmp qword [rbp + 0x288], 8
jb 0x18000ab25
mov rcx, qword [rbp + 0x270]
call fcn.180139b7c
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
cmp qword [rsi + 0x18], 0
je 0x18000b29a
cmp qword [rbx + 0x18], 8
jb 0x18000ab55
mov rcx, qword [rbx]
jmp 0x18000ab58
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000ab91
cmp edi, 0xa
jg 0x18000ab91
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x18000ab91
cmp qword [rbx + 0x18], 8
jb 0x18000ab81
mov rcx, qword [rbx]
jmp 0x18000ab84
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
inc edi
test rax, rax
jne 0x18000ab63
cmp qword [rbx + 0x18], 8
jb 0x18000ab9b
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000b29a
jmp case.default.0x18000a63a
call fcn.1800161f0
mov rbx, rax
mov edx, 4
mov rcx, rax
call fcn.180017420
mov r15d, eax
test eax, eax
je 0x18000b29a
mov qword [rbp + 0x280], rdi
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
lea r8, [rsi + 0xd0]
cmp qword [r8 + 0x18], 8
jb 0x18000ac0a
mov r8, qword [r8]
lea rdx, [0x1801a9a30]
lea rcx, [rbp + 0x270]
call fcn.180022b70
cmp qword [rbx + 8], 0
je 0x18000ac53
mov dword [rsp + 0x28], 0x303
lea r14, str.RC::RCTaskUpdate::RunWorkingFile
mov qword [rsp + 0x20], r14
lea r9, str.srcRCTaskUpdate.cpp
lea r8, [rbp + 0x270]
mov edx, 4
mov rcx, rbx
call fcn.1800174c0
cmp r15d, 1
jbe 0x18000ac70
cmp qword [rbx + 8], 0
je 0x18000ac70
lea rdx, [rbp + 0x270]
mov rcx, rbx
call fcn.180017980
nop
cmp qword [rbp + 0x288], 8
jb 0x18000ac86
mov rcx, qword [rbp + 0x270]
call fcn.180139b7c
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], rdi
mov word [rbp + 0x270], di
jmp 0x18000b29a
lea r8, [rbp + 0x290]
lea rdx, [rbp + 0x2d0]
call fcn.18000a300
mov qword [rbp + 0x2c0], rdi
mov qword [rbp + 0x2c8], rdi
mov qword [rbp + 0x2c8], 7
mov qword [rbp + 0x2c0], rdi
mov word [rbp + 0x2b0], di
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x70], 0xf
mov qword [rbp - 0x78], rdi
mov byte [rsp + 0x78], 0
mov r8d, 7
lea rdx, str.cmdline
lea rcx, [rsp + 0x78]
call fcn.180002730
nop
lea r14, [rsi + 0xf0]
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.18000d2d0
mov rbx, rax
cmp rax, qword [r14]
je 0x18000ad44
lea rdx, [rax + 0x20]
lea rcx, [rsp + 0x78]
call fcn.18000c390
test eax, eax
js 0x18000ad44
mov qword [rsp + 0x30], rbx
jmp 0x18000ad4c
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 0x30]
mov rbx, qword [rbx]
cmp qword [rbp - 0x70], 0x10
jb 0x18000ad65
mov rcx, qword [rsp + 0x78]
call fcn.180139b7c
mov qword [rbp - 0x70], 0xf
mov qword [rbp - 0x78], rdi
mov byte [rsp + 0x78], 0
or rsi, 0xffffffffffffffff
cmp rbx, qword [r14]
je 0x18000ada1
lea rdx, [rbx + 0x40]
lea rax, [rbp + 0x2b0]
cmp rax, rdx
je 0x18000ada1
mov r9, rsi
xor r8d, r8d
lea rcx, [rbp + 0x2b0]
call fcn.180005330
xor r15b, r15b
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rdi
mov byte [rsp + 0x58], r15b
mov r8d, 9
lea rdx, str.iswaiting
lea rcx, [rsp + 0x58]
call fcn.180002730
nop
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.18000d2d0
mov rbx, rax
cmp rax, qword [r14]
je 0x18000ae07
lea rdx, [rax + 0x20]
lea rcx, [rsp + 0x58]
call fcn.18000c390
test eax, eax
js 0x18000ae07
mov qword [rsp + 0x30], rbx
jmp 0x18000ae0f
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 0x30]
mov rbx, qword [rbx]
cmp qword [rsp + 0x70], 0x10
jb 0x18000ae29
mov rcx, qword [rsp + 0x58]
call fcn.180139b7c
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rdi
mov byte [rsp + 0x58], 0
cmp rbx, qword [r14]
je 0x18000ae61
lea rcx, [rbx + 0x40]
lea rdx, [0x1801a8f58]
call fcn.18000e810
movzx r15d, r15b
mov r12d, 1
test al, al
cmovne r15d, r12d
call fcn.1800161f0
mov rbx, rax
mov edx, 4
mov rcx, rax
call fcn.180017420
mov r12d, eax
lea r14, str.RC::RCTaskUpdate::RunWorkingFile
test eax, eax
je 0x18000af44
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
lea r9, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 8
cmovae r9, qword [rbp + 0x2b0]
lea r8, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 8
cmovae r8, qword [rbp + 0x290]
lea rdx, [0x1801a9a78]
lea rcx, [rbp - 0x40]
call fcn.180022b70
cmp qword [rbx + 8], 0
je 0x18000af0a
mov dword [rsp + 0x28], 0x31d
mov qword [rsp + 0x20], r14
lea r9, str.srcRCTaskUpdate.cpp
lea r8, [rbp - 0x40]
mov edx, 4
mov rcx, rbx
call fcn.1800174c0
cmp r12d, 1
jbe 0x18000af24
cmp qword [rbx + 8], 0
je 0x18000af24
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.180017980
nop
cmp qword [rbp - 0x28], 8
jb 0x18000af34
mov rcx, qword [rbp - 0x40]
call fcn.180139b7c
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
xor eax, eax
mov qword [rbp + 0x270], rax
mov qword [rbp + 0x278], rax
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], rax
mov qword [rbp + 0x270], rdi
mov qword [rbp + 0x278], rdi
mov qword [rbp + 0x280], rdi
mov qword [rbp + 0x288], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
mov rax, qword [rbp + 0x280]
test rax, rax
je 0x18000afa4
cmp qword [rbp + 0x288], 0
jne 0x18000afa4
lea rcx, [rbp + 0x288]
call rax
xor r12b, r12b
cmp qword [rbp + 0x2a0], 0
jne 0x18000b00d
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x3c]
call fcn.180140c00
mov dword [rbp - 0x40], 0x70
lea rax, str.Open
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 8
cmovae rax, qword [rbp + 0x2b0]
mov qword [rbp - 0x28], rax
mov eax, dword [rbp - 0x3c]
mov ecx, 0x100
test r15b, r15b
cmovne eax, ecx
mov dword [rbp - 0x3c], eax
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x18000b20f
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov r8b, 1
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x290]
call fcn.180036a30
movzx r12d, al
test r15b, r15b
je 0x18000b20f
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18000b074
mov edx, 0x493e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000b125
call fcn.1800161f0
mov rbx, rax
mov edx, 4
mov rcx, rax
call fcn.180017420
mov r13d, eax
test eax, eax
je 0x18000b125
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
mov r8, r15
lea rdx, [0x1801a9ad0]
lea rcx, [rbp - 0x40]
call fcn.180022b70
cmp qword [rbx + 8], 0
je 0x18000b0eb
mov dword [rsp + 0x28], 0x33f
mov qword [rsp + 0x20], r14
lea r9, str.srcRCTaskUpdate.cpp
lea r8, [rbp - 0x40]
mov edx, 4
mov rcx, rbx
call fcn.1800174c0
cmp r13d, 1
jbe 0x18000b105
cmp qword [rbx + 8], 0
je 0x18000b105
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.180017980
nop
cmp qword [rbp - 0x28], 8
jb 0x18000b115
mov rcx, qword [rbp - 0x40]
call fcn.180139b7c
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
lea rcx, [rbp + 0x290]
call fcn.180067810
test al, al
jne 0x18000b20f
mov word [rbp + 0x2f0], di
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x2f2]
call fcn.180140c00
lea rdx, [rbp + 0x2f0]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x2f0]
xor r8d, r8d
lea rdx, [0x1801a8fc8]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rdi
mov word [rbp - 0x68], di
cmp word [rbp + 0x2f0], 0
jne 0x18000b1b8
mov rsi, rdi
jmp 0x18000b1ca
lea rax, [rbp + 0x2f0]
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x18000b1c0
mov r8, rsi
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp - 0x68]
call fcn.180005920
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x290]
call fcn.180067160
nop
cmp qword [rbp - 0x50], 8
jb 0x18000b1ff
mov rcx, qword [rbp - 0x68]
call fcn.180139b7c
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rdi
mov word [rbp - 0x68], di
mov rax, qword [rbp + 0x278]
test rax, rax
je 0x18000b225
mov rcx, qword [rbp + 0x288]
call rax
nop
lea rcx, [rbp + 0x270]
call fcn.18001b230
nop
test r12b, r12b
jne 0x18000b26b
cmp qword [rbp + 0x2c8], 8
jb 0x18000b24d
mov rcx, qword [rbp + 0x2b0]
call fcn.180139b7c
mov qword [rbp + 0x2c8], 7
mov qword [rbp + 0x2c0], rdi
mov word [rbp + 0x2b0], di
jmp case.default.0x18000a63a
cmp qword [rbp + 0x2c8], 8
jb 0x18000b281
mov rcx, qword [rbp + 0x2b0]
call fcn.180139b7c
mov qword [rbp + 0x2c8], 7
mov qword [rbp + 0x2c0], rdi
mov word [rbp + 0x2b0], di
mov bl, 1
jmp 0x18000b4ba
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp + 0x34]
call fcn.180140c00
mov dword [rbp + 0x30], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je case.default.0x18000a63a
mov r13d, edi
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov r12d, edi
mov dword [rsp + 0x30], edi
test eax, eax
je 0x18000b3dc
or rsi, 0xffffffffffffffff
lea r12d, [rsi + 2]
nop dword [rax + rax]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
cmp word [rbp + 0x5c], 0
jne 0x18000b329
mov r8, rdi
jmp 0x18000b33b
lea rax, [rbp + 0x5c]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x18000b330
lea rdx, [rbp + 0x5c]
lea rcx, [rsp + 0x38]
call fcn.180005920
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.180022200
test eax, eax
sete r14b
cmp qword [rsp + 0x50], 8
jb 0x18000b36f
mov rcx, qword [rsp + 0x38]
call fcn.180139b7c
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
test r14b, r14b
je 0x18000b39f
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x18000b3b5
lea rdx, [rbp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x18000b3d7
jmp 0x18000b300
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000b3dc
mov r12d, dword [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1800161f0
mov rsi, rax
mov edx, 4
mov rcx, rax
call fcn.180017420
mov r15d, eax
test eax, eax
je 0x18000b4af
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
cmp qword [rbx + 0x18], 8
jb 0x18000b427
mov rbx, qword [rbx]
mov dword [rsp + 0x20], r12d
mov r9d, r13d
mov r8, rbx
lea rdx, [0x1801a9b40]
lea rcx, [rbp - 0x40]
call fcn.180022b70
cmp qword [rsi + 8], 0
je 0x18000b475
mov dword [rsp + 0x28], 0x378
lea r14, str.RC::RCTaskUpdate::RunWorkingFile
mov qword [rsp + 0x20], r14
lea r9, str.srcRCTaskUpdate.cpp
lea r8, [rbp - 0x40]
mov edx, 4
mov rcx, rsi
call fcn.1800174c0
cmp r15d, 1
jbe 0x18000b48f
cmp qword [rsi + 8], 0
je 0x18000b48f
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.180017980
nop
cmp qword [rbp - 0x28], 8
jb 0x18000b49f
mov rcx, qword [rbp - 0x40]
call fcn.180139b7c
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
cmp r13d, 1
sete bl
jmp 0x18000b4ba
xor bl, bl
lea rcx, [rbp + 0x290]
call fcn.1800050b0
nop
lea rcx, [rbp + 0x2d0]
call fcn.1800050b0
movzx eax, bl
mov rcx, qword [rbp + 0xaf0]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0xc58]
add rsp, 0xc00
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret