Function at 0x14000615c
Capabilities:
Create process on windows
Get system information on windows
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x350
mov rax, qword [0x140027028]
xor rax, rsp
mov qword [rsp + 0x340], rax
xor esi, esi
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
call fcn.14001f0fc
lea ebp, [rsi + 1]
cmp eax, esi
mov ebx, eax
jl 0x1400063d8
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r11d, dword [rsp + 0x94]
mov eax, 0x10000
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
mov dword [0x140028480], r11d
mov dword [0x140028484], 0x3c
mov dword [0x140028488], ebp
mov dword [0x14002848c], eax
mov dword [0x140028490], ebp
mov dword [0x140028494], eax
mov dword [0x140028498], ebp
mov dword [0x14002849c], eax
mov dword [0x1400284a0], ebp
call fcn.140005760
cmp eax, esi
mov ebx, eax
jl 0x1400063d8
cmp eax, ebp
je 0x1400063d6
cmp dword [rsp + 0x54], esi
je 0x14000623d
xor edx, edx
xor ecx, ecx
call fcn.140005c7c
mov ebx, eax
jmp 0x1400063d8
cmp dword [rsp + 0x50], esi
je 0x140006387
mov ebx, 0x68
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8, rbx
call fcn.140014560
lea rdx, [rsp + 0x130]
mov r8d, 0x104
xor ecx, ecx
mov dword [rsp + 0xc0], ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, esi
jne 0x14000629b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
cmp ebx, esi
jl 0x1400063d8
lea r8, [rsp + 0x58]
lea rdx, [0x1400211a0]
lea rcx, [0x140020f40]
xor r9d, r9d
call fcn.140011008
cmp eax, esi
mov ebx, eax
jl 0x1400063d8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x130]
xor r9d, r9d
mov r8d, ebp
call fcn.140010d5c
cmp eax, esi
mov ebx, eax
jl 0x1400063d8
mov rcx, qword [rsp + 0x58]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov r8, qword [rsp + 0x58]
lea rdx, str.__s___standalone
lea rcx, [rsp + 0x60]
call fcn.140010798
cmp eax, esi
mov ebx, eax
jl 0x1400063d8
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
jne 0x14000636f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
cmp ebx, esi
jl 0x1400063d8
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400063d8
mov rax, qword [section..data]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x70], rax
lea rax, [0x14000ea08]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x78], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
cmp eax, esi
jne 0x1400063d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
cmp ebx, esi
jl 0x1400063d8
mov ebx, esi
cmp dword [0x1400284b0], esi
je 0x1400063e7
mov ecx, ebp
call fcn.14001345c
mov rcx, qword [rsp + 0x60]
cmp rcx, rsi
je 0x1400063f6
call fcn.140010338
mov rcx, qword [rsp + 0x58]
cmp rcx, rsi
je 0x140006405
call fcn.140010338
call fcn.140015a94
mov eax, ebx
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1400143fc
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rsi
ret