Function at 0x40fb70
Capabilities:
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x525d27
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x581500]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push esi
push edi
mov eax, dword [0x581500]
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.0040e1f0
lea eax, [esp + 0x258]
push eax
mov ecx, esi
mov dword [esp + 0x390], 0
call fcn.0040ffd0
test al, al
je 0x40fc2d
push 0
push ebx
lea ecx, [esp + 0x260]
call fcn.0040f690
test al, al
jne 0x40fc2d
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x374], al
jne 0x40fc26
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x40fc26
push eax
call fcn.004faac5
add esp, 4
xor al, al
jmp 0x40fe02
cmp byte [esp + 0x39c], 0
mov edx, 0xa
jne 0x40fc41
mov edx, 0xb
cmp byte [esi + 0x11c], 0
lea ecx, [esi + 0xc]
jne 0x40fc50
mov ecx, dword [esi + 8]
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x40fc5f
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 0x40fd89
cmp byte [esi + 0x11c], al
je 0x40fc83
add esi, 0xc
jmp 0x40fc86
mov esi, dword [esi + 8]
lea ecx, [esp + 0x134]
call fcn.004114e0
lea eax, [esi + 4]
lea edx, [esp + 0x134]
call fcn.00411710
cmp byte [edi + 0x11c], 0
lea esi, [edi + 0xc]
jne 0x40fcb0
mov esi, dword [edi + 8]
lea ecx, [esp + 0x10]
call fcn.004114e0
lea eax, [esi + 4]
lea edx, [esp + 0x10]
call fcn.00411710
mov byte [esp + 0x38c], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call fcn.00409990
mov esi, eax
call fcn.0040a650
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.00409990
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0x55d45c
mov ecx, eax
call fcn.0040a8b0
cmp byte [esp + 0x12c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x10], esi
jne 0x40fd33
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x40fd33
push eax
call fcn.004faac5
add esp, 4
cmp byte [esp + 0x250], 0
mov dword [esp + 0x134], esi
jne 0x40fd5f
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0x140]
cmp eax, ecx
je 0x40fd5f
push eax
call fcn.004faac5
add esp, 4
cmp byte [esp + 0x374], 0
mov dword [esp + 0x258], esi
jne 0x40fc26
mov eax, dword [esp + 0x260]
lea edx, [esp + 0x264]
cmp eax, edx
jmp 0x40fc1b
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x40fd98
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 0x40fdb6
mov eax, dword [esi + 8]
push 0x10000000
add eax, 4
push 1
push eax
call fcn.004134f0
add esp, 0xc
mov eax, esi
call fcn.00410fb0
cmp byte [esp + 0x374], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x40fe00
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x40fe00
push eax
call fcn.004faac5
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.004fa259
add esp, 0x380
ret 0xc