Function at 0x406e20
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push ebx
mov ebx, dword [esp + 0x258]
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
xor edi, edi
push edi
push edi
push 0x184
push 0x9c71
push ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
call esi
push edi
push edi
push 0x184
push 0x9c72
push ebx
call esi
lea eax, [esp + 0x1c]
push str.patches.pnach
push eax
call fcn.00563254
add esp, 8
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
jmp 0x406e96
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp dword [esp + 0x14], 0xffffffff
je 0x407094
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x20]
push 0x58240c
push ecx
call fcn.00563254
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0
push 0x180
push 0x9c71
push ebx
call esi
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x20]
push str.patches_s
push ecx
call fcn.00563254
lea edx, [esp + 0x28]
push 0x582b88
push edx
call fcn.00563b54
mov edi, eax
add esp, 0x14
test edi, edi
je 0x407089
push 2
push 0
push edi
call fcn.00563fde
push edi
call fcn.00563ee9
push 0
mov ebp, eax
add dword [esp + 0x2c], ebp
push 0
push edi
call fcn.00563fde
lea eax, [ebp + 0x400]
push eax
call fcn.00563191
mov esi, eax
push 0x5823d3
push esi
call fcn.00563254
push edi
call fcn.00563c1a
add esp, 0x2c
cmp eax, 0xffffffff
je 0x406f6b
lea esp, [esp]
push eax
push esi
push str._s_c
push esi
call fcn.00563254
push edi
call fcn.00563c1a
add esp, 0x14
cmp eax, 0xffffffff
jne 0x406f50
xor eax, eax
test ebp, ebp
jle 0x406fe3
cmp byte [eax + esi], 0x67
jne 0x406fb6
cmp byte [eax + esi + 1], 0x61
jne 0x406fb6
cmp byte [eax + esi + 2], 0x6d
jne 0x406fb6
cmp byte [eax + esi + 3], 0x65
jne 0x406fb6
cmp byte [eax + esi + 4], 0x74
jne 0x406fb6
cmp byte [eax + esi + 5], 0x69
jne 0x406fb6
cmp byte [eax + esi + 6], 0x74
jne 0x406fb6
cmp byte [eax + esi + 7], 0x6c
jne 0x406fb6
cmp byte [eax + esi + 8], 0x65
jne 0x406fb6
cmp byte [eax + esi + 9], 0x3d
je 0x406fbf
add eax, 1
cmp eax, ebp
jl 0x406f71
jmp 0x406fe3
add eax, 0xa
xor edx, edx
cmp eax, ebp
jge 0x406fde
mov cl, byte [eax + esi]
cmp cl, 0xa
je 0x406fde
mov byte [esp + edx + 0x1c], cl
add eax, 1
add edx, 1
cmp eax, ebp
jl 0x406fc8
mov byte [esp + edx + 0x1c], 0
xor eax, eax
cmp byte [esp + 0x1c], al
je 0x407006
lea edx, [esp + 0x1c]
nop
mov cl, byte [edx]
cmp cl, 0x22
je 0x406ffe
mov byte [esp + eax + 0x1c], cl
add eax, 1
add edx, 1
cmp byte [edx], 0
jne 0x406ff0
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + eax + 0x20], 0
call fcn.00406cb0
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00563254
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edx, ecx
push 0x582c18
push edx
call fcn.00563254
add esp, 0x1c
lea eax, [esp + 0x1c]
push eax
push 0
push 0x180
push 0x9c72
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
add dword [esp + 0x10], 1
push 0x5823d3
push esi
call fcn.00563254
push edi
call fcn.00563a14
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x120]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406e90
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub esp, 8
lea edx, [esp + 0x24]
fmul qword [0x582c10]
fstp qword [esp]
push ecx
push str.Patches_Browser__Patches_Found:__d__Total_Filesize:__.2f_KB
push edx
call fcn.00563254
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret