Function at 0x41ccf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ce48
mov eax, dword fs:[0]
push eax
mov eax, 0x18cc
call fcn.004bde30
mov eax, dword [0x57d718]
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 - 0x18d8], ebx
xor eax, eax
push 0x1450
push eax
mov dword [ebp - 0x18c8], eax
mov dword [ebp - 0x18d4], eax
lea eax, [ebp - 0x1460]
push eax
call fcn.00501330
add esp, 0xc
lea eax, [ebp - 0x1460]
push 0xa28
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.plugin.tpi
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x464
lea eax, [ebp - 0x18c4]
push 0
push eax
call fcn.00501330
mov eax, 0x5c
mov dword [ebp - 0x1468], 0
add esp, 0xc
mov word [ebp - 0x146c], ax
lea eax, [ebp - 0x1460]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x1464], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, 0x104
jge 0x41d128
lea eax, [ebp - 0x1460]
push eax
lea eax, [ebp - 0x1898]
push 0x104
push eax
call fcn.00507f7a
push eax
call fcn.00406240
add esp, 0x10
lea eax, [ebp - 0x18c4]
push eax
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1468], eax
cmp eax, 0xffffffff
je 0x41d162
push 0
lea eax, [ebp - 0x1674]
push eax
push 0x104
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x41ce6d
mov dword [ebp - 0x1464], eax
mov eax, dword [ebp - 0x1468]
test eax, eax
je 0x41ce60
cmp eax, 0xffffffff
je 0x41ce60
push eax
call esi
mov dword [ebp - 0x1468], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41d128
lea eax, [ebp - 0x1674]
push 0x5c
push eax
call fcn.0050153d
mov esi, eax
lea eax, [ebp - 0x1674]
push 0x2f
push eax
call fcn.0050153d
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x41ce9e
test esi, esi
je 0x41ceb9
lea ecx, [ebp - 0x1674]
test esi, esi
lea eax, [ebp - 0x1674]
cmovne eax, esi
cmp ecx, eax
jb 0x41ceb4
xor eax, eax
mov word [ecx], ax
jmp 0x41ceb9
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x18d0]
mov dword [ebp - 0x1464], 1
nop dword [eax]
cmp dword [ebx + 0x50], 0
jne 0x41d122
cmp dword [ebp - 0x1464], 0
je 0x41cf44
mov eax, dword [ebp - 0x18c4]
shr eax, 4
and eax, 1
je 0x41cf17
cmp word [ebp - 0x1898], 0x2e
jne 0x41cf17
mov cx, word [ebp - 0x1896]
test cx, cx
je 0x41cf1b
cmp cx, 0x2e
jne 0x41cf17
cmp word [ebp - 0x1894], 0
je 0x41cf1b
test eax, eax
je 0x41cf44
mov eax, dword [ebp - 0x1468]
test eax, eax
je 0x41d162
lea ecx, [ebp - 0x18c4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
mov dword [ebp - 0x1464], ebx
jmp 0x41d113
lea eax, [ebp - 0x18cc]
mov dword [ebp - 0x18cc], 0
push eax
lea ecx, [ebp - 0x18c4]
call fcn.0040f5f0
mov edi, dword [ebp - 0x18cc]
mov byte [ebp - 4], 1
mov ebx, dword [edi - 0xc]
cmp ebx, 4
jl 0x41d023
jg 0x41cf92
lea eax, [ebp - 0x18cc]
push eax
lea ecx, [ebp - 0x18d0]
call fcn.00413d40
mov esi, dword [ebp - 0x18d0]
jmp 0x41d006
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x41cfa4
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x41cfb2
call fcn.004066f0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
add ebx, 0xfffffffc
lea ebx, [edi + ebx*2]
test ecx, ecx
je 0x41d18d
test ebx, ebx
je 0x41d17e
mov eax, dword [ecx]
push 2
push 4
call dword [eax]
test eax, eax
je 0x41d188
cmp dword [eax + 8], 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x18d0], esi
jl 0x41d17e
push 8
push ebx
xor eax, eax
mov dword [esi - 0xc], 4
push 8
push esi
mov word [esi + 8], ax
call fcn.00406de0
add esp, 0x10
or dword [ebp - 0x18c8], 3
push str..tpi
push esi
call fcn.0050843c
add esp, 8
test eax, eax
jne 0x41d023
xor bl, bl
jmp 0x41d025
mov bl, 1
mov eax, dword [ebp - 0x18c8]
mov dword [ebp - 4], 1
test al, 1
je 0x41d057
and eax, 0xfffffffe
lea edx, [esi - 0x10]
mov dword [ebp - 0x18c8], eax
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d057
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x41d0c5
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41d0c5
push str.CreateTrayClient
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
mov dword [ebp - 0x18d4], edx
test edx, edx
je 0x41d0be
mov ebx, dword [ebp - 0x18d8]
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x44]
cmp eax, ecx
je 0x41d09f
cmp dword [eax], edx
je 0x41d09b
add eax, 4
cmp eax, ecx
jne 0x41d090
cmp eax, ecx
jne 0x41d0c5
cmp dword [ebx + 0x4c], ecx
je 0x41d0ac
mov dword [ecx], edx
add dword [ebx + 0x48], 4
jmp 0x41d0c5
lea eax, [ebp - 0x18d4]
push eax
push ecx
lea ecx, [ebx + 0x44]
call fcn.0041c140
jmp 0x41d0c5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x1468]
test eax, eax
jne 0x41d0d3
xor ebx, ebx
jmp 0x41d0f7
cmp dword [ebp - 0x1464], 0
jne 0x41d0e0
xor ebx, ebx
jmp 0x41d0f7
lea ecx, [ebp - 0x18c4]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov ebx, eax
mov dword [ebp - 0x1464], ebx
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41d113
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x41d122
mov ebx, dword [ebp - 0x18d8]
jmp 0x41ced0
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x1468]
mov dword [ebp - 0x1464], 0
test eax, eax
je 0x41d14c
cmp eax, 0xffffffff
je 0x41d14c
push eax
call esi
xor eax, eax
mov dword [ebp - 0x1468], eax
mov dword [ebp - 0x1464], 0
test eax, eax
je 0x41d162
cmp eax, 0xffffffff
je 0x41d162
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.004bddc0
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004062e0
call fcn.00406d10
push 0x80004005
call fcn.004062e0
int3