Function at 0x424e64
Capabilities:
Delete file

Disassembly:
push 0x108
mov eax, 0x5bc975
call fcn.00580e9e
xor edi, edi
mov dword [ebp - 0x14], edi
lea esi, [ebp - 0xf4]
call fcn.00476200
mov dword [ebp - 4], edi
lea eax, [ebp - 0x114]
push eax
call fcn.00413c0a
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa8]
push eax
call fcn.0044884e
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
push dword [0x6c8e78]
push dword [0x6c8e74]
push 1
push edi
push fcn.00446a28
lea eax, [ebp - 0xa8]
push eax
call fcn.004078fe
add esp, 0x18
mov dword [ebp - 4], 2
xor edi, edi
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x9c]
cdq
push 0x1c
pop ecx
idiv ecx
test eax, eax
jbe 0x424f0a
push 0x6722e4
lea eax, [ebp - 0x28]
push eax
call fcn.00408561
mov byte [ebp - 4], 5
push edi
lea esi, [ebp - 0xa8]
call fcn.004487e1
mov ecx, eax
lea eax, [ebp - 0x28]
call fcn.00470bf0
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004085a2
test bl, bl
je 0x424eef
push edi
call fcn.004487e1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00471ae0
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x114]
push eax
lea ebx, [ebp - 0xec]
call fcn.00413c84
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004085a2
inc edi
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x9c]
cdq
push 0x1c
pop ecx
idiv ecx
cmp edi, eax
jb 0x424e80
lea eax, [ebp - 0xe0]
push eax
call fcn.0044884e
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe0]
push eax
call fcn.00421c13
pop ecx
mov esi, dword [ebp - 0xd4]
cmp esi, dword [ebp - 0xd0]
jbe 0x424f3a
call fcn.0057451a
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0xd0]
cmp dword [ebp - 0xd4], esi
jbe 0x424f59
call fcn.0057451a
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x424f68
cmp eax, dword [ebp - 0xe0]
je 0x424f6d
call fcn.0057451a
cmp dword [ebp - 0x20], esi
je 0x424fc3
lea esi, [ebp - 0x24]
call fcn.0043c532
add eax, 0x10
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00471ae0
pop ecx
pop ecx
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x114]
push eax
lea ebx, [ebp - 0x78]
call fcn.00413c84
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.004085a2
lea edi, [ebp - 0xe8]
call fcn.00426d1e
jmp 0x424f46
lea eax, [ebp - 0x60]
push eax
call fcn.004137bf
mov byte [ebp - 4], 9
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push str.S_1_5_80_956008885_3418522649_1831038044_1853292631_2271478464
call sub.ADVAPI32.dll_ConvertStringSidToSidW
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x88], eax
lea edi, [ebp - 0x88]
lea esi, [ebp - 0x24]
call fcn.00427527
test al, al
jne 0x425384
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx]
mov dword [ebp - 0xb0], eax
call fcn.0043e3b4
mov dword [ebp - 0x7c], eax
push eax
mov eax, ebx
call fcn.00416870
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], eax
lea edi, [ebp - 0x90]
lea esi, [ebp - 0x40]
call fcn.00427527
test al, al
jne 0x42508b
mov eax, dword [ebp - 0x3c]
add eax, 0xc
push dword [ebp - 0x7c]
call fcn.0040a638
test al, al
jne 0x42508b
mov eax, esi
jmp 0x4250a2
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebx]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
mov ecx, dword [eax]
mov dword [ebp - 0xc8], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc4], eax
lea edi, [ebp - 0xb0]
lea esi, [ebp - 0xc8]
call fcn.00427527
test al, al
je 0x425377
lea esi, [ebp - 0x24]
call fcn.0043e3b4
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00427597
mov eax, dword [0x6c8df4]
mov dword [ebp - 0xb4], eax
mov eax, dword [0x6c8ddc]
mov dword [ebp - 0xb8], eax
lea edi, [ebp - 0xb8]
lea esi, [ebp - 0xe8]
call fcn.00427527
test al, al
jne 0x4251c8
push str._vbkrn.exe
lea eax, [ebp - 0x2c]
push eax
call fcn.00408561
mov byte [ebp - 4], 0xb
or dword [ebp - 0x14], 1
lea esi, [ebp - 0x24]
call fcn.0043e3b4
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.00470bf0
test al, al
jne 0x4251c8
push str._vbui.exe
lea eax, [ebp - 0x30]
push eax
call fcn.00408561
mov dword [ebp - 4], 0xc
or dword [ebp - 0x14], 2
call fcn.0043e3b4
mov ecx, eax
lea eax, [ebp - 0x30]
call fcn.00470bf0
test al, al
jne 0x4251c8
push str.program_files_
lea eax, [ebp - 0x34]
push eax
call fcn.00408561
mov dword [ebp - 4], 0xd
or dword [ebp - 0x14], 4
call fcn.0043e3b4
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.00471ba0
test al, al
jne 0x4251c4
push str.program_files__x86__
lea eax, [ebp - 0x28]
push eax
call fcn.00408561
mov dword [ebp - 4], 0xe
or dword [ebp - 0x14], 8
call fcn.0043e3b4
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.00471ba0
test al, al
je 0x4251c8
mov bl, 1
jmp 0x4251ca
xor bl, bl
mov dword [ebp - 4], 0xd
test byte [ebp - 0x14], 8
je 0x4251e3
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x28]
call fcn.004085a2
mov dword [ebp - 4], 0xc
test byte [ebp - 0x14], 4
je 0x4251fc
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x34]
call fcn.004085a2
mov dword [ebp - 4], 0xb
test byte [ebp - 0x14], 2
je 0x425215
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x30]
call fcn.004085a2
mov dword [ebp - 4], 0xa
test byte [ebp - 0x14], 1
je 0x42522e
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x2c]
call fcn.004085a2
test bl, bl
je 0x425275
cmp dword [0x6af38c], 1
jl 0x4252ea
lea esi, [ebp - 0x24]
call fcn.0043e3b4
push dword [eax]
lea eax, [ebp - 0x80]
push eax
call fcn.00470550
mov byte [ebp - 4], 0xf
push dword [eax]
push str.ADD_SRV:__s
push str.Helper::cleanupInfector
push 1
call fcn.00532962
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x80]
jmp 0x4252e5
push str._searchprotocol
lea eax, [ebp - 0x1c]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x10
lea esi, [ebp - 0x24]
call fcn.0043e3b4
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00471ba0
mov bl, al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.004085a2
test bl, bl
je 0x4252fd
cmp dword [0x6af38c], 1
jl 0x4252ea
call fcn.0043e3b4
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.00470550
mov byte [ebp - 4], 0x11
push dword [eax]
push str.ADD_SEARCH:__s
push str.Helper::cleanupInfector
push 1
call fcn.00532962
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00408461
lea esi, [ebp - 0x24]
call fcn.0043e3b4
push eax
lea eax, [ebp - 0x60]
call fcn.0041395f
jmp 0x425377
lea esi, [ebp - 0x24]
call fcn.0043e3b4
mov eax, dword [eax]
call fcn.0046f190
mov edi, eax
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 0x12
cmp edi, 0xffffffff
je 0x425367
push edi
lea ebx, [ebp - 0x38]
call fcn.00472860
test al, al
jne 0x425367
xor ebx, ebx
mov byte [ebp - 0x16], bl
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x15], bl
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x16]
push eax
push edi
lea ecx, [ebp - 0x15]
lea edx, [ebp - 0x48]
call fcn.004a3420
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.004085a2
cmp byte [ebp - 0x16], bl
jne 0x425367
call fcn.0043e3b4
push eax
lea eax, [ebp - 0x60]
call fcn.0041395f
mov byte [ebp - 4], 0xa
cmp edi, 0xffffffff
je 0x425377
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x24]
call fcn.0043103a
jmp 0x424ffa
push str.c:windows_system32dllhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.0041395f
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.004085a2
push str.c:windows_syswow64dllhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.0041395f
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.004085a2
push str.c:windows_system32_searchprotocolhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.0041395f
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.004085a2
push str.c:windows_syswow64_searchprotocolhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.0041395f
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.004085a2
cmp dword [0x6af38c], 1
jl 0x425453
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
sar eax, 2
push eax
push str.Final____i
push str.Helper::cleanupInfector
push 1
call fcn.00532962
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
sar eax, 2
cmp ebx, eax
jae 0x42569e
mov byte [ebp - 4], 0x17
push str._system32lsass.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x18
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.00413946
mov ecx, eax
lea eax, [ebp - 0x1c]
call fcn.00470bf0
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1c]
call fcn.004085a2
cmp byte [ebp - 0x15], 0
je 0x4254b1
mov byte [ebp - 4], 0xa
jmp 0x425698
push str._servicingTrustedInstaller.exe
lea eax, [ebp - 0x2c]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x19
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.00413946
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.00470bf0
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
call fcn.004085a2
cmp byte [ebp - 0x15], 0
jne 0x4254a8
call fcn.00413946
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00427597
and dword [ebp - 0x40], 0
mov eax, dword [0x6c8df4]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x6c8ddc]
mov dword [ebp - 0x40], eax
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x74]
call fcn.00427527
test al, al
jne 0x42557c
push str._vbkrn.exe
lea eax, [ebp - 0x34]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x1a
or dword [ebp - 0x14], 0x10
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.00413946
mov ecx, eax
lea eax, [ebp - 0x34]
call fcn.00470bf0
test al, al
jne 0x42557c
push str._vbui.exe
lea eax, [ebp - 0x30]
push eax
call fcn.00408561
mov dword [ebp - 4], 0x1b
or dword [ebp - 0x14], 0x20
call fcn.00413946
mov ecx, eax
lea eax, [ebp - 0x30]
call fcn.00470bf0
test al, al
mov byte [ebp - 0x16], 1
je 0x425580
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 0x1a
test byte [ebp - 0x14], 0x20
je 0x425599
and dword [ebp - 0x14], 0xffffffdf
lea ecx, [ebp - 0x30]
call fcn.004085a2
mov dword [ebp - 4], 0x17
test byte [ebp - 0x14], 0x10
je 0x4255b2
and dword [ebp - 0x14], 0xffffffef
lea ecx, [ebp - 0x34]
call fcn.004085a2
cmp byte [ebp - 0x16], 0
je 0x4255ca
lea esi, [ebp - 0x74]
call fcn.0043e3b4
mov eax, dword [eax + 4]
push eax
call fcn.0041d7f2
pop ecx
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.00413946
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
push ecx
call fcn.00408532
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x17
call fcn.0045347e
pop ecx
call fcn.00413946
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
push ecx
call fcn.00408532
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x17
call fcn.0041e26b
pop ecx
call fcn.00413946
mov eax, dword [eax]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.00413946
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x48], eax
cmp dword [0x6af38c], 1
jl 0x42567f
call fcn.00413946
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00470550
pop ecx
pop ecx
mov byte [ebp - 4], 0x1e
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x48]
push str.DELETED:__i___i___s
push str.Helper::cleanupInfector
push 1
call fcn.00532962
add esp, 0x18
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x44]
call fcn.00408461
mov dword [ebp - 4], 0xa
jmp 0x425698
inc ebx
jmp 0x425455
mov byte [ebp - 4], 9
cmp dword [ebp - 0x38], 0
je 0x4256b1
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
push eax
call fcn.0041391c
mov byte [ebp - 4], 2
lea eax, [ebp - 0xe0]
push eax
call fcn.00426c53
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa8]
push eax
call fcn.0042760b
mov byte [ebp - 4], 0
lea eax, [ebp - 0x114]
push eax
call fcn.00412840
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xf4]
call fcn.00476240
call fcn.00580f43
ret