Function at 0x472a0f
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 0x18], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 8], 0x4000
mov esi, 0x7449c8
jne 0x472a48
push 0x104
push edi
push esi
mov byte [0x7431c1], 0
call fcn.00508d00
add esp, 0xc
push 0x3a98
lea eax, [ebp - 0x18]
push eax
push edi
push 0
push 1
push 2
call fcn.00402b94
add esp, 0x18
test eax, eax
je 0x472a73
mov eax, edi
neg eax
sbb eax, eax
not eax
and eax, esi
jmp 0x472d28
push dword [ebp - 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 4], eax
je 0x472a64
push ebx
xor edi, edi
mov ebx, 0x744ad0
cmp dword [ebp + 0x20], 0
je 0x472aab
cmp dword [ebp + 0x18], 0
je 0x472aa0
push str._nStarting_New_Root_2:
jmp 0x472aa5
push str._nStarting_New_Root:
call fcn.0046b763
pop ecx
push dword [ebp - 8]
push 0
push dword [ebp - 4]
call fcn.00508d00
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call sub.MPR.dll_WNetEnumResourceA
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x472cd1
xor edi, edi
and dword [ebp - 0x10], edi
cmp dword [ebp - 0x14], edi
jle 0x472a8d
mov esi, dword [ebp - 4]
add esi, 0x14
test edi, edi
jne 0x472cf1
mov eax, dword [esi]
test eax, eax
je 0x472cba
cmp dword [ebp + 0x20], edi
je 0x472b1a
test byte [esi - 8], 2
push eax
je 0x472b0e
push str._n_tContainer:__s
jmp 0x472b13
push str._n_tSearching:__s
call fcn.0046b763
pop ecx
pop ecx
cmp dword [ebp + 0x18], 0
jne 0x472c71
test byte [esi - 8], 2
je 0x472cba
mov edi, str.TAMS
push edi
push dword [esi]
call fcn.004020db
test eax, eax
pop ecx
pop ecx
jne 0x472c2d
push edi
push dword [esi]
call fcn.0050e4b0
test eax, eax
pop ecx
pop ecx
jne 0x472c2d
cmp byte [0x7431c1], al
je 0x472c23
push str.Solaris
push dword [esi + 4]
call fcn.004020db
test eax, eax
pop ecx
pop ecx
je 0x472c23
push dword [esi]
call fcn.004032bf
test eax, eax
pop ecx
je 0x472c23
push dword [esi]
call fcn.004032bf
mov edi, eax
xor eax, eax
cmp dword [ebp + 0x1c], eax
pop ecx
je 0x472bc2
lea ecx, [ebp - 0xc]
push ecx
push eax
push eax
push eax
push 1
push edi
mov dword [ebp - 0xc], eax
call fcn.00401b04
add esp, 0x18
test eax, eax
je 0x472bc2
cmp dword [ebp - 0xc], 0
jle 0x472bc2
cmp dword [ebp - 0xc], 0xa
je 0x472bc2
xor edi, edi
push edi
call fcn.004010dc
test eax, eax
pop ecx
jne 0x472cba
cmp dword [ebp + 0xc], eax
je 0x472cba
push dword [ebp + 0xc]
push edi
push 0x59ad44
push ebx
call fcn.0050dd60
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push str._nAttempting_logon_to:___s____s:_s_...
call fcn.0046b763
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.004022fc
add esp, 0x2c
test eax, eax
je 0x472ce4
push 0x5b7c3c
call fcn.0046b763
pop ecx
xor edi, edi
jmp 0x472cba
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
jmp 0x472ca3
xor edi, edi
cmp dword [ebp + 0x20], edi
je 0x472c3f
push str._n_n_t_t_____________Entering_TAMS_Container______________
call fcn.0046b763
pop ecx
cmp byte [0x7431c1], 0
push dword [ebp + 0x20]
lea eax, [esi - 0x14]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
jne 0x472cb0
mov byte [0x7431c1], 1
call fcn.00472a0f
mov byte [0x7431c1], 0
jmp 0x472cb5
push str.Solaris
push dword [esi + 4]
call fcn.004020db
test eax, eax
pop ecx
pop ecx
je 0x472c94
push dword [esi]
call fcn.004032bf
test eax, eax
pop ecx
jne 0x472b8a
test byte [esi - 8], 2
je 0x472cba
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
lea eax, [esi - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00472a0f
add esp, 0x1c
mov edi, eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add esi, 0x20
cmp eax, dword [ebp - 0x14]
jl 0x472ae9
mov esi, 0x7449c8
cmp dword [ebp - 0x1c], 0x103
je 0x472cf6
test edi, edi
je 0x472a8d
jmp 0x472cf6
push str.SUCCESS.
call fcn.0046b763
pop ecx
jmp 0x472cba
mov esi, 0x7449c8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x18]
call sub.MPR.dll_WNetCloseEnum
cmp dword [ebp + 8], 0
pop ebx
je 0x472d12
mov eax, edi
jmp 0x472d28
push esi
call fcn.00401ff5
test edi, edi
pop ecx
je 0x472d26
push edi
push esi
call fcn.0050d660
pop ecx
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret