Function at 0x14005de40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1400cb008]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12, qword [rsp + 0xf8]
lea r14, [rcx + 0xa8]
mov rdi, rcx
mov qword [rsp + 0x48], rdx
xor r13d, r13d
mov byte [rsp + 0x40], 1
mov rcx, r14
mov esi, r9d
mov rbx, r8
mov rbp, rdx
mov r15d, r13d
call fcn.140001010
xor edx, edx
mov r8d, 0xb8
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbp]
mov ebp, dword [rsp + 0xf0]
mov dword [rdi + 0x98], eax
cmp ebp, 0xffffffff
je 0x14005dec8
or dword [rdi + 4], 2
mov dword [rdi + 0xc], ebp
test esi, esi
je 0x14005ded3
or dword [rdi + 4], 4
mov dword [rdi + 0x38], esi
lea rcx, [rdi + 0x3c]
call fcn.140060b70
test byte [rdi + 0x3c], 1
je 0x14005defb
mov r8d, dword [rdi + 0x4c]
lea rdx, str.net_gateway
mov r9d, 0xffffffff
mov rcx, r12
call fcn.14005d5e0
test byte [rdi + 4], 2
je 0x14005df0b
mov ecx, ebp
call fcn.1400620d0
mov dword [rdi + 0x10], eax
test rbx, rbx
je 0x14005dfb2
mov rcx, r13
lea rdx, str.default
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14005df35
cmp rcx, 8
jne 0x14005df20
jmp 0x14005dfb2
mov dword [rsp + 0x38], 0x40
lea r9, [rsp + 0x78]
mov ecx, 2
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov r8, rbx
mov qword [rsp + 0x20], r13
lea edx, [rcx + 0x23]
call fcn.140062cc0
test eax, eax
jne 0x14005df87
mov r8d, dword [rsp + 0x78]
lea r9d, [rax - 1]
lea rdx, str.vpn_gateway
mov dword [rdi + 8], r8d
mov rcx, r12
call fcn.14005d5e0
or dword [rdi + 4], 1
jmp 0x14005dfb2
mov ecx, 0x40
mov dword [rdi + 8], r13d
call fcn.14000ec70
test al, al
je 0x14005dfad
mov r8, rbx
lea rdx, str.OpenVPN_ROUTE:_failed_to_parse_resolve_default_gateway:__s
mov ecx, 0x40
call fcn.14000e820
mov byte [rsp + 0x40], r13b
mov eax, dword [rdi + 0x98]
test al, 1
je 0x14005e175
test al, al
jns 0x14005e079
mov eax, dword [rdi + 0x3c]
and eax, 3
cmp al, 3
jne 0x14005e079
test byte [rdi + 4], 1
je 0x14005e079
cmp dword [rdi + 0x10], 2
je 0x14005e079
movsxd rdx, dword [rdi + 0x14]
mov ecx, r13d
mov r8d, dword [rdi + 0x4c]
test edx, edx
jle 0x14005e00f
lea rax, [rdi + 0x18]
nop dword [rax]
cmp r8d, dword [rax]
je 0x14005e01c
inc ecx
add rax, 4
cmp ecx, edx
jl 0x14005e000
cmp edx, 8
jge 0x14005e01c
mov dword [rdi + rdx*4 + 0x18], r8d
inc dword [rdi + 0x14]
mov r8d, dword [rdi + 8]
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.14005dd00
mov rsi, r13
cmp dword [rdi + 0x54], esi
jbe 0x14005e079
lea rbx, [rdi + 0x58]
nop dword [rax + rax]
mov edx, dword [rdi + 0x50]
mov ecx, edx
mov r8d, dword [rbx + 4]
mov eax, r8d
and ecx, dword [rdi + 0x4c]
and eax, dword [rbx]
cmp ecx, eax
jne 0x14005e05a
cmp edx, r8d
je 0x14005e069
mov r8d, dword [rdi + 8]
mov rdx, rbx
mov rcx, rdi
call fcn.14005dd00
movsxd rax, dword [rdi + 0x54]
inc rsi
add rbx, 8
cmp rsi, rax
jb 0x14005e040
mov r13d, dword [rdi + 0x98]
lea rcx, [rsp + 0x78]
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
call fcn.140060690
mov rcx, rax
call fcn.140060ac0
mov rbp, rax
test rax, rax
je 0x14005e121
mov esi, dword [rax + 0x10]
lea rcx, [rsp + 0x78]
call fcn.14007f3f0
mov rbx, rax
test rax, rax
je 0x14005e0d3
cmp esi, 0xffffffff
je 0x14005e0d3
cmp dword [rbx + 0x1a0], esi
je 0x14005e0d5
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14005e0c3
xor ebx, ebx
mov ecx, dword [rbp + 0x10]
lea rdx, [rsp + 0x78]
call fcn.14007f530
mov rsi, rax
test r13b, 8
je 0x14005e109
test rbx, rbx
je 0x14005e109
cmp dword [rbx + 0x1a8], r15d
je 0x14005e109
lea rdx, [rbx + 0x218]
lea rcx, [rdi + 0x14]
call fcn.140062000
test r13b, 0x10
je 0x14005e121
test rsi, rsi
je 0x14005e121
lea rdx, [rsi + 0x10]
lea rcx, [rdi + 0x14]
call fcn.140062000
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14005e141
nop dword [rax + rax]
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
test rbx, rbx
jne 0x14005e130
mov rsi, qword [rsp + 0x80]
test rsi, rsi
je 0x14005e172
nop
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi + 8]
mov rbx, qword [rsi]
call qword [0x14008d1f0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, rbx
test rbx, rbx
jne 0x14005e150
xor r13d, r13d
mov rbp, qword [rsp + 0x48]
mov rbp, qword [rbp + 8]
test rbp, rbp
je 0x14005e2b2
lea r12, [0x14005d5d0]
nop
mov r9, rdi
mov qword [rsp + 0x78], r13
mov r8, rbp
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.14005d7a0
test al, al
jne 0x14005e1b7
mov byte [rsp + 0x40], al
jmp 0x14005e24e
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x14005e276
test r14, r14
je 0x14005e1ed
mov ecx, 0x30
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14005e2e2
mov rcx, qword [r14]
lea rbx, [rax + 8]
mov qword [rax], rcx
mov qword [r14], rax
jmp 0x14005e204
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14005e2e2
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm0
movsd xmm0, qword [rsp + 0x70]
movsd qword [rbx + 0x20], xmm0
mov rax, qword [rsi + 0x20]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x18], eax
mov rax, qword [rdi + 0xa0]
mov qword [rbx], rax
mov qword [rdi + 0xa0], rbx
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x14005e1c5
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14005e276
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14005e2e2
mov qword [rax], r15
mov r15, rax
mov qword [rax + 8], r12
mov qword [rax + 0x10], rbx
mov rbp, qword [rbp]
test rbp, rbp
jne 0x14005e190
test r15, r15
je 0x14005e2b2
nop dword [rax + rax]
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15 + 8]
mov rbx, qword [r15]
call qword [0x14008d1f0]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, rbx
test rbx, rbx
jne 0x14005e290
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008aca0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000ede0
int3