Function at 0x42ea80
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4894d8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
lea ecx, [esp + 0x3c]
call fcn.00453c6b
xor ebx, ebx
mov dword [esp + 0x5c], ebx
cmp byte [0x4b127d], bl
je 0x42eacb
push 0xffffffffffffffff
push ebx
mov ecx, 0x4b1614
call fcn.0044e129
mov esi, dword [esp + 0x64]
mov ebp, dword [0x4b161c]
push ebx
push esi
lea ecx, [esp + 0x44]
call fcn.00453d03
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.004538fc
cmp edi, ebx
jne 0x42eb8c
cmp ebp, ebx
jne 0x42eb65
lea ecx, [esp + 0x2c]
call fcn.00454ff5
push ebx
push 0x1000
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
call fcn.00455483
test eax, eax
je 0x42eb2b
lea ecx, [esp + 0x2c]
call fcn.00454f8f
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42eb58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42eb58
call fcn.00408070
test eax, eax
je 0x42eb58
cmp byte [0x4b127d], bl
jne 0x42eb58
mov eax, dword [0x4b161c]
push esi
push eax
mov ecx, 0x4b1614
call fcn.0044e3aa
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.004550fd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00453c94
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x1c]
call fcn.00454ff5
push ebx
push 1
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 2
call fcn.00455483
test eax, eax
je 0x42ebba
lea ecx, [esp + 0x1c]
call fcn.00454f8f
lea ecx, [esp + 0x1c]
jmp 0x42eb5c
push esi
lea ecx, [esp + 0x18]
call fcn.00401bd0
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 3
call fcn.004092d0
push str.06
lea ecx, [esp + 0x18]
call fcn.004050d0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jl 0x42ec2c
push str..exe06
push ecx
call fcn.0046dc11
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x42ec0b
sub eax, ecx
sar eax, 1
cmp eax, ebx
jg 0x42eca8
cmp dword [ecx - 0xc], ebx
jl 0x42ec2c
push str..dll06
push ecx
call fcn.0046dc11
add esp, 8
cmp eax, ebx
je 0x42ec2c
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, ebx
jg 0x42eca8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 1
push esi
lea ecx, [esp + 0x28]
call fcn.00455483
test eax, eax
je 0x42ec64
lea ecx, [esp + 0x1c]
call fcn.00454f8f
lea ecx, [esp + 0x14]
call fcn.00401580
lea ecx, [esp + 0x1c]
jmp 0x42eb5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42ed8f
call fcn.00408070
test eax, eax
je 0x42ec96
cmp byte [0x4b127d], bl
jne 0x42ec96
mov ecx, dword [0x4b161c]
push esi
push ecx
mov ecx, 0x4b1614
call fcn.0044e3aa
lea ecx, [esp + 0x14]
call fcn.00401580
lea ecx, [esp + 0x1c]
jmp 0x42eb5c
push esi
lea ecx, [esp + 0x1c]
call fcn.00401bd0
push str..__test
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 4
call fcn.004050d0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
push esi
call edi
test eax, eax
je 0x42ed3d
mov ecx, dword [esp + 0x18]
push esi
push ecx
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ed0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
jmp 0x42eb5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42ed86
call fcn.00408070
test eax, eax
je 0x42ed6b
cmp byte [0x4b127d], bl
jne 0x42ed6b
mov ecx, dword [0x4b161c]
push esi
push ecx
mov ecx, 0x4b1614
call fcn.0044e3aa
lea ecx, [esp + 0x18]
call fcn.00401580
lea ecx, [esp + 0x14]
call fcn.00401580
lea ecx, [esp + 0x1c]
jmp 0x42eb5c
lea ecx, [esp + 0x18]
call fcn.00401580
lea ecx, [esp + 0x14]
call fcn.00401580
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], bl
call fcn.004550fd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00453c94
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret