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

Disassembly:
sub esp, 0x4f4
mov eax, dword [section..data]
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 [0x4e6030]
mov dword [esp + 0x20], ecx
call esi
push 0x277b
push dword [0x4e6030]
mov dword [esp + 0x1c], eax
call esi
push 0x2785
push dword [0x4e6030]
mov ebp, eax
mov dword [esp + 0x28], ebp
call esi
push 2
push 0x400
mov dword [esp + 0x38], eax
mov dword [esp + 0x80], 2
call fcn.004909d3
mov edi, eax
push 2
push 0x400
mov dword [esp + 0x2c], edi
call fcn.004909d3
mov esi, eax
push 2
push 0x400
mov dword [esp + 0x3c], esi
call fcn.004909d3
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 ecx, eax
test ecx, ecx
je 0x410b26
mov esi, dword [esp + 0x20]
push 0xf000
dec ecx
push ecx
push 0x102c
push esi
mov dword [esp + 0x3c], ecx
call ebp
shr eax, 0xc
sub eax, 1
je 0x410b16
lea eax, [esp + 0x3c]
mov dword [esp + 0x44], 0
push eax
push dword [esp + 0x30]
mov dword [esp + 0x5c], 0x400
push 0x1073
push esi
mov dword [esp + 0x60], ebx
call ebp
mov edx, dword [esp + 0x18]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4107b2
sub edx, ecx
mov ecx, ebx
sar edx, 1
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4107c6
sub ecx, esi
sar ecx, 1
lea eax, [ecx + 4]
add eax, edx
cmp eax, 0x104
jae 0x410b12
push ebx
push dword [esp + 0x1c]
push 0x4b3544
push 0x400
push dword [esp + 0x34]
call fcn.0040a420
add esp, 0x14
lea eax, [esp + 0xa0]
mov esi, 1
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
je 0x410b08
test esi, esi
je 0x410b08
cmp word [ebx], 0x7e
jne 0x410841
cmp word [esp + 0xcc], 0x7e
jne 0x410aeb
push 0x2e
push 0
push ebx
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
sub esi, ebx
sar esi, 1
js 0x4108a6
push 0x2a
push 0
push ebx
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
sub eax, ebx
sar eax, 1
cmp eax, esi
jg 0x4108a6
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 0x410aeb
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4108b0
sub edx, ecx
lea eax, [esp + 0xcc]
sar edx, 1
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4108d0
sub eax, esi
sar eax, 1
add eax, 4
add eax, edx
cmp eax, 0x104
jae 0x410aeb
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x1c]
push 0x4b3544
push 0x400
push edi
call fcn.0040a420
mov ecx, dword [esp + 0x44]
add esp, 0x14
mov edx, edi
call fcn.00410b60
test eax, eax
jne 0x410aeb
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], edi
push eax
push 0xffffffffffffffff
push 0x1053
push dword [esp + 0x20]
call ebp
cmp eax, 0xffffffff
jne 0x410aeb
push 0
push 0x20000000
push 3
push 0
push 4
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x410962
xor eax, eax
jmp 0x41096e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
test eax, eax
je 0x410aeb
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 0x4d6840
push 0
push 0x104d
push dword [esp + 0x20]
mov dword [0x4d6844], eax
mov eax, dword [esp + 0x2c]
mov dword [0x4d685c], 0
mov dword [0x4d6854], eax
call ebp
push edi
push esi
mov dword [esp + 0x4c], 2
call fcn.00465af0
add esp, 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
push eax
push dword [0x4d6844]
push 0x1074
push dword [esp + 0x20]
call ebp
add dword [0x4d5830], esi
lea eax, [esp + 0x3c]
mov esi, dword [esp + 0x14]
adc dword [0x4d5834], edi
push eax
push dword [0x4d6844]
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.0048fb10
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 0x410adc
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x410adc
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 0x4b44bc
lea eax, [esp + 0x308]
push 0x104
push eax
call fcn.0040a420
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 [0x4d6844]
push 0x1074
push esi
call ebp
push 0x1869f
push 0
push 0x1014
push esi
call ebp
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [esp + 0x1c]
mov esi, eax
jmp 0x410824
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x410767
mov esi, dword [esp + 0x24]
push ebx
call fcn.004909de
add esp, 4
push esi
call fcn.004909de
add esp, 4
push edi
call fcn.004909de
mov ecx, dword [esp + 0x500]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x4f4
ret