Function at 0x4c8d10
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5733e5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x5e8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c8fc7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c8fc7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov edi, dword [ebp + 0x10]
xor esi, esi
movlpd qword [ebp - 0x2c], xmm0
call fcn.00499a80
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
mov dword [eax + 8], esi
mov dword [eax + 4], esi
test ecx, ecx
je 0x4c8db0
mov eax, dword [ecx]
call dword [eax]
nop dword [eax]
test edi, edi
je 0x4c8e00
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x48], 1
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
cmp dword [eax - 4], 1
jle 0x4c8de4
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.004096b0
mov eax, dword [ebp - 0x18]
push 0
push edi
push dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
jne 0x4c8e1f
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x2c]
call fcn.0049a480
mov esi, eax
add esp, 4
test esi, esi
je 0x4c8f49
cmp esi, 0x52e
je 0x4c8e38
cmp esi, 0x56
je 0x4c8e38
cmp esi, 0x89a
jne 0x4c8f54
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c8fc7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c8fc7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 7
mov eax, str.Local_Network_Server
lea ecx, [ebp + 0x10]
test eax, 0xffff0000
jne 0x4c8e92
movzx eax, ax
push eax
call fcn.00409280
jmp 0x4c8e9e
push 0x14
push str.Local_Network_Server
call fcn.004098b0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 8]
push 0
call fcn.004ca870
test al, al
sete byte [ebp + 0x17]
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov edx, dword [ebp + 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c8ee8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c8f06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0x17], 0
jne 0x4c8f54
mov edi, dword [ebp - 0x14]
cmp dword [edi - 4], 1
jle 0x4c8f23
push dword [edi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.004096b0
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x14], eax
cmp dword [eax - 4], 1
jle 0x4c8db0
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.004096b0
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x14], eax
jmp 0x4c8db0
mov eax, dword [ebp + 0x18]
xor esi, esi
mov dword [eax], 0
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c8f75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c8f93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4c8fb2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
push 0x80004005
call fcn.00409a00
int3