Function at 0x44a494
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x5345d0]
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 0x44a4df
call fcn.004a4ba8
sub eax, dword [0x62da7c]
cmp eax, dword [ebp + 8]
jae 0x44a4df
xor eax, eax
jmp 0x44a8b6
call fcn.004a4ba8
mov dword [0x62da7c], eax
call fcn.0044a0b9
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x1c], ebx
je 0x44a4d8
lea eax, [esp + 0x20]
push eax
call fcn.004a5840
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.0047c259
cmp eax, 0x61
jl 0x44a88f
cmp eax, 0x7a
jg 0x44a88f
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 0x44a5b8
test byte [ebp + 0xc], 1
je 0x44a5b8
push 0x2f9b
push 1
push dword [ebx - 0x264]
call fcn.0044a026
test eax, eax
jne 0x44a5b8
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 0x44a6a7
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.00417db7
add esp, 0x14
mov edi, str._GetLastError_
inc dword [ebx]
cmp dword [esp + 0xc], 0
je 0x44a6fc
mov esi, dword [ebx - 0x260]
and dword [esp + 0x10], 0
mov edx, esi
call fcn.0047c3ca
test eax, eax
jne 0x44a707
push 0x4f9f50
push esi
call fcn.0047d058
test eax, eax
pop ecx
pop ecx
je 0x44a707
push 0x103
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call fcn.004b53e0
add esp, 0xc
push esi
mov esi, 0x104
mov ecx, esi
lea eax, [esp + 0x34]
call fcn.0047c3fc
pop ecx
push 0
push str._tamspos
push 0x4f9f50
push esi
push eax
call fcn.0047dbc5
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 0x44a6dc
mov esi, dword [esp + 0xc]
push edi
push dword [ebx - 0x260]
mov ecx, esi
call fcn.0044b275
push eax
push ecx
mov ecx, dword [ebx - 0x264]
call fcn.0044b275
pop ecx
push eax
push str.:3:RestoreLostNetworkDrives___FAILED_to_map_alternate:__CurUser:_s__s_:___s_:__s
call fcn.00417db7
add esp, 0x14
mov dword [ebx - 0x260], esi
jmp 0x44a707
cmp eax, 0x55
je 0x44a5b8
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.004178df
add esp, 0x1c
jmp 0x44a5bd
push dword [ebx - 0x260]
mov eax, dword [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x14], 1
call fcn.0047c3fc
pop ecx
mov dword [ebx - 0x260], eax
cmp dword [esp + 0x10], 0
jne 0x44a834
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.004a4452
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.0044b275
pop ecx
mov ecx, dword [ebx - 0x260]
push eax
call fcn.0044b275
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.00417db7
add esp, 0x28
test byte [ebp + 0xc], 2
je 0x44a7b9
push 0x81
xor edi, edi
push edi
push edi
lea esi, [ebx - 0x274]
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x44a7ae
push 0x80
push edi
push edi
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
jne 0x44a79c
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL____NO_UPDATE_PROFILE_____reestablished_drive_temporarily_but_profile_COULD_NOT_BE_UPDATED_
jmp 0x44a7b3
push str._GetLastError_
push str.:9:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__FAILED_too:__s
call fcn.004178df
pop ecx
jmp 0x44a7b8
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__reestablished_drive_temporarily_with_wrong_credentials.
call fcn.00417db7
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.004a428c
push eax
call fcn.004b7159
add esp, 0x24
cmp eax, 0x48190800
jle 0x44a82e
mov eax, dword [ebx]
cmp eax, 0x19
jle 0x44a82e
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.004a4452
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.00417db7
push 0x27c
lea eax, [ebx - 0x278]
push 0
push eax
call fcn.004b53e0
add esp, 0x1c
jmp 0x44a88f
inc dword [esp + 0x14]
jmp 0x44a88f
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.004a4452
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.00417db7
add esp, 0x24
push 0x27c
push 0
push esi
call fcn.004b53e0
add esp, 0xc
add ebx, 0x27c
dec dword [esp + 0x18]
jne 0x44a51d
mov ecx, dword [esp + 0x1c]
call fcn.0044a188
push dword [esp + 0x1c]
call fcn.004b4080
mov eax, dword [esp + 0x18]
pop ecx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b4c95
mov esp, ebp
pop ebp
ret