Function at 0x4670c0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a385e
push eax
mov eax, 0x142c
mov dword fs:[0], esp
call fcn.00475120
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x1454]
mov dword [esp + 0x144c], 0
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
je 0x467138
push 0x4c2288
lea ecx, [esp + 0x1450]
call fcn.0048c7df
mov ecx, dword [esp + 0x144c]
mov eax, dword [ecx - 8]
cmp eax, 3
jne 0x467165
lea ecx, [esp + 0x144c]
mov dword [esp + 0x1444], 0xffffffff
call fcn.0048c403
xor eax, eax
jmp 0x467362
lea ecx, [esp + 0x1c]
call fcn.0046cc50
mov edi, dword [esp + 0x144c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1444], 1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
push ecx
push str._s.
push edx
call fcn.004750c2
add esp, 0xc
lea eax, [esp + 0xc3c]
lea ecx, [esp + 0x1c]
push 0
push eax
call fcn.0046cd13
test eax, eax
je 0x4672ed
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 2
lea ecx, [esp + 0x1c]
call fcn.0046cf33
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.0046cefa
test eax, eax
jne 0x4672e1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.0046d12b
push 0x400
mov ecx, eax
mov byte [esp + 0x1448], bl
call fcn.0048c833
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x43c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1444], 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0048c403
mov edx, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x20]
call dword [edx + 0x38]
test eax, eax
je 0x4672a2
lea eax, [esp + 0x43c]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x1044]
push str._s_s
push edx
call fcn.004750c2
add esp, 0xc
lea eax, [esp + 0x1040]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0048c471
mov ecx, dword [esp + 0x18]
call fcn.004670c0
jmp 0x4672e1
lea ecx, [esp + 0x43c]
lea edx, [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x844]
push str._s_s
push eax
call fcn.004750c2
add esp, 0x10
lea ecx, [esp + 0x83c]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x83c]
push edx
call ebp
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4671db
lea ecx, [esp + 0x1c]
call fcn.0046ccc9
lea eax, [esp + 0x3c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
mov byte [esp + 0x1444], 0
lea ecx, [esp + 0x1c]
jne 0x467341
call fcn.0046cc8d
lea ecx, [esp + 0x144c]
mov dword [esp + 0x1444], 0xffffffff
call fcn.0048c403
xor eax, eax
jmp 0x467362
call fcn.0046cc8d
lea ecx, [esp + 0x144c]
mov dword [esp + 0x1444], 0xffffffff
call fcn.0048c403
mov eax, 1
mov ecx, dword [esp + 0x143c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1438
ret 4