Function at 0x43023f
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4cc8c0]
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 0x430277
call fcn.004609ba
sub eax, dword [0x5b6a28]
cmp eax, dword [ebp + 8]
jb 0x430292
call fcn.004609ba
mov dword [0x5b6a28], eax
call fcn.0042ced6
mov ebx, eax
mov dword [ebp - 0x138], ebx
test ebx, ebx
jne 0x430299
xor eax, eax
jmp 0x4306b7
lea eax, [ebp - 0x118]
push eax
call fcn.0045f0ad
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.004525f4
pop ecx
cmp eax, 0x61
jl 0x430652
movsx eax, byte [esi]
push eax
call fcn.004525f4
pop ecx
cmp eax, 0x7a
jg 0x430652
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 0x4303b2
test byte [ebp + 0xc], 1
je 0x4303b2
push 0x2fa2
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push 1
push 1
push dword [ebx - 0x1d4]
call fcn.004331d9
test eax, eax
jne 0x4303b2
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 0x43038d
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.0040d9e1
add esp, 0x14
jmp 0x4303b2
cmp esi, 0x55
je 0x4303b2
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.0040d511
add esp, 0x1c
inc dword [ebx + 0x90]
test esi, esi
je 0x4304b5
push dword [ebx - 0x1d0]
xor esi, esi
mov dword [ebp - 0x120], esi
call fcn.00451684
pop ecx
test eax, eax
jne 0x4304b5
push 0x49fe60
push dword [ebx - 0x1d0]
call fcn.004529d5
pop ecx
pop ecx
test eax, eax
je 0x4304b5
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00466ad0
push 0x104
push dword [ebx - 0x1d0]
lea eax, [ebp - 0x108]
push eax
call fcn.00452b01
push esi
push str._tamspos
push 0x49fe60
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004520e7
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 0x430496
push str._GetLastError_
push ecx
push esi
call fcn.0042c219
pop ecx
push eax
push dword [ebx - 0x1d4]
call fcn.0042c219
pop ecx
push eax
push str.:3:RestoreLostNetworkDrives___FAILED_to_map_alternate:__CurUser:_s__s_:___s_:__s
call fcn.0040d9e1
add esp, 0x14
jmp 0x4304af
push 0x104
push ecx
push esi
mov dword [ebp - 0x120], 1
call fcn.00452b01
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 0x43060e
mov ebx, dword [ebx - 0x1d4]
call fcn.0045fabc
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.0042c219
mov ebx, dword [ebp - 0x124]
pop ecx
push eax
push dword [ebx - 0x1d0]
call fcn.0042c219
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.0040d9e1
add esp, 0x28
test byte [ebp + 0xc], 2
je 0x43057e
push 0x81
xor edi, edi
lea esi, [ebx - 0x1e4]
push edi
push edi
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x430573
push 0x80
push edi
push edi
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
jne 0x430561
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL____NO_UPDATE_PROFILE_____reestablished_drive_temporarily_but_profile_COULD_NOT_BE_UPDATED_
jmp 0x430578
push str._GetLastError_
push str.:9:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__FAILED_too:__s
call fcn.0040d511
pop ecx
jmp 0x43057d
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__reestablished_drive_temporarily_with_wrong_credentials.
call fcn.0040d9e1
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.0046087e
push eax
call fcn.004701fa
add esp, 0x24
cmp eax, 0x48190800
jle 0x4305ff
mov eax, dword [ebx + 0x90]
cmp eax, 0x19
jle 0x4305ff
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.0045fabc
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.0040d9e1
push 0x27c
push 0
lea esi, [ebx - 0x1e8]
push esi
call fcn.00466ad0
add esp, 0x1c
jmp 0x43064c
mov edi, dword [ebp - 0x11c]
inc edi
mov dword [ebp - 0x11c], edi
jmp 0x430652
call fcn.0045fabc
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.0040d9e1
push 0x27c
push 0
push esi
call fcn.00466ad0
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 0x4302e9
mov esi, dword [ebp - 0x138]
push esi
call fcn.004307b9
push esi
call fcn.004701df
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret