Function at 0x406c90
Capabilities:
Delete file
Get hostname
Get session user name

Disassembly:
sub esp, 0x18c
push ebx
push ebp
push esi
push edi
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x10], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [0x4ae788]
cmp dword [eax + 0x3dc60], 1
jne 0x406ccf
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x406cdf
lea eax, [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov al, byte [esp + 0x34]
test al, al
jne 0x406d18
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x34]
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
mov edi, str.Standalone
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x84]
mov dl, byte [esp + 0x34]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + 0x35]
dec ecx
mov byte [esp + 0x85], dl
mov byte [esp + 0x86], al
mov cl, byte [esp + ecx + 0x33]
mov byte [esp + 0x84], cl
mov cl, byte [esp + 0x36]
mov byte [esp + 0x87], cl
mov eax, dword [esp + 0x84]
push eax
mov dword [0x4c0cf0], eax
call fcn.00415ac3
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 4
xor ebx, ebx
mov edx, dword [0x4ae788]
mov ecx, 0x14
xor eax, eax
mov edi, 0x4c0c3c
rep stosd dword es:[edi], eax
mov cx, word [edx + 0x66]
lea eax, [edx + 0x66]
push eax
push str._sTUCFILELOCK300
push 0x4c0c3c
mov word [0x4c0c3c], cx
call fcn.004157b1
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push 0x4c0c3c
call ebp
cmp eax, 0xffffffff
mov dword [0x4c0a68], eax
jne 0x406f13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x64
mov dword [0x4c0a6c], eax
je 0x406e4e
cmp ebx, 0x96
je 0x406e4e
cmp ebx, 0xfa
jle 0x406e89
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0xd4]
push 0x4c0c3c
lea edx, [esp + 0xd8]
push 0x4206e0
rep stosd dword es:[edi], eax
push edx
call fcn.004157b1
add esp, 0xc
lea eax, [esp + 0xd4]
push 0x40015
push 0x4206d4
push eax
push 0
call esi
cmp eax, 4
jne 0x406f08
jmp 0x406e89
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x138]
push 0x420690
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.004157b1
add esp, 8
lea edx, [esp + 0x138]
push 0x40010
push 0x4206d4
push edx
push 0
call esi
mov eax, dword [esp + 0x1a0]
inc ebx
cmp ebx, dword [eax + 4]
jg 0x406f13
call fcn.00415acd
mov edx, eax
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0x88]
push 0x42068c
push ecx
call fcn.004157b1
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x20]
mov dl, byte [esp + 0x90]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [esp + 0x91]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x30
call fcn.0041571f
add esp, 0x10
mov dword [0x4c0a30], eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406d83
push 0x4c0c3c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
push 0x4c3150
mov word [0x4c3370], 1
mov word [0x4c30e4], ax
mov word [0x4c0ce4], ax
mov dword [0x4c0cec], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x18c
ret