Function at 0x4671b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb452
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x53f030]
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 dword [ebp - 0x290], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x270], eax
call fcn.0043ae40
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x467212
push 0x80004005
call fcn.0043a9b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x27c], eax
push dword [ebx]
lea eax, [ebp - 0x27c]
mov dword [ebp - 4], 0
push 0x50aae0
push eax
call fcn.0043ad30
mov ebx, dword [ebp - 0x27c]
lea eax, [ebp - 0x260]
add esp, 0xc
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
or edi, 0xffffffff
mov dword [ebp - 0x284], esi
cmp esi, edi
je 0x467514
mov esi, 8
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x467208
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x280]
push dword [eax]
lea eax, [ebp - 0x268]
push 0x509980
push eax
call fcn.0043ad30
add esp, 0x10
mov dword [ebp - 0x264], 0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
push eax
push 0x509790
push 0x17
push 0
push 0x5098b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x264]
js 0x46757d
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
xor eax, eax
mov dword [ebp - 0x274], 0
mov word [ebp - 0x2a0], ax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x467577
mov edi, dword [ebp - 0x268]
push edi
mov word [ebp - 0x2a0], si
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x298], eax
test eax, eax
jne 0x467340
test edi, edi
jne 0x467557
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x274]
movdqu xmm0, xmmword [ebp - 0x2a0]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov ecx, esp
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0xe8]
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x4674bc
cmp word [ebp - 0x274], 0xffff
jne 0x4674bc
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x467208
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 4
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x467208
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x264]
call fcn.00462ab0
mov esi, dword [ebp - 0x278]
test eax, eax
je 0x46747a
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x28c]
push eax
push esi
call fcn.00497ef0
test eax, eax
jne 0x46746b
mov eax, dword [ebp - 0x270]
cmp dword [eax], 0
jne 0x467457
push 1
push dword [eax + 8]
mov ecx, eax
call fcn.0049b520
test al, al
je 0x46756d
mov eax, dword [ebp - 0x270]
push dword [ebp - 0x288]
mov ecx, eax
push dword [ebp - 0x28c]
push esi
call fcn.0043d5d0
lea ecx, [eax + 4]
lea eax, [ebp - 0x26c]
push eax
call fcn.0043a620
mov edx, dword [ebp - 0x26c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46749e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4674bc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 1
test eax, eax
je 0x4674d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4674ee
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x284]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x467264
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or edi, 0xffffffff
mov esi, 1
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x467537
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.004d89fb
mov esp, ebp
pop ebp
ret 8
mov eax, 0xa
mov dword [ebp - 0x298], 0x8007000e
mov word [ebp - 0x2a0], ax
push 0x8007000e
call fcn.0043a9b0
push eax
call fcn.0043a9b0
mov byte [ebp - 4], 1
test eax, eax
je 0x46758b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x268]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4675b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x467519