Function at 0x1401459b0
Capabilities:
Check http status code
Convert ip address from string
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x1b0]
mov r10, qword [rcx + 0x18]
mov rsi, rcx
mov ebx, r8d
cmp r8d, 0xe
jbe 0x140145a08
cmp r8d, 0xf
jne 0x140145beb
mov rax, qword [rcx + 0x500]
test dl, dl
je 0x140145b80
mov dword [r10 + 0x504], 0
test rax, rax
jne 0x140145b08
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
cmp r8d, 0xc
ja 0x140145ab8
mov rax, qword [rcx + 0x4f8]
test dl, dl
je 0x140145ba8
mov dword [r10 + 0x504], 0
test rax, rax
jne 0x140145b08
cmp byte [r10 + 0x4e6], 0
jne 0x140145c1c
cmp byte [r10 + 0x360], 0
mov eax, dword [r10 + 0x4e0]
mov dword [r10 + 0x508], 0
js 0x140145c89
test eax, eax
je 0x140145c1c
mov rax, qword [r10 + 0x4d8]
mov r9, qword [rax]
mov dword [r10 + 0x4e8], 1
lea rdx, [r10 + 0x440]
lea r8, str.CWD__s
mov rcx, rsi
call fcn.1401593a0
test eax, eax
jne 0x140145b47
mov rdx, qword [rsi + 0x18]
mov dword [rdx + 0x510], 0x10
jmp 0x140145b47
mov rax, qword [rcx + 0x508]
test dl, dl
jne 0x140145b50
mov r8d, dword [r10 + 0x504]
lea edx, [r8 + 1]
mov dword [r10 + 0x504], edx
test rax, rax
je 0x140145b60
test edx, edx
jle 0x140145b08
xor edx, edx
jmp 0x140145af5
test rax, rax
je 0x140145b60
mov ecx, edx
mov rax, qword [rax + 8]
add edx, 1
cmp ecx, r8d
jne 0x140145af0
test rax, rax
je 0x140145b60
mov r9, qword [rax]
xor eax, eax
cmp byte [r9], 0x2a
jne 0x140145b1c
add r9, 1
mov eax, 1
mov dword [r10 + 0x508], eax
lea rdx, [r10 + 0x440]
lea r8, [0x1403f2f8c]
mov rcx, rsi
call fcn.1401593a0
test eax, eax
jne 0x140145b47
mov rdx, qword [rsi + 0x18]
mov dword [rdx + 0x510], ebx
add rsp, 0x28
pop rbx
pop rsi
ret
mov dword [r10 + 0x504], 0
test rax, rax
jne 0x140145b08
cmp ebx, 0xe
jne 0x140145c10
xor edx, edx
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14013e570
mov r8d, dword [r10 + 0x504]
lea edx, [r8 + 1]
mov dword [r10 + 0x504], edx
test rax, rax
jne 0x140145ae2
xor eax, eax
jmp 0x1401459fc
mov r8d, dword [r10 + 0x504]
lea edx, [r8 + 1]
mov dword [r10 + 0x504], edx
test rax, rax
jne 0x140145ae2
nop dword [rax + rax]
cmp ebx, 0xd
jne 0x140145a35
mov eax, dword [r9 + 0x10]
test eax, eax
je 0x140145c2a
mov dword [r10 + 0x510], 0
xor eax, eax
jmp 0x1401459fc
mov rax, qword [rcx + 0x4f8]
test dl, dl
je 0x140145ac7
xor edx, edx
mov dword [r10 + 0x504], edx
test rax, rax
jne 0x140145b08
nop dword [rax]
cmp ebx, 0xf
jne 0x140145bc8
xor eax, eax
jmp 0x1401459fc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140145940
mov rdx, qword [r10 + 0x528]
cmp rdx, 0xffffffffffffffff
jne 0x140145ce5
mov r9, qword [r10 + 0x4d0]
lea rdx, [r10 + 0x440]
test byte [rsi + 0xae4], 4
jne 0x140145c5f
cmp byte [rsi + 0x1339], 0
jns 0x140145d18
lea r8, str.RETR__s
mov rcx, rsi
call fcn.1401593a0
test eax, eax
jne 0x140145b47
mov rdx, qword [rsi + 0x18]
mov dword [rdx + 0x510], 0x20
jmp 0x140145b47
mov rdx, qword [r10 + 0x4c8]
test rdx, rdx
je 0x140145a63
test eax, eax
je 0x140145cb1
mov rax, qword [r10 + 0x4d8]
mov r9, qword [rax]
cmp byte [r9], 0x2f
je 0x140145a75
add r10, 0x440
mov r9, rdx
mov rcx, rsi
mov dword [r10 + 0xa8], 0
lea r8, str.CWD__s
mov rdx, r10
call fcn.1401593a0
test eax, eax
jne 0x140145b47
jmp 0x140145a9e
mov eax, dword [rsi + 0xb34]
test rdx, rdx
js 0x140145d11
or eax, 0x40
mov rcx, rdx
mov qword [rsi + 0xb08], rcx
mov rcx, rsi
mov dword [rsi + 0xb34], eax
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14013e8f0
and eax, 0xffffffbf
xor ecx, ecx
jmp 0x140145cf6
lea r8, str.SIZE__s
mov rcx, rsi
call fcn.1401593a0
test eax, eax
jne 0x140145b47
mov rdx, qword [rsi + 0x18]
mov dword [rdx + 0x510], 0x18
jmp 0x140145b47