Function at 0x480920
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc4b0
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x50e008]
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.00409b00
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x44]
call fcn.0047f6b0
lea ecx, [ebp - 0x88]
call fcn.00495550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push 4
call fcn.00412180
push 4
call fcn.004c4864
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 0x4ee838
lea ecx, [ebp - 0x2c]
call fcn.0041b410
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00495c60
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403cf0
test bl, bl
je 0x480b93
mov ecx, dword [ebp - 0x68]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x480a08
mov al, 1
jmp 0x480a0a
xor al, al
test al, al
je 0x480a52
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x480a52
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 0x480a52
cmp edx, 1
je 0x480a44
cmp esi, 8
lea eax, [ebp - 0x60]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x480a52
cmp edx, 2
jne 0x480a52
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
jmp 0x480aa8
or ecx, 0
je 0x480a5b
mov al, 1
jmp 0x480a5d
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
push eax
je 0x480a80
call fcn.00427ff0
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00480920
jmp 0x480a98
call fcn.00427ff0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.0049e770
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.004959f0
test al, al
je 0x480b9f
nop
mov ecx, dword [ebp - 0x68]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x480ad1
mov al, 1
jmp 0x480ad3
xor al, al
test al, al
je 0x480b10
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x480b10
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
cmp ebx, 8
cmovae eax, dword [ebp - 0x60]
cmp word [eax], 0x2e
jne 0x480b10
cmp edx, 1
je 0x480b7a
cmp ebx, 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
cmp word [eax + 2], 0x2e
jne 0x480b10
cmp edx, 2
je 0x480b7a
or ecx, 0
je 0x480b19
mov al, 1
jmp 0x480b1b
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
je 0x480b4f
lea ecx, [ebp - 0xb0]
call fcn.00427ff0
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.00480920
add edi, eax
adc esi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
jmp 0x480b75
lea ecx, [ebp - 0x2c]
call fcn.00427ff0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0049e770
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.004959f0
test al, al
jne 0x480ac0
jmp 0x480b9f
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x480bba
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x480bba
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 0x480cb3
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.0049f070
test al, al
je 0x480c13
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x480ca7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403cf0
lea ecx, [ebp - 0x44]
call fcn.0049e3d0
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
je 0x480cb9
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.0049e2f0
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
push ecx
call ebx
test eax, eax
jne 0x480cb3
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.0049f070
test al, al
je 0x480c8b
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x480ca7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403cf0
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x44]
call fcn.0049e2f0
jmp 0x480cb9
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 0x480ce7
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x480cdc
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x480cdc
mov dword [ebx], 0xffffffff
push 4
push ebx
call fcn.004c4894
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.004c4853
mov esp, ebp
pop ebp
ret