Function at 0x43d600
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5981
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x68cc00]
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.004038e0
push esi
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0
call fcn.00404580
push 0x5c
push 0x2f
lea ecx, [ebp - 0x130]
call fcn.00407210
cmp byte [ebp + 0x20], 0
je 0x43d6a0
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push eax
call fcn.0043bfe0
add esp, 0xc
lea ecx, [ebp - 0x130]
call fcn.00406eb0
test al, al
je 0x43d6c2
mov eax, dword [edi]
mov ecx, edi
push str.openFileWin32:_file_path_is_empty.
call dword [eax + 0x14]
xor esi, esi
jmp 0x43d9e3
lea ecx, [ebp - 0x130]
call fcn.00406190
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 0x43d6ff
test cl, cl
setne bl
add ebx, 3
jmp 0x43d704
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.004038e0
cmp dword [ebp - 0x47c], 0
mov byte [ebp - 4], 1
jl 0x43d793
push 0
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0043be90
lea eax, [ebp - 0x478]
add esp, 0xc
mov dword [ebp - 0x48c], eax
jmp 0x43d799
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.00406d30
push eax
push 0x7d1
call fcn.004c4600
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x43d9ba
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.0043b800
add esp, 0x10
test al, al
je 0x43d952
mov eax, dword [ebp - 0x47c]
test al, 1
je 0x43d952
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.004038e0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x248]
call fcn.00404580
push 0x5c
push 0x2f
lea ecx, [ebp - 0x248]
call fcn.00407210
push esi
lea eax, [ebp - 0x248]
push 1
push eax
call fcn.0043bfe0
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.00406eb0
test al, al
jne 0x43d8e4
push 0x118
lea eax, [ebp - 0x360]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x360]
call fcn.004038e0
push esi
lea eax, [ebp - 0x360]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0043be90
add esp, 0xc
lea ecx, [ebp - 0x360]
push dword [ebp - 0x47c]
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea ecx, [ebp - 0x360]
mov dword [ebp - 0x47c], eax
call fcn.00403970
jmp 0x43d902
push dword [ebp - 0x47c]
lea ecx, [ebp - 0x248]
call fcn.00406d30
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.00403970
cmp dword [ebp - 0x47c], 0
je 0x43d952
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.00406d30
push eax
push 0x7d1
call fcn.004c4600
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x43d9ba
push dword [ebp - 0x14]
mov ecx, edi
push str.windowsError
call fcn.00448c70
mov eax, dword [ebp - 0x14]
cmp eax, 5
je 0x43d999
cmp eax, 0x20
je 0x43d999
cmp eax, 0x21
je 0x43d999
cmp eax, 3
je 0x43d98b
cmp eax, 2
je 0x43d98b
mov eax, dword [ebp - 0x480]
mov dword [eax], 3
jmp 0x43d9a5
mov eax, dword [ebp - 0x480]
mov dword [eax], 2
jmp 0x43d9a5
mov eax, dword [ebp - 0x480]
mov dword [eax], 1
lea eax, [ebp - 0x130]
mov ecx, edi
push eax
push str.localWindowsFilePath
call fcn.00448ce0
jmp 0x43d9d8
cmp byte [ebp + 0x1c], 0
je 0x43d9d8
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.00403970
lea ecx, [ebp - 0x130]
call fcn.00403970
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.005af618
mov esp, ebp
pop ebp
ret