Function at 0x4066b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x471b47
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x4878d4]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x4b4]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
xor ebx, ebx
push 4
mov dword [esp + 0x4c0], ebx
call fcn.00459c10
add esp, 4
cmp eax, ebx
je 0x406716
lea ecx, [esp + 0x18]
mov dword [eax], ecx
jmp 0x406718
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x4bc], 1
lea edx, [esp + 0x4c4]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [edi], ebx
call fcn.00406c20
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x406a5e
jmp 0x406760
mov eax, dword [esp + 0x30]
lea esi, [ecx + eax]
cmp eax, esi
jbe 0x406770
call fcn.00459e39
mov eax, dword [esp + 0x18]
mov edi, eax
mov ebp, edi
mov dword [esp + 0x44], esi
cmp eax, ebx
jne 0x40679c
call fcn.00459e39
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
dec esi
cmp esi, ecx
ja 0x4067a9
cmp edi, ebx
je 0x4067a2
mov edi, dword [edi]
jmp 0x4067a4
mov eax, dword [eax]
mov ecx, eax
jmp 0x406789
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x4067ae
call fcn.00459e39
cmp ebp, ebx
jne 0x4067d3
call fcn.00459e39
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp esi, edx
jb 0x4067ca
call fcn.00459e39
cmp ebp, ebx
je 0x4067da
mov eax, dword [ebp]
jmp 0x4067dc
mov eax, dword [ebp]
mov ecx, eax
jmp 0x4067bb
xor eax, eax
cmp dword [eax + 0x14], esi
ja 0x4067ef
cmp ebp, ebx
je 0x4067ea
mov eax, dword [ebp]
jmp 0x4067ec
xor eax, eax
sub esi, dword [eax + 0x14]
cmp ebp, ebx
je 0x4067f8
mov eax, dword [ebp]
jmp 0x4067fa
xor eax, eax
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
push eax
lea ecx, [esp + 0x1d8]
call fcn.00432960
mov byte [esp + 0x4bc], 2
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x406846
mov ecx, dword [esp + 0x30]
lea eax, [eax + ecx - 1]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
ja 0x40682f
sub eax, ecx
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + eax*4]
call fcn.00432010
sub dword [esp + 0x34], 1
jne 0x406846
mov dword [esp + 0x30], ebx
push str..
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1dc]
call fcn.00432990
push eax
lea ecx, [esp + 0x1d8]
mov byte [esp + 0x4c0], 3
call fcn.00432290
lea ecx, [esp + 0x48]
mov byte [esp + 0x4bc], 2
call fcn.00432010
lea ecx, [esp + 0x25c]
push ecx
lea ecx, [esp + 0x1d8]
call fcn.00432050
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jmp 0x406a38
test byte [esp + 0x25c], 0x10
je 0x406a11
mov ecx, 0x47b758
lea eax, [esp + 0x288]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4068f6
cmp dx, bx
je 0x4068f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4068f6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4068d0
xor eax, eax
jmp 0x4068fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x406a27
mov ecx, 0x47b75c
lea eax, [esp + 0x288]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406936
cmp dx, bx
je 0x406932
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406936
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x406910
xor eax, eax
jmp 0x40693b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x406a27
push 0x5c
lea ecx, [esp + 0x1d8]
call fcn.00432390
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1dc]
call fcn.00432a20
push eax
lea ecx, [esp + 0x1d8]
mov byte [esp + 0x4c0], 4
call fcn.00432290
lea ecx, [esp + 0x48]
mov byte [esp + 0x4bc], 2
call fcn.00432010
push 0x47b764
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x1dc]
call fcn.00432990
lea ecx, [esp + 0x288]
push ecx
lea edx, [esp + 0x154]
push edx
mov ecx, eax
mov byte [esp + 0x4c4], 5
call fcn.00432990
push eax
lea ecx, [esp + 0x1d8]
mov byte [esp + 0x4c0], 6
call fcn.00432290
lea ecx, [esp + 0x150]
mov byte [esp + 0x4bc], 5
call fcn.00432010
lea ecx, [esp + 0xcc]
mov byte [esp + 0x4bc], 2
call fcn.00432010
lea eax, [esp + 0x1d4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406c20
jmp 0x406a27
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x27c]
add dword [eax], ecx
adc dword [eax + 4], ebx
mov eax, dword [esp + 0x3c]
inc dword [eax]
lea edx, [esp + 0x25c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4068b0
lea ecx, [esp + 0x1d4]
mov byte [esp + 0x4bc], 1
call fcn.00432010
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
jne 0x406760
lea esi, [esp + 0x18]
mov byte [esp + 0x4bc], 7
call fcn.00406cc0
mov eax, dword [esp + 0x18]
push eax
call fcn.004599df
add esp, 4
lea ecx, [esp + 0x4c4]
mov dword [esp + 0x4bc], 0xffffffff
call fcn.00432010
mov ecx, dword [esp + 0x4b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.004599ea
add esp, 0x4ac
ret 0x84