Function at 0x100604c0
Capabilities:
Delete file

Disassembly:
mov eax, 0x382c
call fcn.102244a0
push ebx
push ebp
push esi
push edi
mov ecx, 5
mov esi, str.C:Windows_temp.exe
lea edi, [esp + 0x3c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0xfa
lea edi, [esp + 0x52]
rep stosd dword es:[edi], eax
mov ecx, dword [0x10266204]
mov edx, dword [0x10266208]
stosw word es:[edi], ax
mov eax, dword [str.C:Windows.exe]
mov dword [esp + 0x440], ecx
mov cl, byte [0x10266210]
mov dword [esp + 0x43c], eax
mov eax, dword [0x1026620c]
mov byte [esp + 0x44c], cl
mov dword [esp + 0x448], eax
mov ecx, 0xfb
xor eax, eax
lea edi, [esp + 0x44d]
mov dword [esp + 0x444], edx
mov esi, str.will_be_replaced_with_localappdatas_temp_folder_path_7
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xd
lea edi, [esp + 0x83c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xf2
xor eax, eax
lea edi, [esp + 0x873]
mov esi, str.will_be_replaced_with_startuppath
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 8
lea edi, [esp + 0xc3c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ebx, dword [esp + 0x3840]
mov ecx, 0xf7
xor eax, eax
lea edi, [esp + 0xc5e]
rep stosd dword es:[edi], eax
push 0x5c
push ebx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
add esp, 8
test edx, edx
je 0x10060781
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
sub edx, ebx
sub edx, 4
mov ecx, 0x100
push edx
xor eax, eax
lea edi, [esp + 0x840]
lea edx, [esp + 0x840]
push ebx
push edx
rep stosd dword es:[edi], eax
call ebp
mov edi, 0x10265244
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x848]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10265e9c
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 ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 0x14
test edx, edx
je 0x10060781
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0xc3c]
sub edx, ebx
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0xc40]
push ebx
push eax
call ebp
mov edi, str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup.exe
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc3c]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push 0
and ecx, 3
push 0x8000
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
cmp esi, 0xffffffff
je 0x10060781
mov ecx, dword [0x107ab964]
push esi
mov edx, dword [ecx]
call dword [edx + 0x20]
mov ecx, dword [0x107ab964]
mov edi, eax
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
mov cl, byte [ebx]
lea eax, [esp + 0x3c]
mov esi, 4
mov byte [eax], cl
add eax, 0x400
dec esi
jne 0x100606b2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x103c]
push ecx
push 0xa
push edx
lea eax, [esp + 0x48]
push 4
push eax
push edi
mov dword [esp + 0x28], 0
call fcn.101e8620
add esp, 0x18
test eax, eax
je 0x10060781
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10060781
lea ecx, [esp + 0x14]
lea edx, [esp + 0x103c]
push ecx
push eax
push edx
push ebx
call fcn.101e8850
add esp, 0x10
test eax, eax
je 0x10060781
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x10060758
lea edi, [esp + 0x103c]
lea ebp, [esp + 0x14]
cmp dword [ebp], 1
jne 0x10060746
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10060746
push edi
push 0x10227334
call fcn.10029940
add esp, 8
mov eax, dword [esp + 0x10]
inc esi
add ebp, 4
add edi, 0x400
cmp esi, eax
jl 0x10060727
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10060771
push ebx
push 0x10227334
call fcn.10029940
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x382c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x382c
ret