Function at 0x6714e960
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67298e86
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp - 0x38]
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 esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax + 0xc], 0x10
je 0x6714e9b9
mov eax, dword [eax + 4]
mov ecx, esi
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
add ecx, eax
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
push ecx
call dword [sym.imp.NETAPI32.dll_NetShareEnum]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x6714e9f0
cmp esi, 0xea
jne 0x6714eb4c
mov eax, dword [ebp - 0x24]
mov ecx, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x20], ecx
jb 0x6714eb4c
nop word [eax + eax]
cmp dword [ebp + 0xc], 0
je 0x6714eb36
cmp dword [eax + 4], 0
jne 0x6714eb36
mov edx, dword [eax]
test edx, edx
jne 0x6714ea31
mov esi, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x6714ea55
xor eax, eax
cmp word [edx], ax
je 0x6714ea40
inc eax
cmp word [edx + eax*2], 0
jne 0x6714ea38
push 0
add eax, eax
lea ecx, [ebp - 0x14]
push 0
push eax
call fcn.671e2a80
mov esi, dword [ebp - 0x14]
add esp, 0xc
or ebx, 8
or ebx, 5
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 0x10], ebx
test bl, 2
je 0x6714eaa2
mov eax, dword [edi]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x6714ea8d
cmp eax, 0xffffffff
je 0x6714ea9f
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
setne al
test al, al
jne 0x6714ea9f
cmp edi, 0x674c7cb4
je 0x6714ea9f
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ebx, dword [ebp - 0x10]
test bl, 1
je 0x6714eae5
mov eax, dword [ebp - 0x14]
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
test eax, eax
je 0x6714eacd
cmp eax, 0xffffffff
je 0x6714eae5
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6714eae5
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp eax, 0x674c7cb4
je 0x6714eaeb
push eax
call ebx
add esp, 4
jmp 0x6714eaeb
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 1
call fcn.67025060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x6714eb1f
cmp eax, 0xffffffff
je 0x6714eb2d
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
setne al
test al, al
jne 0x6714eb2d
cmp esi, 0x674c7cb4
je 0x6714eb2d
push esi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
inc ecx
add eax, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0x20]
jbe 0x6714ea10
mov esi, dword [ebp - 0x34]
push dword [ebp - 0x24]
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp esi, 0xea
je 0x6714e9a0
test esi, esi
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