Function at 0x452894
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x118]
cmp dword [ebp + 8], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jbe 0x4528cc
call fcn.004b729a
sub eax, dword [0x649ab0]
cmp eax, dword [ebp + 8]
jb 0x4528e7
call fcn.004b729a
mov dword [0x649ab0], eax
call fcn.0044f3ee
mov ebx, eax
mov dword [ebp - 0x138], ebx
test ebx, ebx
jne 0x4528ee
xor eax, eax
jmp 0x452d0c
lea eax, [ebp - 0x118]
push eax
call fcn.004b598d
xor edi, edi
mov dword [ebp - 0x120], 1
add ebx, 0x1e8
mov dword [ebp - 0x11c], edi
pop ecx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x134], 0x1a
lea eax, [ebx - 0x80]
lea ecx, [ebx - 0x1e4]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x130], eax
lea esi, [ebx - 0x1e8]
movsx eax, byte [esi]
push eax
call fcn.0048d6f9
pop ecx
cmp eax, 0x61
jl 0x452ca7
movsx eax, byte [esi]
push eax
call fcn.0048d6f9
pop ecx
cmp eax, 0x7a
jg 0x452ca7
mov edi, 0x81
push edi
push dword [ebp - 0x128]
push ebx
push dword [ebp - 0x12c]
call sub.MPR.dll_WNetAddConnection2A
mov esi, eax
cmp esi, 0x55
jne 0x452a07
test byte [ebp + 0xc], 1
je 0x452a07
push 0x2fa1
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push 1
push 1
push dword [ebx - 0x1d4]
call fcn.004558c5
test eax, eax
jne 0x452a07
push edi
push dword [ebp - 0x130]
lea eax, [ebx - 0x1e4]
push ebx
push eax
call sub.MPR.dll_WNetAddConnection2A
mov esi, eax
test esi, esi
jne 0x4529e2
mov ecx, dword [ebx - 0x1d4]
lea eax, [ebx - 0x80]
push ecx
push ebx
push eax
push ecx
push str.:2:RestoreLostNetworkDrives__:_WNetAddConnection2A__s__s__s__succeeded_after_WNetCancelConnection2___s__
call fcn.0041cce9
add esp, 0x14
jmp 0x452a07
cmp esi, 0x55
je 0x452a07
mov ecx, dword [ebx - 0x1d4]
lea eax, [ebx - 0x80]
push esi
push str._GetLastError_
push ecx
push ebx
push eax
push ecx
push str.:9:RestoreLostNetworkDrives__:_WNetAddConnection2A__s__s__s__CANT_REESTABLISH_after_WNetCancelConnection2___s_____:__s_ld
call fcn.0041c80a
add esp, 0x1c
inc dword [ebx + 0x90]
test esi, esi
je 0x452b0a
push dword [ebx - 0x1d0]
xor esi, esi
mov dword [ebp - 0x120], esi
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x452b0a
push 0x510058
push dword [ebx - 0x1d0]
call fcn.0048dada
pop ecx
pop ecx
test eax, eax
je 0x452b0a
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004c37f0
push 0x104
push dword [ebx - 0x1d0]
lea eax, [ebp - 0x108]
push eax
call fcn.0048dd2a
push esi
push str._tamspos
push 0x510058
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0048d16e
mov esi, dword [ebx - 0x1d0]
lea eax, [ebp - 0x108]
add esp, 0x2c
mov dword [ebx - 0x1d0], eax
lea eax, [ebx - 0x80]
push edi
push eax
push ebx
lea eax, [ebx - 0x1e4]
push eax
call sub.MPR.dll_WNetAddConnection2A
mov ecx, dword [ebx - 0x1d0]
test eax, eax
je 0x452aeb
push str._GetLastError_
push ecx
push esi
call fcn.0044e714
pop ecx
push eax
push dword [ebx - 0x1d4]
call fcn.0044e714
pop ecx
push eax
push str.:3:RestoreLostNetworkDrives___FAILED_to_map_alternate:__CurUser:_s__s_:___s_:__s
call fcn.0041cce9
add esp, 0x14
jmp 0x452b04
push 0x104
push ecx
push esi
mov dword [ebp - 0x120], 1
call fcn.0048dd2a
add esp, 0xc
mov dword [ebx - 0x1d0], esi
mov ecx, dword [ebx + 0x90]
lea eax, [ebx + 0x80]
push str._GetLastError_
push ecx
push 1
sub esp, 0x10
mov esi, eax
cmp dword [ebp - 0x120], 0
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]
jne 0x452c63
mov ebx, dword [ebx - 0x1d4]
call fcn.004b639c
add esp, 0x14
push eax
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [eax - 0x80]
push ecx
push ebx
push dword [eax - 0x1d0]
push ebx
call fcn.0044e714
mov ebx, dword [ebp - 0x124]
pop ecx
push eax
push dword [ebx - 0x1d0]
call fcn.0044e714
pop ecx
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.0041cce9
add esp, 0x28
test byte [ebp + 0xc], 2
je 0x452bd3
push 0x81
xor edi, edi
lea esi, [ebx - 0x1e4]
push edi
push edi
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x452bc8
push 0x80
push edi
push edi
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
jne 0x452bb6
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL____NO_UPDATE_PROFILE_____reestablished_drive_temporarily_but_profile_COULD_NOT_BE_UPDATED_
jmp 0x452bcd
push str._GetLastError_
push str.:9:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__FAILED_too:__s
call fcn.0041c80a
pop ecx
jmp 0x452bd2
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__reestablished_drive_temporarily_with_wrong_credentials.
call fcn.0041cce9
pop ecx
sub esp, 0x10
lea esi, [ebx + 0x80]
mov edi, esp
sub esp, 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]
mov edi, esp
lea esi, [ebp - 0x118]
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.004b715e
push eax
call fcn.004ccf1a
add esp, 0x24
cmp eax, 0x48190800
jle 0x452c54
mov eax, dword [ebx + 0x90]
cmp eax, 0x19
jle 0x452c54
push eax
push 1
sub esp, 0x10
lea esi, [ebx + 0x80]
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.004b639c
add esp, 0x14
push eax
push dword [ebx - 0x1d0]
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.0041cce9
push 0x27c
push 0
lea esi, [ebx - 0x1e8]
push esi
call fcn.004c37f0
add esp, 0x1c
jmp 0x452ca1
mov edi, dword [ebp - 0x11c]
inc edi
mov dword [ebp - 0x11c], edi
jmp 0x452ca7
call fcn.004b639c
add esp, 0x14
lea ecx, [ebx - 0x80]
lea esi, [ebx - 0x1e8]
push eax
movsx eax, byte [esi]
push ebx
push ecx
push dword [ebx - 0x1d4]
push dword [ebx - 0x1d0]
push eax
push str.:2:RestoreLostNetworkDrives___successfully_reinstated_drive__c:_WNetAddConnection2A___s_____s_____s_____s__:_TimeStamp__s_:_NumAttempts_d:_SUCCEEDED:__s
call fcn.0041cce9
push 0x27c
push 0
push esi
call fcn.004c37f0
add esp, 0x30
mov edi, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x128]
add ebx, 0x27c
sub dword [ebp - 0x134], 1
mov dword [ebp - 0x124], ebx
lea eax, [eax + 0x27c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x12c]
lea eax, [eax + 0x27c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x130]
lea eax, [eax + 0x27c]
mov dword [ebp - 0x130], eax
jne 0x45293e
mov esi, dword [ebp - 0x138]
push esi
call fcn.00452e0e
push esi
call fcn.004cceff
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret