Function at 0x4061c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d463
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x46b238]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2ac], ebx
push 0x20
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
call fcn.00420113
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push 1
push eax
call fcn.00417d30
add esp, 0xc
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
jne 0x4062c8
push 0x20
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00420113
mov ecx, eax
add esp, 4
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov eax, dword [ebp - 0x2b0]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2ac], ecx
lea ecx, [ebp - 0x40]
mov dword [ebx + 4], eax
call fcn.00401fd0
mov ecx, dword [ebp - 0x2b0]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x4065f3
nop
mov esi, dword [edi]
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.004060f0
push 0x20
push edi
call fcn.00420143
add esp, 0x10
mov edi, esi
test esi, esi
jne 0x4062a0
jmp 0x4065f3
push 4
push str..._
lea ecx, [ebp - 0x40]
call fcn.00402f00
push 0x451a64
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401500
add esp, 0xc
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4063a8
push 0x20
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00420113
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebx], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x2ac], ecx
lea ecx, [ebp - 0x58]
mov dword [ebx + 4], eax
call fcn.00401fd0
lea ecx, [ebp - 0x40]
call fcn.00401fd0
mov ecx, dword [ebp - 0x2b0]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x4065f3
lea esp, [esp]
mov esi, dword [edi]
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.004060f0
push 0x20
push edi
call fcn.00420143
add esp, 0x10
mov edi, esi
test esi, esi
jne 0x406380
jmp 0x4065f3
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
jmp 0x4063d0
mov ecx, 0x451a6c
lea eax, [ebp - 0x27c]
jmp 0x4063e0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406406
test dx, dx
je 0x406402
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406406
add eax, 4
add ecx, 4
test dx, dx
jne 0x4063e0
xor eax, eax
jmp 0x40640b
sbb eax, eax
or eax, 1
test eax, eax
je 0x406551
mov eax, 0x451a70
lea ecx, [ebp - 0x27c]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x406446
test dx, dx
je 0x406442
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x406446
add ecx, 4
add eax, 4
test dx, dx
jne 0x406420
xor eax, eax
jmp 0x40644b
sbb eax, eax
or eax, 1
test eax, eax
je 0x406551
test byte [ebp - 0x2a8], 0x10
je 0x406551
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403170
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406480
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00402f00
push 9
push str.wtoolex_
lea ecx, [ebp - 0x28]
call fcn.00402f00
cmp dword [ebp - 0x2ac], 0x7ffffff
mov esi, dword [ebp - 0x2b0]
je 0x406621
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b8], eax
push 0x20
mov byte [ebp - 4], 4
mov dword [ebp - 0x2b4], 0
call fcn.00420113
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x1c]
add esp, 4
mov byte [ebp - 4], 3
mov dword [ebp - 0x2b4], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
xor eax, eax
inc dword [ebp - 0x2ac]
mov word [ebp - 0x28], ax
mov eax, dword [esi + 4]
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [esi + 4], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [eax], edx
lea eax, [ebp - 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4063d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00420113
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebx], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x2ac], ecx
lea ecx, [ebp - 0x58]
mov dword [ebx + 4], eax
call fcn.00401fd0
lea ecx, [ebp - 0x40]
call fcn.00401fd0
mov ecx, dword [ebp - 0x2b0]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x4065f3
nop
mov esi, dword [edi]
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.004060f0
push 0x20
push edi
call fcn.00420143
add esp, 0x10
mov edi, esi
test esi, esi
jne 0x4065d0
push 0x20
push dword [ebp - 0x2b0]
call fcn.00420143
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004203b0
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.0041ebb8
int3