Function at 0x40e5f0
Capabilities:
Get local ipv4 addresses
Get routing table

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
mov r13, rcx
lea r15, [rsp + 0x80]
mov dword [r15], 0x3c
mov eax, 0x3c
lea r14, [rsp + 0x30]
mov edi, eax
mov edx, 4
mov rcx, rdi
call fcn.00408300
test rax, rax
cmovne rbx, rax
je 0x40e67e
mov rsi, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 4
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call sub.iphlpapi.dll_GetIpForwardTable
cmp eax, 0x7a
jne 0x40e674
mov rcx, r14
call fcn.0040e5e1
mov eax, dword [rsp + 0x80]
mov rbx, rsi
jmp 0x40e61f
mov ebp, eax
test eax, eax
jne 0x40e685
mov eax, ebp
jmp 0x40e694
mov ebp, 8
jmp 0x40e6b1
lea rcx, [rsp + 0x30]
call fcn.0040e5e1
mov eax, 1
cmp eax, 1
jne 0x40e6d6
xor r14d, r14d
cmp ebp, 0x32
je 0x40e96a
cmp ebp, 0xe8
je 0x40e96a
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov edx, ebp
call fcn.0040e39f
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov r14d, 1
mov rsi, qword [rsi + 0x10]
jmp 0x40e96a
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], 4
mov eax, dword [rbx]
imul rax, rax, 0x38
add rax, rbx
add rax, 4
add rbx, 4
lea rcx, [rsp + 0xb8]
mov qword [rcx], rbx
mov qword [rcx + 8], rax
call fcn.0040e186
test eax, eax
je 0x40e86b
mov esi, edx
mov ecx, 1
call fcn.0040e1ad
test rdx, rdx
je 0x40ec47
mov rbx, rax
mov rbp, rdx
mov qword [rsp + 0x68], r13
mov rcx, rax
call fcn.0040e161
test rax, rax
je 0x40ec4e
mov rdi, rax
mov r14, rdx
shr r14, 2
mov dword [rax], esi
movups xmm0, xmmword [rsp + 0xb8]
lea r15, [rsp + 0x80]
movups xmmword [r15], xmm0
mov r13d, 1
mov rcx, r15
call fcn.0040e186
cmp eax, 1
jne 0x40e84c
mov ebp, edx
cmp r13, r14
jne 0x40e840
mov rbx, r14
mov esi, 1
inc rbx
jne 0x40e7a7
xor r12d, r12d
jmp 0x40e82d
lea rax, [r14 + r14]
cmp rax, rbx
cmova rbx, rax
cmp rbx, 5
mov eax, 4
cmovb rbx, rax
mov rcx, rbx
call fcn.0040e1ad
mov r8, rdx
lea rcx, [r14*4]
test r14, r14
mov r9, rdi
cmove r9, r14
mov rdx, qword [rsp + 0x70]
cmovne rdx, rcx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 4
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.0040e0ea
cmp dword [rsp + 0x30], 1
jne 0x40e818
mov rbx, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
jmp 0x40e82d
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
shr r14, 2
mov rbx, qword [rsp + 0x78]
xor esi, esi
mov rcx, rsi
mov rdx, rbx
mov r8, r12
call fcn.0040e069
mov qword [rsp + 0x78], rbx
mov dword [rdi + r13*4], ebp
inc r13
jmp 0x40e776
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], r13
mov r13, qword [rsp + 0x68]
jmp 0x40e885
mov rax, qword [0x0043df08]
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
lea r15, [rsp + 0xe8]
mov rcx, r15
call fcn.0040e5e1
mov dword [r15], 0x3a98
mov eax, 0x3a98
lea r14, [rsp + 0x30]
mov ebx, eax
mov edx, 8
mov rcx, rbx
call fcn.00408300
test rax, rax
cmovne rdi, rax
je 0x40e90e
mov rsi, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x20], r15
mov ecx, 2
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.iphlpapi.dll_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x40e904
mov rcx, r14
call fcn.0040e390
mov eax, dword [rsp + 0xe8]
mov rdi, rsi
jmp 0x40e8a6
mov ebp, eax
test eax, eax
jne 0x40e915
mov eax, ebp
jmp 0x40e924
mov ebp, 8
jmp 0x40e93c
lea rcx, [rsp + 0x30]
call fcn.0040e390
mov eax, 1
cmp eax, 1
jne 0x40e996
xor r14d, r14d
cmp ebp, 0xe8
je 0x40e94e
cmp ebp, 0x4cc
je 0x40e94e
lea rcx, [rsp + 0x38]
mov edx, ebp
call fcn.0040e39f
mov r14d, 1
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.0040e374
mov qword [r13 + 8], r14
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], rbx
mov qword [r13 + 0x20], rsi
mov dword [r13], 1
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], 8
lea rdx, [rsp + 0xe8]
mov qword [rdx], rdi
lea rax, [rsp + 0x98]
mov qword [rdx + 8], rax
xorps xmm0, xmm0
movups xmmword [rdx + 0x10], xmm0
and qword [rdx + 0x20], 0
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.0040e1e3
cmp byte [rsi], 2
jne 0x40e9f9
mov rdi, qword [0x0043df08]
xor r12d, r12d
xor r15d, r15d
jmp 0x40eba8
mov ecx, 1
call fcn.0040e2b5
test rdx, rdx
je 0x40ec47
mov rsi, rax
mov rbx, rdx
mov qword [rsp + 0x68], r13
mov rcx, rax
call fcn.0040e161
test rax, rax
je 0x40ec56
mov rdi, rax
mov ecx, 0x14
mov rax, rdx
xor edx, edx
div rcx
mov r12, rax
lea r13, [rsp + 0x30]
movups xmm0, xmmword [r13]
mov eax, dword [r13 + 0x10]
mov dword [rdi + 0x10], eax
movups xmmword [rdi], xmm0
movups xmm0, xmmword [rsp + 0xe8]
movups xmm1, xmmword [rsp + 0xf8]
movups xmm2, xmmword [rsp + 0x108]
movaps xmmword [r13 + 0x20], xmm2
movaps xmmword [r13 + 0x10], xmm1
movaps xmmword [r13], xmm0
mov r15d, 1
lea rsi, [rsp + 0xd0]
mov r14d, 0x14
mov rcx, rsi
mov rdx, r13
call fcn.0040e1e3
cmp byte [rsp + 0xd0], 2
je 0x40eba3
cmp r15, r12
jne 0x40eb7e
mov rbx, r12
mov ebp, 1
inc rbx
jne 0x40eac1
xor r8d, r8d
jmp 0x40eb69
lea rax, [r12 + r12]
cmp rax, rbx
cmova rbx, rax
cmp rbx, 5
mov eax, 4
cmovb rbx, rax
mov rcx, rbx
call fcn.0040e2b5
mov r8, rdx
imul rcx, r12, 0x14
test r12, r12
mov r9, rdi
cmove r9, r12
mov rdx, qword [rsp + 0xb0]
cmovne rdx, rcx
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 4
lea rcx, [rsp + 0x80]
mov rdx, rax
call fcn.0040e0ea
cmp dword [rsp + 0x80], 1
jne 0x40eb40
mov rbx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
jmp 0x40eb69
mov rdi, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
xor edx, edx
mov ecx, 0x14
div rcx
mov r12, rax
mov rbx, qword [rsp + 0x70]
xor ebp, ebp
mov r8, qword [rsp + 0x78]
mov rcx, rbp
mov rdx, rbx
mov qword [rsp + 0x78], r8
call fcn.0040e069
mov qword [rsp + 0x70], rbx
mov eax, dword [rsp + 0xe0]
mov dword [rdi + r14 + 0x10], eax
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rdi + r14], xmm0
inc r15
add r14, 0x14
jmp 0x40ea8a
mov r13, qword [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.0040e390
lea rcx, [rsp + 0x98]
call fcn.0040e374
imul rbp, r15, 0x14
xor ecx, ecx
mov al, 1
cmp rbp, rcx
je 0x40ebf7
mov dl, byte [rdi + rcx]
cmp dl, 2
je 0x40ebf9
add rcx, 0x14
test dl, dl
jne 0x40ebc8
mov eax, dword [rdi + rcx - 4]
mov dword [rsp + 0x3f], eax
movups xmm0, xmmword [rdi + rcx - 0x13]
movaps xmmword [rsp + 0x30], xmm0
xor eax, eax
xor edx, edx
jmp 0x40ebf9
mov dl, 2
test al, al
je 0x40ec0c
and qword [r13 + 8], 0
mov dword [r13], 1
jmp 0x40ec27
mov byte [r13 + 4], dl
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r13 + 5], xmm0
mov eax, dword [rsp + 0x3f]
mov dword [r13 + 0x14], eax
and dword [r13], 0
test r12, r12
je 0x40e982
imul rdx, r12, 0x14
mov r8d, 4
mov rcx, rdi
call fcn.0040e1d5
jmp 0x40e982
call fcn.004087f0
ud2
mov rcx, rbx
mov rdx, rbp
jmp 0x40ec5c
mov rcx, rsi
mov rdx, rbx
call fcn.004086e0
ud2