Function at 0x43cc50
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov ecx, dword [ebp + 8]
call fcn.00422d10
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x43cd20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x43cc8c
mov dword [ebp - 0x24], 1
jmp 0x43cc93
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 5], al
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x43ccaf
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
movzx edx, word [ecx]
test edx, edx
je 0x43cd20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 8
jb 0x43cce3
mov dword [ebp - 0x2c], 1
jmp 0x43ccea
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 6], al
movzx ecx, byte [ebp - 6]
test ecx, ecx
je 0x43cd06
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43cd27
xor eax, eax
jmp 0x43ce79
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 8
jb 0x43cd45
mov dword [ebp - 0x34], 1
jmp 0x43cd4c
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 7], dl
movzx eax, byte [ebp - 7]
test eax, eax
je 0x43cd68
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x43cdfa
mov ecx, dword [ebp - 4]
and ecx, 1
je 0x43cdf8
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x43cdb6
mov dword [ebp - 0x3c], 1
jmp 0x43cdbd
mov dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
mov byte [ebp - 8], al
movzx ecx, byte [ebp - 8]
test ecx, ecx
je 0x43cdd9
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x43ce79
jmp 0x43ce74
mov eax, dword [ebp - 4]
and eax, 1
jne 0x43ce74
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 8
jb 0x43ce29
mov dword [ebp - 0x44], 1
jmp 0x43ce30
mov dword [ebp - 0x44], 0
mov dl, byte [ebp - 0x44]
mov byte [ebp - 9], dl
movzx eax, byte [ebp - 9]
test eax, eax
je 0x43ce4c
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x43ce79
mov eax, 1
mov esp, ebp
pop ebp
ret