Function at 0x559730
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x3c]
push ebx
sub esp, 0x6c
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 0x559782
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 dword [ebp - 0x50], eax
test eax, eax
je 0x559778
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edi
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 0x559810
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
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], 0x6f24e8
mov dword [ebp - 0x4c], eax
call eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
test esi, esi
je 0x559840
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 1
je 0x559c70
mov eax, dword [sym.imp.Qt5Core.dll_QListData::shared_null]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x559876
mov ebx, dword [ebp - 0x50]
xor esi, esi
cmp dword [ebx + 8], 2
je 0x5599c0
test byte [ebx + 0xc], 2
jne 0x559b00
add esi, 1
add ebx, 0x20
cmp dword [ebp - 0x34], esi
ja 0x559854
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x559960
mov ecx, dword [eax + 8]
cmp dword [eax + 0xc], ecx
je 0x559960
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [edi]
cmp eax, 1
ja 0x559b90
mov eax, dword [edi + 0xc]
test eax, eax
je 0x559baa
xor ebx, ebx
lea esi, [ebp - 0x30]
mov edi, dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
mov dword [ebp - 0x4c], eax
jmp 0x5598cf
mov ebx, eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x5598f2
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], esi
add eax, 0xc
mov dword [esp], eax
call edi
test al, al
mov eax, dword [ebp - 0x4c]
je 0x5598c0
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
test edx, edx
jne 0x5598cf
test ebx, ebx
je 0x559ba5
lea eax, [ebx + 0xc]
mov dword [esp], esi
add ebx, 0x10
mov dword [esp + 4], eax
call edi
test al, al
jne 0x559ba5
mov edx, dword [ebp - 0x28]
mov eax, edx
cmp dword [ebx], edx
je 0x559960
mov dword [ebp - 0x1c], edx
mov eax, dword [edx]
test eax, eax
je 0x559d30
cmp eax, 0xffffffff
jne 0x559d10
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 0x559c10
cmp eax, 0xffffffff
je 0x559959
lock sub dword [esi], 1
mov esi, dword [ebp - 0x1c]
je 0x559c10
mov eax, dword [ebp - 0x28]
lea esi, [esi]
mov edx, dword [eax]
test edx, edx
je 0x559b20
cmp edx, 0xffffffff
je 0x559979
lock sub dword [eax], 1
je 0x559b20
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
je 0x5599a0
cmp edx, 0xffffffff
je 0x5597a0
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
jne 0x5597a0
nop
lea esi, [esi]
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 0x5597a0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x55985e
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x24]
lea edi, [ebp - 0x28]
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 0x559aae
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x4c]
mov dword [esp], 0x6f24e8
call eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], 2
mov dword [esp], 0x6f251d
call eax
mov dword [ebp - 0x20], eax
lea edi, [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov dword [esp + 8], 1
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov dword [esp + 4], eax
mov dword [esp], edi
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 0x559cf0
cmp edx, 0xffffffff
je 0x559a79
lock sub dword [eax], 1
mov eax, dword [ebp - 0x20]
je 0x559cf0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x559cd0
cmp edx, 0xffffffff
je 0x559a98
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1c]
je 0x559cd0
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x28]
mov dword [esp], eax
mov ecx, edi
call fcn.005c8260
mov eax, dword [ebp - 0x24]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x559ad0
cmp edx, 0xffffffff
je 0x55985e
lock sub dword [eax], 1
jne 0x55985e
mov esi, esi
lea edi, [edi]
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 0x559868
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
lea edi, [ebp - 0x28]
mov dword [esp + 4], eax
call fcn.00559730
jmp 0x559868
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
lea eax, [ecx + 0x10]
lea ebx, [eax + edx*4]
mov edx, dword [ecx + 8]
lea edi, [eax + edx*4]
cmp ebx, edi
je 0x559b7b
mov esi, dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov dword [ebp - 0x4c], ecx
jmp 0x559b50
cmp edx, 0xffffffff
je 0x559b4c
lock sub dword [eax], 1
je 0x559b5b
cmp edi, ebx
je 0x559b76
sub ebx, 4
mov eax, dword [ebx]
mov edx, dword [eax]
test edx, edx
jne 0x559b41
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov eax, dword [ebx]
mov dword [esp], eax
call esi
cmp edi, ebx
jne 0x559b50
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov dword [esp], ecx
call dword [method.QListData.dispose_QListData::Data_]
jmp 0x559979
mov ecx, dword [ebp + 0xc]
lea edi, [ebp - 0x28]
call fcn.0059ff10
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x5598a0
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [sym.imp.Qt5Core.dll_QListData::shared_null]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
cmp eax, 1
ja 0x559d19
mov eax, dword [edi + 0xc]
test eax, eax
je 0x559e34
xor ebx, ebx
lea esi, [ebp - 0x30]
mov edi, dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
mov dword [ebp - 0x4c], eax
jmp 0x559bf6
mov ebx, dword [ebp - 0x4c]
mov edx, 1
mov eax, dword [ebx + 4]
test eax, eax
je 0x559d50
mov dword [ebp - 0x4c], eax
add eax, 0xc
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
test al, al
je 0x559be0
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov eax, dword [eax + 8]
jmp 0x559beb
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x10]
lea ebx, [eax + edx*4]
mov edx, dword [esi + 8]
lea edi, [eax + edx*4]
cmp ebx, edi
jne 0x559c40
mov dword [esp], esi
call dword [method.QListData.dispose_QListData::Data_]
jmp 0x559959
cmp edx, 0xffffffff
je 0x559c3c
lock sub dword [eax], 1
je 0x559c4b
cmp edi, ebx
je 0x559c23
sub ebx, 4
mov eax, dword [ebx]
mov edx, dword [eax]
test edx, edx
jne 0x559c31
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 0x559c3c
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 0x559caf
cmp edx, 0xffffffff
je 0x559840
lock sub dword [eax], 1
jne 0x559840
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 0x559840
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 0x559a98
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 0x559a79
lock add dword [edx], 1
jmp 0x559930
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x30]
call fcn.0059ff10
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x559bbd
lea edi, [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov dword [esp], edi
mov ecx, eax
call fcn.005554f0
sub esp, 4
jmp 0x559930
test ebx, ebx
je 0x559e2a
lea eax, [ebx + 0xc]
mov dword [ebp - 0x54], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
test al, al
je 0x559dd2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x54]
mov edi, dword [eax]
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0xc], edx
mov ecx, edi
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 0x559e24
mov eax, dword [ebp - 0x24]
lea ebx, [esi + 0x10]
mov dword [esi + 0x10], eax
mov edx, dword [eax]
test edx, edx
je 0x559e12
cmp edx, 0xffffffff
je 0x559dc5
lock add dword [eax], 1
lea ecx, [ebp - 0x24]
call fcn.005c88d0
jmp 0x559911
mov eax, dword [ebp - 0x24]
cmp dword [ebx + 0x10], eax
je 0x559e0d
mov dword [ebp - 0x20], eax
mov edx, dword [eax]
test edx, edx
je 0x559ea5
cmp edx, 0xffffffff
je 0x559df0
lock add dword [eax], 1
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebx + 0x10], edx
mov edx, dword [eax]
test edx, edx
je 0x559e44
cmp edx, 0xffffffff
je 0x559e0d
lock sub dword [eax], 1
je 0x559e44
add ebx, 0x10
jmp 0x559dc5
lea eax, [ebp - 0x24]
mov ecx, ebx
mov dword [esp], eax
call fcn.005554f0
sub esp, 4
jmp 0x559dc5
lock add dword [edx], 1
jmp 0x559dad
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x559d73
lea eax, [edi + 8]
mov edx, 1
mov dword [ebp - 0x4c], eax
jmp 0x559d73
mov edi, dword [ebp - 0x20]
mov edx, dword [edi + 0xc]
lea eax, [edi + 0x10]
lea esi, [eax + edx*4]
mov edx, dword [edi + 8]
lea eax, [eax + edx*4]
cmp esi, eax
je 0x559e97
mov dword [ebp - 0x4c], eax
jmp 0x559e6f
cmp edx, 0xffffffff
je 0x559e6a
lock sub dword [eax], 1
je 0x559e7a
cmp dword [ebp - 0x4c], esi
je 0x559e97
sub esi, 4
mov eax, dword [esi]
mov edx, dword [eax]
test edx, edx
jne 0x559e5f
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 0x559e6a
mov dword [esp], edi
call dword [method.QListData.dispose_QListData::Data_]
jmp 0x559e0d
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov dword [esp], eax
call fcn.005554f0
sub esp, 4
jmp 0x559df0