Function at 0x407c60
Capabilities:
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4279f7
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x4334ac]
xor eax, esp
mov dword [esp + 0x374], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4334ac]
xor eax, esp
push eax
lea eax, [esp + 0x38c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x39c]
mov ebp, dword [esp + 0x3a0]
lea edi, [esp + 0x260]
mov ebx, ecx
mov dword [esp + 0x14], eax
call fcn.00408250
xor edi, edi
cmp dword [esp + 0x380], edi
je 0x407ccd
mov dword [esp + 0x380], edi
mov ecx, 1
lea esi, [esp + 0x268]
mov dword [esp + 0x264], edi
call fcn.00408ea0
cmp byte [esp + 0x37c], 0
lea eax, [esp + 0x26c]
jne 0x407cfd
mov eax, dword [esp + 0x268]
xor ecx, ecx
mov word [eax + 4], cx
lea edx, [esp + 0x260]
push edx
push ebp
mov dword [esp + 0x39c], edi
call fcn.00407ff0
test al, al
je 0x407d69
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x268]
call fcn.00407950
test al, al
jne 0x407d69
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x37c], 0
jne 0x407d62
mov eax, dword [esp + 0x268]
lea ecx, [esp + 0x26c]
cmp eax, ecx
je 0x407d62
push eax
call fcn.00415fb5
add esp, 4
xor al, al
jmp 0x407fc2
cmp byte [esp + 0x3a4], 0
mov edx, 0xa
jne 0x407d7d
mov edx, 0xb
cmp byte [ebp + 0x11c], 0
lea ecx, [ebp + 0xc]
jne 0x407d8c
mov ecx, dword [ebp + 8]
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
jne 0x407d9b
mov eax, dword [ebx + 8]
push edx
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x407f49
cmp byte [ebp + 0x11c], al
je 0x407dbf
add ebp, 0xc
jmp 0x407dc2
mov ebp, dword [ebp + 8]
lea edi, [esp + 0x18]
call fcn.00408250
add ebp, 4
jne 0x407dd5
mov ebp, 0x42b9c8
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407de0
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00408ea0
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
jne 0x407e13
mov eax, dword [esp + 0x20]
lea edx, [edi + edi]
push edx
add eax, 4
push ebp
push eax
call fcn.00419260
add esp, 0xc
cmp byte [ebx + 0x11c], 0
lea esi, [ebx + 0xc]
jne 0x407e33
mov esi, dword [ebx + 8]
lea edi, [esp + 0x13c]
call fcn.00408250
lea ebp, [esi + 4]
test ebp, ebp
jne 0x407e4b
mov ebp, 0x42b9c8
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407e50
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x144]
mov dword [esp + 0x140], eax
call fcn.00408ea0
cmp byte [esp + 0x258], 0
lea eax, [esp + 0x148]
jne 0x407e8f
mov eax, dword [esp + 0x144]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebp
push eax
call fcn.00419260
add esp, 0xc
mov byte [esp + 0x394], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov edi, eax
call fcn.00404cf0
mov esi, eax
call fcn.00405910
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.00404cf0
lea edx, [esp + 0x13c]
push edx
mov esi, eax
push 0x42b9b8
lea eax, [esp + 0x20]
call fcn.00405b10
cmp byte [esp + 0x258], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x13c], esi
jne 0x407f1a
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x148]
cmp eax, ecx
je 0x407f1a
push eax
call fcn.00415fb5
add esp, 4
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], esi
jne 0x407f3d
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x407f3d
push eax
call fcn.00415fb5
add esp, 4
mov dword [esp + 0x260], esi
jmp 0x407d3d
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x407f58
mov eax, dword [ebp + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x407f76
mov eax, dword [ebp + 8]
push 0x10000000
add eax, 4
push 1
push eax
call fcn.00405ea0
add esp, 0xc
mov eax, ebp
call fcn.00408160
cmp byte [esp + 0x37c], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x407fc0
mov eax, dword [esp + 0x268]
lea edx, [esp + 0x26c]
cmp eax, edx
je 0x407fc0
push eax
call fcn.00415fb5
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x374]
xor ecx, esp
call fcn.00415c3e
add esp, 0x384
ret 0xc