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

Disassembly:
push 0xffffffffffffffff
push 0x4b83d0
mov eax, dword fs:[0]
push eax
sub esp, 0x278
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 + 0x28c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2a4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x294], 0
test eax, eax
je 0x461249
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 + 0x294], 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 + 0x294], 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 + 0x29c]
lea edi, [esp + 0x14]
mov byte [esp + 0x294], 3
call fcn.0040d2b0
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4611dd
cmp eax, 0x104
jg 0x4611dd
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x460ecf
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 0x4611d3
cmp eax, dword [esi - 8]
jg 0x4611d3
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 + 0x294], 4
call fcn.0040d2b0
mov byte [esp + 0x294], 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 0x460f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x460f90
lea ecx, [esp + 0x1c]
call fcn.00406090
lea ecx, [esp + 0x18]
call fcn.00406090
lea ecx, [esp + 0x14]
call fcn.00406090
lea ecx, [esp + 0x29c]
call fcn.00406090
jmp 0x461277
mov ecx, 0x4cb120
lea eax, [esp + 0x60]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x460fc6
test dx, dx
je 0x460fc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x460fc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x460fa0
xor eax, eax
jmp 0x460fcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46117f
mov ecx, 0x4cb05c
lea eax, [esp + 0x60]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x461006
test dx, dx
je 0x461002
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x461006
add eax, 4
add ecx, 4
test dx, dx
jne 0x460fe0
xor eax, eax
jmp 0x46100b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46117f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ebx, 0x4c8f90
call fcn.004085c0
push eax
lea edx, [esp + 0x2c]
push edx
lea ebx, [esp + 0x70]
mov byte [esp + 0x2a4], 5
call fcn.004085c0
add esp, 0x10
lea edi, [esp + 0x18]
mov byte [esp + 0x294], 6
call fcn.0040d2b0
mov byte [esp + 0x294], 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 0x46107a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 3
mov byte [esp + 0x294], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4610a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [esp + 0x34], 0x10
push ecx
mov dword [esp + 0x2c], esp
je 0x46111a
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff0
mov eax, esi
mov edi, esp
call fcn.0040bbd0
add eax, 0x10
mov dword [edi], eax
push ecx
mov byte [esp + 0x29c], 7
call fcn.00454bb0
add esp, 4
push eax
mov byte [esp + 0x29c], bl
call fcn.00435970
test eax, eax
jne 0x46117f
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x18]
call fcn.00435fc0
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
push ecx
mov eax, esi
mov dword [esp + 0x34], esp
mov edi, esp
call fcn.0040bbd0
add eax, 0x10
mov dword [edi], eax
call fcn.00460dc0
add esp, 0xc
jmp 0x46117f
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov esi, esp
call fcn.0040bbd0
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [esp + 0x29c], 8
call fcn.00454bb0
add esp, 4
push eax
mov byte [esp + 0x29c], bl
call fcn.00435970
test eax, eax
jne 0x46117f
mov edx, dword [esp + 0x50]
push 1
push eax
push eax
push edx
call fcn.0049f7d0
mov ebx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x54]
xor esi, esi
add ecx, eax
mov eax, dword [esp + 0x2c]
adc edx, esi
add dword [eax], ecx
adc dword [eax + 4], edx
lea eax, [esp + 0x18]
call fcn.00435fc0
lea ecx, [esp + 0x34]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x460f90
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c]
test eax, eax
je 0x460f68
call fcn.00406090
lea ecx, [esp + 0x18]
call fcn.00406090
lea ecx, [esp + 0x14]
call fcn.00406090
lea ecx, [esp + 0x29c]
call fcn.00406090
mov eax, 1
jmp 0x461279
push 0x80070057
call fcn.004058d0
lea eax, [ebx - 0x10]
mov byte [esp + 0x294], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461201
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x294], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461225
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x294], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461249
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x294], 0xffffffff
mov eax, dword [esp + 0x29c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461277
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28c]
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, 0x284
ret