Function at 0x7f2f4161
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 0x7f2f418b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.MPR.dll_WNetAddConnection2W
jmp 0x7f2f44a7
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 0x7f2f420e
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 0x7f2f41e6
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f41e6
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0x10], esp
jmp 0x7f2f41ea
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x7f2f4217
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 0x7f2f4211
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x7f2f4227
cmp dword [ebx + 0x10], 0
je 0x7f2f4227
mov eax, 0x4b8
jmp 0x7f2f44a7
mov eax, dword [ebx + 0x14]
cmp eax, 0xffff
jbe 0x7f2f4294
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 0x7f2f426c
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f426c
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0xc], esp
jmp 0x7f2f4270
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x7f2f429d
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 0x7f2f4297
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7f2f42a7
cmp dword [ebx + 0x14], 0
jne 0x7f2f421d
mov eax, dword [ebx + 0x18]
cmp eax, 0xffff
jbe 0x7f2f4314
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 0x7f2f42ec
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f42ec
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 8], esp
jmp 0x7f2f42f0
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x7f2f431d
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 0x7f2f4317
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7f2f4327
cmp dword [ebx + 0x18], 0
jne 0x7f2f421d
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffff
jbe 0x7f2f4394
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 0x7f2f436c
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f436c
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 4], esp
jmp 0x7f2f4370
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x7f2f439d
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 0x7f2f4397
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x7f2f43a7
cmp dword [ebx + 0x1c], 0
jne 0x7f2f421d
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xffff
jbe 0x7f2f4413
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 0x7f2f43ed
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f43ed
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp + 8], esp
jmp 0x7f2f43f1
and dword [ebp + 8], 0
cmp dword [ebp + 8], 0
je 0x7f2f441c
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push dword [ebp + 8]
push edi
push ebx
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f4416
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0
jne 0x7f2f4424
test ebx, ebx
jne 0x7f2f421d
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffff
jbe 0x7f2f4489
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 0x7f2f4469
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f4469
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2f446b
xor ebx, ebx
test ebx, ebx
je 0x7f2f448d
imul esi, edi
xor eax, eax
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0xc]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x7f2f4497
cmp dword [ebp + 0xc], 0
jne 0x7f2f421d
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