Function at 0x42a660
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x449f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [esp + 0x12c]
push eax
lea ecx, [esp + 8]
call fcn.00402470
mov dword [esp + 0x124], 0
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push 3
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 1
call fcn.00405c40
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], 2
call fcn.00401e30
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x124], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a6fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
push 0x44d76c
push eax
call fcn.0042de57
add esp, 8
test eax, eax
jne 0x42a9a0
mov ecx, dword [esp + 4]
push esi
push 0x2e
push ecx
call fcn.0042dfa2
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
jne 0x42a731
or esi, 0xffffffff
jmp 0x42a735
sub eax, ecx
mov esi, eax
push edi
push 0x5c
push ecx
call fcn.0042dfa2
add esp, 8
test eax, eax
jne 0x42a74a
or edi, 0xffffffff
jmp 0x42a750
sub eax, dword [esp + 0xc]
mov edi, eax
test esi, esi
jg 0x42a760
test edi, edi
jg 0x42a760
cmp esi, edi
jle 0x42a99e
push ebx
push ebp
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x134], 3
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x134], 4
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
sub esi, edi
dec esi
push esi
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x28]
push ecx
mov bl, 5
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], bl
call fcn.00401730
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 6
call fcn.00401e30
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.00401730
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x138], 7
call fcn.00401e30
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a849
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push str..GID
push ebp
push eax
lea ecx, [esp + 0x1c]
push 0x44c3c0
push ecx
call fcn.00401d20
mov esi, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0x14
push 0x20
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call ebx
call fcn.00404100
cmp eax, 2
je 0x42a8d6
cmp eax, 3
je 0x42a8d6
push 0x104
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x27], 0x5c
push str..FTS
push ebp
je 0x42a8ca
lea ecx, [esp + 0x30]
push ecx
push 0x44d628
lea edx, [esp + 0x20]
push edx
jmp 0x42a91e
lea eax, [esp + 0x30]
push eax
push str._sHELP_s_s
jmp 0x42a919
push 0x104
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x27], 0x5c
push str..FTS
push ebp
je 0x42a90f
lea ecx, [esp + 0x30]
push ecx
push 0x44c3c0
lea edx, [esp + 0x20]
push edx
jmp 0x42a91e
lea eax, [esp + 0x30]
push eax
push str._s_s_s
lea ecx, [esp + 0x20]
push ecx
call fcn.00401d20
mov esi, dword [esp + 0x24]
add esp, 0x14
push 0x20
push esi
call edi
push esi
call ebx
lea eax, [esi - 0x10]
mov byte [esp + 0x134], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a954
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x134], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a97a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebp
pop ebx
jg 0x42a99e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x124], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a9c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x124], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a9ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret 4