Function at 0x5418e0
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x3c]
sub esp, 0x6c
mov dword [ebp - 0x38], 0x4000
mov dword [ebp - 0x34], 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 2
mov dword [esp + 0xc], eax
call sub.MPR.DLL_WNetOpenEnumW
sub esp, 0x14
test eax, eax
je 0x541932
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
test eax, eax
mov edi, eax
je 0x541928
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 0x5419b4
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]
movzx eax, al
pop ebx
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], 0x69198c
mov dword [ebp - 0x4c], eax
call eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
test esi, esi
je 0x5419e4
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 1
je 0x541cb0
mov ebx, dword [ebp - 0x34]
mov eax, dword [sym.imp.Qt5Core.dll_QListData::shared_null]
test ebx, ebx
mov dword [ebp - 0x28], eax
je 0x541ca4
lea eax, [ebp - 0x28]
mov ebx, edi
xor esi, esi
mov dword [ebp - 0x50], eax
cmp dword [ebx + 8], 2
je 0x541a80
test byte [ebx + 0xc], 2
jne 0x541c90
add esi, 1
add ebx, 0x20
cmp dword [ebp - 0x34], esi
ja 0x541a01
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
test eax, eax
je 0x541a35
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
cmp dword [eax + 0xc], ecx
jne 0x541ba3
mov ecx, dword [ebp - 0x50]
call fcn.00595020
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
je 0x541a60
cmp edx, 0xffffffff
je 0x54194f
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
jne 0x54194f
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 0x54194f
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x541a07
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 0x541b69
mov dword [esp + 4], 0
mov dword [esp], 0x69198c
mov eax, dword [ebp - 0x4c]
call eax
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 2
mov dword [esp], 0x6919c1
mov eax, dword [ebp - 0x4c]
call eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 8], 1
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
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 0x541d30
cmp edx, 0xffffffff
je 0x541b36
lock sub dword [eax], 1
mov eax, dword [ebp - 0x20]
je 0x541d30
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x541d50
cmp edx, 0xffffffff
je 0x541b55
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1c]
je 0x541d50
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.00594f40
mov eax, dword [ebp - 0x24]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x541b85
cmp edx, 0xffffffff
je 0x541a07
lock sub dword [eax], 1
mov eax, dword [ebp - 0x24]
jne 0x541a07
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 0x541a07
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
cmp edx, 1
jbe 0x541bbc
mov ecx, dword [ebp + 0xc]
call fcn.0057d8b0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x54], 0
lea esi, [ebp - 0x30]
mov ebx, dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
test ecx, ecx
je 0x541d75
mov dword [ebp - 0x4c], ecx
jmp 0x541bf0
mov dword [ebp - 0x54], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x541c13
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], esi
add eax, 0xc
mov dword [esp], eax
call ebx
test al, al
mov eax, dword [ebp - 0x4c]
je 0x541be0
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x541bf0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x541d70
mov eax, dword [ebp - 0x54]
mov dword [esp], esi
add eax, 0xc
mov dword [esp + 4], eax
call ebx
mov ecx, dword [ebp - 0x54]
test al, al
lea ebx, [ecx + 0x10]
jne 0x541d70
mov eax, dword [ebp - 0x28]
cmp dword [ebx], eax
je 0x541a35
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
test edx, edx
je 0x541d11
cmp edx, 0xffffffff
je 0x541c5c
lock add dword [eax], 1
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx]
mov dword [ebp - 0x1c], edx
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x541c85
cmp edx, 0xffffffff
je 0x541a35
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1c]
jne 0x541a35
call fcn.0053d630
jmp 0x541a35
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005418e0
jmp 0x541a11
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], eax
jmp 0x541a1c
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 0x541cf0
cmp edx, 0xffffffff
je 0x5419e4
lock sub dword [eax], 1
jne 0x5419e4
nop
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 0x5419e4
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x1c]
mov dword [esp], ecx
mov ecx, eax
call fcn.0053d5b0
sub esp, 4
jmp 0x541c5c
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 0x541b36
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 0x541b55
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [sym.imp.Qt5Core.dll_QListData::shared_null]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax]
cmp edx, 1
jbe 0x541d95
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x30]
call fcn.0057d8b0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x541ef7
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], 0
lea esi, [ebp - 0x30]
mov ebx, dword [sym.imp.Qt5Core.dll_operator__QString_const__QString_const_]
mov edi, eax
jmp 0x541dd1
mov eax, dword [edi + 4]
mov dword [ebp - 0x4c], edi
mov edx, 1
test eax, eax
je 0x541df0
mov edi, eax
lea eax, [edi + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
call ebx
test al, al
je 0x541dc0
mov eax, dword [edi + 8]
xor edx, edx
jmp 0x541dcb
mov ecx, dword [ebp - 0x4c]
mov eax, edi
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
test ecx, ecx
je 0x541f33
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x55], dl
mov dword [esp], esi
add eax, 0xc
mov dword [esp + 4], eax
call ebx
test al, al
jne 0x541e75
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x24]
cmp dword [ecx + 0x10], eax
je 0x541e62
mov dword [ebp - 0x20], eax
mov edx, dword [eax]
test edx, edx
je 0x541f17
cmp edx, 0xffffffff
je 0x541e3a
lock add dword [eax], 1
mov ecx, dword [ebp - 0x4c]
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 0x541f0a
cmp edx, 0xffffffff
je 0x541e62
lock sub dword [eax], 1
je 0x541f0a
mov ebx, dword [ebp - 0x4c]
add ebx, 0x10
lea ecx, [ebp - 0x24]
call fcn.00595020
jmp 0x541c3b
mov eax, dword [ebp + 0xc]
movzx edx, byte [ebp - 0x55]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0xc], edx
lea esi, [ebp - 0x30]
mov dword [esp + 4], 4
mov dword [esp], 0x14
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 8], eax
call dword [method.QMapDataBase.createNode_int__int__QMapNodeBase__bool_]
sub esp, 0x10
mov esi, eax
add eax, 0xc
mov dword [ebp - 0x54], eax
je 0x541ec4
mov edx, dword [ebp - 0x30]
mov dword [esi + 0xc], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x541f2d
mov ebx, esi
add ebx, 0x10
je 0x541e68
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x10], eax
mov edx, dword [eax]
test edx, edx
je 0x541ee2
cmp edx, 0xffffffff
je 0x541e68
lock add dword [eax], 1
jmp 0x541e68
lea eax, [ebp - 0x24]
mov ecx, ebx
mov dword [esp], eax
call fcn.0053d5b0
sub esp, 4
jmp 0x541e68
mov eax, dword [ebp - 0x4c]
mov edx, 1
add eax, 8
mov dword [ebp - 0x54], eax
jmp 0x541e81
mov eax, dword [ebp - 0x20]
call fcn.0053d630
jmp 0x541e62
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov dword [esp], eax
call fcn.0053d5b0
sub esp, 4
jmp 0x541e3a
lock add dword [edx], 1
jmp 0x541ec4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
jmp 0x541e81