Function at 0x44caa8
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x51f5d0]
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 0x44caf0
call fcn.004af84c
sub eax, dword [0x60db74]
cmp eax, dword [ebp + 8]
jae 0x44caf0
xor eax, eax
jmp 0x44cd32
call fcn.004af84c
mov dword [0x60db74], eax
call fcn.0044c723
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x128], ebx
je 0x44cae9
lea eax, [ebp - 0x138]
push eax
call fcn.004b02b1
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.004855e3
cmp eax, 0x61
jl 0x44cd03
cmp eax, 0x7a
jg 0x44cd03
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 0x44cbac
test byte [ebp + 0xc], 1
je 0x44cbac
push 1
push dword [edi - 0x154]
call fcn.0044c6c7
test eax, eax
jne 0x44cbac
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 0x44cc7e
mov edi, dword [ebx]
and dword [ebp - 0x11c], 0
mov edx, edi
call fcn.00485754
test eax, eax
jne 0x44cc87
push 0x4f8aec
push edi
call fcn.00486428
test eax, eax
pop ecx
pop ecx
je 0x44cc87
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.004c05d0
add esp, 0xc
push edi
mov edi, 0x104
mov ecx, edi
lea eax, [ebp - 0x110]
call fcn.00485786
pop ecx
push 0
push str._tamspos
push 0x4f8aec
push edi
push eax
call fcn.00486f45
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 0x44cc68
mov dword [ebx], eax
jmp 0x44cc87
push dword [ebx]
mov ecx, edi
mov dword [ebp - 0x11c], 1
call fcn.00485786
pop ecx
mov dword [ebx], eax
cmp dword [ebp - 0x11c], 0
jne 0x44ccf0
test byte [ebp + 0xc], 2
je 0x44ccac
push esi
xor edi, edi
push edi
push edi
lea esi, [ebx - 0x14]
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x44ccac
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.004aef99
push eax
call fcn.004c21f7
add esp, 0x24
cmp eax, 0x48190800
jle 0x44cce8
cmp dword [ebx + 0x260], 0x19
jg 0x44ccf0
inc dword [ebp - 0x118]
jmp 0x44cd03
push 0x27c
lea eax, [ebx - 0x18]
push 0
push eax
call fcn.004c05d0
add esp, 0xc
add ebx, 0x27c
dec dword [ebp - 0x124]
jne 0x44cb35
mov ecx, dword [ebp - 0x128]
call fcn.0044c7e4
push dword [ebp - 0x128]
call fcn.004bf2a6
mov eax, dword [ebp - 0x118]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
leave
ret