Function at 0x489f25
Capabilities:
Connect network resource

Disassembly:
push 0xbc
mov eax, 0x49ba60
call fcn.0045cda0
mov esi, ecx
mov dword [ebp - 0x30], esi
push 0x20
lea eax, [esi + 0xa0]
mov dword [ebp - 0x10], 0x1f4
xor ebx, ebx
mov dword [ebp - 0x2c], eax
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x78]
push ebx
push 0xffffffffffffffff
push 0x4a8114
call fcn.00417813
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x20]
call fcn.00430033
cmp dword [eax + 0x14], 0x10
jb 0x489f7d
mov eax, dword [eax]
push ebx
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x28]
call fcn.00417813
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
lea eax, [ebp - 0x60]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.00434f0e
add esp, 0x10
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.00417bec
lea ecx, [ebp - 0x50]
call fcn.0041394e
lea ecx, [ebp - 0x58]
call fcn.0041394e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0041394e
lea ecx, [ebp - 0x20]
call fcn.0041394e
add edi, 0x3c
mov ecx, edi
call fcn.00430033
cmp dword [eax + 0x10], 0
jbe 0x48a0e6
push 0xffffffffffffffff
push 0x49fee0
lea ecx, [ebp - 0x78]
call fcn.00417e5a
mov ecx, edi
call fcn.00430033
mov ecx, edi
call fcn.00430033
push 0
mov ecx, eax
call fcn.00411cc9
xor ecx, ecx
cmp byte [eax], 0x2f
cmove ecx, ebx
mov dword [ebp + 8], ecx
mov ecx, edi
call fcn.00430033
cmp dword [eax + 0x14], 0x10
jb 0x48a028
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
push 0
push 0xffffffffffffffff
push eax
call fcn.00417813
push 0
push 0xffffffffffffffff
push 0x49f7d8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00417813
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0042079d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0041394e
lea ecx, [ebp - 0x20]
call fcn.0041394e
lea ecx, [ebp - 0xc8]
call fcn.00418bd8
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0xc4]
jae 0x48a0c7
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xc8]
call fcn.0045e020
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00434f0e
add esp, 0x10
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.00417bec
lea ecx, [ebp - 0x50]
call fcn.0041394e
lea ecx, [ebp - 0x58]
call fcn.0041394e
lea ecx, [ebp - 0xc8]
call fcn.0047aec6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.0041394e
lea ecx, [ebp - 0x40]
call fcn.0041394e
lea ecx, [ebp - 0x78]
mov dword [esi + 0xa4], ebx
call fcn.00418bd8
mov dword [esi + 0xb4], eax
xor esi, esi
mov dword [ebp + 8], esi
mov byte [ebp - 4], 8
cmp dword [0x4cdd04], esi
je 0x48a149
push 8
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x48a137
mov eax, dword [0x4cdd04]
mov ecx, eax
and dword [esi + 4], 0
mov dword [esi], eax
call fcn.0041a7e7
mov dword [esi + 4], ebx
jmp 0x48a139
xor esi, esi
push esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00411cc9
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x48a1b2
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.00413841
lea eax, [edi + 0x48]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x28]
call fcn.00413841
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.00418bd8
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.00418bd8
push 0
push edi
push eax
push dword [ebp - 0x2c]
call sub.MPR.dll_WNetAddConnection2W
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.0041394e
lea ecx, [ebp - 0x20]
call fcn.0041394e
lea ecx, [ebp - 0x38]
call fcn.0041394e
lea ecx, [ebp - 0x40]
call fcn.0041394e
jmp 0x48a1c2
push 0
push 0
push 0
push dword [ebp - 0x2c]
call sub.MPR.dll_WNetAddConnection2W
mov edi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x48a1d2
push ebx
mov ecx, esi
call fcn.00411cc9
test edi, edi
je 0x48a1de
cmp edi, 0x4c3
jne 0x48a1e0
xor ebx, ebx
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x98], ebx
test ebx, ebx
jne 0x48a1f9
mov dword [ebp - 0x10], 0xc8
jmp 0x48a2d8
cmp edi, 5
je 0x48a22d
cmp edi, 0x1f
je 0x48a2f4
cmp edi, 0x35
je 0x48a2f4
cmp edi, 0x56
je 0x48a22d
cmp edi, 0x1e7
je 0x48a2f4
cmp edi, 0x52e
jne 0x48a2d8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0x191
test esi, esi
je 0x48a2d8
lea ecx, [ebp - 0x3c]
call fcn.00431f98
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
push eax
push esi
lea ecx, [ebp + 0xf]
call fcn.004335d5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00411cc9
push ebx
push 0xffffffffffffffff
push str.authinfo
lea ecx, [ebp - 0x60]
call fcn.00417813
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
lea eax, [ebp - 0x60]
push eax
add ecx, 0xac
call fcn.00411cc9
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00411cc9
lea ecx, [ebp - 0x50]
call fcn.0041394e
lea ecx, [ebp - 0x58]
call fcn.0041394e
lea ecx, [ebp - 0x18]
call fcn.0041394e
lea ecx, [ebp - 0x20]
call fcn.0041394e
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00431fa5
lea ecx, [ebp - 0x68]
call fcn.0041394e
lea ecx, [ebp - 0x70]
call fcn.0041394e
mov ax, word [ebp - 0x10]
call fcn.0045cd6e
ret 8
mov dword [ebp - 0x10], 0x194
jmp 0x48a2d8