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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4977a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 0
jne 0x433bf6
mov dword [ebp - 0x3c], 1
jmp 0x433bfd
mov dword [ebp - 0x3c], 0
mov dl, byte [ebp - 0x3c]
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x433c12
xor eax, eax
jmp 0x433fc9
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00401840
mov dword [ebp - 4], 0
push 0x5c
lea edx, [ebp - 0xf0]
push edx
call fcn.00421330
add esp, 8
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x433c61
mov dword [ebp - 0x40], 1
jmp 0x433c68
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x433c8a
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x433fa8
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x433ccd
mov dword [ebp - 0x48], 1
jmp 0x433cd4
mov dword [ebp - 0x48], 0
mov cl, byte [ebp - 0x48]
mov byte [ebp - 0x13], cl
movzx edx, byte [ebp - 0x13]
test edx, edx
je 0x433cf6
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
movzx eax, word [edx]
test eax, eax
je 0x433fa8
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x433d3d
mov dword [ebp - 0x50], 1
jmp 0x433d44
mov dword [ebp - 0x50], 0
mov cl, byte [ebp - 0x50]
mov byte [ebp - 0x14], cl
movzx edx, byte [ebp - 0x14]
test edx, edx
je 0x433d66
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433fa8
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 8
jb 0x433db1
mov dword [ebp - 0x58], 1
jmp 0x433db8
mov dword [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
mov byte [ebp - 0x15], al
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x433dda
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x433eb6
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x433e28
mov eax, dword [ebp - 0x10]
and eax, 0xfffffffe
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 1
mov ecx, dword [ebp - 0x10]
and ecx, 2
je 0x433e40
mov edx, dword [ebp - 0x10]
and edx, 0xfffffffd
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 0
je 0x433eb6
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x14], 8
jb 0x433e67
mov dword [ebp - 0x60], 1
jmp 0x433e6e
mov dword [ebp - 0x60], 0
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x16], al
movzx ecx, byte [ebp - 0x16]
test ecx, ecx
je 0x433e90
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x14], 8
jb 0x433ed7
mov dword [ebp - 0x68], 1
jmp 0x433ede
mov dword [ebp - 0x68], 0
mov al, byte [ebp - 0x68]
mov byte [ebp - 0x17], al
movzx ecx, byte [ebp - 0x17]
test ecx, ecx
je 0x433f00
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [ebp - 0xf0]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x14], 8
jb 0x433f43
mov dword [ebp - 0x70], 1
jmp 0x433f4a
mov dword [ebp - 0x70], 0
mov dl, byte [ebp - 0x70]
mov byte [ebp - 0x18], dl
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x433f6c
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x433f9b
mov dword [ebp - 0x78], 1
jmp 0x433fa2
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0xd8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00423720
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4