Function at 0x40348e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
push esi
mov dword [ebp - 0x20c], 0
cmp dword [ebp + 0x10], 1
jne 0x4034bc
push 0x250
push 0
push 0x4090f0
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x69
push 0x4085d8
mov eax, dword [ebp + 8]
push eax
call sub.comdlg32.dll_GetFileTitleW
movsx ecx, ax
test ecx, ecx
je 0x4034da
xor eax, eax
jmp 0x4036f7
push 0x69
push 0x40a5c4
mov edx, dword [ebp + 0xc]
push edx
call sub.comdlg32.dll_GetFileTitleW
movsx eax, ax
test eax, eax
je 0x4034f8
xor eax, eax
jmp 0x4036f7
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x620]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x4085d8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esi, eax
mov word [ebp + esi*2 - 0x620], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x40a5c4
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esi, eax
mov word [ebp + esi*2 - 0x418], 0
push 0x407b68
push 0x4085d8
call dword [sym.imp.MSVCRT.dll_wcstok]
add esp, 8
mov dword [ebp - 0x20c], eax
mov ecx, 0x40aba0
test ecx, ecx
je 0x403594
mov edx, dword [ebp - 0x20c]
push edx
push 0x4085d8
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x407b6c
push 0x40a5c4
call dword [sym.imp.MSVCRT.dll_wcstok]
add esp, 8
mov dword [ebp - 0x20c], eax
mov eax, 0x40aba0
test eax, eax
je 0x4035c8
mov ecx, dword [ebp - 0x20c]
push ecx
push 0x40a5c4
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0x10], 0
jne 0x4035f8
push 0x4090f0
mov edx, dword [0x4086ac]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x4035f6
xor eax, eax
jmp 0x4036f7
jmp 0x403657
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4085d8
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x407b70
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4090f0
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [0x4086ac], eax
cmp dword [0x4086ac], 0xffffffff
jne 0x403657
xor eax, eax
jmp 0x4036f7
push 0x40911c
lea edx, [ebp - 0x620]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x407b78
push 0x40911c
call dword [sym.imp.MSVCRT.dll_wcstok]
add esp, 8
mov dword [ebp - 0x20c], eax
push 0x407b7c
push 0
call dword [sym.imp.MSVCRT.dll_wcstok]
add esp, 8
mov dword [ebp - 0x20c], eax
push 0x40a5c4
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x407b80
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [ebp - 0x20c]
push edx
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x620]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc