Function at 0x410600
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4f4
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x4ec], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x276f
push dword [0x4def88]
mov dword [esp + 0x2c], ecx
call esi
push 0x277b
push dword [0x4def88]
mov dword [esp + 0x1c], eax
call esi
push 0x2785
push dword [0x4def88]
mov ebp, eax
mov dword [esp + 0x28], ebp
call esi
push 2
push 0x400
mov dword [esp + 0x34], eax
mov dword [esp + 0x80], 2
call fcn.0048f743
mov esi, eax
push 2
push 0x400
mov dword [esp + 0x28], esi
call fcn.0048f743
push 2
push 0x400
mov dword [esp + 0x34], eax
call fcn.0048f743
add esp, 0x18
mov ebx, eax
push 0
push 0
push 0x1004
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
call ebp
mov edi, eax
test edi, edi
je 0x4109e6
push 0xf000
dec edi
push edi
push 0x102c
push dword [esp + 0x2c]
mov dword [esp + 0x40], edi
call ebp
shr eax, 0xc
sub eax, 1
je 0x4109de
lea eax, [esp + 0x3c]
mov dword [esp + 0x44], 0
push eax
push edi
push 0x1073
push dword [esp + 0x2c]
mov dword [esp + 0x64], 0x400
mov dword [esp + 0x60], ebx
call ebp
push ebx
push dword [esp + 0x28]
push 0x4ad304
push 0x400
push dword [esp + 0x2c]
call fcn.0040a3c0
add esp, 0x14
lea eax, [esp + 0xa0]
mov edi, 1
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
je 0x4109d0
test edi, edi
je 0x4109d0
cmp word [ebx], 0x7e
jne 0x410754
cmp word [esp + 0xcc], 0x7e
jne 0x4109b7
mov edi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x2e
push 0
push ebx
call edi
mov esi, eax
sub esi, ebx
sar esi, 1
js 0x4107b3
push 0x2a
push 0
push ebx
call edi
sub eax, ebx
sar eax, 1
cmp eax, esi
jg 0x4107b3
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x2e
mov edi, eax
lea eax, [esp + 0xd0]
push 0
push eax
sub edi, esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
lea eax, [esp + 0xcc]
sub esi, eax
push eax
sar esi, 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, esi
cmp edi, eax
jne 0x4109b3
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x28]
push 0x4ad304
push 0x400
push esi
call fcn.0040a3c0
mov ecx, dword [esp + 0x40]
add esp, 0x14
mov edx, esi
call fcn.00410a30
test eax, eax
jne 0x4109b7
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], esi
push eax
push 0xffffffffffffffff
push 0x1053
push dword [esp + 0x20]
call ebp
cmp eax, 0xffffffff
jne 0x4109b7
push 0
push 0x20000000
push 3
push 0
push 4
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x41082a
xor eax, eax
jmp 0x410836
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
test eax, eax
je 0x4109b7
mov edi, dword [esp + 0xbc]
xor esi, esi
add esi, dword [esp + 0xc0]
push 0
push 0
push 0x1004
push dword [esp + 0x20]
adc edi, 0
call ebp
push 0x4cf800
push 0
push 0x104d
push dword [esp + 0x20]
mov dword [0x4cf804], eax
mov eax, dword [esp + 0x28]
mov dword [0x4cf81c], 0
mov dword [0x4cf814], eax
call ebp
push edi
push esi
mov dword [esp + 0x4c], 2
call fcn.00464970
add esp, 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
push eax
push dword [0x4cf804]
push 0x1074
push dword [esp + 0x20]
call ebp
add dword [0x4ce7f0], esi
lea eax, [esp + 0x3c]
mov esi, dword [esp + 0x14]
adc dword [0x4ce7f4], edi
push eax
push dword [0x4cf804]
mov dword [esp + 0x4c], 1
push 0x1074
push esi
mov dword [esp + 0x60], ebx
call ebp
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2f8], ax
lea eax, [esp + 0x2fa]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4109a4
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4109a4
movzx eax, word [esp + 0x9a]
push eax
movzx eax, word [esp + 0x9c]
push eax
movzx eax, word [esp + 0x9e]
push eax
movzx eax, word [esp + 0x9e]
push eax
movzx eax, word [esp + 0xa0]
push eax
push 0x4ae27c
lea eax, [esp + 0x308]
push 0x104
push eax
call fcn.0040a3c0
add esp, 0x20
mov dword [esp + 0x44], 3
lea eax, [esp + 0x2f0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
push eax
push dword [0x4cf804]
push 0x1074
push esi
call ebp
push 0x1869f
push 0
push 0x1014
push esi
call ebp
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
jmp 0x410737
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x4106b1
push ebx
call fcn.0048f74e
add esp, 4
push dword [esp + 0x1c]
call fcn.0048f74e
add esp, 4
push esi
call fcn.0048f74e
mov ecx, dword [esp + 0x500]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x4f4
ret