Function at 0x417660
Capabilities:
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f3e97
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x545628]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push esi
push edi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x384]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x394]
mov esi, dword [esp + 0x398]
mov edi, ecx
lea ecx, [esp + 0x258]
call fcn.00415be0
lea eax, [esp + 0x258]
push eax
mov ecx, esi
mov dword [esp + 0x390], 0
call fcn.00417ac0
test al, al
je 0x41771d
push 0
push ebx
lea ecx, [esp + 0x260]
call fcn.00417180
test al, al
jne 0x41771d
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x374], al
jne 0x417716
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x417716
push eax
call fcn.004d1d15
add esp, 4
xor al, al
jmp 0x4178f2
cmp byte [esp + 0x39c], 0
mov edx, 0xa
jne 0x417731
mov edx, 0xb
cmp byte [esi + 0x11c], 0
lea ecx, [esi + 0xc]
jne 0x417740
mov ecx, dword [esi + 8]
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x41774f
mov eax, dword [edi + 8]
push edx
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x417879
cmp byte [esi + 0x11c], al
je 0x417773
add esi, 0xc
jmp 0x417776
mov esi, dword [esi + 8]
lea ecx, [esp + 0x134]
call fcn.00410c10
lea eax, [esi + 4]
lea edx, [esp + 0x134]
call fcn.00410e40
cmp byte [edi + 0x11c], 0
lea esi, [edi + 0xc]
jne 0x4177a0
mov esi, dword [edi + 8]
lea ecx, [esp + 0x10]
call fcn.00410c10
lea eax, [esi + 4]
lea edx, [esp + 0x10]
call fcn.00410e40
mov byte [esp + 0x38c], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call fcn.0040fa50
mov esi, eax
call fcn.004108a0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.0040fa50
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0x52b650
mov ecx, eax
call fcn.00410ad0
cmp byte [esp + 0x12c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x10], esi
jne 0x417823
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x417823
push eax
call fcn.004d1d15
add esp, 4
cmp byte [esp + 0x250], 0
mov dword [esp + 0x134], esi
jne 0x41784f
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0x140]
cmp eax, ecx
je 0x41784f
push eax
call fcn.004d1d15
add esp, 4
cmp byte [esp + 0x374], 0
mov dword [esp + 0x258], esi
jne 0x417716
mov eax, dword [esp + 0x260]
lea edx, [esp + 0x264]
cmp eax, edx
jmp 0x41770b
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x417888
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4178a6
mov eax, dword [esi + 8]
push 0x10000000
add eax, 4
push 1
push eax
call fcn.00418ce0
add esp, 0xc
mov eax, esi
call fcn.00418670
cmp byte [esp + 0x374], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x4178f0
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x4178f0
push eax
call fcn.004d1d15
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x384]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.004d158d
add esp, 0x380
ret 0xc