Function at 0x4872a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a851
mov eax, dword fs:[0]
push eax
sub esp, 0x6a0
mov eax, dword [0x5c5244]
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 dword [ebp - 0x6a0], ecx
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 0x698], ebx
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
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 - 0x238], ebx
mov word [ebp - 0x23c], ax
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, 0x104
jl 0x487365
xor esi, esi
jmp 0x487454
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x668]
push 0x104
push eax
call fcn.00521a1c
push eax
call fcn.00422610
add esp, 0x10
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
jne 0x4873ac
xor esi, esi
jmp 0x487454
push 0
lea eax, [ebp - 0x444]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x4873f9
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4873ed
cmp eax, 0xffffffff
je 0x4873ed
push eax
call edi
mov dword [ebp - 0x238], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x487454
lea eax, [ebp - 0x444]
push 0x5c
push eax
call fcn.004f425c
mov esi, eax
lea eax, [ebp - 0x444]
push 0x2f
push eax
call fcn.004f425c
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x48742a
test esi, esi
je 0x487445
lea ecx, [ebp - 0x444]
test esi, esi
lea eax, [ebp - 0x444]
cmovne eax, esi
cmp ecx, eax
jb 0x487440
xor eax, eax
mov word [ecx], ax
jmp 0x487445
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x234], 1
mov esi, 1
call fcn.004457b0
mov ecx, eax
call fcn.0044bbd0
mov dword [ebp - 0x6ac], eax
test esi, esi
je 0x487788
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x6a0]
cmp dword [eax + 0x88], 0
jne 0x487782
cmp dword [ebp - 0x234], 0
je 0x4874f9
mov eax, dword [ebp - 0x694]
shr eax, 4
and eax, 1
je 0x4874d0
cmp word [ebp - 0x668], 0x2e
jne 0x4874d0
mov cx, word [ebp - 0x666]
test cx, cx
je 0x4874d4
cmp cx, 0x2e
jne 0x4874d0
cmp word [ebp - 0x664], 0
je 0x4874d4
test eax, eax
je 0x4874f9
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4877fb
lea ecx, [ebp - 0x694]
push ecx
push eax
call edi
mov esi, eax
mov dword [ebp - 0x234], esi
jmp 0x48777a
lea eax, [ebp - 0x69c]
push eax
lea ecx, [ebp - 0x694]
call fcn.004866f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x69c]
cmp dword [eax - 0xc], 4
jl 0x487553
push 4
lea eax, [ebp - 0x6a8]
push eax
lea ecx, [ebp - 0x69c]
call fcn.00487170
mov byte [ebp - 4], 2
or ebx, 1
mov dword [ebp - 0x698], ebx
push str..tpi
push dword [eax]
call fcn.0051070a
add esp, 8
test eax, eax
jne 0x487553
xor bl, bl
jmp 0x487555
mov bl, 1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x698]
test al, 1
je 0x487591
and eax, 0xfffffffe
mov dword [ebp - 0x698], eax
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x6a8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x487591
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x4875c7
mov eax, dword [ebp - 0x238]
test eax, eax
jne 0x4875a3
xor esi, esi
jmp 0x4875c2
cmp dword [ebp - 0x234], 0
jne 0x4875b0
xor esi, esi
jmp 0x4875c2
lea ecx, [ebp - 0x694]
push ecx
push eax
call edi
mov esi, eax
mov dword [ebp - 0x234], esi
jmp 0x487752
push dword [ebp - 0x69c]
call fcn.004cf4a0
add esp, 4
test eax, eax
jne 0x48760b
mov eax, dword [ebp - 0x238]
test eax, eax
jne 0x4875e7
xor esi, esi
jmp 0x487606
cmp dword [ebp - 0x234], 0
jne 0x4875f4
xor esi, esi
jmp 0x487606
lea ecx, [ebp - 0x694]
push ecx
push eax
call edi
mov esi, eax
mov dword [ebp - 0x234], esi
jmp 0x487752
push dword [0x5c4a34]
lea ecx, [ebp - 0x230]
call fcn.00419490
mov byte [ebp - 4], 6
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x6ac]
or dword [ebp - 0x698], 2
push eax
call fcn.004eea60
test eax, eax
je 0x487656
push str.MasterHeadline.tpi
push dword [ebp - 0x69c]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x487656
mov bl, 1
jmp 0x487658
xor bl, bl
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x698]
test al, 2
je 0x48767d
and eax, 0xfffffffd
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x698], eax
call fcn.00421df0
test bl, bl
je 0x4876b3
mov eax, dword [ebp - 0x238]
test eax, eax
jne 0x48768f
xor esi, esi
jmp 0x4876ae
cmp dword [ebp - 0x234], 0
jne 0x48769c
xor esi, esi
jmp 0x4876ae
lea ecx, [ebp - 0x694]
push ecx
push eax
call edi
mov esi, eax
mov dword [ebp - 0x234], esi
jmp 0x487752
push dword [ebp - 0x69c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x487725
push str.CreateTrayClient
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
mov dword [ebp - 0x6a4], edx
test edx, edx
je 0x48771e
mov esi, dword [ebp - 0x6a0]
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x70]
cmp eax, ecx
je 0x4876ff
nop dword [eax]
cmp dword [eax], edx
je 0x4876fb
add eax, 4
cmp eax, ecx
jne 0x4876f0
cmp eax, ecx
jne 0x487725
cmp dword [esi + 0x78], ecx
je 0x48770c
mov dword [ecx], edx
add dword [esi + 0x74], 4
jmp 0x487725
lea eax, [ebp - 0x6a4]
push eax
push ecx
lea ecx, [esi + 0x70]
call fcn.00485bc0
jmp 0x487725
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x238]
test eax, eax
jne 0x487733
xor esi, esi
jmp 0x487752
cmp dword [ebp - 0x234], 0
jne 0x487740
xor esi, esi
jmp 0x487752
lea ecx, [ebp - 0x694]
push ecx
push eax
call edi
mov esi, eax
mov dword [ebp - 0x234], esi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x69c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x487774
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x698]
test esi, esi
jne 0x487480
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x234], 0
test eax, eax
je 0x4877ae
cmp eax, 0xffffffff
je 0x4877ae
push eax
call edi
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x234], 0
test eax, eax
je 0x4877df
cmp eax, 0xffffffff
je 0x4877df
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x238], 0
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.004da3bd
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x234], 0
jmp 0x4877ae