Function at 0x41b6e0
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x10], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], 0x4000
push esi
test ebx, ebx
jne 0x41b717
push 0x104
push ebx
push 0x5810e8
mov byte [0x57ed3c], bl
call fcn.00440bf0
add esp, 0xc
push 0x3a98
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 1
push 2
call fcn.0041225c
add esp, 0x18
test eax, eax
jne 0x41b745
push dword [ebp - 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41b754
test ebx, ebx
je 0x41b9f8
xor eax, eax
jmp 0x41b9fd
mov ebx, dword [ebp - 0xc]
xor esi, esi
push edi
cmp dword [ebp + 0x20], 0
je 0x41b778
cmp dword [ebp + 0x18], 0
je 0x41b76d
push str._nStarting_New_Root_2:
jmp 0x41b772
push str._nStarting_New_Root:
call fcn.00424a86
pop ecx
push dword [ebp - 8]
push 0
push ebx
call fcn.00440bf0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call sub.MPR.dll_WNetEnumResourceA
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x41b9b3
xor esi, esi
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], eax
jle 0x41b75a
lea edi, [ebx + 0x14]
test esi, esi
jne 0x41b9c2
cmp dword [edi], esi
je 0x41b9a0
cmp dword [ebp + 0x20], esi
je 0x41b7e2
test byte [edi - 8], 2
push dword [edi]
je 0x41b7d3
push str._n_tContainer:__s
jmp 0x41b7d8
push str._n_tSearching:__s
call fcn.00424a86
mov eax, dword [ebp - 4]
pop ecx
pop ecx
cmp dword [ebp + 0x18], 0
jne 0x41b954
test byte [edi - 8], 2
je 0x41b9a0
mov esi, str.TAMS
push esi
push dword [edi]
call fcn.0042f0d8
pop ecx
pop ecx
test eax, eax
jne 0x41b910
push esi
push dword [edi]
call fcn.00440d50
pop ecx
pop ecx
test eax, eax
jne 0x41b910
cmp byte [0x57ed3c], al
je 0x41b906
push str.Solaris
push dword [edi + 4]
call fcn.0042f0d8
pop ecx
pop ecx
test eax, eax
je 0x41b906
push dword [edi]
call fcn.00420527
pop ecx
test eax, eax
je 0x41b906
push dword [edi]
call fcn.00420527
cmp dword [ebp + 0x1c], 0
mov esi, eax
pop ecx
je 0x41b88c
xor ecx, ecx
lea eax, [ebp - 0xc]
push eax
push ecx
push ecx
push ecx
push 1
push esi
mov dword [ebp - 0xc], ecx
call fcn.0041b2b9
add esp, 0x18
test eax, eax
je 0x41b88c
cmp dword [ebp - 0xc], 0
jle 0x41b88c
xor eax, eax
cmp dword [ebp - 0xc], 0xa
cmovne esi, eax
push esi
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x41b99d
cmp dword [ebp + 0xc], 0
je 0x41b99d
push dword [ebp + 0xc]
push esi
push 0x470358
push 0x5811f0
call fcn.00404d0d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x5811f0
push str._nAttempting_logon_to:___s____s:_s_...
call fcn.00424a86
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x5811f0
call fcn.0041ef07
add esp, 0x2c
test eax, eax
je 0x41b8f6
push 0x46ea20
call fcn.00424a86
pop ecx
xor esi, esi
jmp 0x41b99d
push str.SUCCESS.
call fcn.00424a86
pop ecx
jmp 0x41b99d
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
jmp 0x41b986
cmp dword [ebp + 0x20], 0
je 0x41b921
push str._n_n_t_t_____________Entering_TAMS_Container______________
call fcn.00424a86
pop ecx
cmp byte [0x57ed3c], 0
lea eax, [edi - 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
jne 0x41b993
mov byte [0x57ed3c], 1
call fcn.0041b6e0
mov byte [0x57ed3c], 0
jmp 0x41b998
push str.Solaris
push dword [edi + 4]
call fcn.0042f0d8
pop ecx
pop ecx
test eax, eax
je 0x41b977
push dword [edi]
call fcn.00420527
pop ecx
test eax, eax
jne 0x41b852
test byte [edi - 8], 2
je 0x41b99d
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
lea eax, [edi - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0041b6e0
add esp, 0x1c
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
add edi, 0x20
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x10]
jl 0x41b7af
mov eax, dword [ebp - 0x18]
cmp eax, 0x103
je 0x41b9c2
test esi, esi
je 0x41b75a
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
call sub.MPR.dll_WNetCloseEnum
cmp dword [ebp + 8], 0
pop edi
je 0x41b9dc
mov eax, esi
jmp 0x41b9fd
push 0x5810e8
call fcn.0042d261
pop ecx
test esi, esi
je 0x41b9f8
push esi
push 0x5810e8
call fcn.0044a360
pop ecx
pop ecx
mov eax, 0x5810e8
pop esi
pop ebx
leave
ret