Function at 0x4b2ec0
Capabilities:
Delete directory

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x8c
push 0xffffffffffffffff
push 0x505529
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x53e008]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
push ecx
lea ecx, [ebp + 0x58]
movlpd qword [ebp - 0x20], xmm0
call fcn.0040c400
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x58]
call fcn.004b6880
lea ecx, [ebp]
call fcn.004bc1e0
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0x14], 0
call fcn.004ec162
mov dword [ebp - 0x18], 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 + 0x58]
push 0x519220
lea ecx, [ebp + 0x40]
call fcn.0040d190
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004c07a0
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.00403780
mov esi, dword [ebp - 0x14]
test bl, bl
je 0x4b31e9
mov ecx, dword [ebp + 0x20]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x4b2fab
mov al, 1
jmp 0x4b2fad
xor al, al
test al, al
je 0x4b2fef
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x4b2fef
mov edi, dword [ebp + 0x3c]
lea eax, [ebp + 0x28]
mov ebx, dword [ebp + 0x28]
cmp edi, 8
cmovae eax, ebx
cmp word [eax], 0x2e
jne 0x4b2fef
cmp edx, 1
je 0x4b2fe7
cmp edi, 8
lea eax, [ebp + 0x28]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x4b2fef
cmp edx, 2
jne 0x4b2fef
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
jmp 0x4b3045
or ecx, 0
je 0x4b2ff8
mov al, 1
jmp 0x4b2ffa
xor al, al
test al, al
lea edx, [ebp + 0x58]
lea eax, [ebp + 0x28]
lea ecx, [ebp + 0x40]
push eax
je 0x4b301d
call fcn.00449670
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.004b2ec0
jmp 0x4b3035
call fcn.00449670
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x40]
call fcn.004cfb90
movzx eax, al
cdq
mov edi, edx
mov ebx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.00403780
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.004c0530
test al, al
je 0x4b31ef
mov ecx, dword [ebp + 0x20]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x4b3069
mov al, 1
jmp 0x4b306b
xor al, al
test al, al
je 0x4b30ab
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x4b30ab
cmp dword [ebp + 0x3c], 8
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
cmp word [eax], 0x2e
jne 0x4b30ab
cmp edx, 1
je 0x4b31d4
cmp dword [ebp + 0x3c], 8
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
cmp word [eax + 2], 0x2e
jne 0x4b30ab
cmp edx, 2
je 0x4b31d4
or ecx, 0
je 0x4b30b4
mov al, 1
jmp 0x4b30b6
xor al, al
test al, al
je 0x4b314d
mov byte [ebp - 4], 7
xor eax, eax
or dword [ebp - 0x10], 1
lea ecx, [ebp + 0x70]
mov word [ebp + 0x70], ax
mov eax, dword [ebp + 0x68]
add eax, dword [ebp + 0x38]
mov dword [ebp + 0x80], 0
mov dword [ebp + 0x84], 0
push eax
mov dword [ebp + 0x80], 0
mov dword [ebp + 0x84], 7
call fcn.0040db50
cmp dword [ebp + 0x6c], 8
lea eax, [ebp + 0x58]
push dword [ebp + 0x68]
cmovae eax, dword [ebp + 0x58]
lea ecx, [ebp + 0x70]
push eax
call fcn.004039b0
cmp dword [ebp + 0x3c], 8
lea eax, [ebp + 0x28]
push dword [ebp + 0x38]
cmovae eax, dword [ebp + 0x28]
lea ecx, [ebp + 0x70]
push eax
call fcn.004039b0
lea ecx, [ebp + 0x70]
call fcn.004b2ec0
add ebx, eax
adc edi, edx
and dword [ebp - 0x10], 0xfffffffe
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
jmp 0x4b31cf
mov byte [ebp - 4], 8
xor eax, eax
or dword [ebp - 0x10], 2
lea ecx, [ebp + 0x40]
mov word [ebp + 0x40], ax
mov eax, dword [ebp + 0x68]
add eax, dword [ebp + 0x38]
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 0
push eax
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 7
call fcn.0040db50
cmp dword [ebp + 0x6c], 8
lea eax, [ebp + 0x58]
push dword [ebp + 0x68]
cmovae eax, dword [ebp + 0x58]
lea ecx, [ebp + 0x40]
push eax
call fcn.004039b0
cmp dword [ebp + 0x3c], 8
lea eax, [ebp + 0x28]
push dword [ebp + 0x38]
cmovae eax, dword [ebp + 0x28]
lea ecx, [ebp + 0x40]
push eax
call fcn.004039b0
lea ecx, [ebp + 0x40]
call fcn.004cfb90
movzx eax, al
cdq
add ebx, eax
adc edi, edx
and dword [ebp - 0x10], 0xfffffffd
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.00403780
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.004c0530
test al, al
jne 0x4b3058
jmp 0x4b31ef
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4b3207
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4b3207
mov dword [esi], 0xffffffff
cmp dword [ebp + 0x6c], 8
lea eax, [ebp + 0x58]
cmovae eax, dword [ebp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4b3322
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], 7
mov word [ebp + 0x70], ax
mov byte [ebp - 4], 9
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.004d0280
test al, al
je 0x4b3271
cmp dword [ebp + 0x84], 8
lea eax, [ebp + 0x70]
cmovae eax, dword [ebp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4b3316
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403780
lea ecx, [ebp + 0x58]
call fcn.004cf7f0
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x4b3328
xor edx, edx
lea ecx, [ebp + 0x58]
call fcn.004cf720
cmp dword [ebp + 0x6c], 8
lea ecx, [ebp + 0x58]
cmovae ecx, dword [ebp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4b3322
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], 7
mov word [ebp + 0x70], ax
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.004d0280
test al, al
je 0x4b32fd
cmp dword [ebp + 0x84], 8
lea eax, [ebp + 0x70]
cmovae eax, dword [ebp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4b3316
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403780
mov edx, dword [ebp - 0x18]
lea ecx, [ebp + 0x58]
call fcn.004cf720
jmp 0x4b3328
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00403780
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4b3344
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4b3344
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.004ec192
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.00403780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.00403780
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 + 0x88]
xor ecx, ebp
call fcn.004ec151
lea esp, [ebp + 0x8c]
pop ebp
ret