Function at 0x41f790
Capabilities:
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x510c07
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push esi
push edi
mov eax, dword [0x56957c]
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.0041dc00
lea eax, [esp + 0x258]
push eax
mov ecx, esi
mov dword [esp + 0x390], 0
call fcn.0041fbf0
test al, al
je 0x41f84d
push 0
push ebx
lea ecx, [esp + 0x260]
call fcn.0041f2b0
test al, al
jne 0x41f84d
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x374], al
jne 0x41f846
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x41f846
push eax
call fcn.004ed7b6
add esp, 4
xor al, al
jmp 0x41fa22
cmp byte [esp + 0x39c], 0
mov edx, 0xa
jne 0x41f861
mov edx, 0xb
cmp byte [esi + 0x11c], 0
lea ecx, [esi + 0xc]
jne 0x41f870
mov ecx, dword [esi + 8]
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x41f87f
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 0x41f9a9
cmp byte [esi + 0x11c], al
je 0x41f8a3
add esi, 0xc
jmp 0x41f8a6
mov esi, dword [esi + 8]
lea ecx, [esp + 0x134]
call fcn.004174b0
lea eax, [esi + 4]
lea edx, [esp + 0x134]
call fcn.00417710
cmp byte [edi + 0x11c], 0
lea esi, [edi + 0xc]
jne 0x41f8d0
mov esi, dword [edi + 8]
lea ecx, [esp + 0x10]
call fcn.004174b0
lea eax, [esi + 4]
lea edx, [esp + 0x10]
call fcn.00417710
mov byte [esp + 0x38c], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call fcn.00416430
mov esi, eax
call fcn.004170f0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.00416430
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0x54699c
mov ecx, eax
call fcn.00417370
cmp byte [esp + 0x12c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x10], esi
jne 0x41f953
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x41f953
push eax
call fcn.004ed7b6
add esp, 4
cmp byte [esp + 0x250], 0
mov dword [esp + 0x134], esi
jne 0x41f97f
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0x140]
cmp eax, ecx
je 0x41f97f
push eax
call fcn.004ed7b6
add esp, 4
cmp byte [esp + 0x374], 0
mov dword [esp + 0x258], esi
jne 0x41f846
mov eax, dword [esp + 0x260]
lea edx, [esp + 0x264]
cmp eax, edx
jmp 0x41f83b
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x41f9b8
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 0x41f9d6
mov eax, dword [esi + 8]
push 0x10000000
add eax, 4
push 1
push eax
call fcn.00423ee0
add esp, 0xc
mov eax, esi
call fcn.00420950
cmp byte [esp + 0x374], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x41fa20
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x41fa20
push eax
call fcn.004ed7b6
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.004ecddb
add esp, 0x380
ret 0xc