Function at 0x4094e0
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c9e1
mov eax, dword fs:[0]
push eax
mov eax, 0x10cc
call fcn.00415e90
mov eax, dword [0x440068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x10], 0
je 0x409822
push 0x60e
lea eax, [ebp - 0x10d8]
push 0
push eax
call fcn.00417b20
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x40953e
mov eax, dword [ebx]
lea ecx, [ebp - 0xcca]
push ecx
lea ecx, [ebp - 0xeca]
push ecx
lea ecx, [ebp - 0x10d8]
push ecx
lea ecx, [ebp - 0xed0]
push ecx
push eax
call fcn.0041b5a1
mov ecx, 0x183
lea esi, [ebp - 0x10d8]
lea edi, [ebp - 0xac0]
rep movsd dword es:[edi], dword [esi]
push 0x43a724
lea eax, [ebp - 0x8b2]
push 0x100
push eax
movsw word es:[edi], word [esi]
call fcn.0041b81e
add esp, 0x20
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0xac0]
push eax
call fcn.004064a0
mov edx, ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004060a0
mov byte [ebp - 4], 1
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x4095c2
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x250
mov dword [ebp - 0xac8], eax
lea eax, [ebp - 0x4b0]
push 0
push eax
call fcn.00417b20
add esp, 0xc
lea eax, [ebp - 0x4b0]
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40978d
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [eax + eax]
test byte [ebp - 0x4b0], 0x10
jne 0x409770
push dword [ebp - 0xac8]
lea eax, [ebp - 0x484]
push eax
call fcn.0041b0e1
add esp, 8
test eax, eax
je 0x409770
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00417b20
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0041b7af
add esp, 0x18
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4096c0
sub eax, edx
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00404280
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00413490
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x234]
mov byte [ebp - 0xac1], al
cmp edx, 8
jb 0x409747
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409737
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40983e
push edx
push ecx
call fcn.004152ff
mov al, byte [ebp - 0xac1]
add esp, 8
test al, al
je 0x409770
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x409755
mov eax, dword [ebx]
push eax
call edi
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x409762
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x4b0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409620
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4097c9
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4097bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40983e
push edx
push ecx
call fcn.004152ff
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x409822
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409818
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409843
push edx
push ecx
call fcn.004152ff
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415024
mov esp, ebp
pop ebp
ret
call fcn.0041b091
call fcn.0041b091
int3