Function at 0x409080
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d940
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x58e188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x58f9ac]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DelFileOrDirs
mov dword [ebp - 4], 0
call fcn.00402730
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x53ec40
mov byte [ebp - 4], 1
call fcn.00402730
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004060e0
add esp, 0x10
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 2
call fcn.00427608
lea ecx, [ebp - 0x38]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x53ec3c
mov byte [ebp - 4], 3
call fcn.00402730
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 4
call fcn.00402000
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 3
call fcn.00407300
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
test eax, eax
jg 0x4091a4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00427846
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40918d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
test ecx, ecx
js 0x409333
cmp ecx, dword [ebp - 0x30]
jge 0x409333
mov edx, dword [ebp - 0x34]
mov esi, dword [edx + ecx*4]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x4091e1
cmp eax, dword [esi - 0x10]
jne 0x4091e1
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x409219
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40932e
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00514fd5
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebp - 0x20], eax
push ecx
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
lea esi, [eax - 0x10]
mov eax, dword [edx + 0x10]
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x409250
cmp eax, dword [esi]
jne 0x409250
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40928b
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40932e
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00514fd5
add esp, 0x10
lea edx, [ebp - 0x14]
add edi, 0x10
push edx
mov dword [ebx], edi
call fcn.00406240
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], eax
add esp, 8
lea eax, [ebp - 0x58]
mov edx, 0x414
push eax
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x48], dx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409319
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x1c]
jl 0x4091a1
jmp 0x40915b
call fcn.0040d9b0
call fcn.004151e1
int3