Function at 0x405930
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42badd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x438040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.00402d30
push 0x433e48
lea edx, [ebp - 0x58]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004037a0
add esp, 4
cmp dword [eax + 0x14], 7
jbe 0x405988
mov eax, dword [eax]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x5c]
mov esi, eax
mov dword [ebp - 0x2cc], esi
cmp ecx, 7
jbe 0x4059d8
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4059ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d08
push ecx
push edx
call fcn.0040fafb
add esp, 8
mov edi, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp esi, 0xffffffff
jne 0x4059ff
mov byte [ebp - 0x2c1], al
jmp 0x405caf
mov esi, 1
mov dword [ebp - 0x2c8], esi
nop word [eax + eax]
lea eax, [ebp - 0x294]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405a20
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x405a3e
cmp word [ebp - 0x294], 0x2e
jmp 0x405a55
cmp eax, 2
jne 0x405a5b
cmp word [ebp - 0x294], 0x2e
jne 0x405a5b
cmp word [ebp - 0x292], 0x2e
je 0x405c7f
mov ecx, dword [ebp - 0x48]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x405d03
cmp dword [ebp - 0x44], 7
lea edx, [ebp - 0x58]
mov esi, 7
mov dword [ebp - 0x18], 0
cmova edx, edi
mov dword [ebp - 0x14], 0
inc ecx
mov dword [ebp - 0x2d4], edx
mov dword [ebp - 0x2d0], ecx
xorps xmm0, xmm0
lea edi, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
cmp ecx, esi
jbe 0x405b3c
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x405ac5
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x405ae7
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x405d12
add eax, eax
cmp eax, 0x1000
jb 0x405b1a
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x405d12
push ecx
call fcn.0040fb09
add esp, 4
test eax, eax
je 0x405d08
mov ecx, dword [ebp - 0x2d0]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x2d4]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x405b39
test eax, eax
je 0x405b37
push eax
call fcn.0040fb09
mov ecx, dword [ebp - 0x2d0]
add esp, 4
mov edx, dword [ebp - 0x2d4]
mov edi, eax
jmp 0x405b39
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x48]
add esi, esi
mov dword [ebp - 0x18], ecx
push esi
push edx
push edi
call fcn.00411210
mov eax, 0x5c
xor ecx, ecx
mov word [esi + edi], ax
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov word [edi + eax*2 + 2], cx
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00405230
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x405bef
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405be5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d08
push ecx
push edx
call fcn.0040fafb
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
test byte [ebp - 0x2c0], 0x10
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
je 0x405c1e
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
cmova ecx, dword [ebp - 0x40]
call fcn.00405d20
jmp 0x405c30
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 0x2c8]
and esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c8], esi
cmp ecx, 7
jbe 0x405c7c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405c72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d08
push ecx
push edx
call fcn.0040fafb
add esp, 8
mov edi, dword [ebp - 0x58]
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405a10
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
setne byte [ebp - 0x2c1]
mov eax, dword [ebp - 0x44]
cmp eax, 7
jbe 0x405ce2
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x405cd8
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d0d
push ecx
push edi
call fcn.0040fafb
add esp, 8
mov al, byte [ebp - 0x2c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040f7c4
mov esp, ebp
pop ebp
ret
call fcn.00403f90
call fcn.00414ba0
call fcn.00414ba0
call fcn.004040d0
int3