Function at 0x4f6980
Capabilities:
Delete directory

Disassembly:
mov eax, 0x1144
call fcn.005e00d0
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x1140], eax
push ebx
push ebp
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x94d]
push ebx
push eax
mov byte [esp + 0x954], bl
call fcn.005dfd60
push 0x3ff
lea ecx, [esp + 0x159]
push ebx
push ecx
mov byte [esp + 0x160], bl
call fcn.005dfd60
push 0x3ff
lea edx, [esp + 0xd65]
push ebx
push edx
mov byte [esp + 0xd6c], bl
call fcn.005dfd60
push 0x3ff
lea eax, [esp + 0x571]
push ebx
push eax
mov byte [esp + 0x578], bl
call fcn.005dfd60
mov eax, dword [esp + 0x1180]
add esp, 0x30
cmp byte [eax + 1], 0x3a
lea ebp, [ebx + 1]
je 0x4f6a30
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1140]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x1144
ret
lea edx, [esp + 0x148]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4f6a40
lea ecx, [esp + 0x148]
push 0x5c
push ecx
call fcn.005e0a00
add esp, 8
cmp eax, ebx
je 0x4f6a17
mov byte [eax], bl
cmp byte [esp + 0x14a], bl
je 0x4f6a17
lea edx, [esp + 0x148]
push edx
call fcn.004ec720
add esp, 4
test eax, eax
je 0x4f6a17
push ebx
lea eax, [esp + 0x14c]
push str.Windows_Live_Mail
push eax
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4f6a17
xor eax, eax
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x548], cl
inc eax
cmp cl, bl
jne 0x4f6aa0
push esi
lea ecx, [esp + 0x54c]
push 0x5c
push ecx
call fcn.005e0a00
add esp, 8
cmp eax, ebx
je 0x4f6ae2
lea ecx, [eax + 1]
lea esi, [esp + 0xd4c]
sub esi, ecx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x4f6ad6
mov byte [eax], bl
lea edx, [esp + 0xd4c]
push str.Outbox
push edx
call fcn.005f095a
add esp, 8
test eax, eax
jne 0x4f6b13
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1140]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x1144
ret
xor eax, eax
jmp 0x4f6b20
mov cl, byte [esp + eax + 0x14c]
mov byte [esp + eax + 0x94c], cl
inc eax
cmp cl, bl
jne 0x4f6b20
lea eax, [esp + 0x94c]
push edi
push eax
call fcn.004e24e0
lea edi, [esp + 0x954]
add esp, 4
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4f6b50
mov cx, word [0x66da74]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x954]
push eax
mov word [edi], cx
mov esi, ebp
call fcn.004e0820
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x4f6c21
cmp esi, ebx
je 0x4f6c12
test byte [esp + 0x10], 0x10
je 0x4f6c10
mov ecx, 0x66d664
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f6bc0
cmp dl, bl
je 0x4f6bbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f6bc0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4f6ba0
xor eax, eax
jmp 0x4f6bc5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4f6bfb
mov ecx, 0x66da5c
lea eax, [esp + 0x3c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f6bf2
cmp dl, bl
je 0x4f6bee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f6bf2
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4f6bd2
xor eax, eax
jmp 0x4f6bf7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4f6c10
lea ecx, [esp + 0x10]
push ecx
push edi
call fcn.004d5ad0
add esp, 8
mov esi, eax
jmp 0x4f6b84
xor ebp, ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebp, ebx
je 0x4f6d35
cmp dword [esp + 0x115c], ebx
je 0x4f6c76
lea edx, [esp + 0xd50]
push str.Startup
push edx
call fcn.004dd620
add esp, 8
test eax, eax
jne 0x4f6c76
cmp byte [esp + 0x550], bl
je 0x4f6d25
cmp byte [esp + 0x552], bl
je 0x4f6c76
lea eax, [esp + 0x550]
push str.Startup
push eax
call fcn.004ecc00
add esp, 8
test eax, eax
je 0x4f6d35
cmp byte [esp + 0x550], bl
je 0x4f6d25
cmp byte [esp + 0x552], bl
je 0x4f6d25
lea ecx, [esp + 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x4f6d35
lea edx, [esp + 0x150]
push edx
push str._FolderRem___s
push ebx
call fcn.004f0f30
add esp, 0xc
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x550]
mov byte [esp + eax + 0x950], cl
inc eax
cmp cl, bl
jne 0x4f6cc0
lea eax, [esp + 0x950]
push eax
call fcn.004e24e0
lea eax, [esp + 0x954]
add esp, 4
dec eax
jmp 0x4f6cf0
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4f6cf0
mov ecx, dword [str.temp.tmp]
mov edx, dword [0x649a64]
mov dword [eax], ecx
mov cl, byte [0x649a68]
mov dword [eax + 4], edx
lea edx, [esp + 0x950]
push ebx
push edx
mov byte [eax + 8], cl
call fcn.004f6980
add esp, 8
jmp 0x4f6d37
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4f6d37
xor eax, eax
mov ecx, dword [esp + 0x1150]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x1144
ret