Function at 0x458890
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x4b88b2
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x4e1370]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x2ac]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
sub dword [esp + 0x2c0], 1
mov dword [esp + 0x2b4], 0
js 0x459043
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2b4], 1
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x2b4], 2
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x2bc]
lea edi, [esp + 0x14]
mov byte [esp + 0x2b4], 3
call fcn.0040d2b0
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x458fd7
cmp eax, 0x104
jge 0x458fd7
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x458993
mov ecx, 0x104
mov eax, edi
call fcn.00405860
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004913b1
add esp, 8
test eax, eax
jl 0x458fcd
cmp eax, dword [esi - 8]
jg 0x458fcd
mov dword [esi - 0xc], eax
xor ecx, ecx
lea edx, [esp + 0x14]
mov word [esi + eax*2], cx
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, str..
call fcn.004085c0
add esp, 8
lea edi, [esp + 0x24]
mov byte [esp + 0x2b4], 4
call fcn.0040d2b0
mov byte [esp + 0x2b4], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458a11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x3c], esi
cmp esi, 0xffffffff
jne 0x458a58
lea ecx, [esp + 0x24]
call fcn.00406090
lea ecx, [esp + 0x18]
call fcn.00406090
lea ecx, [esp + 0x14]
call fcn.00406090
lea ecx, [esp + 0x2bc]
call fcn.00406090
jmp 0x459071
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + 0xfc]
test eax, eax
jne 0x458c55
mov ecx, 0x4cb120
lea eax, [esp + 0x80]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458a9c
test dx, dx
je 0x458a98
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458a9c
add eax, 4
add ecx, 4
test dx, dx
jne 0x458a76
xor eax, eax
jmp 0x458aa1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x458c41
mov ecx, 0x4cb05c
lea eax, [esp + 0x80]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458adb
test dx, dx
je 0x458ad7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458adb
add eax, 4
add ecx, 4
test dx, dx
jne 0x458ab5
xor eax, eax
jmp 0x458ae0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x458c41
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edx
mov ebx, 0x4c8f90
call fcn.004085c0
push eax
lea eax, [esp + 0x54]
push eax
lea ebx, [esp + 0x90]
mov byte [esp + 0x2c4], 5
call fcn.004085c0
add esp, 0x10
lea edi, [esp + 0x18]
mov byte [esp + 0x2b4], 6
call fcn.0040d2b0
mov byte [esp + 0x2b4], 5
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458b52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b4], 3
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458b7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [esp + 0x54], 0x10
lea ecx, [esp + 0x80]
je 0x458c95
push 0x4cb064
push ecx
call fcn.004920dc
add esp, 8
test eax, eax
je 0x458c41
lea edx, [esp + 0x80]
push 0x4cb06c
push edx
call fcn.004920dc
add esp, 8
test eax, eax
je 0x458c41
lea eax, [esp + 0x80]
push 0x4cb078
push eax
call fcn.004920dc
add esp, 8
test eax, eax
je 0x458c41
lea ecx, [esp + 0x80]
push 0x4cb080
push ecx
call fcn.004920dc
add esp, 8
test eax, eax
je 0x458c41
lea edx, [esp + 0x80]
push str.All_Programs
push edx
call fcn.004920dc
add esp, 8
test eax, eax
je 0x458c41
mov eax, dword [esp + 0x2c4]
test eax, eax
je 0x458c41
push eax
mov eax, dword [esp + 0x2c4]
push eax
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.0040bbd0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.00458890
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0x54]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x458a58
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x24]
test eax, eax
je 0x458a30
call fcn.00406090
lea ecx, [esp + 0x18]
call fcn.00406090
lea ecx, [esp + 0x14]
call fcn.00406090
lea ecx, [esp + 0x2bc]
call fcn.00406090
mov eax, 1
jmp 0x459073
push 0x4cb0a4
push ecx
call fcn.004920dc
add esp, 8
test eax, eax
je 0x458fc3
lea edx, [esp + 0x80]
push str.desktop.ini
push edx
call fcn.004920dc
add esp, 8
test eax, eax
je 0x458fc3
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x458c41
push str..lnk
push eax
call fcn.004920dc
add esp, 8
test eax, eax
jne 0x458c41
lea ecx, [esp + 0x28]
call fcn.004054e0
lea ecx, [esp + 0x2c]
call fcn.004054e0
lea ecx, [esp + 0x38]
call fcn.004054e0
mov ecx, 0x104
lea esi, [esp + 0x38]
mov byte [esp + 0x2b4], 9
call fcn.004058b0
push eax
mov ecx, 0x104
lea esi, [esp + 0x30]
call fcn.004058b0
mov ecx, 0x104
lea esi, [esp + 0x2c]
mov ebx, eax
call fcn.004058b0
mov ebp, dword [esp + 0x1c]
mov edi, eax
mov esi, ebp
call fcn.004821b1
mov esi, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esi - 8]
add esp, 4
push eax
push esi
call fcn.004913b1
add esp, 8
test eax, eax
jl 0x458fcd
cmp eax, dword [esi - 8]
jg 0x458fcd
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004913b1
add esp, 8
test eax, eax
jl 0x458fcd
cmp eax, dword [esi - 8]
jg 0x458fcd
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov esi, dword [esp + 0x38]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004913b1
add esp, 8
test eax, eax
jl 0x458fcd
cmp eax, dword [esi - 8]
jg 0x458fcd
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x458e65
mov ecx, 0x104
lea esi, [esp + 0x28]
call fcn.004058b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004913b1
add esp, 8
test eax, eax
jl 0x458fcd
cmp eax, dword [esi - 8]
jg 0x458fcd
mov dword [esi - 0xc], eax
xor edx, edx
push ecx
mov word [esi + eax*2], dx
lea eax, [esi - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.0040bbd0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x34]
lea eax, [edi + 0xa4]
push eax
call fcn.00460a40
add esp, 8
test eax, eax
je 0x458e65
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.0040bbd0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0045b7b0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x84]
call fcn.00405a20
mov bl, 0xa
mov byte [esp + 0x2b4], bl
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffc
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x1c]
call fcn.00435e40
lea edi, [esp + 0x1c]
mov byte [esp + 0x2b4], 0xb
call fcn.0040d2b0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2b4], bl
call fcn.00406090
mov edi, dword [esp + 0x30]
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.0042c350
test eax, eax
je 0x458edd
mov ecx, dword [edi + 4]
lea edx, [esp + 0x1c]
push edx
call fcn.0042c350
test eax, eax
jne 0x458ef8
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.0040bbd0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0045b7b0
cmp dword [edi + 0xf8], 0
je 0x458f92
lea ecx, [esp + 0x34]
call fcn.004054e0
lea ecx, [esp + 0x44]
call fcn.004054e0
lea ecx, [esp + 0x40]
call fcn.004054e0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x2c0], 0xe
call fcn.0048222e
add esp, 0xc
test eax, eax
je 0x458f77
mov ecx, dword [esp + 0x34]
lea eax, [edi + 4]
push eax
call fcn.0042c350
test eax, eax
jne 0x458f77
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.0040bbd0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0045b7b0
lea ecx, [esp + 0x40]
call fcn.00406090
lea ecx, [esp + 0x44]
call fcn.00406090
lea ecx, [esp + 0x34]
call fcn.00406090
lea ecx, [esp + 0x1c]
call fcn.00406090
lea ecx, [esp + 0x38]
call fcn.00406090
lea ecx, [esp + 0x2c]
call fcn.00406090
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b4], 3
call fcn.00406090
jmp 0x458c3d
lea ecx, [esp + 0x54]
push ecx
jmp 0x458c46
push 0x80070057
call fcn.004058d0
lea eax, [ebx - 0x10]
mov byte [esp + 0x2b4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458ffb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x2b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45901f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x2b4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459043
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2b4], 0xffffffff
mov eax, dword [esp + 0x2bc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459071
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0049021b
add esp, 0x2a4
ret 0xc