Function at 0x6713f790
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6727cca6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x674c412c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp - 0x34]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
nop dword [eax]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
push 1
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call sub.NETAPI32.dll_NetShareEnum
mov dword [ebp - 0x30], eax
test eax, eax
je 0x6713f804
cmp eax, 0xea
jne 0x6713f921
mov edi, dword [ebp - 0x24]
mov eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], eax
jb 0x6713f921
nop dword [eax + eax]
cmp dword [ebp + 0xc], 0
je 0x6713f911
cmp dword [edi + 4], 0
jne 0x6713f911
push 0xffffffffffffffff
push dword [edi]
lea eax, [ebp - 0x14]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_
add esp, 0xc
mov ecx, dword [eax]
or ebx, 5
mov dword [ebp - 0x18], ecx
mov dword [eax], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 0x10], ebx
test bl, 2
je 0x6713f88a
mov eax, dword [esi]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x6713f87a
cmp eax, 0xffffffff
je 0x6713f887
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
setne al
test al, al
jne 0x6713f887
push 4
push 2
push esi
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov ebx, dword [ebp - 0x10]
test bl, 1
je 0x6713f8c4
mov eax, dword [ebp - 0x14]
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
test eax, eax
je 0x6713f8b5
cmp eax, 0xffffffff
je 0x6713f8c4
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713f8c4
push 4
push 2
push dword [ebp - 0x14]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 1
call fcn.6701ca70
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
test ecx, ecx
je 0x6713f8fe
cmp ecx, 0xffffffff
je 0x6713f90b
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x6713f90b
push 4
push 2
push eax
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
inc eax
add edi, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x20]
jbe 0x6713f820
push dword [ebp - 0x24]
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [ebp - 0x30]
cmp eax, 0xea
je 0x6713f7d0
test eax, eax
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret