Function at 0x100011ef4
Capabilities:
Connect network resource

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x50
mov r14, r8
mov r13, rdx
mov rdi, rcx
test rcx, rcx
je 0x100012243
call fcn.100011510
mov esi, 1
cmp eax, esi
je 0x100012243
mov rcx, rdi
call fcn.1000114a8
cmp eax, esi
jne 0x100011f41
add rdi, 4
mov rcx, rdi
call fcn.1000116e8
test eax, eax
jne 0x100011f5d
call fcn.10000e274
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10001227a
lea rcx, [0x100001c98]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
test eax, eax
je 0x100011f8b
lea r9, [0x100001c98]
lea rdx, [0x100001ca8]
mov ecx, 2
call fcn.10000e120
jmp 0x100011f99
lea rdx, [0x100001c88]
mov ecx, esi
call fcn.10000e120
test eax, eax
jne 0x100011fbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 8
test eax, eax
jne 0x100011fb4
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.10000e274
jmp 0x100012274
call fcn.10000e060
mov r12, rax
test rax, rax
jne 0x100011fdb
lea ecx, [rax + 0x12]
call fcn.10000dda0
mov rbx, rax
jmp 0x1000120e1
call fcn.10000dcac
test eax, eax
jne 0x100011feb
xor ebx, ebx
jmp 0x1000120e1
mov rcx, qword [0x1000176f8]
mov ebx, 3
mov edx, ebx
call fcn.100010f88
mov r10d, eax
cmp eax, 0x12
ja 0x10001202a
mov rcx, qword [0x1000176f8]
call fcn.100010fd0
test rax, rax
je 0x100011fe4
lea edx, [rbx + 0x10]
mov rcx, rax
sub edx, r10d
call fcn.100010e10
cmp eax, 0xffffffff
je 0x100011fe4
mov rcx, qword [0x1000176f8]
mov r8d, 0x12
mov edx, ebx
call fcn.10001137c
test eax, eax
je 0x10001213f
mov rcx, qword [0x1000176f8]
mov r8d, 0x12
mov edx, ebx
call fcn.1000111c8
mov rbx, rax
test rax, rax
je 0x100011fe4
lea rdx, [0x100001bd8]
mov r8d, 7
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__memicmp]
test eax, eax
jne 0x100011fe4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rbx + 8]
lea esi, [rax + 1]
cmp esi, ecx
ja 0x1000120a2
cmp esi, 0x100
jbe 0x1000120c3
lea eax, [rsi + rsi]
cmp eax, ecx
jae 0x1000120c3
test ecx, ecx
jne 0x1000121e7
lea ecx, [rsi + rsi]
call fcn.100010558
mov qword [rbx + 0x10], rax
cmp rax, 0
je 0x100011fe4
mov dword [rbx + 8], esi
cmp qword [rbx + 0x10], 0
je 0x100011fe4
mov rcx, qword [rbx + 0x10]
mov r8d, esi
mov rdx, r12
call fcn.10000f884
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x100011f9d
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x30]
call sub.msvcrt.dll_memset
and dword [rsp + 0x24], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x20]
xor r9d, r9d
mov r8, r13
mov rdx, r14
mov qword [rsp + 0x38], rbx
call sub.MPR.dll_WNetAddConnection2W
mov ebx, eax
test eax, eax
je 0x100012201
cmp eax, 0x4b8
je 0x1000121fa
mov ecx, eax
jmp 0x100011fae
mov ecx, 0x18
call fcn.100010558
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x100011fe4
and dword [rax + 8], 0
and qword [rax + 0x10], 0
lea rdx, [0x100001bd8]
mov r8d, 7
mov rcx, rax
call fcn.10000f7fc
mov rcx, qword [0x1000176f8]
xor r8d, r8d
lea edx, [r8 + 3]
call fcn.100010754
test rax, rax
je 0x1000121c1
cmp dword [rax + 4], 0x80000
jne 0x1000121c1
mov rcx, qword [rax + 0x10]
xor r8d, r8d
lea edx, [r8 + 0x12]
call fcn.100010754
mov rdx, rax
test rax, rax
je 0x1000121c1
mov eax, dword [rax + 4]
mov ecx, 0x10000
cmp eax, ecx
je 0x1000121da
test eax, eax
je 0x1000121de
xor esi, esi
test esi, esi
jne 0x100012062
lea rcx, [rsp + 0x70]
call fcn.10001047c
jmp 0x100011fe4
test eax, eax
jne 0x1000121e1
mov dword [rdx + 4], ecx
mov qword [rdx + 0x10], rbx
jmp 0x1000121c3
lea edx, [rsi + rsi]
lea rcx, [rbx + 0x10]
call fcn.1000105f8
test eax, eax
jmp 0x1000120ba
call fcn.10000e324
jmp 0x100012274
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
call fcn.100011c48
cmp eax, 0x1388
jae 0x100012274
xor edx, edx
mov r8d, 0x10000010
mov rcx, rdi
call fcn.10001229c
mov ecx, 0x1580
call fcn.10000e684
mov rcx, rax
call fcn.10000e0a0
mov ebx, 0x4b8
jmp 0x100012274
test r13, r13
je 0x100012278
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100012278
mov ecx, 0x157e
call fcn.10000e684
mov rcx, rax
call fcn.10000e0a0
mov ebx, 0xa0010001
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x10001227a
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret