Function at 0x409b20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x67c
mov eax, dword [0x4af480]
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.00479230
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 0x409bbf
push 0x4b06f0
push eax
call fcn.00478d10
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.00409490
mov edx, dword [esp + 0x10]
mov ecx, 0x4099e0
push esi
call fcn.0041f230
add esp, 8
jmp 0x409bc3
mov dword [esp + 0x14], esi
push 0x459
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x409c15
push 0x4b06f0
push esi
call fcn.00478d10
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.00409490
mov edx, dword [esp + 0x10]
mov ecx, 0x4099e0
push esi
call fcn.0041f230
add esp, 8
push 0x3ff
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x10], eax
test eax, eax
je 0x409dc5
push 0x4b45c0
push 0
lea ecx, [esp + 0x480]
call fcn.00416700
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 0x409c54
sub esi, edx
sar esi, 1
je 0x409ca4
lea eax, [esp + esi*2 + 0x476]
nop dword [eax]
cmp word [eax], 0x5c
jne 0x409c80
sub eax, 2
sub esi, 1
jne 0x409c70
jmp 0x409ca4
add esi, esi
lea eax, [esp + 0x478]
push esi
push eax
lea eax, [esp + 0x278]
push eax
call fcn.0047ef80
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 [0x4a5ef4]
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 0x409d21
mov edi, eax
nop dword [eax + eax]
test byte [esp + 0x20], 0x10
jne 0x409d06
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 0x409cf0
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 0x409dc5
mov ecx, eax
mov dword [esp + 0x14], eax
movzx eax, word [eax]
test ax, ax
je 0x409d66
mov edx, eax
cmp dx, 0x5c
je 0x409d55
cmp dx, 0x2f
je 0x409d55
add ecx, 2
jmp 0x409d5c
add ecx, 2
mov dword [esp + 0x14], ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x409d44
push 0
push 0
push 0x146
push esi
call ebx
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x409db7
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.004809a5
add esp, 8
test eax, eax
je 0x409f04
inc esi
cmp esi, dword [esp + 0x18]
jl 0x409d80
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0x458
push edi
call fcn.00478fb0
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 0x409df7
push 0
and esi, 1
push esi
push 0xf1
push eax
call ebx
push 0
push 0x41e
push edi
call fcn.00478fb0
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 0x409e2b
push 0
shr esi, 1
and esi, 1
push esi
push 0xf1
push eax
call ebx
push 0
push 0x41f
push edi
call fcn.00478fb0
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 0x409e60
push 0
shr esi, 2
and esi, 1
push esi
push 0xf1
push eax
call ebx
push 0
push 0x420
push edi
call fcn.00478fb0
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 0x409e95
push 0
shr esi, 3
and esi, 1
push esi
push 0xf1
push eax
call ebx
push 0
push 0x421
push edi
call fcn.00478fb0
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 0x409eca
push 0
shr esi, 4
and esi, 1
push esi
push 0xf1
push eax
call ebx
mov ecx, edi
call fcn.00409770
cmp dword [0x4b4df4], 0
je 0x409eea
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.0047d2db
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0x14e
push dword [esp + 0x1c]
call ebx
jmp 0x409dc5