Function at 0x1007bfa
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x100e324]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x234], eax
push esi
xor esi, esi
xor eax, eax
mov word [ebp - 0x204], ax
push edi
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], esi
xor ebx, ebx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x228], esi
call fcn.010077bc
mov dword [ebp - 0x20c], eax
cmp eax, esi
jne 0x1008124
cmp dword [ebp - 0x21c], esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0xff
jne 0x1007cb6
push edi
lea eax, [ebp - 0x204]
push eax
push 0x2328
push dword [0x100e874]
call esi
lea eax, [ebp - 0x204]
push eax
push 3
call fcn.01004bfe
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x21c], eax
jbe 0x100811c
mov ecx, dword [ebp - 0x224]
mov ebx, dword [ecx + eax*4]
test ebx, ebx
je 0x10080ef
push edi
lea eax, [ebp - 0x204]
push eax
push 0x238c
push dword [0x100e874]
call esi
push dword [ebx]
lea eax, [ebp - 0x204]
push eax
push 7
call fcn.01004bfe
mov eax, dword [ebx + 4]
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x220], edx
cmp eax, edx
je 0x1007ded
mov ecx, dword [ebx + 8]
cmp ecx, edx
je 0x1007ded
cmp dword [ebx + 0xc], edx
je 0x1007ded
push edx
push ecx
push 0x10031f0
push eax
call fcn.01005ce4
and dword [ebp - 0x244], 0
add esp, 0x10
push 0x20a
push 0x1003164
mov dword [ebp - 0x250], 1
push dword [ebx]
mov dword [ebp - 0x208], eax
call fcn.01005c7f
xor ecx, ecx
push ecx
push dword [ebp - 0x208]
mov dword [ebp - 0x240], eax
cmp eax, ecx
je 0x100820d
mov dword [ebp - 0x238], ecx
push dword [ebx + 0xc]
lea eax, [ebp - 0x254]
push eax
call sub.MPR.dll_WNetAddConnection2W
push 0
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], eax
call fcn.01005b7d
push 0
push dword [ebp - 0x240]
call fcn.01005b7d
cmp dword [ebp - 0x20c], 0
push edi
lea eax, [ebp - 0x204]
push eax
jne 0x1007e45
push 0x23f0
push dword [0x100e874]
call esi
push dword [ebx]
lea eax, [ebp - 0x204]
push eax
push 7
call fcn.01004bfe
add esp, 0xc
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x214]
push eax
push dword [ebx]
lea eax, [ebp - 0x210]
call fcn.0100724f
mov dword [ebp - 0x20c], eax
push edi
test eax, eax
jne 0x100805d
cmp dword [ebp - 0x210], 0
lea eax, [ebp - 0x204]
push eax
jne 0x1007e70
push 0x24b8
push dword [0x100e874]
call esi
push dword [ebx]
lea eax, [ebp - 0x204]
push eax
push 3
call fcn.01004bfe
add esp, 0xc
jmp 0x10080d4
push 0x2454
push dword [0x100e874]
call esi
push dword [ebx]
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
push 9
call fcn.01004ca7
add esp, 0x10
jmp 0x10080ef
push 0x251c
push dword [0x100e874]
call esi
push dword [ebx]
lea eax, [ebp - 0x204]
push dword [ebp - 0x210]
push eax
push 7
call fcn.01004bfe
add esp, 0x10
push edi
lea eax, [ebp - 0x204]
push eax
push 0x2580
push dword [0x100e874]
call esi
and dword [ebp - 0x208], 0
cmp dword [ebp - 0x210], 0
jbe 0x1007eef
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x208]
push dword [eax + ecx*4]
lea eax, [ebp - 0x204]
push eax
push 7
call fcn.01004bfe
add esp, 0xc
inc dword [ebp - 0x208]
mov eax, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x210]
jb 0x1007ebb
xor eax, eax
cmp dword [ebp + 8], eax
je 0x1007ffb
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x210], eax
jbe 0x1007ffb
push edi
lea eax, [ebp - 0x204]
push eax
push 0x25e4
push dword [0x100e874]
call esi
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x208]
push dword [eax + ecx*4]
lea eax, [ebp - 0x204]
push eax
push 7
call fcn.01004bfe
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x208]
mov ecx, dword [eax + ecx*4]
add esp, 0xc
push 0
lea edx, [ebp - 0x230]
call fcn.01005f50
mov ecx, dword [ebp - 0x230]
or dword [ebp - 0x22c], ecx
mov dword [ebp - 0x20c], eax
test eax, eax
push edi
lea eax, [ebp - 0x204]
push eax
jne 0x1007fb0
push 0x2648
push dword [0x100e874]
call esi
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x208]
push dword [eax + ecx*4]
lea eax, [ebp - 0x204]
push eax
push 6
call fcn.01004bfe
add esp, 0xc
inc dword [ebp - 0x228]
jmp 0x1007fe3
push 0x26ac
push dword [0x100e874]
call esi
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x208]
push dword [eax + ecx*4]
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
push 9
call fcn.01004ca7
add esp, 0x10
inc dword [ebp - 0x208]
mov eax, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x210]
jb 0x1007f0c
and dword [ebp - 0x208], 0
cmp dword [ebp - 0x210], 0
jbe 0x1008040
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x208]
push 0
push dword [eax + ecx*4]
call fcn.01005b7d
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x214]
and dword [ecx + eax*4], 0
inc eax
mov dword [ebp - 0x208], eax
cmp eax, dword [ebp - 0x210]
jb 0x100800b
push 0
push dword [ebp - 0x214]
call fcn.01005b7d
and dword [ebp - 0x214], 0
and dword [ebp - 0x210], 0
jmp 0x10080d4
cmp eax, 0x35
jne 0x1008083
lea eax, [ebp - 0x204]
push eax
push 0x2710
push dword [0x100e874]
call esi
push dword [ebx]
lea eax, [ebp - 0x204]
push eax
push 0x35
jmp 0x10080ca
cmp eax, 0x6fd
lea eax, [ebp - 0x204]
push eax
jne 0x10080ae
push 0x2774
push dword [0x100e874]
call esi
push dword [ebx]
lea eax, [ebp - 0x204]
push eax
push 0x6fd
jmp 0x10080ca
push 0x27d8
push dword [0x100e874]
call esi
push dword [ebx]
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
push 4
call fcn.01004ca7
add esp, 0x10
cmp dword [ebp - 0x220], 0
je 0x10080ef
push 1
push 0
push dword [ebx]
call sub.MPR.dll_WNetCancelConnection2W
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x218]
inc eax
mov dword [ebp - 0x218], eax
cmp eax, dword [ebp - 0x21c]
jb 0x1007cca
xor eax, eax
mov dword [ebp - 0x20c], 0xbc2
cmp dword [ebp - 0x22c], eax
jne 0x1008122
mov dword [ebp - 0x20c], eax
xor esi, esi
mov eax, dword [ebp - 0x21c]
cmp dword [ebp - 0x218], eax
jae 0x100814d
cmp ebx, esi
je 0x100814d
mov ebx, dword [ebx]
cmp ebx, esi
je 0x100814d
cmp dword [ebp - 0x220], esi
je 0x100814d
push 1
push esi
push ebx
call sub.MPR.dll_WNetCancelConnection2W
cmp dword [ebp - 0x224], esi
je 0x10081e4
mov dword [ebp - 0x218], esi
cmp dword [ebp - 0x21c], esi
jbe 0x10081d8
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x218]
lea ebx, [eax + ecx*4]
mov edi, dword [ebx]
mov eax, dword [edi]
cmp eax, esi
je 0x1008187
push esi
push eax
call fcn.01005b7d
mov dword [edi], esi
mov eax, dword [edi + 4]
cmp eax, esi
je 0x1008198
push esi
push eax
call fcn.01005b7d
mov dword [edi + 4], esi
mov eax, dword [edi + 8]
cmp eax, esi
je 0x10081a9
push esi
push eax
call fcn.01005b7d
mov dword [edi + 8], esi
mov eax, dword [edi + 0xc]
cmp eax, esi
je 0x10081ba
push esi
push eax
call fcn.01005b7d
mov dword [edi + 0xc], esi
push esi
push dword [ebx]
call fcn.01005b7d
inc dword [ebp - 0x218]
mov eax, dword [ebp - 0x218]
mov dword [ebx], esi
cmp eax, dword [ebp - 0x21c]
jb 0x1008167
push esi
push dword [ebp - 0x224]
call fcn.01005b7d
mov eax, dword [ebp - 0x234]
pop edi
cmp eax, esi
pop esi
pop ebx
je 0x10081f9
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20c]
xor ecx, ebp
call fcn.01008d3f
leave
ret 8
mov dword [ebp - 0x20c], 8
call fcn.01005b7d
jmp 0x1008122