Function at 0x445300
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bb677
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
mov edi, dword [esp + 0x398]
mov ebp, dword [esp + 0x39c]
mov ebx, ecx
lea ecx, [esp + 0x260]
mov dword [esp + 0x14], edi
call fcn.00448930
xor eax, eax
cmp dword [esp + 0x380], eax
je 0x44536d
mov dword [esp + 0x380], eax
mov ecx, 1
lea esi, [esp + 0x268]
mov dword [esp + 0x264], eax
call fcn.004495a0
cmp byte [esp + 0x37c], 0
lea eax, [esp + 0x26c]
jne 0x44539d
mov eax, dword [esp + 0x268]
xor ecx, ecx
mov word [eax + 4], cx
lea edx, [esp + 0x260]
mov dword [esp + 0x390], ecx
push edx
mov ecx, ebp
call fcn.00445ae0
test al, al
je 0x445407
push 0
push edi
lea ecx, [esp + 0x268]
call fcn.00445080
test al, al
jne 0x445407
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x37c], 0
jne 0x445400
mov eax, dword [esp + 0x268]
lea ecx, [esp + 0x26c]
cmp eax, ecx
je 0x445400
push eax
call fcn.00498f5b
add esp, 4
xor al, al
jmp 0x4455dd
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x445416
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
add eax, 4
push eax
call esi
cmp byte [ebp + 0x11c], 0
lea ecx, [ebp + 0xc]
jne 0x445436
mov ecx, dword [ebp + 8]
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
jne 0x445445
mov eax, dword [ebx + 8]
movzx edx, byte [esp + 0x3a0]
push edx
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x445566
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov edi, eax
call fcn.00447720
mov esi, eax
call fcn.00447a60
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00447720
cmp byte [ebp + 0x11c], 0
je 0x44549d
add ebp, 0xc
jmp 0x4454a0
mov ebp, dword [ebp + 8]
lea ecx, [esp + 0x18]
call fcn.00448930
lea eax, [ebp + 4]
lea edx, [esp + 0x18]
call fcn.00448b50
cmp byte [ebx + 0x11c], 0
lea esi, [ebx + 0xc]
jne 0x4454c4
mov esi, dword [ebx + 8]
lea ecx, [esp + 0x13c]
call fcn.00448930
lea eax, [esi + 4]
lea edx, [esp + 0x13c]
call fcn.00448b50
lea eax, [esp + 0x13c]
push eax
push 0x4e2abc
mov ecx, edi
mov byte [esp + 0x398], 4
call fcn.00447720
mov edi, eax
lea eax, [esp + 0x20]
call fcn.00447c40
cmp byte [esp + 0x258], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x13c], esi
jne 0x445537
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x148]
cmp eax, ecx
je 0x445537
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], esi
jne 0x44555a
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x44555a
push eax
call fcn.00498f5b
add esp, 4
mov dword [esp + 0x260], esi
jmp 0x4453db
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x445575
mov eax, dword [ebp + 8]
push 0x80
add eax, 4
push eax
call esi
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x44558f
mov eax, dword [ebp + 8]
push 1
push 0x10000000
add eax, 4
push 1
push eax
call fcn.00453060
add esp, 0x10
mov eax, ebp
call fcn.00446990
cmp byte [esp + 0x37c], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x4455db
mov eax, dword [esp + 0x268]
lea edx, [esp + 0x26c]
cmp eax, edx
je 0x4455db
push eax
call fcn.00498f5b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.00497c58
add esp, 0x380
ret 0xc