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

Disassembly:
push 0xffffffffffffffff
push 0x486fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ace78]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
lea ecx, [esp + 0x3c]
call fcn.00451a06
xor ebx, ebx
mov dword [esp + 0x5c], ebx
cmp byte [0x4ae25c], bl
je 0x42ddcb
push 0xffffffffffffffff
push ebx
mov ecx, 0x4ae5f0
call fcn.0044bf29
mov esi, dword [esp + 0x64]
mov ebp, dword [0x4ae5f8]
push ebx
push esi
lea ecx, [esp + 0x44]
call fcn.00451a9e
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.00451697
cmp edi, ebx
jne 0x42de8c
cmp ebp, ebx
jne 0x42de65
lea ecx, [esp + 0x2c]
call fcn.00452d37
push ebx
push 0x1000
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
call fcn.004531c5
test eax, eax
je 0x42de2b
lea ecx, [esp + 0x2c]
call fcn.00452cd1
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42de58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42de58
call fcn.00408090
test eax, eax
je 0x42de58
cmp byte [0x4ae25c], bl
jne 0x42de58
mov eax, dword [0x4ae5f8]
push esi
push eax
mov ecx, 0x4ae5f0
call fcn.0044c1aa
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.00452e3f
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00451a2f
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.00452d37
push ebx
push 1
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 2
call fcn.004531c5
test eax, eax
je 0x42deba
lea ecx, [esp + 0x1c]
call fcn.00452cd1
lea ecx, [esp + 0x1c]
jmp 0x42de5c
push esi
lea ecx, [esp + 0x18]
call fcn.00401ba0
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 3
call fcn.00408ec0
push str.06
lea ecx, [esp + 0x18]
call fcn.004050f0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jl 0x42df2c
push str..exe06
push ecx
call fcn.0046b9b7
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x42df0b
sub eax, ecx
sar eax, 1
cmp eax, ebx
jg 0x42dfa8
cmp dword [ecx - 0xc], ebx
jl 0x42df2c
push str..dll06
push ecx
call fcn.0046b9b7
add esp, 8
cmp eax, ebx
je 0x42df2c
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, ebx
jg 0x42dfa8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 1
push esi
lea ecx, [esp + 0x28]
call fcn.004531c5
test eax, eax
je 0x42df64
lea ecx, [esp + 0x1c]
call fcn.00452cd1
lea ecx, [esp + 0x14]
call fcn.00401550
lea ecx, [esp + 0x1c]
jmp 0x42de5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42e08f
call fcn.00408090
test eax, eax
je 0x42df96
cmp byte [0x4ae25c], bl
jne 0x42df96
mov ecx, dword [0x4ae5f8]
push esi
push ecx
mov ecx, 0x4ae5f0
call fcn.0044c1aa
lea ecx, [esp + 0x14]
call fcn.00401550
lea ecx, [esp + 0x1c]
jmp 0x42de5c
push esi
lea ecx, [esp + 0x1c]
call fcn.00401ba0
push str..__test
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 4
call fcn.004050f0
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 0x42e03d
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 0x42e00f
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 0x42e034
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
jmp 0x42de5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42e086
call fcn.00408090
test eax, eax
je 0x42e06b
cmp byte [0x4ae25c], bl
jne 0x42e06b
mov ecx, dword [0x4ae5f8]
push esi
push ecx
mov ecx, 0x4ae5f0
call fcn.0044c1aa
lea ecx, [esp + 0x18]
call fcn.00401550
lea ecx, [esp + 0x14]
call fcn.00401550
lea ecx, [esp + 0x1c]
jmp 0x42de5c
lea ecx, [esp + 0x18]
call fcn.00401550
lea ecx, [esp + 0x14]
call fcn.00401550
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], bl
call fcn.00452e3f
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00451a2f
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