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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b33b
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5caea4]
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
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044baa0
push 4
push 0x5c0bc8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004517a0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x460321
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
push ecx
push str.____FindFirstFile_fails_in_directory__s._Code__lu.
call fcn.0045a000
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46049c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460492
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4604fe
jmp 0x460492
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop word [eax + eax]
push 0x5be168
lea eax, [ebp - 0x264]
push eax
call edi
test eax, eax
je 0x460470
push 0x5c09b0
lea eax, [ebp - 0x264]
push eax
call edi
test eax, eax
je 0x460470
test dword [ebp - 0x290], 0x410
jne 0x460470
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ebp - 0x264]
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460390
sub eax, esi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0044a1c0
call fcn.00460080
add esp, 0x18
test eax, eax
je 0x460470
sub esp, 0x18
lea ecx, [ebp - 0x264]
mov edx, esp
mov dword [ebp - 0x294], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4603e5
sub ecx, esi
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044a1c0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0044baa0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0045e250
add esp, 0x30
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x460470
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460466
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4604fe
push edx
push ecx
call fcn.00518d68
add esp, 8
lea eax, [ebp - 0x290]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x460330
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4602e4
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
cmp edx, 8
jb 0x4604e2
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4604d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4604fe
push edx
push ecx
call fcn.00518d68
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.00518b27
mov esp, ebp
pop ebp
ret
call fcn.005343f1
int3