Function at 0x40dc70
Capabilities:
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48d647
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3a4]
mov ebp, dword [esp + 0x3a0]
mov edi, ecx
lea ecx, [esp + 0x264]
mov dword [esp + 0x18], eax
call fcn.0040f730
xor ebx, ebx
cmp dword [esp + 0x384], ebx
je 0x40dcdd
mov dword [esp + 0x384], ebx
mov ecx, 1
lea esi, [esp + 0x26c]
mov dword [esp + 0x268], ebx
call fcn.00410400
lea eax, [esp + 0x270]
cmp byte [esp + 0x380], bl
jne 0x40dd0c
mov eax, dword [esp + 0x26c]
xor ecx, ecx
mov word [eax + 4], cx
mov dword [esp + 0x398], ebx
push edi
lea ebx, [esp + 0x268]
call fcn.0040dfb0
mov ebx, dword [esp + 0x18]
test al, al
je 0x40dd77
push 0
push ebx
lea ecx, [esp + 0x26c]
call fcn.0040daf0
test al, al
jne 0x40dd77
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x380], al
jne 0x40dd70
mov eax, dword [esp + 0x26c]
lea edx, [esp + 0x270]
cmp eax, edx
je 0x40dd70
push eax
call fcn.0046b865
add esp, 4
xor al, al
jmp 0x40df18
cmp byte [edi + 0x11c], 0
lea ecx, [edi + 0xc]
jne 0x40dd86
mov ecx, dword [edi + 8]
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x40dd95
mov eax, dword [ebp + 8]
push 0xb
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40deba
cmp byte [edi + 0x11c], al
je 0x40ddba
add edi, 0xc
jmp 0x40ddbd
mov edi, dword [edi + 8]
lea ecx, [esp + 0x1c]
call fcn.0040f730
lea eax, [edi + 4]
lea edx, [esp + 0x1c]
call fcn.0040f920
cmp byte [ebp + 0x11c], 0
lea esi, [ebp + 0xc]
jne 0x40dde1
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x140]
call fcn.0040f730
lea eax, [esi + 4]
lea edx, [esp + 0x140]
call fcn.0040f920
mov byte [esp + 0x398], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, ebx
call fcn.0040e680
mov esi, eax
call fcn.0040f390
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
call fcn.0040e680
mov esi, eax
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x20]
call fcn.0040f5f0
cmp byte [esp + 0x25c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x140], esi
jne 0x40de6d
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0x14c]
cmp eax, ecx
je 0x40de6d
push eax
call fcn.0046b865
add esp, 4
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], esi
jne 0x40de90
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x40de90
push eax
call fcn.0046b865
add esp, 4
cmp byte [esp + 0x380], 0
mov dword [esp + 0x264], esi
jne 0x40dd70
mov eax, dword [esp + 0x26c]
lea ecx, [esp + 0x270]
cmp eax, ecx
jmp 0x40dd65
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x40dec9
mov eax, dword [edi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, edi
call fcn.0040e4d0
mov eax, edi
call fcn.0040e470
cmp byte [esp + 0x380], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x40df16
mov eax, dword [esp + 0x26c]
lea edx, [esp + 0x270]
cmp eax, edx
je 0x40df16
push eax
call fcn.0046b865
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.0046b4eb
add esp, 0x388
ret 8