Function at 0x100129e30
Capabilities:
Get local ipv4 addresses

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbx, rcx
or rsi, 0xffffffffffffffff
mov qword [r11 - 0x50], rsi
mov eax, dword [0x10029a8b0]
and eax, 0x20004
cmp eax, 0x20004
jne 0x100129e91
mov rax, qword [0x1004e2d30]
test rax, rax
je 0x100129e91
mov r9d, r8d
mov r8, rdx
mov rdx, qword [0x1004e2d30]
lea rcx, [r11 - 0x50]
call fcn.100126900
xor r15d, r15d
mov edi, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0xb8], r15d
mov r13d, r15d
cmp byte [0x10029a9f4], dil
je 0x100129f0f
mov eax, dword [0x10029a8b0]
and eax, 0x20002
cmp eax, 0x20002
jne 0x10012a895
mov rax, qword [0x1004e2ab0]
test rax, rax
je 0x10012a895
cmp qword [0x10023faa8], 0xffffffffffffffff
je 0x10012a895
mov qword [rsp + 0x20], r15
mov r9, qword [0x1004e2ab0]
mov r8d, 0x75800
mov rdx, qword [0x1004e24c0]
mov rcx, qword [0x10023faa8]
call qword [0x10023faf0]
jmp 0x10012a781
call fcn.10012b3b0
mov edi, eax
test eax, eax
jne 0x10012a781
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov edi, eax
cmp eax, 0x6f
jne 0x10012a6dd
mov ecx, dword [rsp + 0xb8]
add rcx, 0xb7
movabs rax, 0x642c8590b21642c9
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 7
mov eax, 0xb8
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.100114490
mov r13, rax
test rax, rax
jne 0x100129f91
lea edi, [rax + 8]
jmp 0x10012a781
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9, r13
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov edi, eax
test eax, eax
jne 0x10012a733
mov rdi, r13
nop word [rax + rax]
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x10012a048
nop dword [rax]
mov rax, qword [rbx + 0x10]
movzx ecx, word [rax]
cmp ecx, 2
je 0x10012a039
cmp ecx, 0x17
je 0x10012a031
mov eax, dword [0x10029a8b0]
and eax, 0x20002
cmp eax, 0x20002
jne 0x10012a03f
mov rax, qword [0x1004e2ac8]
test rax, rax
je 0x10012a03f
cmp qword [0x10023faa8], 0xffffffffffffffff
je 0x10012a03f
mov qword [rsp + 0x20], r15
mov r9, qword [0x1004e2ac8]
mov r8d, 0x87800
mov rdx, qword [0x1004e24d8]
mov rcx, qword [0x10023faa8]
call qword [0x10023faf0]
jmp 0x10012a03f
inc dword [0x10029aa04]
jmp 0x10012a03f
inc dword [0x10029aa00]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x100129fd0
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x100129fc0
call fcn.100058d10
mov rcx, qword [rax + 0x38]
mov r10, qword [rcx]
mov ecx, dword [0x10029aa04]
mov eax, 0x10
mul rcx
mov rdx, rax
cmovo rdx, rsi
cmp rdx, 0xffffffffffffffff
jne 0x10012a081
mov rax, r15
jmp 0x10012a09c
mov rax, qword [r10]
mov byte [rsp + 0x20], 6
mov r9d, 0x225
lea r8, [0x100037b10]
mov rcx, r10
call qword [rax + 0x48]
mov qword [0x10029aa08], rax
test rax, rax
je 0x10012a774
call fcn.100058d10
mov rcx, qword [rax + 0x38]
mov r10, qword [rcx]
mov ecx, dword [0x10029aa00]
mov eax, 4
mul rcx
mov rdx, rax
cmovo rdx, rsi
cmp rdx, 0xffffffffffffffff
jne 0x10012a0d8
mov rax, r15
jmp 0x10012a0f3
mov rax, qword [r10]
mov byte [rsp + 0x20], 6
mov r9d, 0x22c
lea r8, [0x100037b10]
mov rcx, r10
call qword [rax + 0x48]
mov qword [0x10029a9f8], rax
test rax, rax
je 0x10012a774
mov r12d, r15d
mov esi, r15d
mov r14, r13
mov rbp, r15
nop
mov rbx, qword [r14 + 0x18]
test rbx, rbx
je 0x10012a1e6
mov rdi, rbp
shl rdi, 4
mov rdx, qword [rbx + 0x10]
movzx eax, word [rdx]
cmp eax, 2
je 0x10012a178
cmp eax, 0x17
jne 0x10012a1d9
cmp dword [rbx + 0x18], 0x1c
jb 0x10012a1f8
mov rcx, qword [0x10029aa08]
mov rax, qword [rdx + 8]
mov qword [rcx + rdi], rax
mov rax, qword [rdx + 0x10]
mov qword [rcx + rdi + 8], rax
mov ecx, esi
shl rcx, 4
add rcx, qword [0x10029aa08]
call fcn.10012c230
inc esi
inc rbp
add rdi, 0x10
jmp 0x10012a1d9
cmp dword [rbx + 0x18], 0x10
jb 0x10012a236
mov ecx, dword [rdx + 4]
mov rax, qword [0x10029a9f8]
mov dword [rax + r15*4], ecx
mov rax, qword [0x10029a9f8]
movzx ecx, byte [rax + r15*4 + 3]
movzx edx, byte [rax + r15*4 + 2]
movzx r8d, byte [rax + r15*4 + 1]
movzx r9d, byte [rax + r15*4]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea r8, [0x100038f80]
mov edx, 3
mov rcx, qword [0x10029b218]
call fcn.100156ed0
inc r12d
inc r15
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x10012a124
mov r14, qword [r14 + 8]
test r14, r14
je 0x10012a274
jmp 0x10012a110
mov edi, 0x57
test byte [0x10029a8b0], 2
je 0x10012a22e
mov rax, qword [0x1004e2ad8]
test rax, rax
je 0x10012a22e
mov r9d, dword [rbx + 0x18]
mov r8, qword [0x1004e2ad8]
mov edx, 0x94000
mov rcx, qword [0x1004e24e8]
call fcn.100126850
xor r15d, r15d
jmp 0x10012a779
mov edi, 0x57
test byte [0x10029a8b0], 2
je 0x10012a22e
mov rax, qword [0x1004e2ad0]
test rax, rax
je 0x10012a22e
mov r9d, dword [rbx + 0x18]
mov r8, qword [0x1004e2ad0]
mov edx, 0x91400
mov rcx, qword [0x1004e24e0]
call fcn.100126850
xor r15d, r15d
jmp 0x10012a779
lea rcx, [rsp + 0x40]
call fcn.10012b500
mov r8d, 7
mov dword [0x10029aa18], r8d
mov rdx, qword [rsp + 0x40]
xor r15d, r15d
or rbp, 0xffffffffffffffff
test rdx, rdx
je 0x10012a2d6
cmp r15w, word [rdx]
je 0x10012a2d6
nop word [rax + rax]
inc r8d
mov dword [0x10029aa18], r8d
mov rax, rbp
nop dword [rax]
inc rax
cmp word [rdx + rax*2], r15w
jne 0x10012a2c0
inc eax
lea rdx, [rdx + rax*2]
cmp r15w, word [rdx]
jne 0x10012a2b0
call fcn.100058d10
mov rcx, qword [rax + 0x38]
mov r10, qword [rcx]
mov ecx, dword [0x10029aa18]
mov eax, 8
mul rcx
mov rdx, rax
cmovo rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x10012a302
mov rax, r15
jmp 0x10012a31d
mov rax, qword [r10]
mov byte [rsp + 0x20], 6
mov r9d, 0x279
lea r8, [0x100037b10]
mov rcx, r10
call qword [rax + 0x48]
mov qword [0x10029aa10], rax
mov dword [0x10029aa18], r15d
test rax, rax
je 0x10012a774
mov ecx, 7
call fcn.10012b970
mov edi, eax
test eax, eax
jne 0x10012a779
mov eax, dword [0x10029aa18]
mov r9, qword [0x10029aa10]
mov r9, qword [r9 + rax*8]
lea r8, [0x1000384a0]
lea edx, [rdi + 3]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
inc dword [0x10029aa18]
lea ecx, [rdi + 4]
call fcn.10012b970
mov edi, eax
test eax, eax
jne 0x10012a779
mov eax, dword [0x10029aa18]
mov r9, qword [0x10029aa10]
mov r9, qword [r9 + rax*8]
lea r8, [0x100038530]
lea edx, [rdi + 3]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
inc dword [0x10029aa18]
lea ecx, [rdi + 5]
call fcn.10012b970
mov edi, eax
test eax, eax
jne 0x10012a779
mov eax, dword [0x10029aa18]
mov r9, qword [0x10029aa10]
mov r9, qword [r9 + rax*8]
lea r8, [0x1000385b0]
lea edx, [rdi + 3]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
inc dword [0x10029aa18]
lea ecx, [rdi + 3]
call fcn.10012b970
mov edi, eax
test eax, eax
jne 0x10012a779
mov eax, dword [0x10029aa18]
mov r9, qword [0x10029aa10]
mov r9, qword [r9 + rax*8]
lea r8, [0x100038630]
lea edx, [rdi + 3]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
inc dword [0x10029aa18]
xor ecx, ecx
call fcn.10012b970
mov edi, eax
test eax, eax
jne 0x10012a779
mov eax, dword [0x10029aa18]
mov r9, qword [0x10029aa10]
mov r9, qword [r9 + rax*8]
lea r8, [0x1000386b0]
lea edx, [rdi + 3]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
inc dword [0x10029aa18]
lea ecx, [rdi + 1]
call fcn.10012b970
mov edi, eax
test eax, eax
jne 0x10012a779
mov eax, dword [0x10029aa18]
mov r9, qword [0x10029aa10]
mov r9, qword [r9 + rax*8]
lea r8, [0x100038720]
lea edx, [rdi + 3]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
inc dword [0x10029aa18]
call fcn.100058d10
mov rcx, qword [rax + 0x38]
mov rcx, qword [rcx]
mov rax, qword [rcx]
mov byte [rsp + 0x20], 6
mov r9d, 0x2b5
lea r8, [0x100037b10]
lea edx, [rdi + 0x14]
call qword [rax + 0x48]
mov edx, dword [0x10029aa18]
mov rcx, qword [0x10029aa10]
mov qword [rcx + rdx*8], rax
mov ecx, dword [0x10029aa18]
mov rdx, qword [0x10029aa10]
cmp qword [rdx + rcx*8], 0
je 0x10012a774
inc ecx
mov dword [0x10029aa18], ecx
lea eax, [rcx - 1]
mov rdx, qword [rdx + rax*8]
mov rax, qword [0x100038790]
mov qword [rdx], rax
mov rax, qword [0x100038798]
mov qword [rdx + 8], rax
mov eax, dword [reloc.WS2_32.dll_WSACleanup]
mov dword [rdx + 0x10], eax
lea r9, [0x100038790]
lea r8, [0x1000387b0]
lea edx, [rdi + 3]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov r11d, dword [0x10029a8b0]
and r11d, 0x20002
cmp r11d, 0x20002
jne 0x10012a58b
mov rax, qword [0x1004e2ae0]
test rax, rax
je 0x10012a58b
lea r9, [0x100038790]
mov r8, qword [0x1004e2ae0]
mov edx, 0xafc00
mov rcx, qword [0x1004e24f0]
call fcn.100126850
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x10012a6bd
cmp r15w, word [rsi]
je 0x10012a6bd
mov rax, rbp
inc rax
cmp word [rsi + rax*2], 0
jne 0x10012a5a6
lea ebx, [rax + 1]
call fcn.100058d10
mov rcx, qword [rax + 0x38]
mov rcx, qword [rcx]
mov eax, 2
mul rbx
mov rdx, rax
cmovo rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x10012a5d9
mov rax, r15
jmp 0x10012a5f1
mov rax, qword [rcx]
mov byte [rsp + 0x20], 6
mov r9d, 0x2cd
lea r8, [0x100037b10]
call qword [rax + 0x48]
mov edx, dword [0x10029aa18]
mov rcx, qword [0x10029aa10]
mov qword [rcx + rdx*8], rax
mov ecx, dword [0x10029aa18]
mov r9, qword [0x10029aa10]
cmp qword [r9 + rcx*8], 0
je 0x10012a774
inc ecx
mov dword [0x10029aa18], ecx
lea eax, [rcx - 1]
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, qword [r9 + rax*8]
call sub.MSVCR100.dll_memcpy
mov r11d, dword [0x10029a8b0]
and r11d, 0x20002
cmp r11d, 0x20002
jne 0x10012a685
mov rax, qword [0x1004e2ae8]
test rax, rax
je 0x10012a685
mov eax, dword [0x10029aa18]
dec eax
mov r9, qword [0x10029aa10]
mov r9, qword [r9 + rax*8]
mov r8, qword [0x1004e2ae8]
mov edx, 0xb6800
mov rcx, qword [0x1004e24f8]
call fcn.100126850
mov eax, dword [0x10029aa18]
dec eax
mov r9, qword [0x10029aa10]
mov r9, qword [r9 + rax*8]
lea r8, [0x1000388a0]
mov edx, 3
mov rcx, qword [0x10029b218]
call fcn.100156ed0
add rsi, rbx
cmp r15w, word [rsi]
jne 0x10012a5a3
mov dword [0x10029aa1c], 5
mov dword [0x10029aa20], 5
mov byte [0x10029a9f4], 1
jmp 0x10012a779
test eax, eax
jne 0x10012a733
or edi, 0xffffffff
test byte [0x10029a8b0], 2
je 0x10012a781
mov rax, qword [0x1004e2ab8]
test rax, rax
je 0x10012a781
cmp qword [0x10023faa8], 0xffffffffffffffff
je 0x10012a781
mov qword [rsp + 0x20], r15
mov r9, qword [0x1004e2ab8]
mov r8d, 0x80000
mov rdx, qword [0x1004e24c8]
mov rcx, qword [0x10023faa8]
call qword [0x10023faf0]
jmp 0x10012a781
test byte [0x10029a8b0], 2
je 0x10012a781
mov rax, qword [0x1004e2ac0]
test rax, rax
je 0x10012a781
mov dword [rsp + 0x28], edi
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x20], eax
mov r9, r13
mov r8, qword [0x1004e2ac0]
mov edx, 0x81c00
mov rcx, qword [0x1004e24d0]
call fcn.100126850
jmp 0x10012a781
mov edi, ntohs
mov rbx, qword [rsp + 0xa0]
mov ebp, 0x200
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x10012a7dc
and rsi, 0xffffffffffffe000
je 0x10012a7a3
cmp word [rsi + 4], bp
jne 0x10012a7a3
mov rsi, qword [rsi + 0x28]
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, qword [rsp + 0x40]
je 0x10012a7c2
cmp word [rcx + 4], bp
jne 0x10012a7c2
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x10012a7d7
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x40]
call qword [rax + 0x28]
mov qword [rsp + 0x40], r15
test r13, r13
je 0x10012a826
mov rax, r13
and rax, 0xffffffffffffe000
je 0x10012a7f6
cmp word [rax + 4], bp
jne 0x10012a7f6
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, r13
je 0x10012a813
cmp word [rcx + 4], bp
jne 0x10012a813
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x10012a826
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 0x28]
test edi, edi
je 0x10012a895
mov rcx, rbx
call fcn.10012c050
test byte [0x10029a8b0], 2
je 0x10012a877
mov rax, qword [0x1004e2af0]
test rax, rax
je 0x10012a877
mov ecx, 0xc3b4
call fcn.10011bd50
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
mov r9d, 0xa
mov r8, qword [0x1004e2af0]
mov edx, 0xbec00
mov rcx, qword [0x1004e2500]
call fcn.100126850
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0xc3b4
mov edx, edi
lea ecx, [r9 + 0xa]
call fcn.100128b90
mov eax, dword [0x10029a8b0]
and eax, 0x20002
cmp eax, 0x20002
jne 0x10012a8cf
mov rax, qword [0x1004e2af8]
test rax, rax
je 0x10012a8cf
mov r9d, edi
mov r8, qword [0x1004e2af8]
mov edx, 0xbf800
mov rcx, qword [0x1004e2508]
call fcn.100126850
nop
lea rcx, [rsp + 0x48]
call fcn.100126960
mov eax, edi
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret