Function at 0x409b40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x67c
mov eax, dword [0x4ae480]
xor eax, esp
mov dword [esp + 0x678], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
call fcn.00477df0
push ebx
push 8
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x457
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x10], eax
lea esi, [ebx + 0x18]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], esi
test eax, eax
je 0x409bdf
push 0x4af700
push eax
call fcn.004778c0
push 0x14020
push 0
push 0x1036
push dword [esp + 0x1c]
call ebx
mov edx, dword [esp + 0xc]
push dword [esi]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.004094d0
mov edx, dword [esp + 0x10]
mov ecx, 0x409a00
push esi
call fcn.0041ef90
add esp, 8
jmp 0x409be3
mov dword [esp + 0x14], esi
push 0x459
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x409c35
push 0x4af700
push esi
call fcn.004778c0
push 0x14020
push 0
push 0x1036
push esi
call ebx
mov eax, dword [esp + 0x14]
mov ecx, esi
push dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
call fcn.004094d0
mov edx, dword [esp + 0x10]
mov ecx, 0x409a00
push esi
call fcn.0041ef90
add esp, 8
push 0x3ff
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x10], eax
test eax, eax
je 0x409de5
push 0x4b35d0
push 0
lea ecx, [esp + 0x480]
call fcn.00416680
lea esi, [esp + 0x480]
add esp, 8
lea ecx, [esp + 0x270]
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x409c74
sub esi, edx
sar esi, 1
je 0x409cc4
lea eax, [esp + esi*2 + 0x476]
nop dword [eax]
cmp word [eax], 0x5c
jne 0x409ca0
sub eax, 2
sub esi, 1
jne 0x409c90
jmp 0x409cc4
add esi, esi
lea eax, [esp + 0x478]
push esi
push eax
lea eax, [esp + 0x278]
push eax
call fcn.0047e060
lea ecx, [esp + 0x27c]
add esp, 0xc
add ecx, esi
mov eax, 0x5c
mov word [ecx], ax
movq xmm0, qword [str..txt]
movq qword [ecx + 2], xmm0
mov ax, word [0x4a4e8c]
mov word [ecx + 0xa], ax
xor eax, eax
mov word [ecx + 0xc], ax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x409d41
mov edi, eax
nop dword [eax + eax]
test byte [esp + 0x20], 0x10
jne 0x409d26
lea eax, [esp + 0x4c]
push eax
push 0
push 0x143
push esi
call ebx
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409d10
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x409de5
mov ecx, eax
mov dword [esp + 0x14], eax
movzx eax, word [eax]
test ax, ax
je 0x409d86
mov edx, eax
cmp dx, 0x5c
je 0x409d75
cmp word [ecx], 0x2f
je 0x409d75
add ecx, 2
jmp 0x409d7c
add ecx, 2
mov dword [esp + 0x14], ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x409d64
push 0
push 0
push 0x146
push esi
call ebx
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x409dd7
nop dword [eax]
lea eax, [esp + 0x270]
push eax
push esi
push 0x148
push dword [esp + 0x1c]
call ebx
push dword [esp + 0x14]
lea eax, [esp + 0x274]
push eax
call fcn.0047fa85
add esp, 8
test eax, eax
je 0x409f24
inc esi
cmp esi, dword [esp + 0x18]
jl 0x409da0
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0x458
push edi
call fcn.00477b70
mov eax, dword [esp + 0xc]
push 0x458
push edi
mov esi, dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x409e17
push 0
and esi, 1
push esi
push 0xf1
push eax
call ebx
push 0
push 0x41e
push edi
call fcn.00477b70
mov eax, dword [esp + 0xc]
push 0x41e
push edi
mov esi, dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x409e4b
push 0
shr esi, 1
and esi, 1
push esi
push 0xf1
push eax
call ebx
push 0
push 0x41f
push edi
call fcn.00477b70
mov eax, dword [esp + 0xc]
push 0x41f
push edi
mov esi, dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x409e80
push 0
shr esi, 2
and esi, 1
push esi
push 0xf1
push eax
call ebx
push 0
push 0x420
push edi
call fcn.00477b70
mov eax, dword [esp + 0xc]
push 0x420
push edi
mov esi, dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x409eb5
push 0
shr esi, 3
and esi, 1
push esi
push 0xf1
push eax
call ebx
push 0
push 0x421
push edi
call fcn.00477b70
mov eax, dword [esp + 0xc]
push 0x421
push edi
mov esi, dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x409eea
push 0
shr esi, 4
and esi, 1
push esi
push 0xf1
push eax
call ebx
mov ecx, edi
call fcn.00409790
cmp dword [0x4b3e04], 0
je 0x409f0a
push 0
push 1
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x684]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0x14e
push dword [esp + 0x1c]
call ebx
jmp 0x409de5