Function at 0x41b800
Capabilities:
Connect network resource

Disassembly:
push 0xffffffffffffffff
push 0x443e10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, 2
push 0x459194
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], ebx
call sub.MFC42.DLL_CString::TrimLeft
lea eax, [esp + 0x40]
lea ecx, [esp + 0xc]
push eax
push 0x45a7bc
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push 3
push 0x5c
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Find_2
or ebp, 0xffffffff
cmp eax, ebp
je 0x41b8a1
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x48]
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x14]
push 1
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], ecx
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x28], 1
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
pop edi
je 0x41ba03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x50]
cmp eax, 0x4c3
mov dword [edx], eax
ja 0x41b98c
je 0x41b921
cmp eax, 5
je 0x41b917
cmp eax, 0x35
jne 0x41b993
push 0x45a79c
jmp 0x41b9ad
push 0x45a790
jmp 0x41b9ad
lea eax, [esp + 0x40]
lea ecx, [esp + 0x50]
push eax
push 0x45a774
push ecx
call sub.MFC42.DLL_operator_2
mov ecx, dword [esp + 0x4c]
push eax
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x50]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x40]
push 1
push 1
push edx
call sub.MPR.dll_WNetCancelConnection2A
test eax, eax
jne 0x41b9c4
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push 1
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x40]
je 0x41ba0c
jmp 0x41b9cd
cmp eax, 0x52e
je 0x41b9a8
mov esi, dword [esp + 0x4c]
push eax
push 0x45a758
push esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x41b9b8
push 0x45a744
mov esi, dword [esp + 0x50]
mov ecx, esi
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x40]
mov ecx, esi
push eax
call fcn.0043f60a
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov dword [esp + 0x38], ebp
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov dword [esp + 0x38], ebp
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14