Function at 0x7f2f2c16
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x7f307acc], 0
push ebx
push esi
push edi
je 0x7f2f2c3e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.MPR.dll_WNetAddConnection2W
jmp 0x7f2f2f5a
mov ebx, dword [ebp + 8]
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 0x7f2f2cc1
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 0x7f2f2c99
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f2c99
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 0x10], esp
jmp 0x7f2f2c9d
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x7f2f2cca
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 0x7f2f2cc4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x7f2f2cda
cmp dword [ebx + 0x10], 0
je 0x7f2f2cda
mov eax, 0x4b8
jmp 0x7f2f2f5a
mov eax, dword [ebx + 0x14]
cmp eax, 0xffff
jbe 0x7f2f2d47
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 0x7f2f2d1f
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f2d1f
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 0xc], esp
jmp 0x7f2f2d23
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x7f2f2d50
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 0x7f2f2d4a
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7f2f2d5a
cmp dword [ebx + 0x14], 0
jne 0x7f2f2cd0
mov eax, dword [ebx + 0x18]
cmp eax, 0xffff
jbe 0x7f2f2dc7
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 0x7f2f2d9f
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f2d9f
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 8], esp
jmp 0x7f2f2da3
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x7f2f2dd0
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 0x7f2f2dca
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7f2f2dda
cmp dword [ebx + 0x18], 0
jne 0x7f2f2cd0
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffff
jbe 0x7f2f2e47
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 0x7f2f2e1f
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f2e1f
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp - 4], esp
jmp 0x7f2f2e23
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x7f2f2e50
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 0x7f2f2e4a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x7f2f2e5a
cmp dword [ebx + 0x1c], 0
jne 0x7f2f2cd0
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xffff
jbe 0x7f2f2ec6
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 0x7f2f2ea0
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f2ea0
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov dword [ebp + 8], esp
jmp 0x7f2f2ea4
and dword [ebp + 8], 0
cmp dword [ebp + 8], 0
je 0x7f2f2ecf
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push dword [ebp + 8]
push edi
push ebx
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f2ec9
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0
jne 0x7f2f2ed7
test ebx, ebx
jne 0x7f2f2cd0
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffff
jbe 0x7f2f2f3c
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 0x7f2f2f1c
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f2f1c
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fd060
mov ebx, esp
jmp 0x7f2f2f1e
xor ebx, ebx
test ebx, ebx
je 0x7f2f2f40
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0xc]
push eax
push dword [0x7f307ac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x7f2f2f4a
cmp dword [ebp + 0xc], 0
jne 0x7f2f2cd0
push dword [ebp + 0x14]
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push ebx
push eax
call sub.MPR.dll_WNetAddConnection2A
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
leave
ret 0x10