Function at 0x458a80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x3c8
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xf2
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x3cc], ecx
cmp dword [ebp + 0xc], 0
jne 0x458ac9
push dword [ebp + 8]
mov ecx, 0x4bb550
call fcn.00403430
cmp eax, 0
jne 0x458ac9
mov eax, 0x4bb550
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
mov eax, dword [0x4bb554]
mov dword [ebp - 0x3b8], eax
jmp 0x458b1e
mov eax, dword [ebp - 0x3b8]
mov edx, dword [eax]
mov dword [0x4bb554], edx
cmp dword [ebp - 0x3b8], 0
je 0x458b13
mov eax, dword [ebp - 0x3b8]
cmp dword [eax + 4], 0
je 0x458b07
mov eax, dword [ebp - 0x3b8]
mov ecx, dword [eax + 4]
call fcn.00401b80
push dword [ebp - 0x3b8]
call fcn.004352e0
pop ecx
mov eax, dword [0x4bb554]
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0
jne 0x458ad6
mov dword [0x4bb558], 0
push dword [ebp + 8]
mov ecx, 0x4bb550
call fcn.00402570
mov dword [ebp - 0x3bc], 0
call fcn.00490470
cmp al, 0
je 0x458d39
mov dword [ebp - 0x39c], 0
push str..
call fcn.00403a30
pop ecx
push eax
push str..
lea ecx, [ebp - 0x39c]
call fcn.00401db0
cmp dword [ebp - 0x39c], 0
je 0x458b93
mov ebx, dword [ebp - 0x39c]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x39c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x258]
push eax
call fcn.00402f40
add esp, 0xc
cmp dword [ebp - 0x39c], 0
je 0x458bc0
mov ecx, dword [ebp - 0x39c]
call fcn.00401b80
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x258]
call fcn.004021d0
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x258]
call fcn.00402570
cmp dword [ebp - 0x3a0], 0
je 0x458bf8
mov ecx, dword [ebp - 0x3a0]
call fcn.00401b80
lea ecx, [ebp - 0x258]
call fcn.00402510
mov dword [ebp - 0x3c0], eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x3c0]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x3c4], 0xffffffff
je 0x458d1c
push 0x4bb56d
lea eax, [ebp - 0x254]
add eax, 0x2c
push eax
call fcn.00458890
pop ecx
pop ecx
cmp eax, 0
je 0x458cf4
push 0x4bb56f
lea eax, [ebp - 0x254]
add eax, 0x2c
push eax
call fcn.00458890
pop ecx
pop ecx
cmp eax, 0
je 0x458cf4
push 8
call fcn.004352a0
pop ecx
cmp eax, 0
je 0x458c83
mov dword [eax + 4], 0
mov eax, eax
mov dword [ebp - 0x3b8], eax
lea eax, [ebp - 0x254]
add eax, 0x2c
push eax
call fcn.004a0770
pop ecx
push eax
lea eax, [ebp - 0x254]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x3b8]
add ecx, 4
call fcn.00401e40
mov eax, dword [ebp - 0x3b8]
mov dword [eax], 0
cmp dword [ebp - 0x3bc], 0
je 0x458cd7
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x3b8]
mov dword [eax], ecx
jmp 0x458ce2
mov eax, dword [ebp - 0x3b8]
mov dword [0x4bb554], eax
inc dword [0x4bb558]
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x3c4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 0
jne 0x458c2f
push dword [ebp - 0x3c4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x258], 0
je 0x458f9c
mov ecx, dword [ebp - 0x258]
call fcn.00401b80
jmp 0x458f9c
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x3a4], edx
cmp dword [ebp - 0x3a4], 0
je 0x458d55
mov edx, dword [ebp - 0x3a4]
inc dword [edx]
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x3a8]
push eax
call fcn.0047ff50
pop ecx
pop ecx
mov dword [ebp - 0x3ac], 0
push str..
call fcn.00403a30
pop ecx
push eax
push str..
lea ecx, [ebp - 0x3ac]
call fcn.00401db0
cmp dword [ebp - 0x3ac], 0
je 0x458da8
mov ebx, dword [ebp - 0x3ac]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x3b0]
push eax
call fcn.00402f40
add esp, 0xc
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x3b0]
call fcn.00402450
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3b0], 0
je 0x458df8
mov ecx, dword [ebp - 0x3b0]
call fcn.00401b80
cmp dword [ebp - 0x3ac], 0
je 0x458e0c
mov ecx, dword [ebp - 0x3ac]
call fcn.00401b80
cmp dword [ebp - 0x3a8], 0
je 0x458e20
mov ecx, dword [ebp - 0x3a8]
call fcn.00401b80
cmp dword [ebp - 0x3a4], 0
je 0x458e34
mov ecx, dword [ebp - 0x3a4]
call fcn.00401b80
cmp dword [ebp - 0x3c8], 0xffffffff
je 0x458f9c
push 0x4bb56d
lea eax, [ebp - 0x398]
add eax, 0x2c
push eax
call fcn.00403ae0
pop ecx
pop ecx
cmp eax, 0
je 0x458f74
push 0x4bb56f
lea eax, [ebp - 0x398]
add eax, 0x2c
push eax
call fcn.00403ae0
pop ecx
pop ecx
cmp eax, 0
je 0x458f74
push 8
call fcn.004352a0
pop ecx
cmp eax, 0
je 0x458e95
mov dword [eax + 4], 0
mov eax, eax
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], 0
lea eax, [ebp - 0x398]
add eax, 0x2c
lea eax, [ebp - 0x398]
add eax, 0x2c
push eax
call fcn.00403a30
pop ecx
push eax
lea eax, [ebp - 0x398]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x3b4]
call fcn.00401db0
cmp dword [ebp - 0x3b4], 0
je 0x458eec
mov ebx, dword [ebp - 0x3b4]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x3b4]
push eax
mov ecx, dword [ebp - 0x3b8]
add ecx, 4
call fcn.00402570
cmp dword [ebp - 0x3b4], 0
je 0x458f15
mov ecx, dword [ebp - 0x3b4]
call fcn.00401b80
call fcn.0047feb0
mov ecx, dword [ebp - 0x3b8]
cmp dword [ecx + 4], 0
je 0x458f32
mov ecx, dword [ebp - 0x3b8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x3b8]
mov dword [eax], 0
cmp dword [ebp - 0x3bc], 0
je 0x458f57
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x3b8]
mov dword [eax], ecx
jmp 0x458f62
mov eax, dword [ebp - 0x3b8]
mov dword [0x4bb554], eax
inc dword [0x4bb558]
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x398]
push eax
push dword [ebp - 0x3c8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 0
jne 0x458e41
push dword [ebp - 0x3c8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 0x4bb550
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8