Function at 0x429f79
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 0x429fb0
push 0x104
push ebx
push 0x5b6a30
mov byte [0x5b4684], bl
call fcn.00466ad0
add esp, 0xc
push 0x3a98
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 1
push 2
call fcn.00413011
add esp, 0x18
test eax, eax
jne 0x429fde
push dword [ebp - 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x429fed
test ebx, ebx
je 0x42a291
xor eax, eax
jmp 0x42a296
mov ebx, dword [ebp - 0xc]
xor esi, esi
push edi
cmp dword [ebp + 0x20], 0
je 0x42a011
cmp dword [ebp + 0x18], 0
je 0x42a006
push str._nStarting_New_Root_2:
jmp 0x42a00b
push str._nStarting_New_Root:
call fcn.004339b2
pop ecx
push dword [ebp - 8]
push 0
push ebx
call fcn.00466ad0
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 0x42a24c
xor esi, esi
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], eax
jle 0x429ff3
lea edi, [ebx + 0x14]
test esi, esi
jne 0x42a25b
cmp dword [edi], esi
je 0x42a239
cmp dword [ebp + 0x20], esi
je 0x42a07b
test byte [edi - 8], 2
push dword [edi]
je 0x42a06c
push str._n_tContainer:__s
jmp 0x42a071
push str._n_tSearching:__s
call fcn.004339b2
mov eax, dword [ebp - 4]
pop ecx
pop ecx
cmp dword [ebp + 0x18], 0
jne 0x42a1ed
test byte [edi - 8], 2
je 0x42a239
mov esi, str.TAMS
push esi
push dword [edi]
call fcn.004529d5
pop ecx
pop ecx
test eax, eax
jne 0x42a1a9
push esi
push dword [edi]
call fcn.00466c30
pop ecx
pop ecx
test eax, eax
jne 0x42a1a9
cmp byte [0x5b4684], al
je 0x42a19f
push str.Solaris
push dword [edi + 4]
call fcn.004529d5
pop ecx
pop ecx
test eax, eax
je 0x42a19f
push dword [edi]
call fcn.0042f24e
pop ecx
test eax, eax
je 0x42a19f
push dword [edi]
call fcn.0042f24e
cmp dword [ebp + 0x1c], 0
mov esi, eax
pop ecx
je 0x42a125
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.00429b52
add esp, 0x18
test eax, eax
je 0x42a125
cmp dword [ebp - 0xc], 0
jle 0x42a125
xor eax, eax
cmp dword [ebp - 0xc], 0xa
cmovne esi, eax
push esi
call fcn.00451684
pop ecx
test eax, eax
jne 0x42a236
cmp dword [ebp + 0xc], 0
je 0x42a236
push dword [ebp + 0xc]
push esi
push 0x49ecd0
push 0x5b6b38
call fcn.0040401c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x5b6b38
push str._nAttempting_logon_to:___s____s:_s_...
call fcn.004339b2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x5b6b38
call fcn.0042dc30
add esp, 0x2c
test eax, eax
je 0x42a18f
push 0x49d400
call fcn.004339b2
pop ecx
xor esi, esi
jmp 0x42a236
push str.SUCCESS.
call fcn.004339b2
pop ecx
jmp 0x42a236
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
jmp 0x42a21f
cmp dword [ebp + 0x20], 0
je 0x42a1ba
push str._n_n_t_t_____________Entering_TAMS_Container______________
call fcn.004339b2
pop ecx
cmp byte [0x5b4684], 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 0x42a22c
mov byte [0x5b4684], 1
call fcn.00429f79
mov byte [0x5b4684], 0
jmp 0x42a231
push str.Solaris
push dword [edi + 4]
call fcn.004529d5
pop ecx
pop ecx
test eax, eax
je 0x42a210
push dword [edi]
call fcn.0042f24e
pop ecx
test eax, eax
jne 0x42a0eb
test byte [edi - 8], 2
je 0x42a236
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.00429f79
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 0x42a048
mov eax, dword [ebp - 0x18]
cmp eax, 0x103
je 0x42a25b
test esi, esi
je 0x429ff3
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 0x42a275
mov eax, esi
jmp 0x42a296
push 0x5b6a30
call fcn.00450a50
pop ecx
test esi, esi
je 0x42a291
push esi
push 0x5b6a30
call fcn.00470240
pop ecx
pop ecx
mov eax, 0x5b6a30
pop esi
pop ebx
leave
ret