Function at 0x4072e1
Capabilities:
Accept command line arguments
Check os version
Get session user name
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13ec
call fcn.00419050
push ebx
push esi
push edi
lea eax, [esp + 0x44]
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 0x407333
mov eax, dword [esp + 0x44]
cmp eax, 2
jle 0x407333
add eax, 0xfffffffe
push eax
call fcn.004046cc
push eax
lea eax, [esi + 8]
call fcn.0040356a
test al, al
je 0x407333
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x70]
lea esi, [esp + 0x458]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0xfa
mov dword [esp + 0x2c], 2
mov byte [esp + 0x13], 0
push 0
call edi
mov eax, dword [esp + 0x1c]
mov al, byte [eax]
mov cl, byte [esp + 0x2c]
add dword [esp + 0x2c], 2
and al, 0xc0
shr al, cl
or byte [esp + 0x13], al
inc dword [esp + 0x1c]
inc esi
cmp dword [esp + 0x2c], 5
jl 0x407364
inc esi
dec dword [esp + 0x14]
jne 0x407357
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esi + 2], 0
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov edx, ecx
and edx, 0x80000001
jns 0x4073c5
dec edx
or edx, 0xfffffffe
inc edx
cmp word [eax + edx*2], 0
je 0x4073d7
add ecx, 0xa
cmp ecx, 0xc8
jl 0x4073b6
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 0x70]
push eax
call esi
call fcn.00403925
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x70]
push eax
call esi
lea eax, [esp + 0x70]
lea esi, [esp + 0x458]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], 0xfa
mov dword [esp + 0x1c], 2
mov byte [esp + 0x13], 0
push 0
call edi
mov eax, dword [esp + 0x30]
mov al, byte [eax]
mov cl, byte [esp + 0x1c]
add dword [esp + 0x1c], 2
and al, 0xc0
shr al, cl
or byte [esp + 0x13], al
inc dword [esp + 0x30]
inc esi
cmp dword [esp + 0x1c], 5
jl 0x407433
inc esi
dec dword [esp + 0x14]
jne 0x407426
mov byte [esi + 2], 0
mov dword [esp + 0x14], 1
xor esi, esi
inc esi
push 1
call edi
push 0
call edi
call fcn.00403925
sub eax, dword [esp + 0x2c]
cmp eax, 0xa
ja 0x40748c
inc esi
cmp esi, 8
jle 0x407470
call fcn.00403925
sub eax, dword [esp + 0x2c]
cmp eax, 0xa
ja 0x407662
fild dword [esp + 0x14]
xor esi, esi
inc esi
mov dword [esp + 0x18], esi
fdiv qword [0x4237e0]
fsub qword [0x4237d8]
fmul qword [0x4237d0]
fstp qword [esp + 0x48]
jmp 0x4074c4
xor esi, esi
inc esi
fild dword [esp + 0x18]
push esi
fdiv qword [0x4237c8]
fsub qword [0x4237d8]
fmul qword [0x4237d0]
fsub qword [0x4237c0]
fstp qword [esp + 0x34]
call edi
push 0
call edi
fldz
fst qword [esp + 0x38]
mov dword [esp + 0x1c], esi
fstp qword [esp + 0x20]
call fcn.00403925
sub eax, dword [esp + 0x2c]
cmp eax, 0xa
ja 0x407561
fld qword [esp + 0x38]
fmul qword [esp + 0x38]
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
fsubp st(1)
fadd qword [esp + 0x30]
fld qword [esp + 0x38]
fadd st(0), st(0)
fmul qword [esp + 0x20]
fadd qword [esp + 0x48]
fstp qword [esp + 0x20]
fst qword [esp + 0x38]
fld st(0)
fmulp st(1)
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
faddp st(1)
fcomp qword [0x4237b8]
fnstsw ax
test ah, 0x41
jne 0x407556
mov dword [esp + 0x1c], 0x1869f
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0x64
jl 0x4074f9
call fcn.00403925
sub eax, dword [esp + 0x2c]
cmp eax, 0xa
ja 0x407642
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x70]
lea esi, [esp + 0x458]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0xfa
mov dword [esp + 0x30], 2
mov byte [esp + 0x13], 0
push 0
call edi
mov eax, dword [esp + 0x38]
mov al, byte [eax]
mov cl, byte [esp + 0x30]
add dword [esp + 0x30], 2
and al, 0xc0
shr al, cl
or byte [esp + 0x13], al
inc dword [esp + 0x38]
inc esi
cmp dword [esp + 0x30], 5
jl 0x4075b2
inc esi
dec dword [esp + 0x20]
jne 0x4075a5
push 0x1a
mov byte [esi + 2], 0
pop esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x28], 0x214
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
dec esi
jne 0x4075e7
cmp dword [esp + 0x1c], 0x1869f
jge 0x407642
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov edx, ecx
and edx, 0x80000001
jns 0x407623
dec edx
or edx, 0xfffffffe
inc edx
cmp word [eax + edx*2], 0
je 0x407630
inc ecx
cmp ecx, 0x14
jl 0x407614
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0xaa
jle 0x4074c1
call fcn.00403925
sub eax, dword [esp + 0x2c]
cmp eax, 0xa
ja 0x407662
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x141
jle 0x40746d
push 0
call dword [sym.imp.USER32.dll_GetKeyboardType]
lea eax, [esp + 0x70]
lea esi, [esp + 0x458]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0xfa
mov dword [esp + 0x14], 2
mov byte [esp + 0x13], 0
push 0
call edi
mov eax, dword [esp + 0x18]
mov al, byte [eax]
mov cl, byte [esp + 0x14]
add dword [esp + 0x14], 2
and al, 0xc0
shr al, cl
or byte [esp + 0x13], al
inc dword [esp + 0x18]
inc esi
cmp dword [esp + 0x14], 5
jl 0x40768e
inc esi
dec dword [esp + 0x20]
jne 0x407681
mov byte [esi + 2], 0
call fcn.004046cc
mov ecx, dword [ebp + 8]
mov dword [eax + 0x5804], ecx
lea eax, [esp + 0x70]
lea esi, [esp + 0x458]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0xfa
mov dword [esp + 0x14], 2
mov byte [esp + 0x13], 0
push 0
call edi
mov eax, dword [esp + 0x18]
mov al, byte [eax]
mov cl, byte [esp + 0x14]
add dword [esp + 0x14], 2
and al, 0xc0
shr al, cl
or byte [esp + 0x13], al
inc dword [esp + 0x18]
inc esi
cmp dword [esp + 0x14], 5
jl 0x4076f2
inc esi
dec dword [esp + 0x20]
jne 0x4076e5
mov byte [esi + 2], 0
call fcn.004046cc
call fcn.0040778f
lea eax, [esp + 0x70]
lea esi, [esp + 0x458]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0xfa
mov dword [esp + 0x14], 2
mov byte [esp + 0x13], 0
push 0
call edi
mov eax, dword [esp + 0x18]
mov al, byte [eax]
mov cl, byte [esp + 0x14]
add dword [esp + 0x14], 2
and al, 0xc0
shr al, cl
or byte [esp + 0x13], al
inc dword [esp + 0x18]
inc esi
cmp dword [esp + 0x14], 5
jl 0x407752
inc esi
dec dword [esp + 0x20]
jne 0x407745
pop edi
mov byte [esi + 2], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10