Function at 0x458ccd
Capabilities:
Enumerate files on windows

Disassembly:
push 0x6f4
mov eax, 0x5d4f05
call fcn.00492e9f
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x498]
mov edi, dword [ebp + 0xc]
push eax
call fcn.00402120
xor ebx, ebx
lea ecx, [ebp - 0x480]
push edi
mov dword [ebp - 4], ebx
call fcn.00402120
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0041fd35
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 2
push eax
call fcn.0041f7d1
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0041f725
add esp, 0x14
lea ecx, [ebp - 0x480]
push eax
call fcn.004043e0
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00402230
mov esi, 0x5d8c8c
push esi
call fcn.005abff2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x498]
call fcn.00404690
cmp dword [ebp - 0x484], 8
lea ecx, [ebp - 0x700]
lea eax, [ebp - 0x498]
cmovae eax, dword [ebp - 0x498]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x458fd5
lea eax, [ebp - 0x700]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x458fd5
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
cmp word [ebp - 0x6d4], ax
jne 0x458dd8
mov eax, ebx
jmp 0x458de5
lea eax, [ebp - 0x6d4]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x438]
call fcn.004022f0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041fd35
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.00429262
push ebx
push 1
lea ecx, [ebp - 0x4b0]
call fcn.004023f0
lea eax, [ebp - 0x468]
push eax
call fcn.0041f7d1
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f725
add esp, 0xc
lea ecx, [ebp - 0x438]
push eax
call fcn.004043e0
push ebx
push 1
lea ecx, [ebp - 0x4b0]
call fcn.00402230
push 0x2e
pop eax
cmp word [ebp - 0x6d4], ax
je 0x458f79
cmp word [ebp - 0x6d2], 0
je 0x458f79
cmp word [ebp - 0x6d2], ax
jne 0x458e9c
cmp word [ebp - 0x6d0], 0
je 0x458f79
test byte [ebp - 0x700], 0x10
jne 0x458f79
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a8e00
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push 0x5d8b58
push eax
call fcn.0042cdd3
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041d8cc
lea eax, [ebp - 0x420]
push str..lnk
push eax
call fcn.005abf90
add esp, 0x34
test eax, eax
jne 0x458f79
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0041da0d
cmp dword [ebp - 0x46c], 8
lea ecx, [ebp - 0x480]
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0x480]
cmp dword [ebp - 0x43c], 8
push ecx
cmovae eax, dword [ebp - 0x450]
push eax
call fcn.0041f03f
add esp, 0x10
test eax, eax
jne 0x458f90
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00402230
push ebx
push 1
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.00402230
jmp 0x458d9c
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
push edi
call fcn.005abf90
xor ebx, ebx
test eax, eax
pop ecx
pop ecx
setne bl
lea ecx, [ebp - 0x450]
xor esi, esi
inc ebx
push esi
push 1
call fcn.00402230
push esi
push 1
lea ecx, [ebp - 0x438]
call fcn.00402230
jmp 0x458fd7
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x468]
call fcn.004023f0
push esi
push 1
lea ecx, [ebp - 0x480]
call fcn.00402230
push esi
push 1
lea ecx, [ebp - 0x498]
call fcn.00402230
mov eax, ebx
call fcn.00492e49
ret 8