Function at 0x26876679
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4028
call fcn.268eb500
mov ecx, dword [0x2692af68]
push ebx
xor ebx, ebx
cmp ecx, ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ebx
je 0x268766c1
mov eax, dword [esi + 4]
mov eax, dword [eax]
cmp eax, ebx
jne 0x268766a8
xor eax, eax
jmp 0x268766b7
mov ecx, dword [eax]
push eax
call dword [ecx + 0x354]
mov ecx, dword [0x2692af68]
push dword [ebp + 0x10]
mov edx, dword [ecx]
push 0x15
push eax
call dword [edx]
cmp dword [ebp + 0x14], ebx
jne 0x268766d9
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call sub.MPR.dll_WNetAddConnectionW
mov dword [ebp - 4], eax
jmp 0x2687674d
mov esi, dword [ebp + 0xc]
push esi
call fcn.268dfb03
push dword [ebp + 0x10]
mov dword [ebp - 8], eax
call fcn.268dfb03
cmp esi, ebx
mov edi, eax
mov dword [ebp - 0x24], ebx
je 0x26876703
cmp word [esi], bx
je 0x26876703
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
jmp 0x26876706
mov dword [ebp - 0x18], ebx
push ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x28]
push dword [ebp + 0x18]
mov dword [ebp - 0x14], edi
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 0x268f1584
call sub.MPR.dll_WNetAddConnection2W
push dword [ebp - 8]
mov esi, dword [sym.imp.MSVCRT.dll_free]
mov dword [ebp - 4], eax
call esi
push edi
call esi
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
pop ecx
pop ecx
cmp eax, ebx
jne 0x26876758
xor eax, eax
jmp 0x26876944
mov ecx, 0x4b0
cmp eax, ecx
ja 0x2687681b
je 0x268767fe
mov ecx, eax
sub ecx, 5
je 0x268767e5
sub ecx, 0x30
je 0x268767c8
sub ecx, 0xd
je 0x268767a8
dec ecx
je 0x268767c8
sub ecx, 0x12
je 0x2687692b
dec ecx
jne 0x26876848
push 0x1395e
push esi
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
push 0xd
jmp 0x26876943
push dword [ebp + 0xc]
mov ebx, 0x268f3f58
push dword [ebp + 0x10]
push 0x1395b
push esi
call fcn.268c708f
add esp, 0x10
push 4
jmp 0x26876943
push dword [ebp + 0x10]
mov ebx, 0x268f3f58
push 0x1395d
push esi
call fcn.268c708f
add esp, 0xc
push 0xb
jmp 0x26876943
push 0x13959
push esi
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
push 0xe
jmp 0x26876943
push dword [ebp + 0xc]
mov ebx, 0x268f3f58
push 0x1395c
push esi
call fcn.268c708f
add esp, 0xc
push 0xc
jmp 0x26876943
mov ecx, eax
sub ecx, 0x4b2
je 0x2687692b
dec ecx
je 0x26876915
dec ecx
dec ecx
je 0x268768fb
dec ecx
je 0x268768e1
sub ecx, 0x10
je 0x268768cb
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
mov esi, eax
push ebx
mov eax, edi
call fcn.268e72f2
mov eax, 0x1000
push eax
lea ecx, [ebp - 0x4028]
push ecx
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 4]
push eax
call sub.MPR.dll_WNetGetLastErrorW
test eax, eax
jne 0x268768b3
cmp word [ebp - 0x2028], bx
jne 0x2687688e
cmp word [ebp - 0x4028], bx
je 0x268768b3
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x4028]
push eax
push 0x13957
push dword [ebp + 8]
mov ebx, 0x268f3f58
call fcn.268c708f
add esp, 0x10
jmp 0x268768c7
push 0x13958
push dword [ebp + 8]
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
push 0xa
jmp 0x26876943
push 0x13960
push esi
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
push 9
jmp 0x26876943
push dword [ebp + 0xc]
mov ebx, 0x268f3f58
push 0x13953
push esi
call fcn.268c708f
add esp, 0xc
push 5
jmp 0x26876943
push dword [ebp + 0xc]
mov ebx, 0x268f3f58
push 0x13954
push esi
call fcn.268c708f
add esp, 0xc
push 6
jmp 0x26876943
push 0x1395f
push esi
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
push 8
jmp 0x26876943
push dword [ebp + 0xc]
mov ebx, 0x268f3f58
push 0x1395a
push esi
call fcn.268c708f
add esp, 0xc
push 7
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x14