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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x6a8
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x18007228c
cmp dword [rsp + 0x30], 2
jne 0x18007228c
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x308]
call fcn.1800056f0
nop
lea rax, [rsp + 0x478]
mov qword [rsp + 0x250], rax
lea rdx, [rsp + 0x308]
mov rcx, qword [rsp + 0x250]
call fcn.180005750
mov qword [rsp + 0x258], rax
mov rcx, qword [rsp + 0x258]
call fcn.1800c2970
lea rcx, [rsp + 0x3d0]
call fcn.1800c77f0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
lea r8, str._r__ww
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x3b0]
call fcn.180007f20
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
lea r8, [rsp + 0x308]
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x2e8]
call fcn.180008420
nop
lea rcx, [rsp + 0x3b0]
call fcn.180005580
nop
lea rcx, [rsp + 0x3d0]
call fcn.180005580
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x80], 0
jmp 0x1800721e9
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x64
jae 0x18007223a
lea rcx, [rsp + 0x2e8]
call fcn.1800c7cc0
movzx eax, al
test eax, eax
jne 0x18007220a
jmp 0x18007223a
lea rcx, [rsp + 0x2e8]
call fcn.180005490
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 1
jne 0x18007222d
jmp 0x18007223a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800721d6
cmp dword [rsp + 0x3c], 1
jne 0x180072271
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x34]
call fcn.180072d40
mov rcx, rax
call fcn.1800731f0
xor r9d, r9d
lea r8, [0x180140e4c]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rsp + 0x2e8]
call fcn.180005580
nop
lea rcx, [rsp + 0x308]
call fcn.180005580
call fcn.1800c0660
mov ecx, 0x30
call fcn.1800dbf60
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1800722c5
mov rcx, qword [rsp + 0x88]
call fcn.1800808c0
mov qword [rsp + 0x90], rax
jmp 0x1800722d1
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x368], rax
lea rcx, [rsp + 0x3f0]
call int.180069e70
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
lea r8, [0x180174360]
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x118]
call fcn.18002e490
nop
lea rcx, [rsp + 0x3f0]
call fcn.1800059c0
lea rcx, [rsp + 0x410]
call fcn.1800691d0
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x118]
call fcn.180051c40
nop
lea rcx, [rsp + 0x410]
call fcn.1800059c0
lea rcx, [rsp + 0x260]
call fcn.1800693e0
nop
mov ecx, 0x90
call fcn.1800dbf60
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x1800724ac
lea rax, [rsp + 0x498]
mov qword [rsp + 0x178], rax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x178]
call fcn.180005b50
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x4b8]
mov qword [rsp + 0x190], rax
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x190]
call fcn.180005b50
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0x4d8]
mov qword [rsp + 0x1a8], rax
lea rdx, [0x180174364]
mov rcx, qword [rsp + 0x1a8]
call fcn.1800056f0
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1c8], rax
mov r9, qword [rsp + 0x1b8]
mov r8, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x98]
call fcn.18001d910
mov qword [rsp + 0xa0], rax
jmp 0x1800724b8
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x370], rax
call fcn.1800c2ab0
movzx eax, al
test eax, eax
je 0x1800725a1
call fcn.18001dd80
cmp dword [rax], 1
jne 0x180072506
lea rdx, [rsp + 0x5fe]
lea rcx, [rsp + 0x35]
call fcn.180072de0
mov rcx, rax
call fcn.1800731b0
mov qword [rsp + 0xa8], rax
jmp 0x180072528
lea rdx, [rsp + 0x578]
lea rcx, [rsp + 0x36]
call fcn.180072e80
mov rcx, rax
call fcn.180073170
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x380]
call fcn.180005af0
nop
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x37]
call fcn.18003b4e0
mov rcx, rax
call fcn.180073130
mov qword [rsp + 0x1d0], rax
lea rcx, [rsp + 0x380]
call fcn.1800058d0
mov qword [rsp + 0x1d8], rax
mov r9d, 0x40030
mov r8, qword [rsp + 0x1d0]
mov rdx, qword [rsp + 0x1d8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rsp + 0x380]
call fcn.1800059c0
call fcn.1800c24b0
mov ecx, 0x50
call fcn.1800dbf60
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x1800725da
mov rcx, qword [rsp + 0xb0]
call fcn.18001dea0
mov qword [rsp + 0xb8], rax
jmp 0x1800725e6
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x378], rax
mov ecx, 0xb8
call fcn.1800dbf60
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x18007262a
mov rcx, qword [rsp + 0xc0]
call fcn.18001d5f0
mov qword [rsp + 0xc8], rax
jmp 0x180072636
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x2c0], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1800dbf60
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x18007267a
mov rcx, qword [rsp + 0xd0]
call fcn.18001d8c0
mov qword [rsp + 0xd8], rax
jmp 0x180072686
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x2c8], rax
call fcn.18001dd80
mov rcx, rax
call fcn.18001dc70
mov eax, dword [rax]
mov dword [rsp + 0x78], eax
call fcn.1800809d0
mov ecx, dword [rsp + 0x78]
mov dword [rax], ecx
call fcn.1800809d0
mov rcx, rax
call fcn.180081540
call fcn.1800c3980
cmp qword [rsp + 0x6b0], 0xfe5e11
jne 0x1800726de
mov dword [rsp + 0x50], 1
jmp 0x1800726e6
mov dword [rsp + 0x50], 0
call fcn.18001df00
movzx ecx, byte [rsp + 0x50]
mov byte [rax + 0x48], cl
call fcn.18001df00
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x180072705
call fcn.1800749a0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18003b510]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.18001df00
movzx eax, byte [rax + 0x48]
test eax, eax
jne 0x18007274e
mov r8b, 1
mov edx, 0xffffffff
mov ecx, 0x1e240
call fcn.1800712b0
call fcn.18006ee10
lea rax, [rsp + 0x4f8]
mov qword [rsp + 0x1e0], rax
call fcn.18001dd80
cmp dword [rax], 0
jne 0x18007278c
lea rdx, [rsp + 0x442]
lea rcx, [rsp + 0x38]
call fcn.180072f90
mov rcx, rax
call fcn.1800730f0
mov qword [rsp + 0xe0], rax
jmp 0x1800727ae
lea rdx, [rsp + 0x458]
lea rcx, [rsp + 0x39]
call fcn.180073030
mov rcx, rax
call fcn.1800730b0
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x1e0]
call fcn.180005af0
mov qword [rsp + 0x1e8], rax
mov r8b, 1
mov edx, 0xffff99
mov rcx, qword [rsp + 0x1e8]
call fcn.1800711d0
lea rcx, [rsp + 0xf8]
call fcn.18003f380
nop
lea rcx, [rsp + 0xf8]
call fcn.180020a60
movzx eax, al
test eax, eax
je 0x180072847
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x7c], 5
lea rcx, [rsp + 0xf8]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x260]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x118]
call fcn.1800059c0
mov eax, dword [rsp + 0x7c]
jmp 0x180072cc1
mov r8b, 1
mov edx, 0xffffffff
mov ecx, 0x1e240
call fcn.1800712b0
mov ecx, 0xb0
call fcn.1800dbf60
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
je 0x1800728d2
lea rax, [rsp + 0x518]
mov qword [rsp + 0x1f0], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x1f0]
call fcn.180005b50
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rax
mov rdx, qword [rsp + 0x200]
mov rcx, qword [rsp + 0xe8]
call fcn.180049eb0
mov qword [rsp + 0xf0], rax
jmp 0x1800728de
mov qword [rsp + 0xf0], 0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x2d0], rax
call fcn.18001df00
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x180072a03
lea rcx, [rsp + 0x2a0]
call fcn.1800744a0
nop
lea rcx, [rsp + 0x2a0]
call fcn.180020a60
movzx eax, al
test eax, eax
je 0x180072969
mov dword [rsp + 0x60], 0x58
lea rcx, [rsp + 0x2a0]
call fcn.1800059c0
nop
lea rcx, [rsp + 0xf8]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x260]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x118]
call fcn.1800059c0
mov eax, dword [rsp + 0x60]
jmp 0x180072cc1
lea rax, [rsp + 0x538]
mov qword [rsp + 0x208], rax
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rsp + 0x208]
call fcn.180005b50
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x210]
call fcn.18003edf0
mov dword [rsp + 0x64], eax
xor eax, eax
cmp eax, 1
je 0x1800729bb
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800729a7
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x2a0]
call fcn.1800059c0
nop
lea rcx, [rsp + 0xf8]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x260]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x118]
call fcn.1800059c0
mov eax, dword [rsp + 0x68]
jmp 0x180072cc1
cmp qword [rsp + 0x58], 0
je 0x180072c6e
cmp dword [rsp + 0x30], 2
jle 0x180072c6e
lea rdx, [0x180140e4d]
lea rcx, [rsp + 0x280]
call fcn.180005af0
nop
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x48], 1
jmp 0x180072a4f
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x30]
cmp qword [rsp + 0x48], rax
jae 0x180072b71
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rax + rcx*8]
lea rcx, [rsp + 0x348]
call fcn.1800056f0
nop
lea rcx, [rsp + 0x3a]
call fcn.1800053b0
mov qword [rsp + 0x228], rax
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x348]
call fcn.1800054b0
mov rax, qword [rax]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x348]
call fcn.180005520
mov rax, qword [rax]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x238], rax
mov r9, qword [rsp + 0x228]
mov r8, qword [rsp + 0x230]
mov rdx, qword [rsp + 0x238]
lea rcx, [rsp + 0x328]
call fcn.1800084c0
nop
cmp qword [rsp + 0x48], 1
jne 0x180072b30
lea rdx, [rsp + 0x328]
lea rcx, [rsp + 0x280]
call fcn.18002bdc0
cmp qword [rsp + 0x48], 2
jne 0x180072b51
lea rcx, [rsp + 0x328]
call fcn.1800058d0
mov rcx, rax
call fcn.1800ef410
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x328]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x348]
call fcn.180005580
jmp 0x180072a42
cmp dword [rsp + 0x40], 0x32
jl 0x180072b8b
lea rcx, [rsp + 0x280]
call fcn.1800058c0
cmp rax, 0x3c
jae 0x180072bd3
mov dword [rsp + 0x6c], 1
lea rcx, [rsp + 0x280]
call fcn.1800059c0
nop
lea rcx, [rsp + 0xf8]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x260]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x118]
call fcn.1800059c0
mov eax, dword [rsp + 0x6c]
jmp 0x180072cc1
lea rax, [rsp + 0x558]
mov qword [rsp + 0x240], rax
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x240]
call fcn.180005b50
mov qword [rsp + 0x248], rax
mov rdx, qword [rsp + 0x248]
mov ecx, dword [rsp + 0x40]
call fcn.18003ed40
mov dword [rsp + 0x70], eax
xor eax, eax
cmp eax, 1
je 0x180072c29
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180072c15
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x280]
call fcn.1800059c0
nop
lea rcx, [rsp + 0xf8]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x260]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x118]
call fcn.1800059c0
mov eax, dword [rsp + 0x74]
jmp 0x180072cc1
lea r8, [0x18003ee90]
mov edx, 0x1698
lea rcx, [rsp + 0x3b]
call fcn.180068390
xor eax, eax
cmp eax, 1
je 0x180072c98
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180072c84
lea rcx, [rsp + 0xf8]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x260]
call fcn.1800059c0
nop
lea rcx, [rsp + 0x118]
call fcn.1800059c0
add rsp, 0x6a8
ret