Function at 0x41a280
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x688
mov eax, dword [0x557768]
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 - 0x684], ebx
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x688], eax
mov dword [ebp - 0x680], eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e4230
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]
push 0x464
lea eax, [ebp - 0x67c]
push 0
push eax
call fcn.004e4230
mov eax, 0x5c
mov dword [ebp - 0x220], 0
add esp, 0xc
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 0x41a651
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x650]
push 0x104
push eax
call fcn.004eafbc
push eax
call fcn.00404cf0
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 0x41a68b
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 0x41a3f9
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x41a3ec
cmp eax, 0xffffffff
je 0x41a3ec
push eax
call esi
mov dword [ebp - 0x220], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41a651
lea eax, [ebp - 0x42c]
push 0x5c
push eax
call fcn.004e443d
mov esi, eax
lea eax, [ebp - 0x42c]
push 0x2f
push eax
call fcn.004e443d
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x41a42a
test esi, esi
je 0x41a445
lea ecx, [ebp - 0x42c]
test esi, esi
lea eax, [ebp - 0x42c]
cmovne eax, esi
cmp ecx, eax
jb 0x41a440
xor eax, eax
mov word [ecx], ax
jmp 0x41a445
xor ecx, ecx
mov word [eax], cx
mov edi, dword [ebp - 0x690]
mov dword [ebp - 0x21c], 1
cmp dword [ebx + 0x50], 0
jne 0x41a64b
cmp dword [ebp - 0x21c], 0
je 0x41a4c9
mov eax, dword [ebp - 0x67c]
shr eax, 4
and eax, 1
je 0x41a49c
cmp word [ebp - 0x650], 0x2e
jne 0x41a49c
mov cx, word [ebp - 0x64e]
test cx, cx
je 0x41a4a0
cmp cx, 0x2e
jne 0x41a49c
cmp word [ebp - 0x64c], 0
je 0x41a4a0
test eax, eax
je 0x41a4c9
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x41a68b
lea ecx, [ebp - 0x67c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
mov dword [ebp - 0x21c], esi
jmp 0x41a643
lea eax, [ebp - 0x68c]
mov dword [ebp - 0x68c], 0
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040e990
mov esi, dword [ebp - 0x68c]
mov ebx, dword [esi - 0xc]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x694], eax
cmp ebx, 4
jl 0x41a5b0
jg 0x41a520
lea eax, [ebp - 0x68c]
push eax
lea ecx, [ebp - 0x690]
call fcn.00419810
mov edi, dword [ebp - 0x690]
jmp 0x41a593
mov ecx, dword [eax]
test ecx, ecx
je 0x41a531
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x41a53f
call fcn.004051e0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
add ebx, 0xfffffffc
lea ebx, [esi + ebx*2]
test ecx, ecx
je 0x41a775
test ebx, ebx
je 0x41a77f
mov eax, dword [ecx]
push 2
push 4
call dword [eax]
test eax, eax
je 0x41a789
cmp dword [eax + 8], 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x690], edi
jl 0x41a77f
push 8
push ebx
xor eax, eax
mov dword [edi - 0xc], 4
push 8
push edi
mov word [edi + 8], ax
call fcn.004058d0
add esp, 0x10
or dword [ebp - 0x688], 3
push str..tpi
push edi
call fcn.004eb444
add esp, 8
test eax, eax
jne 0x41a5b0
xor bl, bl
jmp 0x41a5b2
mov bl, 1
mov eax, dword [ebp - 0x688]
mov dword [ebp - 4], 1
test al, 1
je 0x41a5e4
and eax, 0xfffffffe
lea edx, [edi - 0x10]
mov dword [ebp - 0x688], eax
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a5e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x41a6a7
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x41a5fa
xor esi, esi
jmp 0x41a61e
cmp dword [ebp - 0x21c], 0
jne 0x41a607
xor esi, esi
jmp 0x41a61e
lea ecx, [ebp - 0x67c]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov esi, eax
mov dword [ebp - 0x21c], esi
mov edx, dword [ebp - 0x694]
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a63d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x684]
test esi, esi
jne 0x41a455
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x41a675
cmp eax, 0xffffffff
je 0x41a675
push eax
call esi
xor eax, eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x41a68b
cmp eax, 0xffffffff
je 0x41a68b
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.004a2820
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41a715
push str.CreateTrayClient
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
mov dword [ebp - 0x680], edx
test edx, edx
je 0x41a70e
mov ebx, dword [ebp - 0x684]
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x44]
cmp eax, ecx
je 0x41a6ef
nop dword [eax]
cmp dword [eax], edx
je 0x41a6eb
add eax, 4
cmp eax, ecx
jne 0x41a6e0
cmp eax, ecx
jne 0x41a71b
cmp dword [ebx + 0x4c], ecx
je 0x41a6fc
mov dword [ecx], edx
add dword [ebx + 0x48], 4
jmp 0x41a71b
lea eax, [ebp - 0x680]
push eax
push ecx
lea ecx, [ebx + 0x44]
call fcn.00419670
jmp 0x41a71b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [ebp - 0x684]
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x41a729
xor esi, esi
jmp 0x41a74d
cmp dword [ebp - 0x21c], 0
jne 0x41a736
xor esi, esi
jmp 0x41a74d
lea ecx, [ebp - 0x67c]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov esi, eax
mov dword [ebp - 0x21c], esi
mov edx, dword [ebp - 0x694]
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a643
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41a643
push 0x80004005
call fcn.00404d90
push 0x80070057
call fcn.00404d90
call fcn.00405800
int3