Function at 0x100ee871
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4d4
mov eax, dword [0x101a4c2c]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov esi, 0x104
mov dword [esp + 0x20], edx
push esi
lea eax, [esp + 0x2d4]
mov ebx, ecx
push eax
push 0x130
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov edi, eax
mov dword [esp + 0x18], eax
cmp edi, 0xff
jb 0x100ee8da
push 0x1fe
push 0x1ff
push 0x10
push ebx
call fcn.100ec518
add esp, 0x10
xor eax, eax
jmp 0x100eeb14
test edi, edi
jle 0x100eeafc
cmp word [esp + edi*2 + 0x2ce], 0x5c
je 0x100ee905
push 0x10018f30
mov edx, esi
lea ecx, [esp + 0x2d4]
call fcn.1003f209
inc edi
mov dword [esp + 0x18], edi
push 0x10026700
mov edx, esi
lea ecx, [esp + 0x2d4]
call fcn.1003f209
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
mov ecx, esi
and ecx, 0xffff7fff
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor esi, esi
cmp dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], esi
jne 0x100ee978
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x100ee8d3
push 0x200
jmp 0x100ee8c3
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push esi
push esi
push 0xb
push ebx
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x2d0]
mov eax, 0x104
lea ecx, [ecx + edi*2]
sub eax, edi
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], eax
lea edx, [esp + 0xac]
push edx
mov edx, eax
call fcn.1003f1d4
lea eax, [esp + 0x2d0]
mov ecx, esi
push eax
lea edx, [esp + 0x34]
call fcn.100eee2f
test eax, eax
je 0x100eeaa6
push 0x264
push 8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100eeac5
cmp dword [esi + 0x1c], 0
jne 0x100eea23
push 1
push 0x12e
push ebx
mov dword [esi + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100eea2c
mov dword [ecx], eax
mov dword [esi + 0x20], eax
lea edi, [eax + 0xc]
and dword [eax], 0
lea esi, [esp + 0x30]
and dword [eax + 4], 0
and dword [eax + 8], 0
push 0x14
pop ecx
push dword [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x5c]
lea eax, [esp + 0x2d4]
mov ecx, esi
push eax
call fcn.100ef0a8
lea eax, [esp + 0xac]
mov edx, 0x104
push eax
mov ecx, esi
call fcn.1003f209
push dword [esp + 0x58]
mov esi, 0x131
push 0
push 0x180
push esi
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [esp + 0x1c]
push eax
push 0x19a
push esi
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x80]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x100ee9bb
push 0
push 1
push 0xb
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetCursor]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x14], 0
jne 0x100eeb11
push 0x201
jmp 0x100eeb01
push 0x202
push 0x1ff
push 0x10
push ebx
call fcn.100ec518
add esp, 0x10
xor eax, eax
inc eax
mov ecx, dword [esp + 0x4dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10166ce0
mov esp, ebp
pop ebp
ret