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

Disassembly:
jmp 0x401af0
sub esp, 0xd68
mov eax, dword [0x44e1b4]
xor eax, esp
mov dword [esp + 0xd64], eax
push ebp
mov ebp, dword [esp + 0xd78]
push esi
mov esi, dword [esp + 0xd78]
push edi
mov edi, dword [esp + 0xd78]
test edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
jne 0x401b42
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xd64]
xor ecx, esp
call fcn.0041bdf4
add esp, 0xd68
ret
test esi, esi
je 0x401b28
test ebp, ebp
je 0x401b28
push ebx
push 0x410
lea eax, [esp + 0x968]
push 0
push eax
mov dword [0x486310], 0
call fcn.0041be10
push 0x410
lea ecx, [esp + 0x564]
push 0
push ecx
call fcn.0041be10
push 0x2b4
lea edx, [esp + 0x2bc]
push 0
push edx
call fcn.0041be10
push 0x250
lea eax, [esp + 0x78]
push 0
push eax
call fcn.0041be10
push 0x34
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.0041be10
add esp, 0x3c
push 0x3f5
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
lea edx, [esp + 0x558]
push edx
mov ebx, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0xffff0003
mov dword [esp + 0x40], 0x104
mov dword [esp + 0x2c], 0x23
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp esi, dword [0x48630c]
lea eax, [esp + 0x554]
jne 0x401c2b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
jne 0x401c1c
push 0x435c00
lea ecx, [esp + 0x558]
push ecx
jmp 0x401c37
push 0x435bf0
lea edx, [esp + 0x558]
push edx
jmp 0x401c37
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x435bf0
push eax
call edi
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x558]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x401db2
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401c70
mov al, byte [esp + 0x50]
test al, 0x10
je 0x401d8f
test al, 2
jne 0x401d8f
push 0x435bec
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x401d8f
push 0x435be4
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x401d8f
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x968]
lea edx, [esp + 0x80]
push ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
je 0x401cf7
push 0x435bfc
lea eax, [esp + 0x968]
push eax
call edi
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x968]
push edx
call edi
push 0x4001
push 0x2b4
lea eax, [esp + 0x2a8]
push eax
push 0
lea ecx, [esp + 0x974]
push ecx
call esi
mov edx, dword [esp + 0x2a4]
push 0x4003
push 0x2b4
lea eax, [esp + 0x2a8]
push eax
push 0
lea ecx, [esp + 0x974]
push ecx
mov dword [esp + 0x50], edx
call esi
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1132
push ebx
mov dword [esp + 0x50], edx
call ebp
test eax, eax
je 0x401dd0
cmp dword [0x486310], 0
jne 0x401d79
mov dword [0x486310], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x964]
push ecx
push eax
push edx
call fcn.0040114f
add esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401c70
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xd74]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0041bdf4
add esp, 0xd68
ret
mov edx, dword [esp + 0x10]
push edx
jmp 0x401dac