Function at 0x180016430
Capabilities:
Accept command line arguments
Delete file

Disassembly:
sub rsp, 0x368
mov dword [rsp + 0x2c], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1800165a2
cmp dword [rsp + 0x2c], 2
jne 0x1800165a2
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x158]
call fcn.180004cf0
lea rcx, [rsp + 0x1f8]
call fcn.180016080
lea r8, [0x180059f90]
mov rdx, rax
lea rcx, [rsp + 0x1d8]
call fcn.18001b160
lea r8, [rsp + 0x158]
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.18001b250
lea rcx, [rsp + 0x1d8]
call fcn.180001a10
lea rcx, [rsp + 0x1f8]
call fcn.180001a10
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
jmp 0x180016504
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x64
jae 0x180016552
lea rcx, [rsp + 0x118]
call fcn.180016200
movzx eax, al
test eax, eax
jne 0x180016522
jmp 0x180016552
lea rcx, [rsp + 0x118]
call fcn.180006f70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 1
jne 0x180016545
jmp 0x180016552
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800164f7
cmp dword [rsp + 0x28], 1
jne 0x180016588
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x20]
call fcn.180016990
mov rcx, rax
call fcn.180017710
xor r9d, r9d
lea r8, [0x1800599bc]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x118]
call fcn.180001a10
lea rcx, [rsp + 0x158]
call fcn.180001a10
lea rcx, [rsp + 0xd0]
call fcn.180016150
lea rcx, [rsp + 0x21]
call fcn.180001bb0
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0xd0]
call fcn.180006f90
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xd0]
call fcn.180007040
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x1b8]
call fcn.18000db90
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x218]
call fcn.180015fb0
lea rcx, [rsp + 0x218]
call fcn.180001a10
lea rdx, [rsp + 0x26a]
lea rcx, [rsp + 0x22]
call fcn.180016a30
mov rcx, rax
call fcn.1800176d0
mov rdx, rax
lea rcx, [rsp + 0x178]
call fcn.180004cf0
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x48]
call fcn.1800162b0
lea rcx, [rsp + 0x178]
call fcn.180001a10
lea rcx, [rsp + 0x48]
call fcn.1800068c0
movzx eax, al
test eax, eax
je 0x18001688e
lea rdx, [0x1800599bd]
lea rcx, [rsp + 0x198]
call fcn.180007390
lea rdx, [rsp + 0x2e2]
lea rcx, [rsp + 0x23]
call fcn.180016ad0
mov rcx, rax
call fcn.180017690
mov rdx, rax
lea rcx, [rsp + 0x138]
call fcn.180004cf0
lea rdx, [rsp + 0x286]
lea rcx, [rsp + 0x24]
call fcn.180016a30
mov rcx, rax
call fcn.1800176d0
mov r8, rax
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x238]
call fcn.18001b0a0
mov rcx, rax
call fcn.180006f70
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.18001cc80
lea rcx, [rsp + 0x238]
call fcn.180001a10
lea rcx, [rsp + 0xb8]
call fcn.1800068c0
movzx eax, al
test eax, eax
jne 0x180016806
lea rcx, [rsp + 0xb8]
call fcn.180017750
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xb8]
call fcn.1800102b0
mov qword [rsp + 0x88], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.180013610
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0xb8]
call fcn.180017780
lea rcx, [rsp + 0x138]
call fcn.180001a10
lea rcx, [rsp + 0x198]
call fcn.180007290
lea rcx, [rsp + 0x48]
call fcn.180017780
lea rcx, [rsp + 0x1b8]
call fcn.180007290
lea rcx, [rsp + 0xd0]
call fcn.180001a10
mov eax, dword [rsp + 0x30]
jmp 0x180016916
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x25]
call fcn.180016ba0
mov rcx, rax
call fcn.180018970
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x2a2]
lea rcx, [rsp + 0x26]
call fcn.180016b70
mov rcx, rax
call fcn.180017650
mov qword [rsp + 0x98], rax
xor r9d, r9d
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0xb8]
call fcn.180017780
lea rcx, [rsp + 0x138]
call fcn.180001a10
lea rcx, [rsp + 0x198]
call fcn.180007290
jmp 0x1800168e6
lea rcx, [rsp + 0x48]
call fcn.1800068c0
movzx eax, al
test eax, eax
jne 0x1800168e6
lea rcx, [rsp + 0x48]
call fcn.180017750
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x48]
call fcn.1800102b0
mov qword [rsp + 0xa8], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.180013610
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x48]
call fcn.180017780
lea rcx, [rsp + 0x1b8]
call fcn.180007290
lea rcx, [rsp + 0xd0]
call fcn.180001a10
mov eax, dword [rsp + 0x34]
add rsp, 0x368
ret