Function at 0x41cbb0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4678c5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x4835f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
xor ebx, ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00434048
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jne 0x41cc1e
mov byte [ebp - 4], bl
call fcn.00434060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41d0d5
lea ecx, [ebp - 0x68]
call fcn.00437790
lea ebx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040efa0
mov ecx, ebx
push ecx
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
push edx
call fcn.0040f1f0
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x41cc56
mov eax, dword [eax]
jmp 0x41cc58
xor eax, eax
push 0
push eax
lea ecx, [ebp - 0x68]
call fcn.00437828
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41ccb2
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41ccab
test edi, edi
je 0x41ccab
mov eax, dword [edi]
test eax, eax
je 0x41cc92
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x41cca2
push eax
call fcn.0042c15e
add esp, 4
push edi
call fcn.0042c15e
add esp, 4
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41ccf7
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41ccf7
test edi, edi
je 0x41ccf7
mov eax, dword [edi]
test eax, eax
je 0x41ccde
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x41ccee
push eax
call fcn.0042c15e
add esp, 4
push edi
call fcn.0042c15e
add esp, 4
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
lea ecx, [ecx]
cmp dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x68]
je 0x41d0a2
call fcn.00437472
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x68]
call fcn.00437ab8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00437a27
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.00437751
test eax, eax
jne 0x41d053
mov eax, dword [ebp - 0x14]
mov ecx, str.desktop.ini
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41cd76
test dx, dx
je 0x41cd72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41cd76
add eax, 4
add ecx, 4
test dx, dx
jne 0x41cd50
xor eax, eax
jmp 0x41cd7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x41d053
lea edx, [ebp - 0x14]
push str.index.dat
push edx
call fcn.00415090
add esp, 8
test al, al
jne 0x41d053
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + 0x38]
push 0x10
lea ecx, [ebp - 0x68]
call edx
test eax, eax
je 0x41ce03
cmp dword [ebp + 0x14], 0
je 0x41d004
mov eax, dword [ebp + 0x14]
push eax
push ebx
push esi
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push ecx
lea ecx, [ebp - 0x68]
call fcn.00437a27
mov ecx, dword [ebp - 0x20]
call fcn.0041cbb0
test ebx, ebx
je 0x41d004
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x68]
call fcn.00437a27
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x24]
call fcn.00401070
jmp 0x41d004
call fcn.00434084
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ce1d
push 0x80004005
call fcn.00401200
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 8
cmp esi, 2
jne 0x41ced0
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp + 0xc]
push str.Cookie:_s
push edx
call fcn.004012d0
mov edi, dword [ebp + 0xc]
add esp, 0xc
cmp dword [edi - 0xc], 0
jge 0x41ce5c
or eax, 0xffffffff
jmp 0x41ce77
push 0x471a34
push edi
call fcn.0044ac8b
add esp, 8
test eax, eax
jne 0x41ce73
or eax, 0xffffffff
jmp 0x41ce77
sub eax, edi
sar eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0xc]
call fcn.00409e70
mov byte [ebp - 4], 9
mov ecx, dword [eax]
push ecx
lea edx, [ebp + 0xc]
push 0x471a38
push edx
call fcn.004012d0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402ad0
jmp 0x41cf61
cmp esi, 1
jne 0x41cf61
lea ecx, [ebp - 0x50]
call fcn.0043a089
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.00437a27
push 0
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push 2
push eax
lea ecx, [ebp - 0x50]
call fcn.0043a4a0
test eax, eax
lea ecx, [ebp - 0x2c]
sete bl
mov byte [ebp - 4], 0xa
call fcn.00401070
test bl, bl
je 0x41cf46
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.0043a164
lea ecx, [ebp + 0xc]
call fcn.00401070
lea ecx, [ebp - 0x18]
call fcn.00401070
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401070
jmp 0x41ccfa
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402ad0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.0043a164
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x41cfba
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp + 0xc]
push 0x471a44
push edx
call fcn.004012d0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402ad0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00437a27
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cfba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
push 3
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x34], esp
mov edi, esp
push eax
call fcn.00402a60
add eax, 0x10
mov dword [edi], eax
mov edi, dword [0x487fa0]
add esp, 4
call fcn.0041c790
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d004
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d027
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
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 0x41cd00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41cd00
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d076
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
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 0x41cd00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41cd00
mov byte [ebp - 4], 2
call fcn.004377b9
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
call fcn.00434060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d0e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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 0x10