Function at 0x404b56
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push 0x80
mov eax, 0x411ba7
call fcn.0040aaf2
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x2c]
movlpd qword [ebp - 0x8c], xmm0
call fcn.00403480
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push 0x10
push eax
call fcn.00407807
pop ecx
pop ecx
lea ecx, [ebp - 0x84]
call fcn.004076ba
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004074ea
push 0x413298
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 2
call fcn.004040f0
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004075ed
push 0
push 1
lea ecx, [ebp - 0x44]
mov bl, al
mov byte [ebp - 4], 2
call fcn.004018e0
test bl, bl
je 0x404d07
lea ecx, [ebp - 0x84]
call fcn.0040770b
test al, al
jne 0x404c62
lea ecx, [ebp - 0x84]
call fcn.004076fb
lea ecx, [ebp - 0x84]
test al, al
je 0x404c3c
call fcn.004076f7
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404a75
push eax
mov byte [ebp - 4], 4
call fcn.00404b56
add esp, 0x10
mov esi, eax
mov edi, edx
jmp 0x404cde
call fcn.004076f7
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404a75
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 5
call fcn.00404dc5
movzx eax, al
cdq
jmp 0x404c30
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x8c]
jmp 0x404cee
lea ecx, [ebp - 0x84]
call fcn.0040770b
test al, al
jne 0x404cee
lea ecx, [ebp - 0x84]
call fcn.004076fb
lea ecx, [ebp - 0x84]
test al, al
je 0x404cb3
call fcn.004076f7
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404a75
push eax
mov byte [ebp - 4], 6
call fcn.00404b56
jmp 0x404cd7
call fcn.004076f7
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404a75
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 7
call fcn.00404dc5
movzx eax, al
cdq
add esp, 0x10
add esi, eax
adc edi, edx
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004018e0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040765e
test al, al
jne 0x404c70
jmp 0x404d13
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x14]
call fcn.00407524
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x404d7d
lea eax, [ebp - 0x2c]
push 0x20
push eax
call fcn.00407807
cmp dword [ebp - 0x18], 8
pop ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404d94
push 0
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.00404f29
add esp, 0xc
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x404d85
add esi, 1
adc edi, 0
jmp 0x404d94
push 0
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00404f29
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00407506
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.004076ea
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018e0
mov eax, esi
mov edx, edi
call fcn.0040aab0
ret