Function at 0x447cef
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x5005d0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
cmp dword [ebp + 8], esi
mov word [esp + 0x28], si
lea edi, [esp + 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jbe 0x447d3a
call fcn.00498efc
sub eax, dword [0x5fafb4]
cmp eax, dword [ebp + 8]
jae 0x447d3a
xor eax, eax
jmp 0x447f48
call fcn.00498efc
mov dword [0x5fafb4], eax
call fcn.00447971
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x20], ebx
je 0x447d33
lea eax, [esp + 0x28]
push eax
call fcn.00499961
pop ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 1
add ebx, 0x18
mov dword [esp + 0x24], 0x1a
movsx eax, byte [ebx - 0x18]
call fcn.004756e0
cmp eax, 0x61
jl 0x447f21
cmp eax, 0x7a
jg 0x447f21
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 [esp + 0x2c], eax
call sub.MPR.dll_WNetAddConnection2A
cmp eax, 0x55
mov dword [esp + 0x10], eax
jne 0x447de4
test byte [ebp + 0xc], 1
je 0x447de4
push 1
push dword [edi - 0x154]
call fcn.00447915
test eax, eax
jne 0x447de4
push esi
push edi
push dword [esp + 0x24]
lea eax, [ebx - 0x14]
push eax
call sub.MPR.dll_WNetAddConnection2A
mov dword [esp + 0x10], eax
inc dword [ebx + 0x260]
cmp dword [esp + 0x10], 0
je 0x447ea2
mov edi, dword [ebx]
and dword [esp + 0x18], 0
mov edx, edi
call fcn.00475851
test eax, eax
jne 0x447ea9
push 0x4dd6d4
push edi
call fcn.00476422
test eax, eax
pop ecx
pop ecx
je 0x447ea9
push 0x103
lea eax, [esp + 0x3d]
push 0
push eax
mov byte [esp + 0x44], 0
call fcn.004a7110
add esp, 0xc
push edi
mov edi, 0x104
mov ecx, edi
lea eax, [esp + 0x3c]
call fcn.00475883
pop ecx
push 0
push str._tamspos
push 0x4dd6d4
push edi
push eax
call fcn.00476ed6
mov eax, dword [ebx]
mov dword [esp + 0x24], eax
add esp, 0x14
lea eax, [esp + 0x38]
mov dword [ebx], eax
push esi
lea eax, [ebx + 0x150]
push eax
push dword [esp + 0x24]
lea eax, [ebx - 0x14]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
mov eax, dword [esp + 0x10]
je 0x447e8e
mov dword [ebx], eax
jmp 0x447ea9
push dword [ebx]
mov ecx, edi
mov dword [esp + 0x1c], 1
call fcn.00475883
pop ecx
mov dword [ebx], eax
cmp dword [esp + 0x18], 0
jne 0x447f0e
test byte [ebp + 0xc], 2
je 0x447ece
push esi
xor edi, edi
push edi
push edi
lea esi, [ebx - 0x14]
push esi
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x447ece
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, [esp + 0x48]
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.00498649
push eax
call fcn.004a863d
add esp, 0x24
cmp eax, 0x48190800
jle 0x447f08
cmp dword [ebx + 0x260], 0x19
jg 0x447f0e
inc dword [esp + 0x14]
jmp 0x447f21
push 0x27c
lea eax, [ebx - 0x18]
push 0
push eax
call fcn.004a7110
add esp, 0xc
add ebx, 0x27c
dec dword [esp + 0x24]
jne 0x447d75
mov ecx, dword [esp + 0x20]
call fcn.00447a2a
push dword [esp + 0x20]
call fcn.004a5de4
mov eax, dword [esp + 0x18]
pop ecx
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a69f5
mov esp, ebp
pop ebp
ret