Function at 0x401e52
Capabilities:
Connect network resource
List user accounts

Disassembly:
push 0xffffffffffffffff
push 0x419a4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x938
mov al, byte [0x424078]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0x148], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x149]
rep stosd dword es:[edi], eax
lea ebp, [esi + 4]
lea ecx, [esp + 0x148]
stosw word es:[edi], ax
push ebp
xor ebx, ebx
push str._sipc_
push ecx
stosb byte es:[edi], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
call fcn.00406c3a
add esp, 0xc
lea eax, [esp + 0x28]
lea edx, [esp + 0x148]
mov dword [esp + 0x38], ebx
push ebx
push 0x424078
push 0x424078
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], edx
call sub.MPR.dll_WNetAddConnection2A
cmp eax, ebx
jne 0x402102
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x49]
mov byte [esp + 0x48], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebp
lea ecx, [esp + 0x4c]
push str.__s_:_Ipc_Null_session_succeed___n
push ecx
mov byte [esi + 0x44c], 1
stosb byte es:[edi], al
call fcn.00406c3a
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x424078
call fcn.0041563c
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x954], ebx
call fcn.0041570b
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x28], ebx
call fcn.00401500
push ebp
lea edx, [esp + 0x354]
push str._s
push edx
call fcn.00406c3a
lea eax, [esp + 0x35c]
push 0x200
lea ecx, [esp + 0x560]
push eax
push ecx
call fcn.00406cd0
add esp, 0x20
jmp 0x401f5f
xor ebx, ebx
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x400
push edx
push ebx
lea eax, [esp + 0x560]
push 1
push eax
call sub.NETAPI32.dll_NetUserEnum
mov ebx, eax
test ebx, ebx
je 0x401f9a
cmp ebx, 0xea
jne 0x4020a3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x402097
mov eax, dword [esp + 0x18]
xor ebp, ebp
test eax, eax
jbe 0x40208d
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0xc]
mov edx, dword [edi - 0xc]
mov eax, dword [esi + 0x458]
push edx
push 0x421f88
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [edi]
add esp, 0xc
cmp eax, 2
jne 0x401ff4
mov ecx, dword [esi + 0x458]
push 0x1f
add ecx, 0x40
push str.Admin
push ecx
call fcn.00406980
add esp, 0xc
cmp dword [edi], 1
jne 0x402012
mov edx, dword [esi + 0x458]
push 0x1f
add edx, 0x40
push str.User
push edx
call fcn.00406980
add esp, 0xc
cmp dword [edi], 0
jne 0x402030
mov eax, dword [esi + 0x458]
push 0x1f
add eax, 0x40
push str.Guest
push eax
call fcn.00406980
add esp, 0xc
mov ecx, dword [esi + 0x450]
inc ecx
mov eax, ecx
mov dword [esi + 0x450], ecx
cmp eax, 1
jne 0x402052
mov ecx, dword [esi + 0x458]
mov dword [esi + 0x454], ecx
jmp 0x402061
mov edx, dword [esi + 0x45c]
mov eax, dword [esi + 0x458]
mov dword [edx + 0x60], eax
mov ecx, dword [esi + 0x458]
push 0x64
mov dword [esi + 0x45c], ecx
call fcn.00406bae
add esp, 4
mov dword [esi + 0x458], eax
mov eax, dword [esp + 0x18]
inc ebp
add edi, 0x20
cmp ebp, eax
jb 0x401fbb
mov edx, dword [esp + 0x14]
push edx
call sub.NETAPI32.dll_NetApiBufferFree
cmp ebx, 0xea
je 0x401f5d
mov eax, dword [esi + 0x45c]
mov edi, 1
mov dword [eax + 0x60], 0
mov eax, dword [esi + 0x450]
cmp eax, edi
jge 0x4020c6
mov ecx, esi
call fcn.00402120
push edi
lea ecx, [esp + 0x14c]
push 0
push ecx
call sub.MPR.dll_WNetCancelConnection2A
cmp dword [esi + 0x450], edi
jl 0x4020e7
mov byte [esi + 0x444], 1
jmp 0x4020ee
mov byte [esi + 0x444], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x950], 0xffffffff
call fcn.00415612
mov ecx, dword [esp + 0x948]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x944
ret