Function at 0x46fd00
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f24f3
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x533068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x44]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x94], xmm0
call fcn.00405530
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x44]
call fcn.004706e0
lea ecx, [ebp - 0x84]
call fcn.0047e650
mov byte [ebp - 4], 1
push 4
call fcn.004bc91a
add esp, 4
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push 0x50b068
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403d50
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.0047ea70
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004027f0
mov esi, dword [ebp - 0x98]
test bl, bl
je 0x46ffda
lea ecx, [ebp - 0x84]
call fcn.0047e740
test al, al
jne 0x46fe79
mov eax, dword [ebp - 0x64]
and eax, 0x10
or eax, 0
je 0x46fe00
mov al, 1
jmp 0x46fe02
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
push eax
je 0x46fe43
call fcn.00412f40
add esp, 4
mov byte [ebp - 4], 5
push eax
call fcn.0046fd00
mov ebx, eax
mov edi, edx
add esp, 4
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x88], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004027f0
jmp 0x46fe91
call fcn.00412f40
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00493430
movzx eax, al
cdq
mov ebx, eax
mov dword [ebp - 0x90], eax
mov edi, edx
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004027f0
jmp 0x46fe91
mov edi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x90], ebx
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0047e7b0
test al, al
je 0x46ffe6
mov edi, dword [ebp - 0x64]
and edi, 0x10
mov eax, edi
or eax, 0
je 0x46feb8
mov al, 1
jmp 0x46feba
xor al, al
test al, al
je 0x46ff13
lea ecx, [ebp - 0x5c]
call fcn.00405520
test al, al
jne 0x46ff13
lea ecx, [ebp - 0x5c]
call fcn.00402870
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x46fedc
mov eax, dword [ebx]
cmp word [eax], 0x2e
jne 0x46ff13
lea ecx, [ebp - 0x5c]
call fcn.00404030
cmp eax, 1
je 0x46ffb6
cmp dword [ebx + 0x14], 8
jb 0x46fefb
mov ebx, dword [ebx]
cmp word [ebx + 2], 0x2e
jne 0x46ff13
lea ecx, [ebp - 0x5c]
call fcn.00404030
cmp eax, 2
je 0x46ffb6
or edi, 0
je 0x46ff1c
mov al, 1
jmp 0x46ff1e
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x5c]
push eax
je 0x46ff71
lea ecx, [ebp - 0xb0]
call fcn.00412f40
add esp, 4
mov byte [ebp - 4], 7
push eax
call fcn.0046fd00
mov ebx, dword [ebp - 0x90]
add esp, 4
mov edi, dword [ebp - 0x88]
add ebx, eax
mov dword [ebp - 0x90], ebx
adc edi, edx
mov dword [ebp - 0x88], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.004027f0
jmp 0x46ffc2
lea ecx, [ebp - 0x2c]
call fcn.00412f40
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.00493430
mov ebx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x88]
movzx eax, al
cdq
add ebx, eax
mov dword [ebp - 0x90], ebx
adc edi, edx
mov dword [ebp - 0x88], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004027f0
jmp 0x46ffc2
mov edi, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x90]
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0047e7b0
test al, al
jne 0x46fea7
jmp 0x46ffe6
mov edi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x94]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x46fffe
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x46fffe
mov dword [esi], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004027b0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4700d9
lea ecx, [ebp - 0x2c]
call fcn.00402850
mov byte [ebp - 4], 9
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00493880
test al, al
je 0x470047
lea ecx, [ebp - 0x2c]
call fcn.004027b0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4700cd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004027f0
lea ecx, [ebp - 0x44]
call fcn.00493120
mov dword [ebp - 0x88], eax
cmp eax, 0xffffffff
je 0x4700df
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.00493060
lea ecx, [ebp - 0x44]
call fcn.004027b0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4700d9
lea ecx, [ebp - 0x2c]
call fcn.00402850
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00493880
test al, al
je 0x4700b1
lea ecx, [ebp - 0x2c]
call fcn.004027b0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4700cd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004027f0
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x44]
call fcn.00493060
jmp 0x4700df
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004027f0
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4700fb
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4700fb
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.004bc94a
add esp, 8
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004027f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004027f0
mov eax, ebx
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bc909
mov esp, ebp
pop ebp
ret