Function at 0x4026b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f1ab
mov eax, dword fs:[0]
push eax
sub esp, 0xe84
mov eax, dword [0x428004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe90], edx
xorps xmm0, xmm0
mov dword [ebp - 0xe84], 0
mov esi, 0xf
mov dword [ebp - 0xe18], 0
movups xmmword [ebp - 0xe28], xmm0
mov dword [ebp - 0xe14], esi
mov byte [ebp - 0xe28], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0xe74], xmm0
mov dword [ebp - 0xe64], 0
movups xmmword [ebp - 0xe5c], xmm0
mov dword [ebp - 0xe60], esi
movups xmmword [ebp - 0xe44], xmm0
mov byte [ebp - 0xe74], 0
mov dword [ebp - 0xe4c], 0
mov dword [ebp - 0xe48], esi
mov byte [ebp - 0xe5c], 0
mov dword [ebp - 0xe34], 0
mov dword [ebp - 0xe30], esi
mov byte [ebp - 0xe44], 0
push 0x425d94
lea eax, [ebp - 0xe80]
mov byte [ebp - 4], 1
push str.vss_setvar.cmd
push eax
call fcn.004062de
add esp, 0xc
test eax, eax
jne 0x402b5d
mov eax, dword [ebp - 0xe80]
test eax, eax
je 0x402b5d
push eax
lea eax, [ebp - 0x210]
push 0x200
push eax
call fcn.0040a10c
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
test eax, eax
je 0x402ac2
nop word [eax + eax]
lea eax, [ebp - 0x210]
push str.SET_SHADOW_ID_
push eax
call fcn.004041c0
add esp, 8
test eax, eax
je 0x40280a
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0xe88]
push eax
lea eax, [ebp - 0x210]
push str.SET_SHADOW_ID__d_s
push eax
call fcn.00402680
add esp, 0x10
lea eax, [ebp - 0x210]
push str.SET_SHADOW_DEVICE_
push eax
call fcn.004041c0
add esp, 8
test eax, eax
je 0x402aa0
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0xe88]
push eax
lea eax, [ebp - 0x210]
push str.SET_SHADOW_DEVICE__d_s
push eax
call fcn.00402680
push str.CTERAShadowDetails.txt
lea eax, [ebp - 0x810]
mov byte [ebp - 0xe75], 0
push eax
push dword [0x4288b4]
lea eax, [ebp - 0xa10]
push str._s__s_s____s
push 0x200
push eax
call fcn.00402650
lea eax, [ebp - 0xa10]
push eax
call fcn.0040a02f
push 0x425d94
lea eax, [ebp - 0xe7c]
push str.CTERAShadowDetails.txt
push eax
call fcn.004062de
add esp, 0x38
test eax, eax
jne 0x40295a
mov eax, dword [ebp - 0xe7c]
test eax, eax
je 0x40295a
push eax
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.0040a10c
add esp, 0xc
test eax, eax
je 0x402931
nop dword [eax + eax]
lea eax, [ebp - 0x410]
push str.Original_Volume_name:
push eax
call fcn.004041c0
add esp, 8
test eax, eax
jne 0x402908
push dword [ebp - 0xe7c]
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.0040a10c
add esp, 0xc
test eax, eax
jne 0x4028d0
jmp 0x402931
lea eax, [ebp - 0xe75]
push eax
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0xe10]
push eax
lea eax, [ebp - 0x410]
push str._s_Original_Volume_name:__s___c:_
push eax
call fcn.00402680
add esp, 0x14
push dword [ebp - 0xe7c]
call fcn.00406c37
add esp, 4
push str.CTERAShadowDetails.txt
call edi
movsx eax, byte [ebp - 0xe75]
push eax
call fcn.00406de7
add esp, 4
mov cl, al
jmp 0x402960
mov cl, byte [ebp - 0xe75]
cmp esi, 0x10
mov dword [ebp - 0xe18], 1
lea eax, [ebp - 0xe28]
cmovae eax, dword [ebp - 0xe28]
mov byte [eax], cl
mov byte [eax + 1], 0
mov ecx, dword [ebp - 0xe18]
test ecx, ecx
je 0x402b0c
cmp dword [ebp - 0xe14], 0x10
lea eax, [ebp - 0xe28]
push ecx
cmovae eax, dword [ebp - 0xe28]
lea ecx, [ebp - 0xe74]
push eax
call fcn.00401ce0
lea ecx, [ebp - 0x610]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4029b8
sub ecx, edx
lea eax, [ebp - 0x610]
push ecx
push eax
lea ecx, [ebp - 0xe44]
call fcn.00401ce0
mov eax, dword [ebp - 0xe84]
mov ecx, dword [ebp - 0xe90]
mov dword [ebp - 0xe8c], eax
inc eax
mov dword [ebp - 0xe84], eax
lea eax, [ebp - 0xe8c]
push eax
call fcn.00401ae0
mov esi, eax
lea eax, [ebp - 0xe74]
cmp esi, eax
je 0x402a23
cmp dword [ebp - 0xe60], 0x10
mov ecx, eax
push dword [ebp - 0xe64]
cmovae ecx, dword [ebp - 0xe74]
push ecx
mov ecx, esi
call fcn.00401ce0
lea ecx, [esi + 0x18]
lea eax, [ebp - 0xe5c]
cmp ecx, eax
je 0x402a4a
cmp dword [ebp - 0xe48], 0x10
push dword [ebp - 0xe4c]
cmovae eax, dword [ebp - 0xe5c]
push eax
call fcn.00401ce0
lea ecx, [esi + 0x30]
lea eax, [ebp - 0xe44]
cmp ecx, eax
je 0x402a71
cmp dword [ebp - 0xe30], 0x10
push dword [ebp - 0xe34]
cmovae eax, dword [ebp - 0xe44]
push eax
call fcn.00401ce0
mov al, byte [ebp - 0xe2c]
lea ecx, [ebp - 0xe28]
push 0
mov byte [esi + 0x48], al
push 0x425e24
mov byte [ebp - 0x810], 0
mov byte [ebp - 0x610], 0
call fcn.00401ce0
mov esi, dword [ebp - 0xe14]
push dword [ebp - 0xe80]
lea eax, [ebp - 0x210]
push 0x200
push eax
call fcn.0040a10c
add esp, 0xc
test eax, eax
jne 0x4027d0
push dword [ebp - 0xe80]
call fcn.00406c37
add esp, 4
push str.vss_setvar.cmd
call edi
lea ecx, [ebp - 0xe74]
call fcn.004024e0
cmp esi, 0x10
jb 0x402b59
mov edx, dword [ebp - 0xe28]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x402b4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b86
jmp 0x402b4f
lea ecx, [ebp - 0xe74]
call fcn.004024e0
mov ecx, dword [ebp - 0xe14]
cmp ecx, 0x10
jb 0x402b68
mov edx, dword [ebp - 0xe28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b86
push ecx
push edx
call fcn.0040316e
add esp, 8
jmp 0x402b68
push ecx
push edx
call fcn.0040316e
add esp, 8
xor eax, eax
jmp 0x402b6b
lea ecx, [ebp - 0xe74]
call fcn.004024e0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040300e
mov esp, ebp
pop ebp
ret
call fcn.00409ec3
int3