Function at 0x485e40
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddd20
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x510008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x44]
movlpd qword [ebp - 0x98], xmm0
call fcn.00409af0
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x44]
call fcn.00484be0
lea ecx, [ebp - 0x88]
call fcn.0049ac50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push 4
call fcn.00412190
push 4
call fcn.004c9d64
add esp, 4
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
push 0x4f0658
lea ecx, [ebp - 0x2c]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0049b360
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403cf0
test bl, bl
je 0x4860b3
mov ecx, dword [ebp - 0x68]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x485f28
mov al, 1
jmp 0x485f2a
xor al, al
test al, al
je 0x485f72
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x485f72
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
mov edi, dword [ebp - 0x60]
cmp esi, 8
cmovae eax, edi
cmp word [eax], 0x2e
jne 0x485f72
cmp edx, 1
je 0x485f64
cmp esi, 8
lea eax, [ebp - 0x60]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x485f72
cmp edx, 2
jne 0x485f72
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
jmp 0x485fc8
or ecx, 0
je 0x485f7b
mov al, 1
jmp 0x485f7d
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
push eax
je 0x485fa0
call fcn.0042b490
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00485e40
jmp 0x485fb8
call fcn.0042b490
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.004a3e50
movzx eax, al
cdq
mov esi, edx
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403cf0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
call fcn.0049b0f0
test al, al
je 0x4860bf
nop
mov ecx, dword [ebp - 0x68]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x485ff1
mov al, 1
jmp 0x485ff3
xor al, al
test al, al
je 0x486030
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x486030
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
cmp ebx, 8
cmovae eax, dword [ebp - 0x60]
cmp word [eax], 0x2e
jne 0x486030
cmp edx, 1
je 0x48609a
cmp ebx, 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
cmp word [eax + 2], 0x2e
jne 0x486030
cmp edx, 2
je 0x48609a
or ecx, 0
je 0x486039
mov al, 1
jmp 0x48603b
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
je 0x48606f
lea ecx, [ebp - 0xb0]
call fcn.0042b490
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.00485e40
add edi, eax
adc esi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
jmp 0x486095
lea ecx, [ebp - 0x2c]
call fcn.0042b490
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004a3e50
movzx eax, al
cdq
add edi, eax
adc esi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403cf0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
call fcn.0049b0f0
test al, al
jne 0x485fe0
jmp 0x4860bf
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x4860da
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4860da
mov dword [ebx], 0xffffffff
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmovae eax, dword [ebp - 0x44]
push eax
call ebx
test eax, eax
jne 0x4861d3
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 9
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.004a4750
test al, al
je 0x486133
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4861c7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403cf0
lea ecx, [ebp - 0x44]
call fcn.004a3ab0
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
je 0x4861d9
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.004a39d0
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
push ecx
call ebx
test eax, eax
jne 0x4861d3
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.004a4750
test al, al
je 0x4861ab
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4861c7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403cf0
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x44]
call fcn.004a39d0
jmp 0x4861d9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403cf0
add edi, 1
adc esi, 0
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x486207
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x4861fc
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4861fc
mov dword [ebx], 0xffffffff
push 4
push ebx
call fcn.004c9d94
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00403cf0
mov eax, edi
mov edx, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9d53
mov esp, ebp
pop ebp
ret