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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
mov ecx, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
test eax, eax
push esi
cmovne ecx, eax
mov dword [ebp - 0x40], 0
mov al, byte [edx + 0xb]
mov byte [ebp - 0x3c], 0
mov dword [ebp + 0x24], ecx
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0x61], 0xb
push edi
test al, al
jns 0x460fd5
mov ecx, dword [edx + 4]
mov esi, dword [edx]
add ecx, esi
jmp 0x460fe1
movzx eax, al
mov ecx, edx
sub ecx, eax
mov esi, edx
add ecx, 0xb
push ecx
push esi
lea ecx, [ebp - 0x6c]
call fcn.004409b0
push dword [ebp + 0x10]
xor eax, eax
mov byte [ebp - 0x55], 5
lea ecx, [ebp - 0x6c]
mov word [ebp - 0x60], ax
mov word [ebp - 0x54], ax
mov byte [ebp - 0x49], 5
call fcn.0045cf90
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0045d030
push 0x250
lea eax, [ebp - 0x2fc]
push 0
push eax
call fcn.005d6d60
add esp, 0xc
lea ecx, [ebp - 0x6c]
call fcn.0045e410
cmp byte [eax + 0xb], 0
jge 0x46103d
mov eax, dword [eax]
lea ecx, [ebp - 0x2fc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
test edi, edi
je 0x461308
cmp edi, 0xffffffff
je 0x461308
push ebx
nop
mov ax, word [ebp - 0x2d0]
test ax, ax
je 0x4612ea
cmp ax, 0x2e
jne 0x46109a
mov ax, word [ebp - 0x2ce]
test ax, ax
je 0x4612ea
cmp ax, 0x2e
jne 0x46109a
cmp word [ebp - 0x2cc], 0
je 0x4612ea
mov eax, dword [ebp - 0x85]
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x25], 0xb
test al, al
jns 0x4610bc
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
add ecx, edx
jmp 0x4610cd
movzx eax, al
lea ecx, [ebp - 0x85]
lea edx, [ebp - 0x90]
sub ecx, eax
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.004409b0
xor eax, eax
mov byte [ebp - 0x19], 5
lea ebx, [ebp - 0x2d0]
mov word [ebp - 0x24], ax
mov word [ebp - 0x18], ax
mov byte [ebp - 0xd], 5
mov word [ebp - 0xc], ax
mov byte [ebp - 1], 5
cmp word [ebp - 0x2d0], ax
je 0x461108
add ebx, 2
cmp word [ebx], ax
jne 0x461100
lea eax, [ebp - 0x2d0]
sub ebx, eax
and ebx, 0xfffffffe
sar ebx, 1
cmp ebx, 5
jbe 0x46114a
push 0
push 0
push 0
push 0
lea eax, [ebx*2 + 2]
push 0
push eax
call fcn.0049f9b0
mov edx, ebx
mov dword [ebp - 0xc], eax
or edx, 0x80000000
mov dword [ebp - 8], ebx
add esp, 0x18
mov dword [ebp - 4], edx
shr edx, 0x18
jmp 0x461156
mov al, 5
sub al, bl
mov byte [ebp - 1], al
mov dl, al
mov eax, dword [ebp - 0xc]
test dl, dl
lea ecx, [ebp - 0xc]
cmovs ecx, eax
lea eax, [ebx + ebx]
push eax
lea eax, [ebp - 0x2d0]
push eax
push ecx
call fcn.005d67e0
mov al, byte [ebp - 1]
add esp, 0xc
test al, al
jns 0x461184
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
lea ecx, [ecx + eax*2]
jmp 0x46118e
movzx eax, al
lea ecx, [ebp - 2]
add eax, eax
sub ecx, eax
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00460b60
add esp, 8
lea ecx, [ebp - 0x30]
push eax
call fcn.0045cf90
test byte [ebp - 0x91], 0x80
je 0x4611cb
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x4611cb
push eax
call fcn.0044d750
add esp, 4
test byte [ebp - 1], 0x80
je 0x4611e1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4611e1
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp + 0x20], 0
je 0x461253
test byte [ebp - 0x2fc], 0x10
je 0x461253
mov eax, dword [ebp + 0x24]
mov ebx, eax
mov esi, dword [eax + 8]
test esi, esi
je 0x461404
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x10]
call fcn.0045cec0
test al, al
jne 0x461217
mov ebx, esi
mov esi, dword [esi + 4]
jmp 0x461219
mov esi, dword [esi]
test esi, esi
jne 0x461200
cmp ebx, dword [ebp + 0x24]
je 0x461404
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.0045cec0
test al, al
jne 0x461404
test byte [ebp - 0x25], 0x80
lea eax, [ebp - 0x30]
cmovne eax, dword [ebp - 0x30]
push eax
push str.Folder__s_was_already_visited_during_search
call fcn.004631b0
add esp, 8
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
test dword [ebp - 0x2fc], eax
jne 0x4612a8
test dword [ebp - 0x2fc], esi
je 0x4612a8
mov esi, dword [ebx + 4]
cmp esi, ebx
je 0x461292
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.0045db60
test al, al
jne 0x4612a8
push esi
call fcn.0049fd70
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x461273
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x24]
lea eax, [ebp - 0xac]
push eax
call fcn.0043f140
test byte [ebp - 0xd], 0x80
je 0x4612be
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4612be
push eax
call fcn.0044d750
add esp, 4
test byte [ebp - 0x19], 0x80
je 0x4612d4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4612d4
push eax
call fcn.0044d750
add esp, 4
test byte [ebp - 0x25], 0x80
je 0x4612ea
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4612ea
push eax
call fcn.0044d750
add esp, 4
lea eax, [ebp - 0x2fc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x461060
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
cmp byte [ebp - 0x6d], 0
jge 0x46131e
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x46131e
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0x79], 0
jge 0x461337
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x461337
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0x85], 0
jge 0x461353
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x461353
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0x49], 0
jge 0x461369
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x461369
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0x55], 0
jge 0x46137f
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x46137f
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0x61], 0
jge 0x461395
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x461395
push eax
call fcn.0044d750
add esp, 4
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x4613fe
nop dword [eax]
push dword [esi]
lea ecx, [ebp - 0x48]
call fcn.00440930
cmp byte [esi + 0x33], 0
mov edi, dword [esi + 4]
jge 0x4613c3
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4613c3
push eax
call fcn.0044d750
add esp, 4
cmp byte [esi + 0x27], 0
jge 0x4613d9
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4613d9
push eax
call fcn.0044d750
add esp, 4
cmp byte [esi + 0x1b], 0
jge 0x4613ef
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4613ef
push eax
call fcn.0044d750
add esp, 4
push esi
call fcn.0044d750
add esp, 4
mov esi, edi
test edi, edi
jne 0x4613a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x24]
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x24]
lea eax, [ebp - 0xa4]
mov ecx, ebx
push eax
call fcn.0043f140
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x30]
push ebx
push dword [ebp + 0x20]
mov ebx, dword [ebp + 0x14]
push dword [ebp + 0x1c]
push esi
push ebx
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00460f80
add esp, 0x20
jmp 0x461259