Function at 0x44c3b1
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x5385d0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
cmp dword [ebp + 8], esi
mov word [esp + 0x20], si
lea edi, [esp + 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jbe 0x44c3fc
call fcn.004a6bcb
sub eax, dword [0x631a84]
cmp eax, dword [ebp + 8]
jae 0x44c3fc
xor eax, eax
jmp 0x44c7d3
call fcn.004a6bcb
mov dword [0x631a84], eax
call fcn.0044bfd6
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x1c], ebx
je 0x44c3f5
lea eax, [esp + 0x20]
push eax
call fcn.004a7863
pop ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 1
add ebx, 0x278
mov dword [esp + 0x18], 0x1a
movsx eax, byte [ebx - 0x278]
call fcn.0047ea3e
cmp eax, 0x61
jl 0x44c7ac
cmp eax, 0x7a
jg 0x44c7ac
mov edi, 0x81
push edi
lea esi, [ebx - 0x110]
push esi
lea eax, [ebx - 0x90]
lea ecx, [ebx - 0x274]
push eax
push ecx
call sub.MPR.dll_WNetAddConnection2A
cmp eax, 0x55
mov dword [esp + 0xc], eax
jne 0x44c4d5
test byte [ebp + 0xc], 1
je 0x44c4d5
push 0x2f9b
push 1
push dword [ebx - 0x264]
call fcn.0044bf43
test eax, eax
jne 0x44c4d5
push edi
push esi
lea edi, [ebx - 0x90]
push edi
lea eax, [ebx - 0x274]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
mov dword [esp + 0xc], eax
jne 0x44c5c4
mov eax, dword [ebx - 0x264]
push eax
push edi
push esi
push eax
push str.:2:RestoreLostNetworkDrives__:_WNetAddConnection2A__s__s__s__succeeded_after_WNetCancelConnection2___s__
call fcn.0041936e
add esp, 0x14
mov edi, str._GetLastError_
inc dword [ebx]
cmp dword [esp + 0xc], 0
je 0x44c619
mov esi, dword [ebx - 0x260]
and dword [esp + 0x10], 0
mov edx, esi
call fcn.0047ebaf
test eax, eax
jne 0x44c624
push 0x4fce20
push esi
call fcn.0047f83d
test eax, eax
pop ecx
pop ecx
je 0x44c624
push 0x103
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call fcn.004b7880
add esp, 0xc
push esi
mov esi, 0x104
mov ecx, esi
lea eax, [esp + 0x34]
call fcn.0047ebe1
pop ecx
push 0
push str._tamspos
push 0x4fce20
push esi
push eax
call fcn.004803aa
mov eax, dword [ebx - 0x260]
mov dword [esp + 0x20], eax
add esp, 0x14
lea eax, [esp + 0x30]
mov dword [ebx - 0x260], eax
push 0x81
lea eax, [ebx - 0x110]
push eax
lea eax, [ebx - 0x90]
push eax
lea eax, [ebx - 0x274]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x44c5f9
mov esi, dword [esp + 0xc]
push edi
push dword [ebx - 0x260]
mov ecx, esi
call fcn.0044d191
push eax
push ecx
mov ecx, dword [ebx - 0x264]
call fcn.0044d191
pop ecx
push eax
push str.:3:RestoreLostNetworkDrives___FAILED_to_map_alternate:__CurUser:_s__s_:___s_:__s
call fcn.0041936e
add esp, 0x14
mov dword [ebx - 0x260], esi
jmp 0x44c624
cmp eax, 0x55
je 0x44c4d5
push dword [esp + 0xc]
mov eax, dword [ebx - 0x264]
mov edi, str._GetLastError_
push edi
push eax
lea ecx, [ebx - 0x90]
push ecx
push esi
push eax
push str.:9:RestoreLostNetworkDrives__:_WNetAddConnection2A__s__s__s__CANT_REESTABLISH_after_WNetCancelConnection2___s_____:__s_ld
call fcn.00418e96
add esp, 0x1c
jmp 0x44c4da
push dword [ebx - 0x260]
mov eax, dword [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x14], 1
call fcn.0047ebe1
pop ecx
mov dword [ebx - 0x260], eax
cmp dword [esp + 0x10], 0
jne 0x44c751
mov eax, dword [ebx - 0x264]
push edi
push dword [ebx]
lea esi, [ebx - 0x10]
push 1
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], eax
movsd dword es:[edi], dword [esi]
call fcn.004a6475
mov ecx, dword [esp + 0x28]
add esp, 0x14
push eax
lea eax, [ebx - 0x90]
push eax
lea eax, [ebx - 0x110]
push eax
push ecx
push dword [ebx - 0x260]
push ecx
call fcn.0044d191
pop ecx
mov ecx, dword [ebx - 0x260]
push eax
call fcn.0044d191
push eax
push str.:3:RestoreLostNetworkDrives___could_not_reestablish_the_mapped_drive__CurUser:_s__s_:_WNetAddConnection2A___s_____s_____s_____s__:_TimeStamp__s_:_NumAttempts_d:_FAILED:__s
call fcn.0041936e
add esp, 0x28
test byte [ebp + 0xc], 2
je 0x44c6d6
push 0x81
xor edi, edi
push edi
push edi
lea esi, [ebx - 0x274]
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x44c6cb
push 0x80
push edi
push edi
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
jne 0x44c6b9
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL____NO_UPDATE_PROFILE_____reestablished_drive_temporarily_but_profile_COULD_NOT_BE_UPDATED_
jmp 0x44c6d0
push str._GetLastError_
push str.:9:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__FAILED_too:__s
call fcn.00418e96
pop ecx
jmp 0x44c6d5
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__reestablished_drive_temporarily_with_wrong_credentials.
call fcn.0041936e
pop ecx
sub esp, 0x10
mov edi, esp
lea esi, [ebx - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [esp + 0x40]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a62af
push eax
call fcn.004b6e24
add esp, 0x24
cmp eax, 0x48190800
jle 0x44c74b
mov eax, dword [ebx]
cmp eax, 0x19
jle 0x44c74b
push eax
push 1
sub esp, 0x10
lea esi, [ebx - 0x10]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a6475
add esp, 0x14
push eax
push dword [ebx - 0x260]
push str.:7:RestoreLostNetworkDrives___EAP:_the_entry___s__is_too_old__cannot_be_reestablished__and_so_is_being_discarded:_TimeStamp__s_:_NumAttempts_d
call fcn.0041936e
push 0x27c
lea eax, [ebx - 0x278]
push 0
push eax
call fcn.004b7880
add esp, 0x1c
jmp 0x44c7ac
inc dword [esp + 0x14]
jmp 0x44c7ac
push edi
push dword [ebx]
lea esi, [ebx - 0x10]
push 1
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a6475
add esp, 0x14
push eax
lea eax, [ebx - 0x90]
push eax
lea eax, [ebx - 0x110]
push eax
push dword [ebx - 0x264]
lea esi, [ebx - 0x278]
push dword [ebx - 0x260]
movsx eax, byte [esi]
push eax
push str.:2:RestoreLostNetworkDrives___successfully_reinstated_drive__c:_WNetAddConnection2A___s_____s_____s_____s__:_TimeStamp__s_:_NumAttempts_d:_SUCCEEDED:__s
call fcn.0041936e
add esp, 0x24
push 0x27c
push 0
push esi
call fcn.004b7880
add esp, 0xc
add ebx, 0x27c
dec dword [esp + 0x18]
jne 0x44c43a
mov ecx, dword [esp + 0x1c]
call fcn.0044c0a5
push dword [esp + 0x1c]
call fcn.004b651e
mov eax, dword [esp + 0x18]
pop ecx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b7140
mov esp, ebp
pop ebp
ret