Function at 0x410be0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4697a1
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x487244]
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
mov dword [ebp - 0x680], ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00434130
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.plugin.tpi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, 0x5c
mov dword [ebp - 0x220], 0
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, 0x104
jge 0x410f5d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x650]
push 0x104
push eax
call fcn.004430bb
push eax
call fcn.00408160
add esp, 0x10
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x220], eax
cmp eax, 0xffffffff
je 0x410f97
push 0
lea eax, [ebp - 0x42c]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x410d36
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x410d29
cmp eax, 0xffffffff
je 0x410d29
push eax
call esi
mov dword [ebp - 0x220], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x410f5d
lea eax, [ebp - 0x42c]
push 0x5c
push eax
call fcn.004342f7
mov esi, eax
lea eax, [ebp - 0x42c]
push 0x2f
push eax
call fcn.004342f7
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x410d67
test esi, esi
je 0x410d82
lea ecx, [ebp - 0x42c]
test esi, esi
lea eax, [ebp - 0x42c]
cmovne eax, esi
cmp ecx, eax
jb 0x410d7d
xor eax, eax
mov word [ecx], ax
jmp 0x410d82
xor ecx, ecx
mov word [eax], cx
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x21c], 1
cmp dword [ebx + 0x78], 0
jne 0x410f57
cmp dword [ebp - 0x21c], 0
je 0x410e02
mov eax, dword [ebp - 0x67c]
shr eax, 4
and eax, 1
je 0x410dd9
cmp word [ebp - 0x650], 0x2e
jne 0x410dd9
mov cx, word [ebp - 0x64e]
test cx, cx
je 0x410ddd
cmp cx, 0x2e
jne 0x410dd9
cmp word [ebp - 0x64c], 0
je 0x410ddd
test eax, eax
je 0x410e02
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x410f97
lea ecx, [ebp - 0x67c]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x21c], edi
jmp 0x410f49
lea eax, [ebp - 0x688]
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040f6f0
mov esi, dword [ebp - 0x688]
push esi
mov byte [ebp - 4], 1
call fcn.00413dc0
add esp, 4
test eax, eax
je 0x410f00
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410efa
push str.CreateTrayClient
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0x684], edi
test edi, edi
je 0x410eed
lea eax, [ebp - 0x68c]
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040f640
push dword [eax]
mov byte [ebp - 4], 2
push str._Load_plugin_tpi_item:__s
call fcn.0040d270
mov edx, dword [ebp - 0x68c]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410ea3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x680]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ebx + 0x6c]
cmp eax, ecx
je 0x410ec2
cmp dword [eax], edi
je 0x410ebe
add eax, 4
cmp eax, ecx
jne 0x410eb3
cmp eax, ecx
jne 0x410ee5
cmp dword [ebx + 0x74], ecx
je 0x410ed5
mov dword [ecx], edi
add dword [ebx + 0x70], 4
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x410f00
lea eax, [ebp - 0x684]
push eax
push ecx
lea ecx, [ebx + 0x6c]
call fcn.0040e690
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x410f00
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [ebp - 0x680]
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x410f0e
xor edi, edi
jmp 0x410f2d
cmp dword [ebp - 0x21c], 0
jne 0x410f1b
xor edi, edi
jmp 0x410f2d
lea ecx, [ebp - 0x67c]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x21c], edi
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410f49
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jne 0x410d92
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x410f81
cmp eax, 0xffffffff
je 0x410f81
push eax
call esi
xor eax, eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x410f97
cmp eax, 0xffffffff
je 0x410f97
push eax
call esi
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.00429ded
mov esp, ebp
pop ebp
ret