Function at 0x4241f4
Capabilities:
Delete file

Disassembly:
push 0x108
mov eax, 0x5c34b0
call fcn.0058708e
xor edi, edi
mov dword [ebp - 0x14], edi
lea esi, [ebp - 0xf4]
call fcn.0047a7b0
mov dword [ebp - 4], edi
lea eax, [ebp - 0x114]
push eax
call fcn.00413d70
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa8]
push eax
call fcn.00448527
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
push dword [0x6de90c]
push dword [0x6de908]
push 1
push edi
push fcn.004490cc
lea eax, [ebp - 0xa8]
push eax
call fcn.004078a5
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 0x42429a
push 0x68a224
lea eax, [ebp - 0x28]
push eax
call fcn.00408518
mov byte [ebp - 4], 5
push edi
lea esi, [ebp - 0xa8]
call fcn.00448491
mov ecx, eax
lea eax, [ebp - 0x28]
call fcn.004753c0
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00408559
test bl, bl
je 0x42427f
push edi
call fcn.00448491
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004762f0
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x114]
push eax
lea ebx, [ebp - 0xec]
call fcn.00413dea
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00408559
inc edi
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x9c]
cdq
push 0x1c
pop ecx
idiv ecx
cmp edi, eax
jb 0x424210
lea eax, [ebp - 0xe0]
push eax
call fcn.00448527
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe0]
push eax
call fcn.004218d1
pop ecx
mov esi, dword [ebp - 0xd4]
cmp esi, dword [ebp - 0xd0]
jbe 0x4242ca
call fcn.0057a4ca
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 0x4242e9
call fcn.0057a4ca
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4242f8
cmp eax, dword [ebp - 0xe0]
je 0x4242fd
call fcn.0057a4ca
cmp dword [ebp - 0x20], esi
je 0x424353
lea esi, [ebp - 0x24]
call fcn.00414dbf
add eax, 0x18
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004762f0
pop ecx
pop ecx
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x114]
push eax
lea ebx, [ebp - 0x78]
call fcn.00413dea
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00408559
lea edi, [ebp - 0xe8]
call fcn.00426b5c
jmp 0x4242d6
lea eax, [ebp - 0x60]
push eax
call fcn.00413a77
mov byte [ebp - 4], 9
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0x693178
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.00469749
test al, al
jne 0x424714
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.00450172
mov dword [ebp - 0x7c], eax
push eax
mov eax, ebx
call fcn.00416a06
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.00469749
test al, al
jne 0x42441b
mov eax, dword [ebp - 0x3c]
add eax, 0xc
push dword [ebp - 0x7c]
call fcn.0040a6a8
test al, al
jne 0x42441b
mov eax, esi
jmp 0x424432
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.00469749
test al, al
je 0x424707
lea esi, [ebp - 0x24]
call fcn.00450172
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004274f8
mov eax, dword [0x6de888]
mov dword [ebp - 0xb4], eax
mov eax, dword [0x6de870]
mov dword [ebp - 0xb8], eax
lea edi, [ebp - 0xb8]
lea esi, [ebp - 0xe8]
call fcn.00469749
test al, al
jne 0x424558
push 0x68a230
lea eax, [ebp - 0x2c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0xb
or dword [ebp - 0x14], 1
lea esi, [ebp - 0x24]
call fcn.00450172
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.004753c0
test al, al
jne 0x424558
push 0x68a248
lea eax, [ebp - 0x30]
push eax
call fcn.00408518
mov dword [ebp - 4], 0xc
or dword [ebp - 0x14], 2
call fcn.00450172
mov ecx, eax
lea eax, [ebp - 0x30]
call fcn.004753c0
test al, al
jne 0x424558
push str.program_files_
lea eax, [ebp - 0x34]
push eax
call fcn.00408518
mov dword [ebp - 4], 0xd
or dword [ebp - 0x14], 4
call fcn.00450172
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.004763b0
test al, al
jne 0x424554
push str.program_files__x86__
lea eax, [ebp - 0x28]
push eax
call fcn.00408518
mov dword [ebp - 4], 0xe
or dword [ebp - 0x14], 8
call fcn.00450172
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.004763b0
test al, al
je 0x424558
mov bl, 1
jmp 0x42455a
xor bl, bl
mov dword [ebp - 4], 0xd
test byte [ebp - 0x14], 8
je 0x424573
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x28]
call fcn.00408559
mov dword [ebp - 4], 0xc
test byte [ebp - 0x14], 4
je 0x42458c
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x34]
call fcn.00408559
mov dword [ebp - 4], 0xb
test byte [ebp - 0x14], 2
je 0x4245a5
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x30]
call fcn.00408559
mov dword [ebp - 4], 0xa
test byte [ebp - 0x14], 1
je 0x4245be
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x2c]
call fcn.00408559
test bl, bl
je 0x424605
cmp dword [0x6c438c], 1
jl 0x42467a
lea esi, [ebp - 0x24]
call fcn.00450172
push dword [eax]
lea eax, [ebp - 0x80]
push eax
call fcn.00474d20
mov byte [ebp - 4], 0xf
push dword [eax]
push str.ADD_SRV:__s
push 0x68a2b4
push 1
call fcn.00538922
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x80]
jmp 0x424675
push str._searchprotocol
lea eax, [ebp - 0x1c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x10
lea esi, [ebp - 0x24]
call fcn.00450172
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.004763b0
mov bl, al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.00408559
test bl, bl
je 0x42468d
cmp dword [0x6c438c], 1
jl 0x42467a
call fcn.00450172
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.00474d20
mov byte [ebp - 4], 0x11
push dword [eax]
push str.ADD_SEARCH:__s
push 0x68a2fc
push 1
call fcn.00538922
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00408418
lea esi, [ebp - 0x24]
call fcn.00450172
push eax
lea eax, [ebp - 0x60]
call fcn.00413ad9
jmp 0x424707
lea esi, [ebp - 0x24]
call fcn.00450172
mov eax, dword [eax]
call fcn.00473a10
mov edi, eax
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 0x12
cmp edi, 0xffffffff
je 0x4246f7
push edi
lea ebx, [ebp - 0x38]
call fcn.00476fa0
test al, al
jne 0x4246f7
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.004a7510
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00408559
cmp byte [ebp - 0x16], bl
jne 0x4246f7
call fcn.00450172
push eax
lea eax, [ebp - 0x60]
call fcn.00413ad9
mov byte [ebp - 4], 0xa
cmp edi, 0xffffffff
je 0x424707
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x24]
call fcn.00430a79
jmp 0x42438a
push str.c:windows_system32dllhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.00413ad9
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.00408559
push str.c:windows_syswow64dllhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.00413ad9
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.00408559
push str.c:windows_system32_searchprotocolhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.00413ad9
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.00408559
push str.c:windows_syswow64_searchprotocolhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.00413ad9
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.00408559
cmp dword [0x6c438c], 1
jl 0x4247e3
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
sar eax, 2
push eax
push str.Final____i
push 0x68a450
push 1
call fcn.00538922
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 0x424a2e
mov byte [ebp - 4], 0x17
push str._system32lsass.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x18
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.00413f62
mov ecx, eax
lea eax, [ebp - 0x1c]
call fcn.004753c0
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1c]
call fcn.00408559
cmp byte [ebp - 0x15], 0
je 0x424841
mov byte [ebp - 4], 0xa
jmp 0x424a28
push str._servicingTrustedInstaller.exe
lea eax, [ebp - 0x2c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x19
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.00413f62
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.004753c0
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
call fcn.00408559
cmp byte [ebp - 0x15], 0
jne 0x424838
call fcn.00413f62
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004274f8
and dword [ebp - 0x40], 0
mov eax, dword [0x6de888]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x6de870]
mov dword [ebp - 0x40], eax
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x74]
call fcn.00469749
test al, al
jne 0x42490c
push str._vbkrn.exe
lea eax, [ebp - 0x34]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x1a
or dword [ebp - 0x14], 0x10
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.00413f62
mov ecx, eax
lea eax, [ebp - 0x34]
call fcn.004753c0
test al, al
jne 0x42490c
push str._vbui.exe
lea eax, [ebp - 0x30]
push eax
call fcn.00408518
mov dword [ebp - 4], 0x1b
or dword [ebp - 0x14], 0x20
call fcn.00413f62
mov ecx, eax
lea eax, [ebp - 0x30]
call fcn.004753c0
test al, al
mov byte [ebp - 0x16], 1
je 0x424910
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 0x1a
test byte [ebp - 0x14], 0x20
je 0x424929
and dword [ebp - 0x14], 0xffffffdf
lea ecx, [ebp - 0x30]
call fcn.00408559
mov dword [ebp - 4], 0x17
test byte [ebp - 0x14], 0x10
je 0x424942
and dword [ebp - 0x14], 0xffffffef
lea ecx, [ebp - 0x34]
call fcn.00408559
cmp byte [ebp - 0x16], 0
je 0x42495a
lea esi, [ebp - 0x74]
call fcn.00450172
mov eax, dword [eax + 4]
push eax
call fcn.0041d573
pop ecx
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.00413f62
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
push ecx
call fcn.004084e9
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x17
call fcn.00453d57
pop ecx
call fcn.00413f62
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
push ecx
call fcn.004084e9
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x17
call fcn.0041de13
pop ecx
call fcn.00413f62
mov eax, dword [eax]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.00413f62
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x48], eax
cmp dword [0x6c438c], 1
jl 0x424a0f
call fcn.00413f62
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00474d20
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.00538922
add esp, 0x18
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x44]
call fcn.00408418
mov dword [ebp - 4], 0xa
jmp 0x424a28
inc ebx
jmp 0x4247e5
mov byte [ebp - 4], 9
cmp dword [ebp - 0x38], 0
je 0x424a41
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
push eax
call fcn.00413aaf
mov byte [ebp - 4], 2
lea eax, [ebp - 0xe0]
push eax
call fcn.00426a91
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa8]
push eax
call fcn.00427567
mov byte [ebp - 4], 0
lea eax, [ebp - 0x114]
push eax
call fcn.0041295c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xf4]
call fcn.0047a7f0
call fcn.00587133
ret