Function at 0x438040
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506565
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x438379
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x438379
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
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 - 0x34], xmm0
mov dword [ebp - 0x14], esi
call fcn.0040eea0
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 0x438106
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x2c]
call esi
xor esi, esi
test edi, edi
je 0x438159
mov eax, dword [ebp - 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x50], 1
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0
cmp dword [eax - 4], 1
jle 0x43813a
push dword [eax - 0xc]
lea ecx, [ebp - 0x24]
call fcn.004024c0
mov eax, dword [ebp - 0x24]
push 0
push edi
push dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x38], 0
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x43817b
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x34]
call fcn.0040f430
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4382cc
cmp esi, 0x52e
je 0x438194
cmp esi, 0x56
je 0x438194
cmp esi, 0x89a
jne 0x4382df
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x438379
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 6
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x438379
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
mov eax, str.Local_Network_Server
lea ecx, [ebp - 0x20]
test eax, 0xffff0000
jne 0x438202
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x43820e
push 0x14
push str.Local_Network_Server
call fcn.00403870
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.0043a0c0
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 0x43825f
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x43828a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
cmp byte [ebp - 0xd], 0
je 0x4382d9
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 4], 1
jle 0x4382a7
push dword [edi - 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004024c0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
cmp dword [eax - 4], 1
jle 0x4382c4
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.004024c0
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
mov esi, dword [ebp - 0x14]
jmp 0x438106
mov eax, dword [ebp + 0x18]
xor esi, esi
mov dword [eax], 0
jmp 0x4382dc
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 0x43830a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x438335
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x438363
mov edi, dword [eax]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x525578]
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.004027d0
int3