Function at 0x1002e5f5
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x858
lea ebp, [esp - 4]
mov eax, dword [0x1024bd20]
xor eax, ebp
mov dword [ebp + 0x858], eax
push 0x24
mov eax, 0x101bf3ec
call fcn.1017879b
mov eax, dword [ebp + 0x864]
xor ebx, ebx
mov dword [ebp - 0x20], eax
xor eax, eax
push 0x206
mov word [ebp + 0x250], ax
lea eax, [ebp + 0x252]
push ebx
push eax
call fcn.10179250
push dword [0x10255dd4]
mov esi, 0x104
lea eax, [ebp + 0x250]
push esi
push eax
call fcn.1017c1f6
push str..dll
lea eax, [ebp + 0x250]
push esi
push eax
call fcn.1017c18a
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov ecx, 0x10255de8
mov dword [ebp - 0x14], edi
call fcn.1002f3cc
mov esi, ebx
mov dword [ebp - 0x24], esi
test edi, edi
je 0x1002e927
xor eax, eax
push 0x1fe
mov word [ebp + 0x658], ax
lea eax, [ebp + 0x65a]
push ebx
push eax
call fcn.10179250
xor eax, eax
mov dword [ebp - 4], ebx
add esp, 0xc
inc eax
test eax, eax
je 0x1002e920
push dword [0x10255dd4]
mov ebx, 0x104
lea eax, [ebp + 0x250]
push ebx
push eax
call fcn.1017c1f6
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x250]
push ebx
push eax
call fcn.1017c18a
add esp, 0x18
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1002e965
push 0x100
lea eax, [ebp + 0x658]
push eax
push 0x1b58
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1002e949
lea eax, [ebp + 0x658]
push eax
call fcn.1002ef60
mov ebx, eax
mov dword [ebp - 0x18], ebx
pop ecx
test ebx, ebx
je 0x1002e949
push 0x100
lea eax, [ebp + 0x658]
push eax
push 0x1b59
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1002e949
xor eax, eax
push 0x1fe
push eax
mov word [ebp + 0x458], ax
lea eax, [ebp + 0x45a]
push eax
call fcn.10179250
lea eax, [ebp + 0x658]
push eax
lea eax, [ebp + 0x458]
push 0x100
push eax
call fcn.1017c1f6
add esp, 0x18
xor eax, eax
mov word [ebp + 0x658], ax
lea eax, [ebp + 0x658]
push 0x100
push eax
push 0x1b5a
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp + 0x658], 0
je 0x1002e84f
lea ecx, [ebp + 0x658]
lea eax, [ebp + 0x458]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002e7f9
test dx, dx
je 0x1002e7f5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002e7f9
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002e7d3
xor eax, eax
jmp 0x1002e7fe
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002e84f
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1002e84f
push 0x101d4c1c
mov ebx, 0x100
lea eax, [ebp + 0x458]
push ebx
push eax
call fcn.1017c18a
lea eax, [ebp + 0x658]
push eax
lea eax, [ebp + 0x458]
push ebx
push eax
call fcn.1017c18a
push 0x101d4c24
lea eax, [ebp + 0x458]
push ebx
push eax
call fcn.1017c18a
add esp, 0x24
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1002e872
lea ecx, [ebp + 0x458]
push ecx
push 0
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
push 0x44
call fcn.1004214b
mov ebx, eax
mov eax, dword [ebp - 0x18]
pop ecx
mov dword [ebx], eax
lea ecx, [ebx + 4]
lea eax, [ebp + 0x2c]
push eax
push 0x20
push ecx
call fcn.1017c1f6
mov eax, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
je 0x1002e8aa
push ebx
push dword [ebp - 0x1c]
push 0x151
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp - 0x18]
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x458]
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.1002e4ef
push eax
push dword [0x10255de8]
mov ecx, 0x10255de8
mov byte [ebp - 4], 1
call fcn.1002f156
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.1002f1d1
mov eax, dword [0x10255dd8]
cmp ebx, 0x409
cmove eax, edi
mov dword [0x10255dd8], eax
cmp dword [0x10255de4], ebx
jne 0x1002e905
mov dword [0x10255ddc], edi
jmp 0x1002e94e
cmp dword [0x10255de0], ebx
jne 0x1002e94e
mov esi, edi
mov dword [ebp - 0x24], esi
jmp 0x1002e94e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x10255ddc]
test ecx, ecx
jne 0x1002e982
test esi, esi
je 0x1002e978
mov eax, dword [0x10255de0]
mov ecx, esi
mov dword [0x10255ddc], ecx
mov dword [0x10255de4], eax
jmp 0x1002e982
mov eax, dword [0x10255dd8]
cmp edi, eax
je 0x1002e965
cmp edi, dword [0x10255ddc]
je 0x1002e965
cmp edi, esi
je 0x1002e965
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 0x14]
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1002e6bd
mov dword [0x10255de4], 0x409
test esi, esi
je 0x1002e999
cmp esi, ecx
je 0x1002e999
cmp esi, dword [0x10255dd8]
je 0x1002e999
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x858]
xor ecx, ebp
call fcn.1017868e
lea esp, [ebp + 0x85c]
pop ebp
ret