Function at 0x42150c
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x496980]
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 0x421544
call fcn.00435f53
sub eax, dword [0x5810e0]
cmp eax, dword [ebp + 8]
jb 0x42155f
call fcn.00435f53
mov dword [0x5810e0], eax
call fcn.0041e1ab
mov ebx, eax
mov dword [ebp - 0x138], ebx
test ebx, ebx
jne 0x421566
xor eax, eax
jmp 0x421984
lea eax, [ebp - 0x118]
push eax
call fcn.004350bd
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.0042ecf7
pop ecx
cmp eax, 0x61
jl 0x42191f
movsx eax, byte [esi]
push eax
call fcn.0042ecf7
pop ecx
cmp eax, 0x7a
jg 0x42191f
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 0x42167f
test byte [ebp + 0xc], 1
je 0x42167f
push 0x2fa4
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateNetwork.c
push 1
push 1
push dword [ebx - 0x1d4]
call fcn.004242ad
test eax, eax
jne 0x42167f
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 0x42165a
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.0040d7f3
add esp, 0x14
jmp 0x42167f
cmp esi, 0x55
je 0x42167f
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.0040d324
add esp, 0x1c
inc dword [ebx + 0x90]
test esi, esi
je 0x421782
push dword [ebx - 0x1d0]
xor esi, esi
mov dword [ebp - 0x120], esi
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x421782
push 0x4714e8
push dword [ebx - 0x1d0]
call fcn.0042f0d8
pop ecx
pop ecx
test eax, eax
je 0x421782
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00440bf0
push 0x104
push dword [ebx - 0x1d0]
lea eax, [ebp - 0x108]
push eax
call fcn.0042f204
push esi
push str._tamspos
push 0x4714e8
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0042e81f
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 0x421763
push str._GetLastError_
push ecx
push esi
call fcn.0041d497
pop ecx
push eax
push dword [ebx - 0x1d4]
call fcn.0041d497
pop ecx
push eax
push str.:3:RestoreLostNetworkDrives___FAILED_to_map_alternate:__CurUser:_s__s_:___s_:__s
call fcn.0040d7f3
add esp, 0x14
jmp 0x42177c
push 0x104
push ecx
push esi
mov dword [ebp - 0x120], 1
call fcn.0042f204
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 0x4218db
mov ebx, dword [ebx - 0x1d4]
call fcn.00435830
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.0041d497
mov ebx, dword [ebp - 0x124]
pop ecx
push eax
push dword [ebx - 0x1d0]
call fcn.0041d497
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.0040d7f3
add esp, 0x28
test byte [ebp + 0xc], 2
je 0x42184b
push 0x81
xor edi, edi
lea esi, [ebx - 0x1e4]
push edi
push edi
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x421840
push 0x80
push edi
push edi
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
jne 0x42182e
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL____NO_UPDATE_PROFILE_____reestablished_drive_temporarily_but_profile_COULD_NOT_BE_UPDATED_
jmp 0x421845
push str._GetLastError_
push str.:9:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__FAILED_too:__s
call fcn.0040d324
pop ecx
jmp 0x42184a
push str.:7:RestoreLostNetworkDrives__:_WNetAddConnection2A__s_NULL_NULL__reestablished_drive_temporarily_with_wrong_credentials.
call fcn.0040d7f3
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.00435e49
push eax
call fcn.0044a31a
add esp, 0x24
cmp eax, 0x48190800
jle 0x4218cc
mov eax, dword [ebx + 0x90]
cmp eax, 0x19
jle 0x4218cc
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.00435830
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.0040d7f3
push 0x27c
push 0
lea esi, [ebx - 0x1e8]
push esi
call fcn.00440bf0
add esp, 0x1c
jmp 0x421919
mov edi, dword [ebp - 0x11c]
inc edi
mov dword [ebp - 0x11c], edi
jmp 0x42191f
call fcn.00435830
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.0040d7f3
push 0x27c
push 0
push esi
call fcn.00440bf0
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 0x4215b6
mov esi, dword [ebp - 0x138]
push esi
call fcn.00421a57
push esi
call fcn.0044a2ff
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f5c5
leave
ret