Function at 0x4113c0
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.0040acb0
test rax, rax
cmovne rbx, rax
je 0x41144e
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 0x411444
mov rcx, r14
call fcn.004113b1
mov eax, dword [rsp + 0x80]
mov rbx, rsi
jmp 0x4113ef
mov ebp, eax
test eax, eax
jne 0x411455
mov eax, ebp
jmp 0x411464
mov ebp, 8
jmp 0x411481
lea rcx, [rsp + 0x30]
call fcn.004113b1
mov eax, 1
cmp eax, 1
jne 0x4114a6
xor r14d, r14d
cmp ebp, 0x32
je 0x41173a
cmp ebp, 0xe8
je 0x41173a
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov edx, ebp
call fcn.0041116f
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov r14d, 1
mov rsi, qword [rsi + 0x10]
jmp 0x41173a
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.00410f56
test eax, eax
je 0x41163b
mov esi, edx
mov ecx, 1
call fcn.00410f7d
test rdx, rdx
je 0x411a17
mov rbx, rax
mov rbp, rdx
mov qword [rsp + 0x68], r13
mov rcx, rax
call fcn.00410f31
test rax, rax
je 0x411a1e
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.00410f56
cmp eax, 1
jne 0x41161c
mov ebp, edx
cmp r13, r14
jne 0x411610
mov rbx, r14
mov esi, 1
inc rbx
jne 0x411577
xor r12d, r12d
jmp 0x4115fd
lea rax, [r14 + r14]
cmp rax, rbx
cmova rbx, rax
cmp rbx, 5
mov eax, 4
cmovb rbx, rax
mov rcx, rbx
call fcn.00410f7d
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.00410eba
cmp dword [rsp + 0x30], 1
jne 0x4115e8
mov rbx, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
jmp 0x4115fd
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.00410e39
mov qword [rsp + 0x78], rbx
mov dword [rdi + r13*4], ebp
inc r13
jmp 0x411546
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], r13
mov r13, qword [rsp + 0x68]
jmp 0x411655
mov rax, qword [0x0043dbd8]
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
lea r15, [rsp + 0xe8]
mov rcx, r15
call fcn.004113b1
mov dword [r15], 0x3a98
mov eax, 0x3a98
lea r14, [rsp + 0x30]
mov ebx, eax
mov edx, 8
mov rcx, rbx
call fcn.0040acb0
test rax, rax
cmovne rdi, rax
je 0x4116de
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 0x4116d4
mov rcx, r14
call fcn.00411160
mov eax, dword [rsp + 0xe8]
mov rdi, rsi
jmp 0x411676
mov ebp, eax
test eax, eax
jne 0x4116e5
mov eax, ebp
jmp 0x4116f4
mov ebp, 8
jmp 0x41170c
lea rcx, [rsp + 0x30]
call fcn.00411160
mov eax, 1
cmp eax, 1
jne 0x411766
xor r14d, r14d
cmp ebp, 0xe8
je 0x41171e
cmp ebp, 0x4cc
je 0x41171e
lea rcx, [rsp + 0x38]
mov edx, ebp
call fcn.0041116f
mov r14d, 1
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.00411144
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.00410fb3
cmp byte [rsi], 2
jne 0x4117c9
mov rdi, qword [0x0043dbd8]
xor r12d, r12d
xor r15d, r15d
jmp 0x411978
mov ecx, 1
call fcn.00411085
test rdx, rdx
je 0x411a17
mov rsi, rax
mov rbx, rdx
mov qword [rsp + 0x68], r13
mov rcx, rax
call fcn.00410f31
test rax, rax
je 0x411a26
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.00410fb3
cmp byte [rsp + 0xd0], 2
je 0x411973
cmp r15, r12
jne 0x41194e
mov rbx, r12
mov ebp, 1
inc rbx
jne 0x411891
xor r8d, r8d
jmp 0x411939
lea rax, [r12 + r12]
cmp rax, rbx
cmova rbx, rax
cmp rbx, 5
mov eax, 4
cmovb rbx, rax
mov rcx, rbx
call fcn.00411085
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.00410eba
cmp dword [rsp + 0x80], 1
jne 0x411910
mov rbx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
jmp 0x411939
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.00410e39
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 0x41185a
mov r13, qword [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.00411160
lea rcx, [rsp + 0x98]
call fcn.00411144
imul rbp, r15, 0x14
xor ecx, ecx
mov al, 1
cmp rbp, rcx
je 0x4119c7
mov dl, byte [rdi + rcx]
cmp dl, 2
je 0x4119c9
add rcx, 0x14
test dl, dl
jne 0x411998
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 0x4119c9
mov dl, 2
test al, al
je 0x4119dc
and qword [r13 + 8], 0
mov dword [r13], 1
jmp 0x4119f7
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 0x411752
imul rdx, r12, 0x14
mov r8d, 4
mov rcx, rdi
call fcn.00410fa5
jmp 0x411752
call fcn.0040b1a0
ud2
mov rcx, rbx
mov rdx, rbp
jmp 0x411a2c
mov rcx, rsi
mov rdx, rbx
call fcn.0040b090
ud2