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

Disassembly:
push 0xffffffffffffffff
push 0x4b155a
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4e1370]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, dword [esp + 0x29c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x290], 0
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 + 0x290], 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 + 0x290], 2
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x298]
lea edi, [esp + 0x14]
mov byte [esp + 0x290], 3
call fcn.0040d2b0
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x461ac3
cmp eax, 0x104
jg 0x461ac3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x46182c
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 0x461ab9
cmp eax, dword [esi - 8]
jg 0x461ab9
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 + 0x1c]
mov byte [esp + 0x290], 4
call fcn.0040d2b0
mov byte [esp + 0x290], 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 0x4618aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x4618e0
lea eax, [edi - 0x10]
mov byte [esp + 0x290], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x461adb
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x4cb120
lea eax, [esp + 0x60]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x461916
test dx, dx
je 0x461912
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x461916
add eax, 4
add ecx, 4
test dx, dx
jne 0x4618f0
xor eax, eax
jmp 0x46191b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x461a41
mov ecx, 0x4cb05c
lea eax, [esp + 0x60]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x461956
test dx, dx
je 0x461952
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x461956
add eax, 4
add ecx, 4
test dx, dx
jne 0x461930
xor eax, eax
jmp 0x46195b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x461a41
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov ebx, 0x4c8f90
call fcn.004085c0
push eax
lea eax, [esp + 0x2c]
push eax
lea ebx, [esp + 0x70]
mov byte [esp + 0x2a0], 5
call fcn.004085c0
add esp, 0x10
lea edi, [esp + 0x18]
mov byte [esp + 0x290], 6
call fcn.0040d2b0
mov byte [esp + 0x290], 5
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 0x4619ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x290], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4619f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [esp + 0x34], 0x10
je 0x461a41
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x14]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.004363e0
mov ecx, ebx
mov edi, eax
call fcn.0048ee70
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x18]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
call fcn.0040bbd0
add eax, 0x10
mov dword [esi], eax
call fcn.00461730
add esp, 8
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
push esi
call ebp
test eax, eax
jne 0x4618e6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c]
test eax, eax
jne 0x461a8c
call fcn.00406090
lea ecx, [esp + 0x18]
call fcn.00406090
lea ecx, [esp + 0x14]
call fcn.00406090
lea ecx, [esp + 0x298]
call fcn.00406090
jmp 0x461b5d
call fcn.00406090
lea ecx, [esp + 0x18]
call fcn.00406090
lea ecx, [esp + 0x14]
call fcn.00406090
lea ecx, [esp + 0x298]
call fcn.00406090
mov eax, 1
jmp 0x461b5f
push 0x80070057
call fcn.004058d0
lea eax, [ebx - 0x10]
mov byte [esp + 0x290], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461ae7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x290], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461b0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x290], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461b2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x290], 0xffffffff
mov eax, dword [esp + 0x298]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461b5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0049021b
add esp, 0x280
ret