Function at 0x44b4bd
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9b4
mov eax, dword [0x5385d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x958], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x95c], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov esi, 0x103
push esi
mov dword [ebp - 0x968], eax
lea eax, [ebp - 0x52f]
push ebx
push eax
mov dword [ebp - 0x960], ebx
mov byte [ebp - 0x530], bl
call fcn.004b7880
add esp, 0xc
push esi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.004b7880
add esp, 0xc
push esi
lea eax, [ebp - 0x427]
push ebx
push eax
mov byte [ebp - 0x428], bl
call fcn.004b7880
add esp, 0xc
push esi
lea eax, [ebp - 0x73f]
push ebx
push eax
mov byte [ebp - 0x740], bl
call fcn.004b7880
add esp, 0xc
push esi
lea eax, [ebp - 0x31f]
push ebx
push eax
mov byte [ebp - 0x320], bl
call fcn.004b7880
add esp, 0xc
push esi
lea eax, [ebp - 0x637]
push ebx
push eax
mov byte [ebp - 0x638], bl
call fcn.004b7880
add esp, 0xc
push esi
lea eax, [ebp - 0x94f]
push ebx
push eax
mov byte [ebp - 0x950], bl
call fcn.004b7880
add esp, 0xc
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x990]
push esi
mov dword [ebp - 0x994], ebx
rep stosd dword es:[edi], eax
mov byte [ebp - 0x110], al
lea eax, [ebp - 0x10f]
push ebx
push eax
mov dword [ebp - 0x99c], ebx
mov dword [ebp - 0x96c], ebx
call fcn.004b7880
mov edx, dword [ebp - 0x958]
add esp, 0xc
call fcn.0047ebaf
test eax, eax
jne 0x44bf32
mov edx, dword [ebp - 0x95c]
call fcn.0047ebaf
test eax, eax
jne 0x44bf32
push dword [ebp - 0x958]
lea ebx, [esi + 1]
mov ecx, ebx
lea eax, [ebp - 0x320]
call fcn.0047ebe1
pop ecx
mov ecx, eax
call fcn.0047ef62
mov eax, ecx
push eax
mov ecx, ebx
lea eax, [ebp - 0x638]
call fcn.0047ebe1
pop ecx
mov esi, eax
call fcn.0047eede
mov ecx, esi
call fcn.00443dee
test eax, eax
jne 0x44b64a
mov eax, esi
push 0x103
push eax
push eax
call fcn.00444279
add esp, 0xc
push 0x103
lea edx, [ebp - 0x950]
lea ecx, [ebp - 0x638]
call fcn.0044457e
pop ecx
lea eax, [ebp - 0x960]
push eax
push 0x20019
xor edi, edi
push edi
push str.Network
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44b695
push dword [ebp - 0x960]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x44b697
xor esi, esi
call fcn.00410123
test eax, eax
je 0x44b729
mov word [ebp - 0x9b0], di
xor eax, eax
lea edi, [ebp - 0x9ae]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x9b0]
push eax
call fcn.004a7863
mov eax, dword [ebp - 0x9a8]
add eax, 0xfffffff8
cmp ax, 0xd
pop ecx
ja 0x44bf32
cmp dword [0x6319bc], 3
jle 0x44b6f7
call fcn.004a6bcb
sub eax, dword [0x631a80]
cmp eax, 0x5265c00
jb 0x44bf32
cmp dword [ebp + 0x14], 0
je 0x44bf32
call fcn.004a6bcb
sub eax, dword [0x631a80]
cmp eax, 0x493e0
jb 0x44bf32
call fcn.004a6bcb
inc dword [0x6319bc]
mov dword [0x631a80], eax
xor edi, edi
call fcn.004100f9
test eax, eax
jne 0x44bf32
cmp esi, edi
mov dword [ebp - 0x964], edi
mov dword [ebp - 0x974], edi
mov dword [ebp - 0x998], edi
je 0x44bcde
mov dword [ebp - 0x954], 0x41
movsx eax, byte [ebp - 0x954]
push eax
push str.Network_c
mov dword [ebp - 0x970], eax
lea eax, [ebp - 0x530]
push ebx
push eax
call fcn.00480225
add esp, 0x10
lea eax, [ebp - 0x960]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x530]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44bcc3
push ebx
lea eax, [ebp - 0x218]
push edi
push eax
mov dword [ebp - 0x96c], 0x103
call fcn.004b7880
add esp, 0xc
lea eax, [ebp - 0x96c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x99c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.RemotePath
push dword [ebp - 0x960]
call edi
test eax, eax
je 0x44b7fd
push str._GetLastError_
push str.:3:ClearAllTAMSNetConnections___encountered_a_problem:_RegQueryValueEx__RemotePath___FAILED:__s
call fcn.0041936e
pop ecx
pop ecx
lea edx, [ebp - 0x218]
call fcn.0047f68c
mov esi, edx
call fcn.0047f72c
mov eax, esi
push str.tamspos
push eax
call fcn.0047f83d
test eax, eax
pop ecx
pop ecx
jne 0x44b835
mov eax, esi
push 0x4fce20
push eax
call fcn.0047f83d
test eax, eax
pop ecx
pop ecx
je 0x44b83f
mov dword [ebp - 0x974], 1
push ebx
lea eax, [ebp - 0x428]
push 0
push eax
mov dword [ebp - 0x96c], 0x103
call fcn.004b7880
add esp, 0xc
lea eax, [ebp - 0x96c]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x99c]
push eax
push 0
push str.UserName
push dword [ebp - 0x960]
call edi
test eax, eax
je 0x44b894
push str._GetLastError_
push str.:3:ClearAllTAMSNetConnections___encountered_a_problem:_RegQueryValueEx__UserName___FAILED:__s
call fcn.0041936e
pop ecx
pop ecx
lea edx, [ebp - 0x428]
call fcn.0047f68c
mov esi, edx
call fcn.0047f72c
cmp dword [ebp + 0x14], 0
je 0x44b8c3
lea eax, [ebp - 0x218]
push eax
mov eax, esi
push eax
push str.:1:ClearAllTAMSNetConnections___Credential_Conflict_Log:__s___s
call fcn.0041936e
add esp, 0xc
push dword [ebp - 0x960]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x960], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
lea eax, [ebp - 0x740]
call fcn.0047ebe1
pop ecx
mov ecx, eax
call fcn.0047ef62
lea eax, [ebp - 0x320]
push eax
mov eax, ecx
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
je 0x44b93d
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x740]
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
je 0x44b93d
lea eax, [ebp - 0x950]
push eax
lea eax, [ebp - 0x740]
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
jne 0x44bcc1
push dword [ebp - 0x95c]
inc dword [ebp - 0x964]
lea eax, [ebp - 0x428]
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
je 0x44bcc1
lea esi, [ebp - 0x428]
call fcn.0047eede
push dword [ebp - 0x95c]
mov eax, esi
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
je 0x44bcc1
push dword [ebp - 0x970]
lea eax, [ebp - 0x530]
push 0x4fced8
push ebx
push eax
call fcn.00480225
add esp, 0x10
push 0x2da6
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x320]
push eax
call fcn.0044bf43
push 0x2da7
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.0044bf43
push 0x2da8
push esi
lea eax, [ebp - 0x530]
push eax
call fcn.0044bf43
test eax, eax
lea eax, [ebp - 0x428]
je 0x44b9fc
push str._GetLastError_
push eax
lea eax, [ebp - 0x530]
push eax
push str.:3:ClearAllTAMSNetConnections___encountered_a_problem:_WNetCancelConnection2___s____User:__s__FAILED:__s
call fcn.0041936e
add esp, 0x10
jmp 0x44ba11
push eax
lea eax, [ebp - 0x530]
push eax
push str.:3:ClearAllTAMSNetConnections___has_delete_the_mapped_drive___s___User:__s_
call fcn.0041936e
add esp, 0xc
push 0x2dac
push esi
lea eax, [ebp - 0x320]
push eax
call fcn.0044bf43
push 0x2dad
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.0044bf43
push 0x2dae
push esi
push dword [ebp - 0x958]
call fcn.0044bf43
push 0x5398e0
push 0x4fcf9c
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.00480225
push str._tmp
push dword [ebp - 0x958]
call fcn.0047f83d
add esp, 0x18
test eax, eax
jne 0x44ba8c
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x958]
call fcn.0047f83d
test eax, eax
pop ecx
pop ecx
je 0x44baf1
lea eax, [ebp - 0x320]
push eax
mov ecx, ebx
lea eax, [ebp - 0x110]
call fcn.0047ebe1
pop ecx
mov ecx, str.tamspos
mov ebx, eax
call fcn.0047f366
push 0x2db8
push 1
mov eax, ebx
push eax
call fcn.0044bf43
lea eax, [ebp - 0x320]
push eax
mov ecx, 0x104
mov eax, ebx
call fcn.0047ebe1
pop ecx
mov ecx, str.client
call fcn.0047f366
push 0x2dbc
push 1
mov eax, ebx
push eax
call fcn.0044bf43
xor esi, esi
mov ebx, 0x104
inc esi
push 0x20
lea eax, [ebp - 0x994]
push 0
push eax
call fcn.004b7880
and dword [ebp - 0x978], 0
add esp, 0xc
push 0x81
push dword [ebp - 0x95c]
lea eax, [ebp - 0x530]
push dword [ebp - 0x968]
mov dword [ebp - 0x984], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x980], eax
lea eax, [ebp - 0x994]
push eax
mov dword [ebp - 0x990], esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x44bcaf
mov edi, dword [ebp - 0x980]
mov edx, edi
call fcn.0047ebaf
test eax, eax
jne 0x44bc25
push 0x4fce20
push edi
call fcn.0047f83d
test eax, eax
pop ecx
pop ecx
je 0x44bc25
push 0x103
lea eax, [ebp - 0x847]
push 0
push eax
mov byte [ebp - 0x848], 0
call fcn.004b7880
add esp, 0xc
push edi
mov ecx, ebx
lea eax, [ebp - 0x848]
call fcn.0047ebe1
pop ecx
push 0
push str._tamspos
push 0x4fce20
push ebx
push eax
call fcn.004803aa
add esp, 0x14
push 0x81
push dword [ebp - 0x95c]
lea eax, [ebp - 0x848]
push dword [ebp - 0x968]
mov dword [ebp - 0x980], eax
lea eax, [ebp - 0x994]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x44bc95
push str._GetLastError_
push dword [ebp - 0x980]
xor ecx, ecx
call fcn.0044d191
push eax
push ecx
mov ecx, dword [ebp - 0x980]
call fcn.0044d191
pop ecx
push eax
push str.:3:ClearAllTAMSNetConnections___FAILED_to_map_alternate:__CurUser:_s__s_:___s_:__s
call fcn.0041936e
lea edi, [ebp - 0x218]
add esp, 0x14
mov dword [ebp - 0x980], edi
push str._GetLastError_
push dword [ebp - 0x968]
push dword [ebp - 0x95c]
push dword [ebp - 0x984]
push edi
push ecx
mov ecx, edi
call fcn.0044d191
pop ecx
mov ecx, dword [ebp - 0x984]
push eax
call fcn.0044d191
push eax
push str.:3:ClearAllTAMSNetConnections___could_not_reestablish_the_mapped_drive__CurUser:_s__s_:_WNetAddConnection2A___s_____s_____s_____s___FAILED:__s
call fcn.0041936e
push dword [ebp - 0x968]
lea eax, [ebp - 0x994]
push dword [ebp - 0x95c]
push eax
push dword [ebp - 0x954]
call fcn.0044c1f0
add esp, 0x30
test eax, eax
jne 0x44bcbb
push dword [ebp - 0x954]
push str.:6:ClearAllTAMSNetConnections___FAILED_to_add_drive__c_to_the_lost_net_drive_register_
call fcn.00418e96
pop ecx
jmp 0x44bcba
push dword [ebp - 0x980]
mov ecx, ebx
lea eax, [ebp - 0x218]
call fcn.0047ebe1
pop ecx
mov dword [ebp - 0x980], eax
push dword [ebp - 0x954]
call fcn.0044c39f
pop ecx
mov dword [ebp - 0x998], esi
xor edi, edi
inc dword [ebp - 0x954]
cmp dword [ebp - 0x954], 0x5a
jle 0x44b75a
cmp dword [ebp - 0x964], edi
jg 0x44bce7
call fcn.00410123
test eax, eax
je 0x44bcf0
cmp dword [ebp + 0x14], edi
je 0x44bf25
mov eax, 0x21e88e
push 1
push 0
mov esi, eax
mov edi, eax
mov dword [ebp - 0x964], eax
call fcn.0044c3b1
pop ecx
pop ecx
push 0x2e03
mov dword [ebp - 0x9a0], eax
push 1
lea eax, [ebp - 0x320]
push eax
call fcn.0044bf43
push 0x2e04
push 1
push dword [ebp - 0x958]
mov dword [ebp - 0x970], eax
call fcn.0044bf43
cmp dword [ebp + 0x14], 0
mov dword [ebp - 0x954], eax
je 0x44beb4
call fcn.00410123
test eax, eax
jne 0x44beb4
cmp dword [ebp - 0x974], eax
jne 0x44beb4
push 0x5398e0
push 0x4fcf9c
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.00480225
push str._tmp
push dword [ebp - 0x958]
call fcn.0047f83d
add esp, 0x18
test eax, eax
jne 0x44bdae
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x958]
call fcn.0047f83d
test eax, eax
pop ecx
pop ecx
je 0x44beb4
lea eax, [ebp - 0x320]
push eax
mov ecx, ebx
lea eax, [ebp - 0x110]
call fcn.0047ebe1
pop ecx
mov ecx, str.client
mov ebx, eax
call fcn.0047f366
push 0x2e14
push 1
mov eax, ebx
push eax
call fcn.0044bf43
mov edi, eax
lea eax, [ebp - 0x320]
push eax
mov ecx, 0x104
mov eax, ebx
call fcn.0047ebe1
pop ecx
mov ecx, str.tamspos
call fcn.0047f366
push 0x2e20
push 1
mov eax, ebx
push eax
call fcn.0044bf43
mov esi, eax
test esi, esi
je 0x44be1b
test edi, edi
jne 0x44beb4
xor ebx, ebx
push ebx
push edi
push esi
push str.:8:ClearAllTAMSNetConnections___has_cleared_a_tamspos___d__d__d__connection_that_is_NOT_a_mapped_drive__This_should_never_happen.
call fcn.0041936e
push 0x20
lea eax, [ebp - 0x994]
push ebx
push eax
call fcn.004b7880
add esp, 0x1c
xor eax, eax
inc eax
push eax
push dword [ebp - 0x95c]
mov dword [ebp - 0x990], eax
push dword [ebp - 0x968]
lea eax, [ebp - 0x994]
lea ecx, [ebp - 0x110]
push eax
mov dword [ebp - 0x984], ebx
mov dword [ebp - 0x980], ecx
mov dword [ebp - 0x978], ebx
call sub.MPR.dll_WNetAddConnection2A
cmp eax, ebx
mov dword [ebp - 0x964], eax
je 0x44beb4
mov ecx, dword [ebp - 0x980]
push str._GetLastError_
push eax
call fcn.0044d191
push eax
push ecx
mov ecx, dword [ebp - 0x984]
call fcn.0044d191
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
push str.:9:ClearAllTAMSNetConnections___FAILED_to_restore_the__s_connection:__CurUser:_s__s_:_Error__u:__s
call fcn.00418e96
add esp, 0x18
xor eax, eax
cmp dword [ebp - 0x970], eax
je 0x44bed2
cmp dword [ebp - 0x954], eax
je 0x44bed2
cmp esi, eax
je 0x44bed2
cmp edi, eax
je 0x44bed2
xor ebx, ebx
jmp 0x44bed5
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x9a0], eax
jle 0x44bef6
push 2
push eax
call fcn.0044c3b1
test eax, eax
pop ecx
pop ecx
jne 0x44bef6
push str.:7:RestoreLostNetworkDrives_0__succeeded_after_ClearAllTAMSNetConnections__
call fcn.0041936e
pop ecx
test ebx, ebx
je 0x44bf23
push dword [ebp - 0x964]
push edi
push esi
push dword [ebp - 0x954]
push dword [ebp - 0x970]
push dword [ebp - 0x958]
push str.:2:ClearAllTAMSNetConnections___has_terminated_the_connection___s_:_This_should_not_happen_regularly_:_Connections_terminated:__u___u___u___u__u.
call fcn.0041936e
add esp, 0x1c
jmp 0x44bf2d
xor edi, edi
cmp dword [ebp - 0x998], edi
je 0x44bf32
xor eax, eax
inc eax
jmp 0x44bf34
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7140
leave
ret