Function at 0x449731
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
cmp dword [ebp + 8], esi
mov word [ebp - 0x138], si
lea edi, [ebp - 0x136]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jbe 0x449779
call fcn.0049a965
sub eax, dword [0x5fcfb4]
cmp eax, dword [ebp + 8]
jae 0x449779
xor eax, eax
jmp 0x4499bb
call fcn.0049a965
mov dword [0x5fcfb4], eax
call fcn.004493b3
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x128], ebx
je 0x449772
lea eax, [ebp - 0x138]
push eax
call fcn.0049b3ca
pop ecx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], 1
add ebx, 0x18
mov dword [ebp - 0x124], 0x1a
movsx eax, byte [ebx - 0x18]
call fcn.004778a5
cmp eax, 0x61
jl 0x44998c
cmp eax, 0x7a
jg 0x44998c
mov esi, 0x81
push esi
lea edi, [ebx + 0x150]
lea eax, [edi + 0x80]
push edi
lea ecx, [ebx - 0x14]
push eax
push ecx
mov dword [ebp - 0x120], eax
call sub.MPR.dll_WNetAddConnection2A
cmp eax, 0x55
mov dword [ebp - 0x114], eax
jne 0x449835
test byte [ebp + 0xc], 1
je 0x449835
push 1
push dword [edi - 0x154]
call fcn.00449357
test eax, eax
jne 0x449835
push esi
push edi
push dword [ebp - 0x120]
lea eax, [ebx - 0x14]
push eax
call sub.MPR.dll_WNetAddConnection2A
mov dword [ebp - 0x114], eax
inc dword [ebx + 0x260]
cmp dword [ebp - 0x114], 0
je 0x449907
mov edi, dword [ebx]
and dword [ebp - 0x11c], 0
mov edx, edi
call fcn.00477a16
test eax, eax
jne 0x449910
push 0x4df84c
push edi
call fcn.004785e7
test eax, eax
pop ecx
pop ecx
je 0x449910
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.004a8c80
add esp, 0xc
push edi
mov edi, 0x104
mov ecx, edi
lea eax, [ebp - 0x110]
call fcn.00477a48
pop ecx
push 0
push str._tamspos
push 0x4df84c
push edi
push eax
call fcn.0047909b
mov eax, dword [ebx]
mov dword [ebp - 0x114], eax
add esp, 0x14
lea eax, [ebp - 0x110]
mov dword [ebx], eax
push esi
lea eax, [ebx + 0x150]
push eax
push dword [ebp - 0x120]
lea eax, [ebx - 0x14]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
mov eax, dword [ebp - 0x114]
je 0x4498f1
mov dword [ebx], eax
jmp 0x449910
push dword [ebx]
mov ecx, edi
mov dword [ebp - 0x11c], 1
call fcn.00477a48
pop ecx
mov dword [ebx], eax
cmp dword [ebp - 0x11c], 0
jne 0x449979
test byte [ebp + 0xc], 2
je 0x449935
push esi
xor edi, edi
push edi
push edi
lea esi, [ebx - 0x14]
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x449935
push 0x80
push edi
push edi
push esi
call sub.MPR.dll_WNetAddConnection2A
sub esp, 0x10
mov edi, esp
lea esi, [ebx + 0x250]
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, [ebp - 0x138]
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.0049a0b2
push eax
call fcn.004aa7c7
add esp, 0x24
cmp eax, 0x48190800
jle 0x449971
cmp dword [ebx + 0x260], 0x19
jg 0x449979
inc dword [ebp - 0x118]
jmp 0x44998c
push 0x27c
lea eax, [ebx - 0x18]
push 0
push eax
call fcn.004a8c80
add esp, 0xc
add ebx, 0x27c
dec dword [ebp - 0x124]
jne 0x4497be
mov ecx, dword [ebp - 0x128]
call fcn.0044946c
push dword [ebp - 0x128]
call fcn.004a795c
mov eax, dword [ebp - 0x118]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8565
leave
ret