Function at 0x140001e50
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x220
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r12, r9
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140001150
nop
mov rax, qword [0x1400ec150]
test rax, rax
jne 0x140001ebc
mov ecx, 0x310
call fcn.140051b7c
mov qword [rsp + 0x250], rax
test rax, rax
je 0x140001eb3
mov rcx, rax
call fcn.140023810
jmp 0x140001eb5
xor eax, eax
mov qword [0x1400ec150], rax
mov r8, rbx
lea rdx, str.GetNetworkInfo__s_
mov rcx, rax
call fcn.140023be0
cmp dword [rbp], 0
jne 0x140002037
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400017c0
test eax, eax
jne 0x140001f19
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001f02
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140001f02
call rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001f12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140002117
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140001f97
mov rax, qword [rsp + 0xd8]
test rax, rax
jne 0x140001f87
test rbx, rbx
je 0x140001f6f
lea rdx, str.GetNetworkInfo
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd8], rax
test rax, rax
jne 0x140001f87
mov esi, 0x7f
mov dword [rsp + 0x30], esi
lea rcx, str.EWSIntf::get_network_info:_Function_not_found_in_DLL:_GetNetworkInfo_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x140001f9b
mov esi, 6
mov dword [rsp + 0x30], esi
lea rcx, str.EWSIntf::get_network_info:_Attempting_to_lookup_GetNetworkInfo_with_no_DLL_handle_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x140001f9b
mov rdx, rsi
mov rcx, rdi
call rax
test eax, eax
jne 0x140002041
mov esi, dword [rsp + 0x30]
or ebp, 0xffffffff
test rdi, rdi
je 0x140001fc7
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140001fc9
lea rdx, [rsp + 0x250]
mov rcx, rdi
call rax
test eax, eax
je 0x140001fc9
mov ebp, dword [rsp + 0x250]
jmp 0x140001fc9
mov ebp, esi
mov rax, qword [0x1400ec150]
test rax, rax
jne 0x140001ffc
mov ecx, 0x310
call fcn.140051b7c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140001ff3
mov rcx, rax
call fcn.140023810
jmp 0x140001ff5
xor eax, eax
mov qword [0x1400ec150], rax
lea r8, str.ewsinfo.get_network_info__
mov edx, ebp
mov rcx, rax
call fcn.140023e20
nop
test rdi, rdi
je 0x140002022
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140002022
mov rcx, rdi
call rax
test rbx, rbx
je 0x140002030
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140002117
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov rax, qword [0x1400ec150]
test rax, rax
jne 0x140002077
mov ecx, 0x310
call fcn.140051b7c
mov qword [rsp + 0x250], rax
test rax, rax
je 0x14000206e
mov rcx, rax
call fcn.140023810
jmp 0x140002070
xor eax, eax
mov qword [0x1400ec150], rax
mov r9d, dword [rsi + 0xa]
mov r8d, dword [rbp]
lea rdx, str.GetNetworkInfo_index___d__num_interfaces___d
mov rcx, rax
call fcn.140023be0
mov r11d, dword [rbp]
cmp r11d, dword [rsi + 0xa]
jae 0x1400020f3
cmp r11d, 3
jae 0x1400020f3
mov rax, r11
imul rax, rax, 0x39d
mov rcx, r12
lea rdx, [rax + rsi + 0xe]
mov r8d, 0x39d
call fcn.140082670
mov rdx, r12
mov rcx, rsi
call fcn.140006180
add dword [rbp], 1
test rdi, rdi
je 0x1400020de
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400020de
mov rcx, rdi
call rax
test rbx, rbx
je 0x1400020ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x140002117
test rdi, rdi
je 0x140002107
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140002107
mov rcx, rdi
call rax
test rbx, rbx
je 0x140002115
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret