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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f5f1
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4bf1d0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
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.0046d5a0
lea ecx, [esp + 0x34]
push esi
push ecx
mov ebx, 0x4a03dc
call fcn.00406530
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 0x42d6c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x42d946
lea esi, [esp + 0x58]
shr esi, 0x10
mov dword [esp + 0x1c], esi
jmp 0x42d6e4
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 0x42d72d
lea ecx, [esp + 0x58]
movzx esi, cx
push 0
push esi
call fcn.00401690
add esp, 8
test eax, eax
je 0x42d756
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401850
jmp 0x42d752
lea eax, [esp + 0x58]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d734
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401b30
mov edi, dword [esp + 0x14]
mov dword [esp + 0x290], 1
mov ecx, 0x49ffb4
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42d78e
test dx, dx
je 0x42d78a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42d78e
add eax, 4
add ecx, 4
test dx, dx
jne 0x42d768
xor eax, eax
jmp 0x42d793
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x42d904
mov ecx, 0x4a03e4
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42d7cd
test dx, dx
je 0x42d7c9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42d7cd
add eax, 4
add ecx, 4
test dx, dx
jne 0x42d7a7
xor eax, eax
jmp 0x42d7d2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x42d904
mov ecx, str.FunshionHelper.dll
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42d80c
test dx, dx
je 0x42d808
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42d80c
add eax, 4
add ecx, 4
test dx, dx
jne 0x42d7e6
xor eax, eax
jmp 0x42d811
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x42d904
mov ecx, str.npFunshion.dll
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42d84b
test dx, dx
je 0x42d847
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42d84b
add eax, 4
add ecx, 4
test dx, dx
jne 0x42d825
xor eax, eax
jmp 0x42d850
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x42d904
lea eax, [esp + 0x14]
push eax
mov ecx, str.funoictl.dll
call fcn.0040ee70
add esp, 4
test al, al
jne 0x42d904
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, 0x4a0094
call fcn.00406530
add esp, 8
mov byte [esp + 0x290], 2
mov eax, dword [edi - 0xc]
push eax
push edi
lea ebx, [esp + 0x20]
call fcn.0040c380
mov bl, 1
test byte [esp + 0x2c], bl
je 0x42d8bc
mov eax, dword [esp + 0x18]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [esp + 0x2c], 0x10
je 0x42d8d2
lea ecx, [esp + 0x18]
push ecx
call fcn.0040d9a0
add esp, 4
jmp 0x42d8dd
mov edx, dword [esp + 0x18]
push edx
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 0x42d904
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 0x42d927
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 0x42d6e0
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.00469afb
mov esp, ebp
pop ebp
ret