Function at 0x413490
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x4cc
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x4c4], eax
push ebx
push ebp
push esi
push edi
push 0x27a3
push dword [0x4def88]
mov dword [esp + 0x24], ecx
call dword [sym.imp.user32.dll_GetDlgItem]
mov edi, eax
push 2
push 0x400
mov dword [esp + 0x28], edi
call fcn.0048f633
mov esi, eax
push 2
push 0x400
mov dword [esp + 0x28], esi
call fcn.0048f633
mov ebp, eax
push 2
push 0x400
mov dword [esp + 0x28], ebp
call fcn.0048f633
push dword [esp + 0x34]
mov ebx, eax
push 0x4ae2e0
push 0x400
push esi
call fcn.0040a370
add esp, 0x28
lea eax, [esp + 0x78]
mov esi, 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ecx, eax
mov dword [esp + 0x14], ecx
cmp ecx, 0xffffffff
je 0x413747
mov ebp, dword [sym.imp.user32.dll_SendMessageW]
test esi, esi
je 0x41373f
push 0x2e
push 0
push 0x4ae2f4
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
sub esi, 0x4ae2f4
sar esi, 1
js 0x4135b5
push 0x2a
push 0
push 0x4ae2f4
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
sub eax, 0x4ae2f4
sar eax, 1
cmp eax, esi
jg 0x4135b5
push 0x4ae2f4
call dword [sym.imp.kernel32.dll_lstrlenW]
push 0x2e
mov edi, eax
lea eax, [esp + 0xa8]
push 0
push eax
sub edi, esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
lea eax, [esp + 0xa4]
sub esi, eax
push eax
sar esi, 1
call dword [sym.imp.kernel32.dll_lstrlenW]
sub eax, esi
cmp edi, eax
jne 0x413725
mov edi, dword [esp + 0x20]
cmp dword [0x4c518c], 0
je 0x41378a
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x20]
push 0x4ad304
push 0x400
push esi
call fcn.0040a370
add esp, 0x14
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 1
call dword [sym.imp.kernel32.dll_SetErrorMode]
push ebx
mov edx, esi
call fcn.004760a0
add esp, 4
cmp eax, 0x7a69
jne 0x413717
mov ecx, ebx
call fcn.00464dc0
test eax, eax
je 0x413717
push 0
push 0
push 0x1004
push edi
call ebp
push 0x4cf83c
push 0
push 0x104d
push edi
mov dword [0x4cf840], eax
mov dword [0x4cf850], esi
call ebp
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], 1
push eax
push dword [0x4cf840]
mov dword [esp + 0x48], ebx
push 0x1074
push edi
call ebp
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2d0], ax
lea eax, [esp + 0x2d2]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x413708
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
test eax, eax
je 0x413708
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x78]
push eax
push 0x4ae27c
lea eax, [esp + 0x2e0]
push 0x104
push eax
call fcn.0040a370
add esp, 0x20
mov dword [esp + 0x34], 2
lea eax, [esp + 0x2c8]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cf840]
push 0x1074
push edi
call ebp
push 0x1869f
push 0
push 0x1014
push edi
call ebp
push 0
call dword [sym.imp.kernel32.dll_SetErrorMode]
call dword [sym.imp.ole32.dll_OleUninitialize]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x18]
call dword [sym.imp.kernel32.dll_FindNextFileW]
mov edi, dword [esp + 0x20]
mov esi, eax
jmp 0x413535
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.kernel32.dll_FindClose]
push ebx
call fcn.0048f63e
add esp, 4
push ebp
call fcn.0048f63e
add esp, 4
push dword [esp + 0x18]
call fcn.0048f63e
mov ecx, dword [esp + 0x4d8]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x4cc
ret
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_FindClose]
push ebx
call fcn.0048f63e
mov ebp, dword [esp + 0x14]
add esp, 4
push ebp
call fcn.0048f63e
add esp, 4
push dword [esp + 0x18]
call fcn.0048f63e
add esp, 4
call fcn.00413270
int3