Function at 0x413820
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x4cc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x4c4], eax
push ebx
push ebp
push esi
push edi
push 0x27a3
push dword [0x4e6030]
mov esi, ecx
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 2
push 0x400
mov dword [esp + 0x28], edi
call fcn.004909d3
push 2
push 0x400
mov dword [esp + 0x20], eax
call fcn.004909d3
mov ebp, eax
push 2
push 0x400
mov dword [esp + 0x2c], ebp
call fcn.004909d3
push esi
push 0x4b4520
push 0x400
push dword [esp + 0x34]
mov ebx, eax
call fcn.0040a420
add esp, 0x28
lea eax, [esp + 0x78]
mov esi, 1
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
mov dword [esp + 0x18], ecx
cmp ecx, 0xffffffff
je 0x413b24
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x413b1c
push 0x2e
push 0
push 0x4b4534
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
sub esi, 0x4b4534
sar esi, 1
js 0x413945
push 0x2a
push 0
push 0x4b4534
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
sub eax, 0x4b4534
sar eax, 1
cmp eax, esi
jg 0x413945
push 0x4b4534
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 0x413b02
mov edi, dword [esp + 0x20]
cmp dword [0x4cc1cc], 0
je 0x413b67
mov edx, dword [esp + 0x1c]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x413960
sub edx, ecx
lea eax, [esp + 0xa4]
sar edx, 1
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413980
sub eax, esi
sar eax, 1
add eax, 4
add eax, edx
cmp eax, 0x104
jae 0x413b02
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x20]
push 0x4b3544
push 0x400
push esi
call fcn.0040a420
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.00477340
add esp, 4
cmp eax, 0x7a69
jne 0x413af4
mov ecx, ebx
call fcn.00466020
test eax, eax
je 0x413af4
push 0
push 0
push 0x1004
push edi
call ebp
push 0x4d687c
push 0
push 0x104d
push edi
mov dword [0x4d6880], eax
mov dword [0x4d6890], esi
call ebp
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], 1
push eax
push dword [0x4d6880]
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.0048fb10
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 0x413ae5
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x413ae5
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 0x4b44bc
lea eax, [esp + 0x2e0]
push 0x104
push eax
call fcn.0040a420
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 [0x4d6880]
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 + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [esp + 0x20]
mov esi, eax
jmp 0x4138c5
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.004909de
add esp, 4
push ebp
call fcn.004909de
add esp, 4
push dword [esp + 0x10]
call fcn.004909de
mov ecx, dword [esp + 0x4d8]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x4cc
ret
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.004909de
mov ebp, dword [esp + 0x18]
add esp, 4
push ebp
call fcn.004909de
add esp, 4
push dword [esp + 0x10]
call fcn.004909de
add esp, 4
call fcn.004135f0
int3