Function at 0x1800f5db0
Capabilities:
Get networking parameters

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x70], rax
call fcn.1800019f3
mov rsi, rax
mov qword [rbp - 0x60], rsi
mov rcx, qword [rsi + 0x20]
mov qword [rbp - 0x58], rcx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
call fcn.1800c5c4c
call fcn.180001275
mov rdi, rax
mov qword [rbp - 0x68], rdi
cmp byte [rdi + 7], 0
jne 0x1800f6005
xor edx, edx
mov dword [rbp - 0x48], edx
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x78], rdx
xor ecx, ecx
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xa8]
call fcn.180003ca0
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
call sub.IPHLPAPI.DLL_GetNetworkParams
mov esi, eax
lea rcx, [rbp - 0xa8]
call fcn.180003cf0
cmp esi, 0x6f
jne 0x1800f6001
mov ecx, dword [rbp - 0x48]
movsxd rcx, ecx
call fcn.1800e3e5c
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x80], rdx
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0xa8]
call fcn.180003ca0
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
call sub.IPHLPAPI.DLL_GetNetworkParams
mov esi, eax
lea rcx, [rbp - 0xa8]
call fcn.180003cf0
test esi, esi
jne 0x1800f5fb5
mov rdi, qword [rbp - 0x60]
lea rcx, [rdi + 8]
mov qword [rbp - 0x70], rcx
mov rcx, qword [rbp - 0x50]
mov edx, 0x84
call fcn.1800f45d4
mov rcx, qword [rbp - 0x70]
mov rdx, rax
call fcn.1800041f0
lea rcx, [rdi + 0x10]
mov qword [rbp - 0x70], rcx
mov rdx, qword [rbp - 0x50]
cmp byte [rdx], dl
mov rbx, qword [rbp - 0x50]
add rbx, 0x84
mov rcx, rbx
mov edx, 0x84
call fcn.1800f45d4
mov rcx, qword [rbp - 0x70]
mov rdx, rax
call fcn.1800041f0
lea rcx, [rdi + 8]
mov qword [rbp - 0x70], rcx
mov rcx, qword [rbp - 0x50]
mov edx, 0x84
call fcn.1800f45d4
mov rcx, qword [rbp - 0x70]
mov rdx, rax
call fcn.1800041f0
lea rcx, [rdi + 0x10]
mov qword [rbp - 0x70], rcx
mov rdx, qword [rbp - 0x50]
cmp byte [rdx], dl
mov rcx, rbx
mov edx, 0x84
call fcn.1800f45d4
mov rcx, qword [rbp - 0x70]
mov rdx, rax
call fcn.1800041f0
mov rcx, qword [rbp - 0x50]
mov ecx, dword [rcx + 0x140]
mov rbx, qword [rbp - 0x68]
mov dword [rbx], ecx
lea rcx, [rdi + 0x18]
mov qword [rbp - 0x70], rcx
mov rdx, qword [rbp - 0x50]
cmp byte [rdx], dl
mov rdx, qword [rbp - 0x50]
lea rcx, [rdx + 0x144]
mov edx, 0x104
call fcn.1800f45d4
mov rcx, qword [rbp - 0x70]
mov rdx, rax
call fcn.1800041f0
mov rcx, qword [rbp - 0x50]
cmp dword [rcx + 0x248], 0
setne cl
mov byte [rbx + 4], cl
mov rcx, qword [rbp - 0x50]
cmp dword [rcx + 0x24c], 0
setne cl
mov byte [rbx + 5], cl
mov rcx, qword [rbp - 0x50]
cmp dword [rcx + 0x250], 0
setne cl
mov byte [rbx + 6], cl
mov byte [rbx + 7], 1
test qword [rbp - 0x50], 0xffffffffffff0000
je 0x1800f5ff8
mov rcx, qword [rbp - 0x50]
call fcn.1800e7fec
jmp 0x1800f5ff8
lea rcx, [0x180125620]
call fcn.180003190
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.1800e84c4
mov rdx, rax
mov rcx, rdi
call fcn.1800e41e4
mov dword [rdi + 0x50], esi
mov rcx, rdi
call fcn.180003590
cmp esi, 0x6f
je 0x1800f5e50
test esi, esi
jne 0x1800f5fca
cmp byte [rbp - 0x40], 0
je 0x1800f601e
mov rcx, qword [rbp - 0x58]
call fcn.1800c5b5c
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1800c5674
nop
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret