Function at 0x477538
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
xor eax, eax
push esi
push edi
mov word [ebp - 0x124], ax
lea edi, [ebp - 0x122]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0041df75
mov dword [0x604cc8], eax
call fcn.00476af2
mov ebx, eax
mov dword [ebp - 0x13c], ebx
test ebx, ebx
je 0x4777ad
lea eax, [ebp - 0x124]
push eax
call fcn.0041e918
and dword [ebp - 0x130], 0
pop ecx
mov dword [ebp - 0x12c], 1
add ebx, 0x18
mov dword [ebp - 0x138], 0x1a
movsx eax, byte [ebx - 0x18]
call fcn.00444aae
cmp eax, 0x61
jl 0x47777e
cmp eax, 0x7a
jg 0x47777e
mov esi, dword [sym.imp.MPR.dll_WNetAddConnection2A]
push 0x81
lea edi, [ebx + 0x150]
lea eax, [edi + 0x80]
push edi
lea ecx, [ebx - 0x14]
push eax
push ecx
mov dword [ebp - 0x134], eax
call esi
mov dword [ebp - 0x128], eax
cmp eax, 0x55
jne 0x477626
test byte [ebp + 8], 1
je 0x477626
push 1
push dword [edi - 0x154]
call fcn.00474075
test eax, eax
jne 0x477626
push 0x81
push edi
push dword [ebp - 0x134]
lea eax, [ebx - 0x14]
push eax
call esi
mov dword [ebp - 0x128], eax
inc dword [ebx + 0x260]
cmp dword [ebp - 0x128], 0
je 0x4776f9
mov edi, dword [ebx]
and dword [ebp - 0x12c], 0
mov edx, edi
call fcn.00445b2f
test eax, eax
jne 0x477702
push 0x4e3d38
push edi
call fcn.004454c3
pop ecx
pop ecx
test eax, eax
je 0x477702
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.00401f80
add esp, 0xc
push edi
mov edi, 0x104
mov ecx, edi
lea eax, [ebp - 0x114]
call fcn.00444961
pop ecx
push 0
push str._tamspos
push 0x4e3d38
push edi
push eax
call fcn.00446460
mov eax, dword [ebx]
mov dword [ebp - 0x128], eax
add esp, 0x14
lea eax, [ebp - 0x114]
mov dword [ebx], eax
push 0x81
lea eax, [ebx + 0x150]
push eax
push dword [ebp - 0x134]
lea eax, [ebx - 0x14]
push eax
call esi
test eax, eax
mov eax, dword [ebp - 0x128]
je 0x4776e3
mov dword [ebx], eax
jmp 0x477702
push dword [ebx]
mov ecx, edi
mov dword [ebp - 0x12c], 1
call fcn.00444961
pop ecx
mov dword [ebx], eax
cmp dword [ebp - 0x12c], 0
jne 0x47776b
test byte [ebp + 8], 2
je 0x477727
push 0x81
push 0
push 0
lea edi, [ebx - 0x14]
push edi
call esi
test eax, eax
je 0x477727
push 0x80
push 0
push 0
push edi
call esi
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 - 0x124]
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.0041f61b
push eax
call fcn.004042fa
add esp, 0x24
cmp eax, 0x48190800
jle 0x477763
cmp dword [ebx + 0x260], 0x19
jg 0x47776b
inc dword [ebp - 0x130]
jmp 0x47777e
push 0x27c
lea eax, [ebx - 0x18]
push 0
push eax
call fcn.00401f80
add esp, 0xc
add ebx, 0x27c
dec dword [ebp - 0x138]
jne 0x4775ac
mov ecx, dword [ebp - 0x13c]
call fcn.004769d3
push dword [ebp - 0x13c]
call fcn.00401a00
mov eax, dword [ebp - 0x130]
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret