Function at 0x4b5300
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0x4000
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x4b5358
mov byte [0x8151a2], 0
push 0x104
push 0
push 0x8169a0
call fcn.005b02a0
add esp, 0xc
push 0x3a98
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 1
push 2
call fcn.0040290f
add esp, 0x18
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4b5395
cmp dword [ebp + 8], 0
jne 0x4b538e
mov eax, 0x8169a0
jmp 0x4b591f
xor eax, eax
jmp 0x4b591f
mov edx, dword [ebp - 0x14]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b53c3
cmp dword [ebp + 8], 0
jne 0x4b53bc
mov eax, 0x8169a0
jmp 0x4b591f
xor eax, eax
jmp 0x4b591f
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x20], 0
je 0x4b53f2
cmp dword [ebp + 0x18], 0
je 0x4b53e5
push str._nStarting_New_Root_2:
call fcn.004b5930
add esp, 4
jmp 0x4b53f2
push str._nStarting_New_Root:
call fcn.004b5930
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005b02a0
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.MPR.dll_WNetEnumResourceA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4b58be
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
jmp 0x4b543f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x1c]
jge 0x4b58be
cmp dword [ebp - 0x10], 0
jne 0x4b58be
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x14], 0
jne 0x4b5467
jmp 0x4b5436
cmp dword [ebp + 0x20], 0
je 0x4b54b7
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0xc]
and eax, 2
je 0x4b549c
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x14]
push eax
push str._n_tContainer:__s
call fcn.004b5930
add esp, 8
jmp 0x4b54b7
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x14]
push eax
push str._n_tSearching:__s
call fcn.004b5930
add esp, 8
cmp dword [ebp + 0x18], 0
jne 0x4b5748
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0xc]
and eax, 2
je 0x4b5743
push 0x69aa10
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x14]
push eax
call fcn.00401041
add esp, 8
test eax, eax
jne 0x4b5519
push 0x69aa18
mov ecx, dword [ebp - 8]
shl ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x14]
push eax
call fcn.005b0770
add esp, 8
test eax, eax
je 0x4b55a6
cmp dword [ebp + 0x20], 0
je 0x4b552c
push str._n_n_t_t_____________Entering_TAMS_Container______________
call fcn.004b5930
add esp, 4
movsx ecx, byte [0x8151a2]
test ecx, ecx
jne 0x4b5574
mov byte [0x8151a2], 1
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
shl edx, 5
add edx, dword [ebp - 0xc]
push edx
call fcn.004b5300
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov byte [0x8151a2], 0
jmp 0x4b55a1
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
shl eax, 5
add eax, dword [ebp - 0xc]
push eax
call fcn.004b5300
add esp, 0x1c
mov dword [ebp - 0x10], eax
jmp 0x4b5743
movsx ecx, byte [0x8151a2]
test ecx, ecx
je 0x4b5716
push 0x69aa58
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx + 0x18]
push ecx
call fcn.00401041
add esp, 8
test eax, eax
je 0x4b56e7
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx + 0x14]
push ecx
call fcn.00401131
add esp, 4
test eax, eax
je 0x4b56e7
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx + 0x14]
push ecx
call fcn.00401131
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0
je 0x4b565f
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0xa
xor edx, edx
je 0x4b562e
mov dword [ebp - 0x24], 0x11
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00402aea
add esp, 0x18
test eax, eax
je 0x4b565f
cmp dword [ebp - 0x20], 0
jle 0x4b565f
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x24]
je 0x4b565f
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00401389
add esp, 4
test eax, eax
jne 0x4b56e5
cmp dword [ebp + 0xc], 0
je 0x4b56e5
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x69aa60
push 0x816aa8
call fcn.005b6660
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x816aa8
push 0x69aa68
call fcn.004b5930
add esp, 0x10
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x816aa8
call fcn.0040143d
add esp, 0xc
test eax, eax
je 0x4b56d8
push 0x69aa90
call fcn.004b5930
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x4b56e5
push 0x69aa98
call fcn.004b5930
add esp, 4
jmp 0x4b5714
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
shl ecx, 5
add ecx, dword [ebp - 0xc]
push ecx
call fcn.004b5300
add esp, 0x1c
mov dword [ebp - 0x10], eax
jmp 0x4b5743
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
shl edx, 5
add edx, dword [ebp - 0xc]
push edx
call fcn.004b5300
add esp, 0x1c
mov dword [ebp - 0x10], eax
jmp 0x4b58b9
push str.Solaris
mov eax, dword [ebp - 8]
shl eax, 5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax + 0x18]
push edx
call fcn.00401041
add esp, 8
test eax, eax
je 0x4b587a
mov eax, dword [ebp - 8]
shl eax, 5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax + 0x14]
push edx
call fcn.00401131
add esp, 4
test eax, eax
je 0x4b587a
mov eax, dword [ebp - 8]
shl eax, 5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax + 0x14]
push edx
call fcn.00401131
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0
je 0x4b57f2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0xa
xor eax, eax
je 0x4b57c1
mov dword [ebp - 0x2c], 0x11
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.00402aea
add esp, 0x18
test eax, eax
je 0x4b57f2
cmp dword [ebp - 0x28], 0
jle 0x4b57f2
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
je 0x4b57f2
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00401389
add esp, 4
test eax, eax
jne 0x4b5878
cmp dword [ebp + 0xc], 0
je 0x4b5878
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x69aaac
push 0x816aa8
call fcn.005b6660
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x816aa8
push str._nAttempting_logon_to:___s____s:_s_...
call fcn.004b5930
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x816aa8
call fcn.0040143d
add esp, 0xc
test eax, eax
je 0x4b586b
push 0x69aadc
call fcn.004b5930
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x4b5878
push str.SUCCESS.
call fcn.004b5930
add esp, 4
jmp 0x4b58b9
mov edx, dword [ebp - 8]
shl edx, 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx + 0xc]
and ecx, 2
je 0x4b58b9
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
shl edx, 5
add edx, dword [ebp - 0xc]
push edx
call fcn.004b5300
add esp, 0x1c
mov dword [ebp - 0x10], eax
jmp 0x4b5436
cmp dword [ebp - 0x18], 0x103
je 0x4b58d1
cmp dword [ebp - 0x10], 0
je 0x4b53ca
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
push ecx
call sub.MPR.dll_WNetCloseEnum
cmp dword [ebp + 8], 0
je 0x4b58f6
mov eax, dword [ebp - 0x10]
jmp 0x4b591f
push 0x8169a0
call fcn.00402158
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x4b591a
mov edx, dword [ebp - 0x10]
push edx
push 0x8169a0
call fcn.005b4720
add esp, 8
mov eax, 0x8169a0
mov esp, ebp
pop ebp
ret