Function at 0x435080
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0685
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x4353b3
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x4353b3
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
mov edi, dword [ebp + 0x10]
xor esi, esi
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x14], esi
call fcn.0040eaf0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], esi
mov dword [eax + 4], esi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x435146
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x2c]
call esi
xor esi, esi
test edi, edi
je 0x435199
mov eax, dword [ebp - 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x54], 1
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], 0
cmp dword [eax - 4], 1
jle 0x43517a
push dword [eax - 0xc]
lea ecx, [ebp - 0x24]
call fcn.00402410
mov eax, dword [ebp - 0x24]
push 0
push edi
push dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x3c], 0
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x4351bb
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x38]
call fcn.0040f080
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x435306
cmp esi, 0x52e
je 0x4351d4
cmp esi, 0x56
je 0x4351d4
cmp esi, 0x89a
jne 0x435319
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x4353b3
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 6
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x4353b3
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
push str.Local_Network_Server
call fcn.00403700
test al, al
jne 0x435248
push 0x14
push str.Local_Network_Server
lea ecx, [ebp - 0x20]
call fcn.00403890
mov byte [ebp - 4], 8
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
push 0
call fcn.004370c0
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 6
or ecx, 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x435299
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4352c4
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
cmp byte [ebp - 0xd], 0
je 0x435313
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 4], 1
jle 0x4352e1
push dword [edi - 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00402410
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
cmp dword [eax - 4], 1
jle 0x4352fe
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.00402410
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
mov esi, dword [ebp - 0x14]
jmp 0x435146
mov eax, dword [ebp + 0x18]
xor esi, esi
mov dword [eax], 0
jmp 0x435316
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x435344
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43536f
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43539d
mov edi, dword [eax]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x14]
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.00402720
int3