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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4929e1
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4c31d0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4c31d0]
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.00470590
lea ecx, [esp + 0x34]
push esi
push ecx
mov ebx, 0x4a3a60
call fcn.00406600
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 0x431b36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x431dd0
lea esi, [esp + 0x58]
shr esi, 0x10
mov dword [esp + 0x1c], esi
jmp 0x431b54
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 0x431b9d
lea ecx, [esp + 0x58]
movzx esi, cx
push 0
push esi
call fcn.00401690
add esp, 8
test eax, eax
je 0x431bc6
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401850
jmp 0x431bc2
lea eax, [esp + 0x58]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431ba4
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, 0x4a362c
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431bfe
test dx, dx
je 0x431bfa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431bfe
add eax, 4
add ecx, 4
test dx, dx
jne 0x431bd8
xor eax, eax
jmp 0x431c03
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x431d8e
mov ecx, 0x4a3a68
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431c3d
test dx, dx
je 0x431c39
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431c3d
add eax, 4
add ecx, 4
test dx, dx
jne 0x431c17
xor eax, eax
jmp 0x431c42
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x431d8e
mov ecx, str.FunshionHelper.dll
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431c7c
test dx, dx
je 0x431c78
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431c7c
add eax, 4
add ecx, 4
test dx, dx
jne 0x431c56
xor eax, eax
jmp 0x431c81
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x431d8e
mov ecx, str.npFunshion.dll
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431cbb
test dx, dx
je 0x431cb7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431cbb
add eax, 4
add ecx, 4
test dx, dx
jne 0x431c95
xor eax, eax
jmp 0x431cc0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x431d8e
lea eax, [esp + 0x14]
push eax
mov ecx, str.funoictl.dll
call fcn.004109b0
add esp, 4
test al, al
jne 0x431d8e
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.funoictl64.dll
call fcn.004109b0
add esp, 4
test al, al
jne 0x431d8e
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, 0x4a36e4
call fcn.00406600
add esp, 8
mov byte [esp + 0x290], 2
mov eax, dword [edi - 0xc]
push eax
push edi
lea ebx, [esp + 0x20]
call fcn.0040d330
mov bl, 1
test byte [esp + 0x2c], bl
je 0x431d46
mov ecx, dword [esp + 0x18]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [esp + 0x2c], 0x10
je 0x431d5c
lea edx, [esp + 0x18]
push edx
call fcn.0040e930
add esp, 4
jmp 0x431d67
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 0x431d8e
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 0x431db1
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 0x431b50
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.0046ca85
mov esp, ebp
pop ebp
ret