Function at 0x10002a75
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x155c
call fcn.10004f70
xor eax, eax
push ebx
cmp dword [ebp + 8], eax
push esi
push edi
jne 0x10002a95
cmp dword [ebp + 0xc], eax
je 0x10002c68
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov dl, byte [0x10008acc]
mov esi, 0x1ff
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x155b]
mov byte [ebp - 0x155c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0xd5b]
mov byte [ebp - 0xd5c], dl
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
push str..
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10008090
lea eax, [ebp - 0xd5c]
push 0x7ff
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x155c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x1c
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xd5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
mov ebx, 0x104
lea eax, [ebp - 0x354]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x328]
mov dword [ebp - 0xc], eax
call fcn.10004cf7
test eax, eax
je 0x10002c4f
lea eax, [ebp + 8]
push eax
push 0x100072a8
push 1
push 0
push 0x100072b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10002c4f
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0x100072c8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x10002c4f
push 0x208
lea eax, [ebp - 0x55c]
push 0
push eax
call sub.MSVCRT.dll_memset
mov al, byte [0x10008acc]
add esp, 0xc
mov byte [ebp - 0x214], al
xor eax, eax
push 0x40
lea edi, [ebp - 0x213]
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x155c]
push eax
push str._s_s
lea eax, [ebp - 0x214]
push 0x103
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x55c]
xor edi, edi
push ebx
push eax
lea eax, [ebp - 0x214]
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x55c]
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x10002c4f
mov eax, dword [ebp + 8]
push 0
mov edi, dword [eax]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push dword [ebp + 8]
call dword [edi + 0x4c]
test eax, eax
jl 0x10002c4f
mov al, byte [0x10008acc]
push 0x40
mov byte [ebp - 0x110], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x110]
push ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jge 0x10002c6f
cmp dword [ebp - 0xc], 0
jne 0x10002b20
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x110]
push eax
push dword [ebp + 0x10]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 1
pop eax
jmp 0x10002c6a