Function at 0x441b30
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9fa3
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x2c], ebx
test edi, edi
jne 0x441b7e
push 0x540fb0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
call sub.MSVCR120.dll__CxxThrowException
mov eax, dword [edi]
lea ecx, [ebp - 0x6c]
mov esi, dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_unsigned_int_]
push dword [eax + 0x18]
call esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Network.dll_public:_class_QString___thiscall_QHostAddress::toString_void_]
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push 0x5054a4
push eax
call fcn.0041abe0
push 0x50688c
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.0040f700
add esp, 0x18
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_]
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], 0
push eax
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call sub.NETAPI32.dll_NetShareEnum
mov dword [ebp - 0x48], eax
mov ecx, edi
lea eax, [ebp - 0x40]
push eax
call fcn.00423840
or ebx, 1
mov byte [ebp - 4], 9
mov ecx, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
jne 0x441cb3
mov eax, dword [edi]
lea ecx, [ebp - 0x64]
push dword [eax + 0x18]
call esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xa
push ecx
or ebx, 2
mov ecx, eax
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.Qt5Network.dll_public:_class_QString___thiscall_QHostAddress::toString_void_]
mov esi, eax
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
or ebx, 4
call fcn.00423840
or ebx, 8
mov dword [ebp - 4], 0xc
push esi
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
add esp, 8
mov byte [ebp - 0x35], 0
test al, al
je 0x441cb7
mov byte [ebp - 0x35], 1
mov dword [ebp - 4], 0xb
test bl, 8
je 0x441cd5
and ebx, 0xfffffff7
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 0xa
test bl, 4
je 0x441cf3
and ebx, 0xfffffffb
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 9
test bl, 2
je 0x441d11
and ebx, 0xfffffffd
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_]
mov dword [ebp - 4], 8
test bl, 1
je 0x441d2c
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [ebp - 0x35], 0
je 0x441e25
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0x64
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call sub.NETAPI32.dll_NetWkstaGetInfo
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x441e25
push 0xffffffffffffffff
push dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
call fcn.0043c570
add esp, 0xc
mov eax, dword [edi]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x441d84
cmp dword [eax], 1
je 0x441d84
mov ecx, edi
call fcn.0041ba10
mov ecx, dword [edi]
lea eax, [ebp - 0x50]
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
add ecx, 0x38
push eax
call esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.00423840
mov eax, dword [edi]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x441dc3
cmp dword [eax], 1
je 0x441dc3
mov ecx, edi
call fcn.0041ba10
mov ecx, dword [edi]
lea eax, [ebp - 0x5c]
push eax
add ecx, 0x4c
call esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
push dword [eax + 8]
lea eax, [ebp - 0x4c]
push eax
call fcn.0043c570
add esp, 0xc
mov eax, dword [edi]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x441e05
cmp dword [eax], 1
je 0x441e05
mov ecx, edi
call fcn.0041ba10
mov ecx, dword [edi]
lea eax, [ebp - 0x4c]
push eax
add ecx, 0x50
call esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push dword [ebp - 0x2c]
call sub.NETAPI32.dll_NetApiBufferFree
mov esi, dword [ebp - 0x48]
cmp esi, 5
jne 0x441e6d
lea ecx, [ebp + 8]
call fcn.004419e0
test al, al
je 0x441f97
push 0x505a70
lea ecx, [ebp - 0x58]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x18]
call fcn.00404520
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x441f97
test esi, esi
je 0x441e7d
cmp esi, 0xea
jne 0x441f97
mov esi, dword [ebp - 0x30]
xor edi, edi
cmp dword [ebp - 0x20], edi
jbe 0x441f91
jmp 0x441e90
push 0xffffffffffffffff
push dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.0043c570
add esp, 0xc
push 0x507eec
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x11
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push 1
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::endsWith_class_QString_const___enum_Qt::CaseSensitivity_const]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x11
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x441f5f
push 0
lea ecx, [ebp - 0x84]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_bool_]
push str.scan_admin_shares
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ecx + 8]
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
mov ecx, eax
mov byte [ebp - 4], 0x15
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QVariant::toBool_void_const]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x14
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x11
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
test bl, bl
je 0x441f74
jmp 0x441f68
test byte [esi + 4], 1
lea ecx, [ebp - 0x1c]
jne 0x441f6b
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.00404520
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
inc edi
add esi, 0xc
cmp edi, dword [ebp - 0x20]
jb 0x441e90
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x441fa4
push eax
call sub.NETAPI32.dll_NetApiBufferFree
cmp esi, 0xea
mov esi, dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_unsigned_int_]
je 0x441c00
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403860
mov eax, dword [edi]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x441fd8
cmp dword [eax], 1
je 0x441fd8
mov ecx, edi
call fcn.0041ba10
mov esi, dword [edi]
mov ebx, dword [ebp - 0x34]
cmp dword [esi + 0x44], ebx
je 0x44200c
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.00403860
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x44], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00403910
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebx]
or esi, 0xffffffff
mov byte [ebp - 4], 8
test ecx, ecx
je 0x44202d
cmp ecx, esi
je 0x44206f
mov eax, esi
lock xadd dword [ebx], eax
setne al
test al, al
jne 0x44206f
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx + 0xc]
add eax, 4
lea esi, [ebx + eax*4]
mov eax, dword [ebx + 8]
add eax, 4
lea eax, [ebx + eax*4]
mov dword [ebp - 0x40], eax
cmp eax, esi
je 0x442062
mov edi, eax
jmp 0x442050
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x442050
mov edi, dword [ebp - 0x44]
push ebx
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
or esi, 0xffffffff
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403860
mov eax, dword [edi]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x442091
cmp dword [eax], 1
je 0x442091
mov ecx, edi
call fcn.0041ba10
mov ebx, dword [edi]
mov edi, dword [ebp - 0x34]
cmp dword [ebx + 0x48], edi
je 0x4420c5
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.00403860
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x48], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00403910
mov edi, dword [ebp - 0x34]
mov eax, dword [edi]
mov byte [ebp - 4], 8
test eax, eax
je 0x4420e4
cmp eax, 0xffffffff
je 0x442119
mov eax, esi
lock xadd dword [edi], eax
setne al
test al, al
jne 0x442119
mov edi, dword [ebp - 0x34]
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 8]
add esi, 4
add ebx, 4
lea esi, [edi + esi*4]
lea ebx, [edi + ebx*4]
cmp ebx, esi
je 0x44210f
lea ebx, [ebx]
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, ebx
jne 0x442100
push edi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
mov eax, dword [edi]
test eax, eax
je 0x44213d
or esi, 0xffffffff
cmp eax, esi
je 0x44216f
mov eax, esi
lock xadd dword [edi], eax
setne al
test al, al
jne 0x44216f
mov edi, dword [ebp - 0x1c]
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 8]
add esi, 4
add ebx, 4
lea esi, [edi + esi*4]
lea ebx, [edi + ebx*4]
cmp ebx, esi
je 0x442162
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, ebx
jne 0x442153
push edi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
or esi, 0xffffffff
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 6
mov eax, dword [edi]
test eax, eax
je 0x442190
cmp eax, 0xffffffff
je 0x4421c9
lock xadd dword [edi], esi
dec esi
setne al
test al, al
jne 0x4421c9
mov edi, dword [ebp - 0x18]
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 8]
add esi, 4
add ebx, 4
lea esi, [edi + esi*4]
lea ebx, [edi + ebx*4]
cmp ebx, esi
je 0x4421bf
jmp 0x4421b0
sub esi, 4
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, ebx
jne 0x4421b0
push edi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret