Function at 0x7f2f44b6
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x7f30bacc], 0
push ebx
push esi
push edi
je 0x7f2f44e3
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 0x7f2f4802
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 0x7f2f4566
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f453e
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f453e
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0x10], esp
jmp 0x7f2f4542
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x7f2f456f
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 [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f4569
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x7f2f457f
cmp dword [ebx + 0x10], 0
je 0x7f2f457f
mov eax, 0x4b8
jmp 0x7f2f4802
mov eax, dword [ebx + 0x14]
cmp eax, 0xffff
jbe 0x7f2f45ec
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f45c4
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f45c4
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0xc], esp
jmp 0x7f2f45c8
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x7f2f45f5
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 [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f45ef
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7f2f45ff
cmp dword [ebx + 0x14], 0
jne 0x7f2f4575
mov eax, dword [ebx + 0x18]
cmp eax, 0xffff
jbe 0x7f2f466c
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f4644
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f4644
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 8], esp
jmp 0x7f2f4648
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x7f2f4675
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 [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f466f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7f2f467f
cmp dword [ebx + 0x18], 0
jne 0x7f2f4575
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffff
jbe 0x7f2f46ec
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f46c4
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f46c4
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 4], esp
jmp 0x7f2f46c8
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x7f2f46f5
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 [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f46ef
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x7f2f46ff
cmp dword [ebx + 0x1c], 0
jne 0x7f2f4575
mov ebx, dword [ebp + 0x14]
cmp ebx, 0xffff
jbe 0x7f2f476b
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f4745
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f4745
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp + 0xc], esp
jmp 0x7f2f4749
and dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x7f2f4774
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push dword [ebp + 0xc]
push edi
push ebx
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f476e
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0xc], 0
jne 0x7f2f477c
test ebx, ebx
jne 0x7f2f4575
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xffff
jbe 0x7f2f47e1
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f47c1
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f47c1
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2f47c3
xor ebx, ebx
test ebx, ebx
je 0x7f2f47e5
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0x10]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x7f2f47ef
cmp dword [ebp + 0x10], 0
jne 0x7f2f4575
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