Function at 0x10055ff0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov eax, 0x1800
call fcn.102244a0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1810]
test esi, esi
push edi
je 0x100567b2
cmp dword [0x107ab968], 1
je 0x100567b2
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x10056042
push 4
push 0
push esi
call ebx
push esi
push 0x10227334
call fcn.10029940
add esp, 8
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0xc10]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc14]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x100567b2
mov edi, str.System32Driverswinpacket.pac
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
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 edx, [esp + 0xc14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
cmp eax, 0xffffffff
je 0x100560e7
lea eax, [esp + 0xc10]
push eax
call ebp
test eax, eax
jne 0x100560e7
push 4
lea ecx, [esp + 0xc14]
push eax
push ecx
call ebx
lea edx, [esp + 0xc10]
push edx
push 0x10227334
call fcn.10029940
add esp, 8
lea eax, [esp + 0x10]
push 0x400
push eax
call fcn.10028cf0
add esp, 8
test eax, eax
je 0x100567b2
cmp eax, 0x400
jg 0x100567b2
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1410]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
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]
mov edi, str.wnavga.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
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 edx, [esp + 0x14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
cmp eax, 0xffffffff
je 0x1005619f
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jne 0x1005619f
push 4
lea ecx, [esp + 0x14]
push eax
push ecx
call ebx
lea edx, [esp + 0x10]
push edx
push 0x10227334
call fcn.10029940
add esp, 8
lea edi, [esp + 0x1410]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
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]
mov edi, 0x10265eb8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
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 edx, [esp + 0x14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
cmp eax, 0xffffffff
je 0x10056232
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jne 0x10056232
push 4
lea ecx, [esp + 0x14]
push eax
push ecx
call ebx
lea edx, [esp + 0x10]
push edx
push 0x10227334
call fcn.10029940
add esp, 8
lea edi, [esp + 0x1410]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
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]
mov edi, str.memupdate.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
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 edx, [esp + 0x14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
cmp eax, 0xffffffff
je 0x100562c5
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jne 0x100562c5
push 4
lea ecx, [esp + 0x14]
push eax
push ecx
call ebx
lea edx, [esp + 0x10]
push edx
push 0x10227334
call fcn.10029940
add esp, 8
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x810]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x810]
push eax
push 0x28
call fcn.100286d0
add esp, 8
test eax, eax
je 0x100567b2
mov edi, str.Users_
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [sym.imp.MSVCRT.dll_strncmp]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x816]
push str.Users_
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x10056329
lea edx, [esp + 0x810]
mov edi, 0x10265e9c
jmp 0x1005635f
mov edi, str.Documents_and_Settings_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x812]
push ecx
push str.Documents_and_Settings_
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x100567b2
lea edx, [esp + 0x810]
mov edi, 0x10265e88
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
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 edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x814]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
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]
mov edi, str.5rRkzQCaxHY715gyO40y0F.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
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 edx, [esp + 0x14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
cmp eax, 0xffffffff
je 0x10056415
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jne 0x10056415
push 4
lea ecx, [esp + 0x14]
push eax
push ecx
call ebx
lea edx, [esp + 0x10]
push edx
push 0x10227334
call fcn.10029940
add esp, 8
mov edi, str.Vw5a3GVQ4.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x810]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
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 edx, [esp + 0x814]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
cmp eax, 0xffffffff
je 0x1005648f
lea eax, [esp + 0x810]
push eax
call ebp
test eax, eax
jne 0x1005648f
push 4
lea ecx, [esp + 0x814]
push eax
push ecx
call ebx
lea edx, [esp + 0x810]
push edx
push 0x10227334
call fcn.10029940
add esp, 8
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x410]
lea edx, [esp + 0x410]
rep stosd dword es:[edi], eax
mov edi, str.Softwarewow6432nodeMicrosoftWindowsCurrentVersionInternet_Settings_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x400
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x1014]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1014]
lea ecx, [esp + 0x414]
push eax
push str.AutoConfigURL
push ecx
push reloc.platform.dll_Ordinal_2
call dword [0x107ab9b0]
add esp, 0x14
cmp eax, 1
jne 0x10056524
lea edx, [esp + 0x410]
push str.AutoConfigURL
push edx
push reloc.platform.dll_Ordinal_2
call dword [0x107ab9c4]
add esp, 0xc
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x410]
lea edx, [esp + 0x410]
rep stosd dword es:[edi], eax
mov edi, str..DEFAULTSoftwareMicrosoftWindowsCurrentVersionInternet_Settings_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x400
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x1014]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1014]
lea ecx, [esp + 0x414]
push eax
push str.AutoConfigURL
push ecx
push Ordinal_6
call dword [0x107ab9b0]
add esp, 0x14
cmp eax, 1
jne 0x100565b9
lea edx, [esp + 0x410]
push str.AutoConfigURL
push edx
push Ordinal_6
call dword [0x107ab9c4]
add esp, 0xc
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x410]
lea edx, [esp + 0x410]
rep stosd dword es:[edi], eax
mov edi, str.SOFTWAREPoliciesMicrosoftInternet_ExplorerControl_Panel
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Autoconfig
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 + 0x414]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.platform.dll_Ordinal_2
call dword [0x107ab9c4]
lea ecx, [esp + 0x41c]
push str.Proxy
push ecx
push reloc.platform.dll_Ordinal_1
call dword [0x107ab9c4]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x428]
lea edx, [esp + 0x428]
rep stosd dword es:[edi], eax
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.AutoConfigURL
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 + 0x42c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.platform.dll_Ordinal_2
call dword [0x107ab9c4]
lea ecx, [esp + 0x434]
push str.MigrateProxy
push ecx
push reloc.platform.dll_Ordinal_2
call dword [0x107ab9c4]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x440]
lea edx, [esp + 0x440]
rep stosd dword es:[edi], eax
mov edi, str.SYSTEMControlSet002_servicesNlaSvcParametersInternet
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x440]
and ecx, 3
push str.ManualProxies
push eax
push reloc.platform.dll_Ordinal_2
rep movsb byte es:[edi], byte [esi]
call dword [0x107ab9d4]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x44c]
lea edx, [esp + 0x44c]
rep stosd dword es:[edi], eax
mov edi, str.SYSTEMControlSet001_servicesNlaSvcParametersInternet
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.ManualProxies
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 + 0x450]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.platform.dll_Ordinal_2
call dword [0x107ab9d4]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x458]
add esp, 0x48
rep stosd dword es:[edi], eax
mov edi, str.SYSTEMCurrentControlSet_services
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x410]
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 + 0x410]
and ecx, 3
push str.Updater.exe
push eax
push reloc.platform.dll_Ordinal_2
rep movsb byte es:[edi], byte [esi]
call dword [0x107ab9d4]
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1800
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1800
ret