Function at 0x541cc0
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x3c]
push ebx
sub esp, 0x7c
mov dword [ebp - 0x38], 0x4000
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 2
mov dword [ebp - 0x34], 0xffffffff
call sub.MPR.DLL_WNetOpenEnumW
sub esp, 0x14
test eax, eax
je 0x541d12
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov dword [esp], 0x40
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
sub esp, 8
mov edi, eax
test eax, eax
je 0x541d08
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], 0
mov dword [esp], edi
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x38]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sub.MPR.DLL_WNetEnumResourceW
sub esp, 0x10
test eax, eax
je 0x541d94
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x3c]
sub esp, 4
mov dword [esp], eax
call sub.MPR.DLL_WNetCloseEnum
sub esp, 4
test eax, eax
sete al
lea esp, [ebp - 0xc]
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
mov eax, dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [esp + 4], 0
mov dword [esp], 0x6bf8c8
mov dword [ebp - 0x50], eax
call eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x541dc4
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 1
je 0x542170
mov eax, dword [sym.imp.Qt5Core.dll_QListData::shared_null]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x542160
lea eax, [ebp - 0x28]
mov ebx, edi
xor esi, esi
mov dword [ebp - 0x4c], eax
cmp dword [ebx + 8], 2
je 0x541f30
test byte [ebx + 0xc], 2
jne 0x542060
add esi, 1
add ebx, 0x20
cmp dword [ebp - 0x34], esi
ja 0x541de1
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x541ee0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
cmp dword [eax + 0xc], ecx
je 0x541ee0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [edx]
cmp eax, 1
ja 0x542074
mov eax, dword [edx + 0xc]
mov ecx, eax
test eax, eax
je 0x542095
xor eax, eax
mov dword [ebp - 0x54], edi
lea esi, [ebp - 0x30]
mov ebx, dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
mov edi, ecx
mov dword [ebp - 0x50], eax
jmp 0x541e5a
mov dword [ebp - 0x50], edi
mov edi, dword [edi + 4]
test edi, edi
je 0x541e71
lea eax, [edi + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
call ebx
test al, al
je 0x541e50
mov edi, dword [edi + 8]
test edi, edi
jne 0x541e5a
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
test eax, eax
je 0x542090
add eax, 0xc
mov dword [esp], esi
mov dword [esp + 4], eax
call ebx
mov ecx, dword [ebp - 0x50]
lea ebx, [ecx + 0x10]
test al, al
jne 0x542090
mov eax, dword [ebp - 0x28]
cmp dword [ebx], eax
je 0x541ee0
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
test edx, edx
je 0x542240
cmp edx, 0xffffffff
jne 0x542210
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx]
mov dword [ebp - 0x1c], edx
mov dword [ebx], eax
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi]
test eax, eax
je 0x542100
cmp eax, 0xffffffff
je 0x541ee0
lock sub dword [esi], 1
mov esi, dword [ebp - 0x1c]
je 0x542100
nop
mov ecx, dword [ebp - 0x4c]
call fcn.005a3410
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
je 0x541f10
cmp edx, 0xffffffff
je 0x541d2f
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
jne 0x541d2f
mov esi, esi
lea edi, [edi]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x541d2f
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x541deb
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x24]
mov dword [esp], eax
call dword [method.QString.QString_QChar_const__int_]
mov eax, dword [ebp - 0x24]
sub esp, 8
mov edx, dword [eax + 4]
test edx, edx
je 0x542019
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x50]
mov dword [esp], 0x6bf8c8
call eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], 2
mov dword [esp], 0x6bf933
call eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
mov dword [esp + 8], 1
mov dword [esp], eax
call dword [method.QString.replace_QString_const__QString_const__Qt::CaseSensitivity_]
sub esp, 0xc
lea ecx, [ebp - 0x24]
mov dword [esp], eax
call dword [method.QString.operator_QString_const_]
mov eax, dword [ebp - 0x20]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x5421f0
cmp edx, 0xffffffff
je 0x541fe6
lock sub dword [eax], 1
mov eax, dword [ebp - 0x20]
je 0x5421f0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x5421d0
cmp edx, 0xffffffff
je 0x542005
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1c]
je 0x5421d0
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.005a3080
mov eax, dword [ebp - 0x24]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x542032
cmp edx, 0xffffffff
je 0x541deb
lock sub dword [eax], 1
jne 0x541deb
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
test byte [ebx + 0xc], 2
je 0x541df5
nop
lea esi, [esi]
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00541cc0
jmp 0x541df5
mov ecx, dword [ebp + 0xc]
call fcn.005810c0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
jmp 0x541e2d
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [sym.imp.Qt5Core.dll_QListData::shared_null]
mov dword [ebp - 0x24], eax
mov eax, dword [edx]
cmp eax, 1
ja 0x542219
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x50], edx
test eax, eax
je 0x54236a
xor ecx, ecx
mov dword [ebp - 0x58], edi
lea esi, [ebp - 0x30]
mov ebx, dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
mov edi, ecx
mov dword [ebp - 0x50], eax
jmp 0x5420e6
mov edi, dword [ebp - 0x50]
mov edx, 1
mov eax, dword [edi + 4]
test eax, eax
je 0x542260
mov dword [ebp - 0x50], eax
add eax, 0xc
mov dword [esp + 4], esi
mov dword [esp], eax
call ebx
test al, al
je 0x5420d0
mov eax, dword [ebp - 0x50]
xor edx, edx
mov eax, dword [eax + 8]
jmp 0x5420db
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x10]
lea ebx, [eax + edx*4]
mov edx, dword [esi + 8]
lea eax, [eax + edx*4]
cmp ebx, eax
je 0x542230
mov dword [ebp - 0x50], eax
jmp 0x542134
cmp edx, 0xffffffff
je 0x54212b
lock sub dword [eax], 1
je 0x54213f
cmp dword [ebp - 0x50], ebx
je 0x542230
sub ebx, 4
mov eax, dword [ebx]
mov edx, dword [eax]
test edx, edx
jne 0x542120
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov eax, dword [ebx]
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x54212b
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], eax
jmp 0x541e00
mov dword [esp + 4], 0xffffffff
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x2c]
mov dword [esp], eax
call dword [method.QString.QString_QChar_const__int_]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
sub esp, 8
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov edx, dword [eax]
test edx, edx
je 0x5421af
cmp edx, 0xffffffff
je 0x541dc4
lock sub dword [eax], 1
jne 0x541dc4
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x541dc4
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x542005
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x541fe6
lock add dword [eax], 1
jmp 0x541eb6
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x30]
call fcn.005810c0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
jmp 0x5420a8
mov dword [esp], esi
call dword [method.QListData.dispose_QListData::Data_]
jmp 0x541ee0
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x1c]
mov dword [esp], ecx
mov ecx, eax
call fcn.0053d1d0
sub esp, 4
jmp 0x541eb6
mov ecx, dword [ebp - 0x50]
mov eax, edi
mov dword [ebp - 0x54], edi
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x58], ecx
test eax, eax
je 0x54235b
add eax, 0xc
mov dword [ebp - 0x5c], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call ebx
test al, al
je 0x5422f7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov ecx, eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0xc], edx
lea esi, [ebp - 0x30]
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp], 0x14
call dword [method.QMapDataBase.createNode_int__int__QMapNodeBase__bool_]
mov edx, dword [ebp - 0x30]
mov esi, eax
sub esp, 0x10
mov dword [eax + 0xc], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x542352
mov eax, dword [ebp - 0x24]
lea ebx, [esi + 0x10]
mov dword [esi + 0x10], eax
mov edx, dword [eax]
test edx, edx
je 0x542340
cmp edx, 0xffffffff
je 0x5422ea
lock add dword [eax], 1
lea ecx, [ebp - 0x24]
call fcn.005a3410
jmp 0x541e99
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x24]
cmp dword [ecx + 0x10], eax
je 0x542338
mov dword [ebp - 0x20], eax
mov edx, dword [eax]
test edx, edx
je 0x5423e1
cmp edx, 0xffffffff
je 0x542318
lock add dword [eax], 1
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ecx + 0x10], edx
mov edx, dword [eax]
test edx, edx
je 0x542380
cmp edx, 0xffffffff
je 0x542338
lock sub dword [eax], 1
je 0x542380
mov ebx, dword [ebp - 0x54]
add ebx, 0x10
jmp 0x5422ea
lea eax, [ebp - 0x24]
mov ecx, ebx
mov dword [esp], eax
call fcn.0053d1d0
sub esp, 4
jmp 0x5422ea
lock add dword [edx], 1
jmp 0x5422d2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov ecx, eax
jmp 0x542296
mov eax, dword [ebp - 0x50]
mov edx, 1
mov ecx, dword [ebp - 0x50]
add eax, 8
mov dword [ebp - 0x58], eax
jmp 0x542296
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebx + 0xc]
lea eax, [ebx + 0x10]
lea esi, [eax + edx*4]
mov edx, dword [ebx + 8]
lea eax, [eax + edx*4]
cmp esi, eax
je 0x5423d3
mov dword [ebp - 0x50], eax
jmp 0x5423ab
cmp edx, 0xffffffff
je 0x5423a6
lock sub dword [eax], 1
je 0x5423b6
cmp dword [ebp - 0x50], esi
je 0x5423d3
sub esi, 4
mov eax, dword [esi]
mov edx, dword [eax]
test edx, edx
jne 0x54239b
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov eax, dword [esi]
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x5423a6
mov dword [esp], ebx
call dword [method.QListData.dispose_QListData::Data_]
jmp 0x542338
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov dword [esp], eax
call fcn.0053d1d0
sub esp, 4
jmp 0x542318