Function at 0x402940
Capabilities:
Connect network resource

Disassembly:
sub esp, 0x608
mov dl, byte [0x41fa14]
push ebx
push ebp
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x99]
mov byte [esp + 0x98], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd9]
mov byte [esp + 0xd8], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x41e370]
mov dx, word [0x41e36c]
mov dword [esp + 0x158], eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x15c]
rep stosd dword es:[edi], eax
mov ecx, dword [str.12345]
lea edi, [esp + 0x19e]
mov dword [esp + 0x198], ecx
mov ecx, 0xe
mov word [esp + 0x19c], dx
mov dl, byte [0x41e364]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x41e35c]
mov ecx, 0xf
mov word [esp + 0x1d8], ax
xor eax, eax
lea edi, [esp + 0x1da]
rep stosd dword es:[edi], eax
mov ecx, dword [str.1234]
stosw word es:[edi], ax
mov dword [esp + 0x218], ecx
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x21d]
mov byte [esp + 0x21c], dl
mov dl, byte [0x41e35a]
rep stosd dword es:[edi], eax
mov cx, word [0x41e358]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [str.123456]
mov word [esp + 0x25c], cx
mov dword [esp + 0x258], eax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x25f]
mov byte [esp + 0x25e], dl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [0x41e350]
mov ecx, 0xf
mov dword [esp + 0x298], eax
xor eax, eax
lea edi, [esp + 0x29c]
rep stosd dword es:[edi], eax
mov ecx, dword [str.admin]
mov dx, word [0x41e34c]
mov dword [esp + 0x2d8], ecx
mov ecx, 0xe
lea edi, [esp + 0x2de]
mov word [esp + 0x2dc], dx
rep stosd dword es:[edi], eax
mov cx, word [0x41e344]
mov dl, byte [0x41e346]
stosw word es:[edi], ax
mov eax, dword [str.passwd]
mov word [esp + 0x31c], cx
mov dword [esp + 0x318], eax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x31f]
mov byte [esp + 0x31e], dl
mov dl, byte [0x41e33c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x41e338]
mov byte [esp + 0x418], 0
stosb byte es:[edi], al
mov eax, dword [str.password]
mov dword [esp + 0x35c], ecx
mov dword [esp + 0x358], eax
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x361]
mov byte [esp + 0x360], dl
mov edx, dword [str.super]
rep stosd dword es:[edi], eax
mov cl, byte [0x41e328]
mov ebx, dword [esp + 0x61c]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [str.pass]
mov byte [esp + 0x39c], cl
mov dword [esp + 0x398], eax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x39d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ax, word [0x41e330]
mov ecx, 0xe
mov word [esp + 0x3dc], ax
xor eax, eax
lea edi, [esp + 0x3de]
mov dword [esp + 0x3d8], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x419]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x3c]
push str._s_admin_
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x420]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x418]
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
mov esi, 0x41e0b4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x98]
push esi
push eax
call edi
lea ecx, [esp + 0xd8]
push esi
push ecx
call edi
lea edx, [esp + 0x118]
push esi
push edx
call edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0xd8]
push 0x41e304
push eax
call edi
lea ecx, [esp + 0x118]
push 0x41e370
push ecx
call edi
xor ebp, ebp
test ebp, ebp
mov ecx, 0x20
jne 0x402c74
push esi
xor eax, eax
mov edi, 0x41f990
push ebx
push str.__s:_checking:__s__null__._._.
push 0x41f990
rep stosd dword es:[edi], eax
call fcn.004041a1
add esp, 0x10
jmp 0x402c9b
mov edx, ebp
xor eax, eax
mov edi, 0x41f990
shl edx, 6
rep stosd dword es:[edi], eax
lea eax, [esp + edx + 0x58]
push eax
push esi
push ebx
push str.__s:_checking:__s__s_._._.
push 0x41f990
call fcn.004041a1
add esp, 0x14
mov ecx, dword [0x41f7e8]
push 0x41f990
push 0x3f5
call fcn.00411c71
mov ecx, ebp
xor edi, edi
shl ecx, 6
push edi
push esi
lea edx, [esp + ecx + 0x60]
lea eax, [esp + 0x40]
push edx
push eax
call sub.MPR.dll_WNetAddConnection2A
cmp eax, edi
je 0x402cef
cmp eax, 0x775
je 0x402dc4
cmp eax, 0x35
je 0x402dc4
inc ebp
cmp ebp, 0xf
jl 0x402c4c
jmp 0x402dc4
mov edx, dword [0x41f7e8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 5
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], ebx
mov eax, dword [edx + 0xf0]
push ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x1007
push eax
call edi
mov edx, dword [0x41f7e8]
mov ecx, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
mov eax, dword [edx + 0xf0]
push ecx
push 0
push 0x1006
push eax
call edi
test ebp, ebp
mov dword [esp + 0x18], 2
jne 0x402d8e
mov edx, dword [0x41f7e8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], str._null_
push ecx
mov eax, dword [edx + 0xf0]
push 0
push 0x1006
push eax
jmp 0x402db1
mov eax, dword [0x41f7e8]
lea edx, [esp + 0x10]
shl ebp, 6
push edx
push 0
lea ecx, [esp + ebp + 0x60]
push 0x1006
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0xf0]
push ecx
call edi
push 1
lea edx, [esp + 0x41c]
push 1
push edx
call sub.MPR.dll_WNetCancelConnection2A
add esi, 0x40
cmp esi, str.192.168.0.1
jl 0x402bff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x608
ret