Function at 0x43d8a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9841
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x28]
push 0x118
mov dword [ebp - 0x480], eax
mov dword [eax], 0
lea eax, [ebp - 0x130]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x130]
call fcn.00403910
push esi
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0
call fcn.004045b0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x130]
call fcn.00407240
cmp byte [ebp + 0x20], 0
je 0x43d940
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push eax
call fcn.0043c280
add esp, 0xc
lea ecx, [ebp - 0x130]
call fcn.00406ee0
test al, al
je 0x43d962
mov eax, dword [edi]
mov ecx, edi
push str.openFileWin32:_file_path_is_empty.
call dword [eax + 0x14]
xor esi, esi
jmp 0x43dc83
lea ecx, [ebp - 0x130]
call fcn.004061c0
cmp byte [ebp + 0x18], 0
mov edx, 2
mov ecx, dword [ebp + 0x10]
mov esi, edx
mov dword [ebp - 0x47c], eax
mov eax, 0x80
cmove esi, eax
mov al, byte [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x18], esi
test al, al
je 0x43d99f
test cl, cl
setne bl
add ebx, 3
jmp 0x43d9a4
test cl, cl
cmovne ebx, edx
movzx eax, al
shl eax, 0x1f
mov edx, eax
or edx, 0x40000000
test cl, cl
push 0x118
cmove edx, eax
mov eax, 3
xor ecx, ecx
mov dword [ebp - 0x488], edx
cmp byte [ebp + 0x14], cl
mov dword [ebp - 0x14], ecx
cmovne eax, ecx
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x478]
push 0
push eax
mov dword [ebp - 0x48c], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x478]
call fcn.00403910
cmp dword [ebp - 0x47c], 0
mov byte [ebp - 4], 1
jl 0x43da33
push 0
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0043c130
lea eax, [ebp - 0x478]
add esp, 0xc
mov dword [ebp - 0x48c], eax
jmp 0x43da39
lea eax, [ebp - 0x130]
push edi
lea ecx, [ebp - 0x14]
push ecx
push 0
push esi
push ebx
push 0
push dword [ebp - 0x484]
mov ecx, eax
push dword [ebp - 0x488]
call fcn.00406d60
push eax
push 0x7d1
call fcn.004c5310
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x43dc5a
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x490], eax
lea eax, [ebp - 0x490]
push edi
push eax
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0043baa0
add esp, 0x10
test al, al
je 0x43dbf2
mov eax, dword [ebp - 0x47c]
test al, 1
je 0x43dbf2
and eax, 0xfffffffe
push 0x118
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x248]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.00403910
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x248]
call fcn.004045b0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x248]
call fcn.00407240
push esi
lea eax, [ebp - 0x248]
push 1
push eax
call fcn.0043c280
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.00406ee0
test al, al
jne 0x43db84
push 0x118
lea eax, [ebp - 0x360]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x360]
call fcn.00403910
push esi
lea eax, [ebp - 0x360]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0043c130
add esp, 0xc
lea ecx, [ebp - 0x360]
push dword [ebp - 0x47c]
call fcn.00406d60
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea ecx, [ebp - 0x360]
mov dword [ebp - 0x47c], eax
call fcn.004039a0
jmp 0x43dba2
push dword [ebp - 0x47c]
lea ecx, [ebp - 0x248]
call fcn.00406d60
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.004039a0
cmp dword [ebp - 0x47c], 0
je 0x43dbf2
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x14]
push edi
push eax
push 0
push dword [ebp - 0x18]
push ebx
push 0
push dword [ebp - 0x484]
push dword [ebp - 0x488]
call fcn.00406d60
push eax
push 0x7d1
call fcn.004c5310
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x43dc5a
push dword [ebp - 0x14]
mov ecx, edi
push str.windowsError
call fcn.00448f10
mov eax, dword [ebp - 0x14]
cmp eax, 5
je 0x43dc39
cmp eax, 0x20
je 0x43dc39
cmp eax, 0x21
je 0x43dc39
cmp eax, 3
je 0x43dc2b
cmp eax, 2
je 0x43dc2b
mov eax, dword [ebp - 0x480]
mov dword [eax], 3
jmp 0x43dc45
mov eax, dword [ebp - 0x480]
mov dword [eax], 2
jmp 0x43dc45
mov eax, dword [ebp - 0x480]
mov dword [eax], 1
lea eax, [ebp - 0x130]
mov ecx, edi
push eax
push str.localWindowsFilePath
call fcn.00448f80
jmp 0x43dc78
cmp byte [ebp + 0x1c], 0
je 0x43dc78
push 2
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
lea ecx, [ebp - 0x478]
call fcn.004039a0
lea ecx, [ebp - 0x130]
call fcn.004039a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b34c8
mov esp, ebp
pop ebp
ret