Function at 0x140146300
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x80], 0
movsxd rax, dword [rsp + 0xb8]
mov qword [rsp + 0x20], 3
lea r9, [0x14055ce64]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.1401459f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 2
je 0x1401463b5
cmp qword [rsp + 0x88], 3
je 0x140146407
cmp qword [rsp + 0x88], 4
je 0x140146459
cmp qword [rsp + 0x88], 5
je 0x1401464a8
jmp 0x1401464f7
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov r8d, 2
lea rdx, [0x14055ce68]
mov rcx, qword [rax]
call fcn.14038b1b0
test eax, eax
je 0x1401463f7
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov r8d, 2
lea rdx, [0x14055ce6c]
mov rcx, qword [rax]
call fcn.14038b1b0
test eax, eax
jne 0x140146402
mov dword [rsp + 0x80], 1
jmp 0x140146502
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov r8d, 3
lea rdx, [0x14055ce70]
mov rcx, qword [rax]
call fcn.14038b1b0
test eax, eax
je 0x140146449
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov r8d, 3
lea rdx, [0x14055ce74]
mov rcx, qword [rax]
call fcn.14038b1b0
test eax, eax
jne 0x140146454
mov dword [rsp + 0x80], 2
jmp 0x140146502
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov r8d, 4
lea rdx, [0x14055ce78]
mov rcx, qword [rax]
call fcn.14038b1b0
test eax, eax
je 0x14014649b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov r8d, 4
lea rdx, str.HTTP
mov rcx, qword [rax]
call fcn.14038b1b0
test eax, eax
jne 0x1401464a6
mov dword [rsp + 0x80], 1
jmp 0x140146502
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov r8d, 5
lea rdx, str.https
mov rcx, qword [rax]
call fcn.14038b1b0
test eax, eax
je 0x1401464ea
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov r8d, 5
lea rdx, str.HTTPS
mov rcx, qword [rax]
call fcn.14038b1b0
test eax, eax
jne 0x1401464f5
mov dword [rsp + 0x80], 2
jmp 0x140146502
mov dword [rsp + 0x80], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 1
lea r9, [0x14055ce98]
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1401459f0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0xd0], 0
je 0x140146683
mov rax, qword [rsp + 0x60]
add rax, 2
mov r9d, 0x1b16
lea r8, [0x14055cea0]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax], 0
jne 0x1401465fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1b16
lea rdx, [0x14055cef0]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1b16
lea rdx, [0x14055cf40]
lea rcx, [0x14055cf88]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
cmp qword [rsp + 0x60], 0
jne 0x140146634
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx]
mov byte [rax + rcx], 0x2f
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx]
mov byte [rax + rcx], 0
jmp 0x140146683
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
add rcx, 2
mov r9, qword [rsp + 0x60]
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call fcn.140136a00
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov byte [rax + rcx], 0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], 1
lea r9, [0x14055cfac]
mov r8, qword [rax + 8]
xor edx, edx
mov rcx, qword [rcx]
call fcn.1401459f0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 1
jne 0x1401466f5
cmp dword [rsp + 0x80], 2
jne 0x1401466d8
mov dword [rsp + 0x90], 0x1bb
jmp 0x1401466e3
mov dword [rsp + 0x90], 0x50
movzx eax, word [rsp + 0x90]
mov word [rsp + 0x68], ax
jmp 0x140146846
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 8]
mov rax, qword [rax]
movsx eax, byte [rax + rcx - 1]
cmp eax, 0x5d
jne 0x14014674c
cmp dword [rsp + 0x80], 2
jne 0x14014672f
mov dword [rsp + 0x94], 0x1bb
jmp 0x14014673a
mov dword [rsp + 0x94], 0x50
movzx eax, word [rsp + 0x94]
mov word [rsp + 0x68], ax
jmp 0x140146846
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
inc rax
mov r9d, 0x1b33
lea r8, [0x14055cfb0]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1401467cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1b33
lea rdx, [0x14055d000]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1b33
lea rdx, [0x14055d050]
lea rcx, [0x14055d098]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x40]
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + 8]
inc rdx
mov r9, qword [rax + 8]
mov r8, qword [rcx]
mov rcx, qword [rsp + 0x50]
call fcn.140136a00
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x50]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.140136fb0
mov word [rsp + 0x68], ax
mov edx, 1
mov rcx, qword [rsp + 0x50]
call fcn.1403ba8b0
nop
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 0
mov rax, qword [rax]
movsx eax, byte [rax + rcx]
cmp eax, 0x5b
jne 0x14014696a
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
mov r9d, 1
lea r8, [0x14055d0bc]
mov rdx, qword [rax + 8]
mov rcx, qword [rcx]
call fcn.140145290
cdqe
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jbe 0x140146965
mov rax, qword [rsp + 0x60]
add rax, 2
mov r9d, 0x1b42
lea r8, [0x14055d0c0]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14014691b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1b42
lea rdx, [0x14055d110]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1b42
lea rdx, [0x14055d160]
lea rcx, [0x14055d1a8]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x60]
inc rax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x60]
add rdx, 2
mov r9, rax
mov r8, qword [rcx]
mov rcx, qword [rsp + 0x70]
call fcn.140136a00
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov byte [rax + 1], 0
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x78], rax
jmp 0x140146a34
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
inc rax
mov r9d, 0x1b4c
lea r8, [0x14055d1d0]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1401469f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1b4c
lea rdx, [0x14055d220]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1b4c
lea rdx, [0x14055d270]
lea rcx, [0x14055d2b8]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
inc rcx
mov r9, qword [rsp + 0x60]
mov r8, qword [rax]
mov rdx, rcx
mov rcx, qword [rsp + 0x70]
call fcn.140136a00
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x40]
call fcn.140146290
mov rcx, qword [rsp + 0x38]
call fcn.140146290
mov rcx, qword [rsp + 0x30]
call fcn.140146290
cmp qword [rsp + 0xd8], 0
je 0x140146c7f
mov r8d, 0x1c
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.140410c60
cmp qword [rsp + 0x70], 0
je 0x140146bda
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movsx eax, byte [rcx + rax]
cmp eax, 0x5b
jne 0x140146bda
mov r9d, 1
lea r8, [0x14055d2dc]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1401452e0
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov byte [rax - 1], 0
cmp dword [rsp + 0x84], 0
jle 0x140146b63
movsxd rax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x70]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x78]
dec rax
movsxd rcx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x70]
lea rcx, [rdx + rcx + 1]
mov rdx, rax
call fcn.140136ec0
cmp rax, 0x7fffffff
ja 0x140146b48
mov rax, qword [rsp + 0x78]
dec rax
movsxd rcx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x70]
lea rcx, [rdx + rcx + 1]
mov rdx, rax
call fcn.140136f40
mov dword [rsp + 0x98], eax
jmp 0x140146b53
mov dword [rsp + 0x98], 0
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x84], eax
jmp 0x140146b6e
mov dword [rsp + 0x84], 0xffffffff
mov eax, reloc.WS2_32.dll_socket
mov rcx, qword [rsp + 0xd8]
mov word [rcx], ax
mov rax, qword [rsp + 0xd8]
add rax, 8
mov rcx, qword [rsp + 0x70]
inc rcx
mov r8, rax
mov rdx, rcx
mov ecx, reloc.WS2_32.dll_socket
call fcn.14014bec0
cmp dword [rsp + 0x84], 0
jl 0x140146bbe
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x84]
mov dword [rax + 0x18], ecx
movzx ecx, word [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0xd8]
mov word [rcx + 2], ax
jmp 0x140146c7f
cmp qword [rsp + 0x70], 0
je 0x140146c7f
mov eax, 2
mov rcx, qword [rsp + 0xd8]
mov word [rcx], ax
mov rax, qword [rsp + 0xd8]
add rax, 4
mov r8, rax
mov rdx, qword [rsp + 0x70]
mov ecx, 2
call fcn.14014bec0
test eax, eax
jne 0x140146c68
mov r9d, 1
mov r8, qword [rsp + 0xd8]
movzx edx, word [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.14014c160
test eax, eax
jle 0x140146c46
mov dword [rsp + 0x9c], 0
jmp 0x140146c51
mov dword [rsp + 0x9c], 0xffffffff
cmp dword [rsp + 0x9c], 0
je 0x140146c68
xor eax, eax
mov rcx, qword [rsp + 0xd8]
mov word [rcx], ax
movzx ecx, word [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0xd8]
mov word [rcx + 2], ax
cmp qword [rsp + 0xc8], 0
je 0x140146c9a
mov rax, qword [rsp + 0xc8]
movzx ecx, word [rsp + 0x68]
mov word [rax], cx
cmp qword [rsp + 0xc0], 0
je 0x140146cb7
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
jmp 0x140146ccf
cmp qword [rsp + 0x70], 0
je 0x140146ccf
mov edx, 1
mov rcx, qword [rsp + 0x70]
call fcn.1403ba8b0
nop
mov eax, dword [rsp + 0x80]
add rsp, 0xa0
pop rdi
ret