Function at 0x424b2e
Capabilities:
Delete file

Disassembly:
push 0x108
mov eax, 0x5bc685
call fcn.00580b7e
xor edi, edi
mov dword [ebp - 0x14], edi
lea esi, [ebp - 0xf4]
call fcn.00475c10
mov dword [ebp - 4], edi
lea eax, [ebp - 0x114]
push eax
call fcn.00413b2d
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa8]
push eax
call fcn.0044e552
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
push dword [0x6d6858]
push dword [0x6d6854]
push 1
push edi
push fcn.0041b386
lea eax, [ebp - 0xa8]
push eax
call fcn.004078e4
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 0x424bd4
push 0x6828e4
lea eax, [ebp - 0x28]
push eax
call fcn.0040852d
mov byte [ebp - 4], 5
push edi
lea esi, [ebp - 0xa8]
call fcn.00409466
mov ecx, eax
lea eax, [ebp - 0x28]
call fcn.004707b0
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040856e
test bl, bl
je 0x424bb9
push edi
call fcn.00409466
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004716a0
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x114]
push eax
lea ebx, [ebp - 0xec]
call fcn.00413ba7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040856e
inc edi
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x9c]
cdq
push 0x1c
pop ecx
idiv ecx
cmp edi, eax
jb 0x424b4a
lea eax, [ebp - 0xe0]
push eax
call fcn.0044e552
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe0]
push eax
call fcn.00421913
pop ecx
mov esi, dword [ebp - 0xd4]
cmp esi, dword [ebp - 0xd0]
jbe 0x424c04
call fcn.005741fa
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 0x424c23
call fcn.005741fa
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x424c32
cmp eax, dword [ebp - 0xe0]
je 0x424c37
call fcn.005741fa
cmp dword [ebp - 0x20], esi
je 0x424c8d
lea esi, [ebp - 0x24]
call fcn.00426a4e
add eax, 0x10
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004716a0
pop ecx
pop ecx
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x114]
push eax
lea ebx, [ebp - 0x78]
call fcn.00413ba7
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.0040856e
lea edi, [ebp - 0xe8]
call fcn.00426a76
jmp 0x424c10
lea eax, [ebp - 0x60]
push eax
call fcn.00413cf5
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.0040ad09
test al, al
jne 0x42504e
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.0043e79b
mov dword [ebp - 0x7c], eax
push eax
mov eax, ebx
call fcn.00416524
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.0040ad09
test al, al
jne 0x424d55
mov eax, dword [ebp - 0x3c]
add eax, 0xc
push dword [ebp - 0x7c]
call fcn.0040a41d
test al, al
jne 0x424d55
mov eax, esi
jmp 0x424d6c
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.0040ad09
test al, al
je 0x425041
lea esi, [ebp - 0x24]
call fcn.0043e79b
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004272e4
mov eax, dword [0x6d67d4]
mov dword [ebp - 0xb4], eax
mov eax, dword [0x6d67bc]
mov dword [ebp - 0xb8], eax
lea edi, [ebp - 0xb8]
lea esi, [ebp - 0xe8]
call fcn.0040ad09
test al, al
jne 0x424e92
push 0x6828f0
lea eax, [ebp - 0x2c]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0xb
or dword [ebp - 0x14], 1
lea esi, [ebp - 0x24]
call fcn.0043e79b
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.004707b0
test al, al
jne 0x424e92
push 0x682908
lea eax, [ebp - 0x30]
push eax
call fcn.0040852d
mov dword [ebp - 4], 0xc
or dword [ebp - 0x14], 2
call fcn.0043e79b
mov ecx, eax
lea eax, [ebp - 0x30]
call fcn.004707b0
test al, al
jne 0x424e92
push str.program_files_
lea eax, [ebp - 0x34]
push eax
call fcn.0040852d
mov dword [ebp - 4], 0xd
or dword [ebp - 0x14], 4
call fcn.0043e79b
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.00471760
test al, al
jne 0x424e8e
push str.program_files__x86__
lea eax, [ebp - 0x28]
push eax
call fcn.0040852d
mov dword [ebp - 4], 0xe
or dword [ebp - 0x14], 8
call fcn.0043e79b
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.00471760
test al, al
je 0x424e92
mov bl, 1
jmp 0x424e94
xor bl, bl
mov dword [ebp - 4], 0xd
test byte [ebp - 0x14], 8
je 0x424ead
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x28]
call fcn.0040856e
mov dword [ebp - 4], 0xc
test byte [ebp - 0x14], 4
je 0x424ec6
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x34]
call fcn.0040856e
mov dword [ebp - 4], 0xb
test byte [ebp - 0x14], 2
je 0x424edf
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x30]
call fcn.0040856e
mov dword [ebp - 4], 0xa
test byte [ebp - 0x14], 1
je 0x424ef8
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x2c]
call fcn.0040856e
test bl, bl
je 0x424f3f
cmp dword [0x6bc38c], 1
jl 0x424fb4
lea esi, [ebp - 0x24]
call fcn.0043e79b
push dword [eax]
lea eax, [ebp - 0x80]
push eax
call fcn.00470110
mov byte [ebp - 4], 0xf
push dword [eax]
push str.ADD_SRV:__s
push 0x682974
push 1
call fcn.00532652
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x80]
jmp 0x424faf
push str._searchprotocol
lea eax, [ebp - 0x1c]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0x10
lea esi, [ebp - 0x24]
call fcn.0043e79b
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00471760
mov bl, al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.0040856e
test bl, bl
je 0x424fc7
cmp dword [0x6bc38c], 1
jl 0x424fb4
call fcn.0043e79b
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.00470110
mov byte [ebp - 4], 0x11
push dword [eax]
push str.ADD_SEARCH:__s
push 0x6829bc
push 1
call fcn.00532652
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0040842d
lea esi, [ebp - 0x24]
call fcn.0043e79b
push eax
lea eax, [ebp - 0x60]
call fcn.004138ba
jmp 0x425041
lea esi, [ebp - 0x24]
call fcn.0043e79b
mov eax, dword [eax]
call fcn.0046ee00
mov edi, eax
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 0x12
cmp edi, 0xffffffff
je 0x425031
push edi
lea ebx, [ebp - 0x38]
call fcn.00472430
test al, al
jne 0x425031
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.004a3120
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.0040856e
cmp byte [ebp - 0x16], bl
jne 0x425031
call fcn.0043e79b
push eax
lea eax, [ebp - 0x60]
call fcn.004138ba
mov byte [ebp - 4], 0xa
cmp edi, 0xffffffff
je 0x425041
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x24]
call fcn.0043131b
jmp 0x424cc4
push str.c:windows_system32dllhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.004138ba
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.0040856e
push str.c:windows_syswow64dllhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.004138ba
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.0040856e
push str.c:windows_system32_searchprotocolhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.004138ba
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.0040856e
push str.c:windows_syswow64_searchprotocolhost.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
call fcn.004138ba
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.0040856e
cmp dword [0x6bc38c], 1
jl 0x42511d
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
sar eax, 2
push eax
push str.Final____i
push 0x682b10
push 1
call fcn.00532652
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 0x425368
mov byte [ebp - 4], 0x17
push str._system32lsass.exe
lea eax, [ebp - 0x1c]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0x18
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.004138a1
mov ecx, eax
lea eax, [ebp - 0x1c]
call fcn.004707b0
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1c]
call fcn.0040856e
cmp byte [ebp - 0x15], 0
je 0x42517b
mov byte [ebp - 4], 0xa
jmp 0x425362
push str._servicingTrustedInstaller.exe
lea eax, [ebp - 0x2c]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0x19
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.004138a1
mov ecx, eax
lea eax, [ebp - 0x2c]
call fcn.004707b0
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
call fcn.0040856e
cmp byte [ebp - 0x15], 0
jne 0x425172
call fcn.004138a1
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004272e4
and dword [ebp - 0x40], 0
mov eax, dword [0x6d67d4]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x6d67bc]
mov dword [ebp - 0x40], eax
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x74]
call fcn.0040ad09
test al, al
jne 0x425246
push str._vbkrn.exe
lea eax, [ebp - 0x34]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0x1a
or dword [ebp - 0x14], 0x10
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.004138a1
mov ecx, eax
lea eax, [ebp - 0x34]
call fcn.004707b0
test al, al
jne 0x425246
push str._vbui.exe
lea eax, [ebp - 0x30]
push eax
call fcn.0040852d
mov dword [ebp - 4], 0x1b
or dword [ebp - 0x14], 0x20
call fcn.004138a1
mov ecx, eax
lea eax, [ebp - 0x30]
call fcn.004707b0
test al, al
mov byte [ebp - 0x16], 1
je 0x42524a
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 0x1a
test byte [ebp - 0x14], 0x20
je 0x425263
and dword [ebp - 0x14], 0xffffffdf
lea ecx, [ebp - 0x30]
call fcn.0040856e
mov dword [ebp - 4], 0x17
test byte [ebp - 0x14], 0x10
je 0x42527c
and dword [ebp - 0x14], 0xffffffef
lea ecx, [ebp - 0x34]
call fcn.0040856e
cmp byte [ebp - 0x16], 0
je 0x425294
lea esi, [ebp - 0x74]
call fcn.0043e79b
mov eax, dword [eax + 4]
push eax
call fcn.0041d4cc
pop ecx
mov edi, ebx
lea esi, [ebp - 0x60]
call fcn.004138a1
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
push ecx
call fcn.004084fe
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x17
call fcn.00452da1
pop ecx
call fcn.004138a1
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
push ecx
call fcn.004084fe
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x17
call fcn.0041df4a
pop ecx
call fcn.004138a1
mov eax, dword [eax]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.004138a1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x48], eax
cmp dword [0x6bc38c], 1
jl 0x425349
call fcn.004138a1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00470110
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.00532652
add esp, 0x18
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x44]
call fcn.0040842d
mov dword [ebp - 4], 0xa
jmp 0x425362
inc ebx
jmp 0x42511f
mov byte [ebp - 4], 9
cmp dword [ebp - 0x38], 0
je 0x42537b
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
push eax
call fcn.00413877
mov byte [ebp - 4], 2
lea eax, [ebp - 0xe0]
push eax
call fcn.00426967
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa8]
push eax
call fcn.00427358
mov byte [ebp - 4], 0
lea eax, [ebp - 0x114]
push eax
call fcn.0041288e
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xf4]
call fcn.00475c50
call fcn.00580c23
ret