Function at 0x7f2f2f64
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x7f307acc], 0
push ebx
push esi
push edi
je 0x7f2f2f8f
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.MPR.dll_WNetAddConnection3W
jmp 0x7f2f32ae
mov ebx, dword [ebp + 0xc]
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x10]
cmp eax, 0xffff
mov esi, ebx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jbe 0x7f2f3012
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f2fea
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f2fea
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 0x10], esp
jmp 0x7f2f2fee
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x7f2f301b
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push dword [ebp - 0x10]
push edi
push dword [ebx + 0x10]
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f3015
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x7f2f302b
cmp dword [ebx + 0x10], 0
je 0x7f2f302b
mov eax, 0x4b8
jmp 0x7f2f32ae
mov eax, dword [ebx + 0x14]
cmp eax, 0xffff
jbe 0x7f2f3098
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f3070
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f3070
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 0xc], esp
jmp 0x7f2f3074
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x7f2f30a1
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push dword [ebp - 0xc]
push edi
push dword [ebx + 0x14]
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f309b
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7f2f30ab
cmp dword [ebx + 0x14], 0
jne 0x7f2f3021
mov eax, dword [ebx + 0x18]
cmp eax, 0xffff
jbe 0x7f2f3118
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f30f0
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f30f0
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 8], esp
jmp 0x7f2f30f4
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x7f2f3121
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push dword [ebp - 8]
push edi
push dword [ebx + 0x18]
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f311b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7f2f312b
cmp dword [ebx + 0x18], 0
jne 0x7f2f3021
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffff
jbe 0x7f2f3198
push eax
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f3170
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f3170
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 4], esp
jmp 0x7f2f3174
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x7f2f31a1
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push dword [ebp - 4]
push edi
push dword [ebx + 0x1c]
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f319b
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x7f2f31ab
cmp dword [ebx + 0x1c], 0
jne 0x7f2f3021
mov ebx, dword [ebp + 0x14]
cmp ebx, 0xffff
jbe 0x7f2f3217
push ebx
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f31f1
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f31f1
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp + 0xc], esp
jmp 0x7f2f31f5
and dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x7f2f3220
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push dword [ebp + 0xc]
push edi
push ebx
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f321a
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0xc], 0
jne 0x7f2f3228
test ebx, ebx
jne 0x7f2f3021
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xffff
jbe 0x7f2f328d
push ebx
call fcn.7f2da99a
mov edi, eax
mov eax, dword [0x7f307088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d53a1
test eax, eax
mov esi, dword [0x7f307088]
je 0x7f2f326d
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f326d
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov ebx, esp
jmp 0x7f2f326f
xor ebx, ebx
test ebx, ebx
je 0x7f2f3291
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0x10]
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x7f2f329b
cmp dword [ebp + 0x10], 0
jne 0x7f2f3021
push dword [ebp + 0x18]
lea eax, [ebp - 0x20]
push dword [ebp + 0xc]
push ebx
push eax
push dword [ebp + 8]
call sub.MPR.dll_WNetAddConnection3A
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
leave
ret 0x14