Function at 0x438340
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x684
mov eax, dword [0x5ad6f0]
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 - 0x690], ebx
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x680], eax
mov dword [ebp - 0x688], eax
lea eax, [ebp - 0x218]
push eax
call fcn.00513d10
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 0x43874e
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x650]
push 0x104
push eax
call fcn.0051d77f
push eax
call fcn.00412700
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 0x438788
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 0x4384a3
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x438496
cmp eax, 0xffffffff
je 0x438496
push eax
call esi
mov dword [ebp - 0x220], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x43874e
lea eax, [ebp - 0x42c]
push 0x5c
push eax
call fcn.00514207
mov esi, eax
lea eax, [ebp - 0x42c]
push 0x2f
push eax
call fcn.00514207
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x4384d4
test esi, esi
je 0x4384ef
lea ecx, [ebp - 0x42c]
test esi, esi
lea eax, [ebp - 0x42c]
cmovne eax, esi
cmp ecx, eax
jb 0x4384ea
xor eax, eax
mov word [ecx], ax
jmp 0x4384ef
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x684]
mov dword [ebp - 0x21c], 1
nop
cmp dword [ebx + 0x54], 0
jne 0x438748
cmp dword [ebp - 0x21c], 0
je 0x438574
mov eax, dword [ebp - 0x67c]
shr eax, 4
and eax, 1
je 0x438547
cmp word [ebp - 0x650], 0x2e
jne 0x438547
mov cx, word [ebp - 0x64e]
test cx, cx
je 0x43854b
cmp cx, 0x2e
jne 0x438547
cmp word [ebp - 0x64c], 0
je 0x43854b
test eax, eax
je 0x438574
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x438788
lea ecx, [ebp - 0x67c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
mov dword [ebp - 0x21c], ebx
jmp 0x438739
lea eax, [ebp - 0x68c]
push eax
lea ecx, [ebp - 0x67c]
call fcn.004198c0
mov edi, dword [ebp - 0x68c]
mov byte [ebp - 4], 1
mov ebx, dword [edi - 0xc]
cmp ebx, 4
jl 0x438649
jg 0x4385b8
lea eax, [ebp - 0x68c]
push eax
lea ecx, [ebp - 0x684]
call fcn.004378f0
mov esi, dword [ebp - 0x684]
jmp 0x43862c
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x4385ca
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4385d8
call fcn.00406530
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 0x4387b3
test ebx, ebx
je 0x4387a4
mov eax, dword [ecx]
push 2
push 4
call dword [eax]
test eax, eax
je 0x4387ae
cmp dword [eax + 8], 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x684], esi
jl 0x4387a4
push 4
push ebx
xor eax, eax
mov dword [esi - 0xc], 4
push 4
push esi
mov word [esi + 8], ax
call fcn.00406240
add esp, 0x10
or dword [ebp - 0x680], 3
push str..tpi
push esi
call fcn.0051f4b1
add esp, 8
test eax, eax
jne 0x438649
xor bl, bl
jmp 0x43864b
mov bl, 1
mov eax, dword [ebp - 0x680]
mov dword [ebp - 4], 1
test al, 1
je 0x43867d
and eax, 0xfffffffe
lea edx, [esi - 0x10]
mov dword [ebp - 0x680], eax
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43867d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x4386eb
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4386eb
push str.CreateTrayClient
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
mov dword [ebp - 0x688], edx
test edx, edx
je 0x4386e4
mov ebx, dword [ebp - 0x690]
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
cmp eax, ecx
je 0x4386c5
cmp dword [eax], edx
je 0x4386c1
add eax, 4
cmp eax, ecx
jne 0x4386b6
cmp eax, ecx
jne 0x4386eb
cmp dword [ebx + 0x50], ecx
je 0x4386d2
mov dword [ecx], edx
add dword [ebx + 0x4c], 4
jmp 0x4386eb
lea eax, [ebp - 0x688]
push eax
push ecx
lea ecx, [ebx + 0x48]
call fcn.00437790
jmp 0x4386eb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x4386f9
xor ebx, ebx
jmp 0x43871d
cmp dword [ebp - 0x21c], 0
jne 0x438706
xor ebx, ebx
jmp 0x43871d
lea ecx, [ebp - 0x67c]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov ebx, eax
mov dword [ebp - 0x21c], ebx
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x438739
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x438748
mov ebx, dword [ebp - 0x690]
jmp 0x438500
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x438772
cmp eax, 0xffffffff
je 0x438772
push eax
call esi
xor eax, eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x438788
cmp eax, 0xffffffff
je 0x438788
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.004d684f
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00406210
call fcn.00406e30
push 0x80004005
call fcn.00406210
int3