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

Disassembly:
push 0xffffffffffffffff
push 0x45c1d7
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x4731fc]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push esi
mov eax, dword [0x4731fc]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
push 0x11
lea ecx, [esp + 0x4f0]
mov dword [esp + 0x4c4], 1
call fcn.00401e40
push eax
call fcn.0043d0a0
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x43ebdc
cmp esi, 0x2c
jne 0x43ee4d
push 1
lea ecx, [esp + 0x4cc]
call fcn.00401e40
push eax
call fcn.0043d0a0
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x43ee4d
lea eax, [esp + 0x4ec]
push eax
lea ecx, [esp + 0x7c]
call fcn.00405ba0
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
mov byte [esp + 0x4c0], 2
jae 0x43ec2e
lea eax, [esp + 0x80]
push eax
call fcn.0043e5c0
mov esi, eax
add esp, 4
cmp esi, ebx
lea ecx, [esp + 0x78]
jne 0x43ee40
call fcn.00401e40
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ec6d
or eax, 1
sub eax, 1
push eax
lea ecx, [esp + 0x7c]
call fcn.00401e40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4630d4
lea ecx, [esp + 0x34]
call fcn.004031c0
push 1
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x4d0]
mov byte [esp + 0x4c8], 3
call fcn.00401ed0
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov byte [esp + 0x4c4], 4
call edx
test eax, eax
lea ecx, [esp + 0x54]
setne byte [esp + 0xf]
mov byte [esp + 0x4c0], 3
call fcn.00401d80
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c0], 2
call fcn.00401d80
cmp byte [esp + 0xf], bl
je 0x43ed1d
push 0x4630d4
lea ecx, [esp + 0x34]
call fcn.004031c0
mov edx, dword [esp + 0x4c8]
lea eax, [esp + 0x30]
push eax
mov eax, dword [edx + 0x8c]
lea ecx, [esp + 0x4cc]
mov byte [esp + 0x4c4], 5
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c0], 2
call fcn.00401d80
push 0x465da0
lea ecx, [esp + 0x34]
call fcn.004031c0
mov edx, dword [esp + 0x4c8]
mov eax, dword [edx + 0x8c]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4cc]
mov byte [esp + 0x4c4], 6
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c0], 2
call fcn.00401d80
push 0x20a
lea ecx, [esp + 0xa2]
push ebx
push ecx
mov word [esp + 0xa8], bx
call sub.MSVCR80.dll_memset
push 0x20a
lea edx, [esp + 0x2ba]
push ebx
push edx
mov word [esp + 0x2c0], bx
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0x104
lea ecx, [esp + 0x4cc]
call fcn.00401e40
mov esi, dword [sym.imp.MSVCR80.dll_wcsncpy]
push eax
lea eax, [esp + 0xa4]
push eax
call esi
add esp, 0xc
push 0x104
lea ecx, [esp + 0x4f0]
call fcn.00401e40
push eax
lea ecx, [esp + 0x2b0]
push ecx
call esi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
add esp, 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x9c]
lea eax, [esp + 0x2a8]
push ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov word [esp + 0x24], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
and eax, 7
mov esi, eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x4c0], 1
call fcn.00401d80
lea ecx, [esp + 0x4c8]
mov byte [esp + 0x4c0], bl
call fcn.00401d80
lea ecx, [esp + 0x4ec]
mov dword [esp + 0x4c0], 0xffffffff
call fcn.00401d80
mov eax, esi
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.004420bc
add esp, 0x4b8
ret