Function at 0x457e37
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x6f4]
sub esp, 0x774
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp + 0x6f0], eax
push ebx
push edi
mov eax, ecx
lea ebx, [eax + 0x90]
push 0x4ad570
lea eax, [ebp + 0x28c]
push ebx
push eax
call fcn.00413270
mov eax, dword [ebp + 0x290]
add esp, 0xc
cmp dword [ebp + 0x2a4], 8
jae 0x457e86
lea eax, [ebp + 0x290]
push 0x4ad56c
push eax
call fcn.0047aed8
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x457eac
push eax
push 1
lea ecx, [ebp + 0x28c]
call fcn.00401a65
jmp 0x4581a7
push esi
lea ecx, [ebp + 0x10]
call fcn.00411f88
mov esi, 0x104
jmp 0x457f4e
lea eax, [ebp + 0x4e8]
push eax
lea ecx, [ebp + 0x2c4]
call fcn.00401903
push 1
push 3
lea eax, [ebp + 0x2c4]
push eax
lea ecx, [ebp - 0x80]
call fcn.00457c4c
push 0
push 1
lea ecx, [ebp + 0x2c4]
call fcn.00401a65
lea eax, [ebp + 0x4e8]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00457b20
lea eax, [ebp + 0x4e8]
push eax
call fcn.00476464
add esp, 0xc
test eax, eax
je 0x457f46
lea eax, [ebp + 0x4e8]
push eax
lea ecx, [ebp + 0x2c4]
call fcn.00401903
lea eax, [ebp + 0x2c4]
push eax
lea ecx, [ebp + 0x10]
call fcn.00411e91
push 0
push 1
lea ecx, [ebp + 0x2c4]
call fcn.00401a65
lea ecx, [ebp - 0x80]
call fcn.00405231
push edi
lea eax, [ebp + 0x4e8]
push esi
push eax
call fcn.0047ad51
add esp, 0xc
test eax, eax
jne 0x457ebf
push edi
call fcn.0047a633
pop ecx
push ebx
lea ecx, [ebp + 0x2a8]
call fcn.00401925
mov eax, dword [ebp + 0x2bc]
dec eax
push eax
lea ecx, [ebp + 0x2a8]
call fcn.00416ac0
cmp word [eax], 0x5c
je 0x457fa3
push 0x4b27d0
lea ecx, [ebp + 0x2a8]
call fcn.0040198a
push 0x4b2914
lea ecx, [ebp + 0x2a8]
call fcn.0040198a
cmp dword [ebp + 0x2c0], 8
mov eax, dword [ebp + 0x2ac]
jae 0x457fc8
lea eax, [ebp + 0x2ac]
lea ecx, [ebp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 0x30], eax
cmp eax, 0xffffffff
jne 0x458002
push 0
push 1
lea ecx, [ebp + 0x2a8]
call fcn.00401a65
lea ecx, [ebp + 0x10]
call fcn.00412343
push dword [ebp + 0x10]
call fcn.00476027
pop ecx
push 0
jmp 0x458199
push 0x208
xor edi, edi
lea eax, [ebp + 0x2e0]
push edi
push eax
call fcn.004764d0
add esp, 0xc
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x4b2918
lea eax, [ebp + 0x68]
push eax
call esi
test eax, eax
je 0x45815b
push 0x4b27c8
lea eax, [ebp + 0x68]
push eax
call esi
test eax, eax
je 0x45815b
cmp dword [ebx + 0x18], 8
jb 0x458050
mov eax, dword [ebx + 4]
jmp 0x458053
lea eax, [ebx + 4]
lea ecx, [ebp + 0x68]
push ecx
push eax
lea eax, [ebp + 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp + 0x3c], 0x10
lea eax, [ebp + 0x68]
lea ecx, [ebp + 0x2c4]
push eax
je 0x4580aa
call fcn.00401903
push str.download_profiles
lea ecx, [ebp + 0x2c4]
call fcn.0040c210
test eax, eax
jne 0x45814d
push 1
push edi
lea eax, [ebp + 0x2e0]
push edi
push eax
call fcn.0040380b
add esp, 0x10
jmp 0x45814d
call fcn.00401903
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x1c]
lea ecx, [ebp + 8]
call fcn.00415b29
mov eax, dword [ebp + 8]
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x38], eax
jmp 0x45810b
cmp dword [ebp + 0x2dc], 8
mov esi, dword [ebp + 0x2c8]
jae 0x4580e1
lea esi, [ebp + 0x2c8]
lea ecx, [ebp + 0x34]
call fcn.004039b4
cmp dword [eax + 0x18], 8
jb 0x4580f4
mov eax, dword [eax + 4]
jmp 0x4580f7
add eax, 4
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45814d
lea ecx, [ebp + 0x34]
call fcn.0040396e
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x20]
lea ecx, [ebp + 0x28]
call fcn.00415b29
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp + 0x34]
call fcn.00412119
test al, al
je 0x4580cc
push 0x4ad570
lea ecx, [ebp + 0x2c4]
call fcn.0040c210
test eax, eax
je 0x45814d
lea eax, [ebp + 0x2e0]
push edi
push eax
call fcn.0040384f
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp + 0x2c4]
call fcn.00401a65
lea eax, [ebp + 0x3c]
push eax
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x458019
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push 1
lea ecx, [ebp + 0x2a8]
call fcn.00401a65
lea ecx, [ebp + 0x10]
call fcn.00412343
push dword [ebp + 0x10]
call fcn.00476027
pop ecx
push edi
push 1
lea ecx, [ebp + 0x28c]
call fcn.00401a65
pop esi
mov ecx, dword [ebp + 0x6f0]
pop edi
xor ecx, ebp
pop ebx
call fcn.0047654a
add ebp, 0x6f4
leave
ret