Function at 0x4b382f
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
or esi, 0xffffffff
push 0
push 0
push 0x14b
push 0x67
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
push 0x579058
push 0x180
push 0xd
push 0x17c
push dword [0x5573c4]
call sub.USER32.dll_SendDlgItemMessageA
cmp byte [0x579058], 0
jne 0x4b389f
push esi
mov esi, 0x579058
mov edi, 0x57bdd0
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x579058
push 0x555b37
push 0x57f8f2
call sub.USER32.dll_wsprintfA
add esp, 0xc
push str.Main_folder
push 0
push 0x143
push 0x6c
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
xor edi, edi
cmp dword [0x556164], 0
je 0x4b38dc
mov edi, 1
test edi, edi
jne 0x4b38fd
push 0x37
lea eax, [ebp - 0x110]
push eax
push 0x57f8f2
call fcn.0053cd24
add esp, 0xc
mov ebx, eax
jmp 0x4b3a43
lea eax, [ebp - 0x250]
push eax
push 0x57f8f2
call sub.KERNEL32.dll_FindFirstFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b391f
mov ebx, 1
jmp 0x4b3a43
xor ebx, ebx
jmp 0x4b3a43
test edi, edi
jne 0x4b3989
test byte [ebp - 0x108], 0x10
je 0x4b393c
cmp byte [ebp - 0x100], 0x2e
jne 0x4b3950
lea eax, [ebp - 0x110]
push eax
call fcn.0053cde4
pop ecx
mov ebx, eax
jmp 0x4b3a43
push esi
push edi
mov esi, 0x57f8f2
lea edi, [ebp - 0x100]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x57f8f2
call fcn.00541e38
pop ecx
jmp 0x4b39e6
test byte [ebp - 0x250], 0x10
je 0x4b399b
cmp byte [ebp - 0x224], 0x2e
jne 0x4b39ba
lea eax, [ebp - 0x250]
push eax
push esi
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x4b3a43
mov ebx, 1
jmp 0x4b3a43
push esi
push edi
mov esi, 0x57f8f2
lea edi, [ebp - 0x224]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x57f8f2
push 0
push 0x158
push 0x6c
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
inc eax
jne 0x4b3a18
push 0x57f8f2
push 0
push 0x143
push 0x6c
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
inc eax
je 0x4b3a4b
test edi, edi
jne 0x4b3a2d
lea eax, [ebp - 0x110]
push eax
call fcn.0053cde4
pop ecx
mov ebx, eax
jmp 0x4b3a43
lea eax, [ebp - 0x250]
push eax
push esi
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x4b3a43
mov ebx, 1
test ebx, ebx
je 0x4b3926
cmp esi, 0xffffffff
je 0x4b3a56
push esi
call sub.KERNEL32.dll_FindClose
push 0
push 0
push 0x146
push 0x6c
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
cmp eax, 0xffffffff
jne 0x4b3a70
xor eax, eax
mov edx, dword [0x555980]
test edx, edx
jl 0x4b3a7e
cmp eax, edx
jge 0x4b3a86
xor ecx, ecx
mov dword [0x555980], ecx
push 0
push dword [0x555980]
push 0x14e
push 0x6c
push dword [ebp + 8]
call sub.USER32.dll_SendDlgItemMessageA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4