Function at 0x42f6a0
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x490ab1
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4c11d0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4c11d0]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
push 0x24c
lea eax, [esp + 0x34]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], 0
call fcn.0046ed60
lea ecx, [esp + 0x34]
push esi
push ecx
mov ebx, 0x4a2684
call fcn.004066e0
mov eax, dword [eax]
add esp, 0x14
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x24], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x42f9e0
lea esi, [esp + 0x58]
shr esi, 0x10
mov dword [esp + 0x1c], esi
jmp 0x42f764
mov esi, dword [esp + 0x1c]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x290], 0
test esi, esi
jne 0x42f7ad
lea ecx, [esp + 0x58]
movzx esi, cx
push 0
push esi
call fcn.00401690
add esp, 8
test eax, eax
je 0x42f7d6
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401850
jmp 0x42f7d2
lea eax, [esp + 0x58]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f7b4
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401b40
mov edi, dword [esp + 0x14]
mov dword [esp + 0x290], 1
mov ecx, 0x4a225c
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f80e
test dx, dx
je 0x42f80a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f80e
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f7e8
xor eax, eax
jmp 0x42f813
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x42f99e
mov ecx, 0x4a268c
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f84d
test dx, dx
je 0x42f849
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f84d
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f827
xor eax, eax
jmp 0x42f852
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x42f99e
mov ecx, str.FunshionHelper.dll
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f88c
test dx, dx
je 0x42f888
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f88c
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f866
xor eax, eax
jmp 0x42f891
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x42f99e
mov ecx, str.npFunshion.dll
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f8cb
test dx, dx
je 0x42f8c7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f8cb
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f8a5
xor eax, eax
jmp 0x42f8d0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x42f99e
lea eax, [esp + 0x14]
push eax
mov ecx, str.funoictl.dll
call fcn.0040f010
add esp, 4
test al, al
jne 0x42f99e
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.funoictl64.dll
call fcn.0040f010
add esp, 4
test al, al
jne 0x42f99e
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, 0x4a233c
call fcn.004066e0
add esp, 8
mov byte [esp + 0x290], 2
mov eax, dword [edi - 0xc]
push eax
push edi
lea ebx, [esp + 0x20]
call fcn.0040c570
mov bl, 1
test byte [esp + 0x2c], bl
je 0x42f956
mov ecx, dword [esp + 0x18]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [esp + 0x2c], 0x10
je 0x42f96c
lea edx, [esp + 0x18]
push edx
call fcn.0040db40
add esp, 4
jmp 0x42f977
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x290], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f99e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x290], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f9c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f760
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0046b255
mov esp, ebp
pop ebp
ret