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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x220
movaps xmmword [rsp + 0x210], xmm6
cmp dword [rcx], 0
mov rbx, rcx
jne 0x1401d2080
mov ecx, dword [rcx + 4]
call qword [sym.imp.WSOCK32.dll_ntohl]
test eax, eax
je 0x1401d2883
jmp 0x1401d20ac
cmp dword [rcx + 8], 0
je 0x1401d2094
cmp dword [rbx], 1
jne 0x1401d2883
jmp 0x1401d25b9
cmp dword [rcx + 0xc], 0
jne 0x1401d2086
cmp dword [rcx + 0x10], 0
jne 0x1401d2086
cmp dword [rcx + 0x14], 0
je 0x1401d2883
jmp 0x1401d2086
cmp dword [rbx], 0
jne 0x1401d2086
mov al, byte [0x140424050]
test al, al
jne 0x1401d2557
lea rsi, [0x140424050]
mov rcx, rsi
call fcn.1403cd8e0
test eax, eax
je 0x1401d2557
lea rcx, [rsp + 0x20]
lea rdx, str.0.0.0.0
call fcn.140280650
mov ecx, dword [rsp + 0x20]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x24]
lea rdx, str.0.255.255.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x24]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x28]
lea rdx, str.10.0.0.0
mov dword [rsp + 0x150], ebp
mov dword [rsp + 0x154], eax
call fcn.140280650
mov ecx, dword [rsp + 0x28]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x2c]
lea rdx, str.10.255.255.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x2c]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x30]
lea rdx, str.100.64.0.0
mov dword [rsp + 0x158], ebp
mov dword [rsp + 0x15c], eax
call fcn.140280650
mov ecx, dword [rsp + 0x30]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x34]
lea rdx, str.100.127.255.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x34]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x38]
lea rdx, str.127.0.0.0
mov dword [rsp + 0x160], ebp
mov dword [rsp + 0x164], eax
call fcn.140280650
mov ecx, dword [rsp + 0x38]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x3c]
lea rdx, str.127.255.255.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x3c]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x40]
lea rdx, str.169.254.0.0
mov dword [rsp + 0x168], ebp
mov dword [rsp + 0x16c], eax
call fcn.140280650
mov ecx, dword [rsp + 0x40]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x44]
lea rdx, str.169.254.255.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x44]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x48]
lea rdx, str.172.16.0.0
mov dword [rsp + 0x170], ebp
mov dword [rsp + 0x174], eax
call fcn.140280650
mov ecx, dword [rsp + 0x48]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x4c]
lea rdx, str.172.31.255.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x4c]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x50]
lea rdx, str.192.0.0.0
mov dword [rsp + 0x178], ebp
mov dword [rsp + 0x17c], eax
call fcn.140280650
mov ecx, dword [rsp + 0x50]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x54]
lea rdx, str.192.0.0.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x54]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x58]
lea rdx, str.192.0.2.0
mov dword [rsp + 0x180], ebp
mov dword [rsp + 0x184], eax
call fcn.140280650
mov ecx, dword [rsp + 0x58]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x5c]
lea rdx, str.192.0.2.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x5c]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x60]
lea rdx, str.192.88.99.0
mov dword [rsp + 0x188], ebp
mov dword [rsp + 0x18c], eax
call fcn.140280650
mov ecx, dword [rsp + 0x60]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x74]
lea rdx, str.192.88.99.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x74]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x88]
lea rdx, str.192.168.0.0
mov dword [rsp + 0x190], ebp
mov dword [rsp + 0x194], eax
call fcn.140280650
mov ecx, dword [rsp + 0x88]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x9c]
lea rdx, str.192.168.255.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x9c]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0xb0]
lea rdx, str.198.18.0.0
mov dword [rsp + 0x198], ebp
mov dword [rsp + 0x19c], eax
call fcn.140280650
mov ecx, dword [rsp + 0xb0]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0xc4]
lea rdx, str.192.19.255.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0xc4]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0xd8]
lea rdx, str.198.51.100.0
mov dword [rsp + 0x1a0], ebp
mov dword [rsp + 0x1a4], eax
call fcn.140280650
mov ecx, dword [rsp + 0xd8]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0xec]
lea rdx, str.198.51.100.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0xec]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x100]
lea rdx, str.203.0.113.0
mov dword [rsp + 0x1a8], ebp
mov dword [rsp + 0x1ac], eax
call fcn.140280650
mov ecx, dword [rsp + 0x100]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x114]
lea rdx, str.203.0.113.255
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x114]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x128]
lea rdx, str.224.0.0.0
mov dword [rsp + 0x1b0], ebp
mov dword [rsp + 0x1b4], eax
call fcn.140280650
mov ecx, dword [rsp + 0x128]
call sub.WSOCK32.dll_ntohl
lea rcx, [rsp + 0x13c]
lea rdx, [0x14043aa13]
mov ebp, eax
call fcn.140280650
mov ecx, dword [rsp + 0x13c]
call sub.WSOCK32.dll_ntohl
xor edx, edx
mov ecx, 0x70
mov dword [rsp + 0x1b8], ebp
mov dword [rsp + 0x1bc], eax
mov qword [0x140429b00], rdx
mov qword [0x140429b08], rdx
mov qword [0x140429b10], rdx
call fcn.1403cd4b0
lea rsi, [rsp + 0x150]
mov rdi, rax
lea rdx, [rax + 0x70]
mov ecx, 0x1c
rep movsd dword [rdi], dword [rsi]
lea rcx, [0x1403cf990]
mov qword [0x140429b10], rdx
mov qword [0x140429b08], rdx
mov qword [0x140429b00], rax
call fcn.140001520
lea rcx, [0x140424050]
call fcn.1403cd9e0
jmp 0x1401d2557
cmp dword [rbx], 0
je 0x1401d2570
lea rax, str.p_b__
mov qword [rsp + 0x150], rax
call fcn.1403daa90
mov ecx, dword [rbx + 4]
call sub.WSOCK32.dll_ntohl
mov rcx, qword [0x140429b08]
mov rdx, qword [0x140429b00]
jmp 0x1401d25a5
cmp eax, dword [rdx]
jae 0x1401d25af
add rdx, 8
cmp rcx, rdx
jne 0x1401d259d
jmp 0x1401d2086
cmp dword [rdx + 4], eax
jb 0x1401d25a1
jmp 0x1401d2887
mov al, byte [0x140424060]
lea r12, [rsp + 0x150]
test al, al
jne 0x1401d280f
lea rbp, [0x140424060]
mov rcx, rbp
call fcn.1403cd8e0
test eax, eax
je 0x1401d280f
lea rcx, [rsp + 0x60]
lea rdx, str.2001:db8::
call fcn.140280700
lea rcx, [rsp + 0x74]
lea rdx, str.2001:db8:ffff:ffff:ffff:ffff:ffff:ffff
movaps xmm6, xmmword [rsp + 0x60]
call fcn.140280700
movups xmm0, xmmword [rsp + 0x74]
lea rcx, [rsp + 0x88]
lea rdx, str.fc00::
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x160], xmm0
call fcn.140280700
lea rcx, [rsp + 0x9c]
lea rdx, str.fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
movups xmm6, xmmword [rsp + 0x88]
call fcn.140280700
movups xmm1, xmmword [rsp + 0x9c]
lea rcx, [rsp + 0xb0]
lea rdx, str.fe80::
movaps xmmword [rsp + 0x170], xmm6
movaps xmmword [rsp + 0x180], xmm1
call fcn.140280700
lea rcx, [rsp + 0xc4]
lea rdx, str.febf:ffff:ffff:ffff:ffff:ffff:ffff:ffff
movaps xmm6, xmmword [rsp + 0xb0]
call fcn.140280700
movups xmm2, xmmword [rsp + 0xc4]
lea rcx, [rsp + 0xd8]
lea rdx, str.ff00::
movaps xmmword [rsp + 0x190], xmm6
movaps xmmword [rsp + 0x1a0], xmm2
call fcn.140280700
lea rcx, [rsp + 0xec]
lea rdx, str.ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
movups xmm6, xmmword [rsp + 0xd8]
call fcn.140280700
movups xmm3, xmmword [rsp + 0xec]
lea rsi, [0x14043ae41]
lea rcx, [rsp + 0x100]
movaps xmmword [rsp + 0x1b0], xmm6
mov rdx, rsi
movaps xmmword [rsp + 0x1c0], xmm3
call fcn.140280700
lea rcx, [rsp + 0x114]
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0x100]
call fcn.140280700
movups xmm4, xmmword [rsp + 0x114]
lea rsi, [0x14043ab0e]
lea rcx, [rsp + 0x128]
movaps xmmword [rsp + 0x1d0], xmm6
mov rdx, rsi
movaps xmmword [rsp + 0x1e0], xmm4
call fcn.140280700
lea rcx, [rsp + 0x13c]
mov rdx, rsi
movups xmm6, xmmword [rsp + 0x128]
call fcn.140280700
movups xmm5, xmmword [rsp + 0x13c]
xor eax, eax
mov ecx, 0xc0
movaps xmmword [rsp + 0x1f0], xmm6
mov qword [0x140429b20], rax
mov qword [0x140429b28], rax
mov qword [0x140429b30], rax
movaps xmmword [rsp + 0x200], xmm5
call fcn.1403cd4b0
mov rdi, rax
mov rsi, r12
mov ecx, 0x30
mov qword [0x140429b20], rax
rep movsd dword [rdi], dword [rsi]
lea rdx, [rax + 0xc0]
lea rcx, [0x1403cff40]
mov qword [0x140429b30], rdx
mov qword [0x140429b28], rdx
call fcn.140001520
mov rcx, rbp
call fcn.1403cd9e0
jmp 0x1401d280f
mov rdx, rbx
mov rcx, r12
lea rsi, [rsp + 0x13c]
call fcn.1402e6620
mov rbp, qword [rsp + 0x150]
mov rax, qword [rsp + 0x158]
mov r12, qword [0x140429b28]
mov rbx, qword [0x140429b20]
mov qword [rsp + 0x13c], rbp
mov qword [rsp + 0x144], rax
cmp r12, rbx
je 0x1401d287a
mov rdx, rbx
mov rcx, rsi
call fcn.1403c4bb0
test al, al
jne 0x1401d2874
lea rcx, [rbx + 0x10]
mov rdx, rsi
call fcn.1403c4bb0
test al, al
je 0x1401d2887
add rbx, 0x20
jmp 0x1401d2850
sub ebp, 2
cmp bpl, 1
jbe 0x1401d2887
xor eax, eax
jmp 0x1401d28a6
mov al, 1
jmp 0x1401d28a6
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x220
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret