Function at 0x140001f00
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Convert ip address from string
Create tcp socket
Get hostname
Get session user name
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x14f0]
mov eax, 0x15f0
call fcn.140006730
sub rsp, rax
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rbp + 0x14e0], rax
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov ecx, 0x202
lea rdx, [rbp + 0xf0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140001ffa
lea edx, [rax + 1]
lea r8d, [r15 + 6]
mov r14d, 2
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
je 0x140001ff4
mov word [rbp + 0xe0], r14w
movzx ecx, word [0x14000a048]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0xe2], ax
lea rdx, [0x14000a050]
cmp qword [0x14000a068], 0x10
cmovae rdx, qword [0x14000a050]
lea r8, [rbp + 0xe4]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
mov rcx, rbx
test eax, eax
jle 0x140001fee
mov edi, reloc.WS2_32.dll_recv
mov r8d, edi
lea rdx, [rbp + 0xe0]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140002026
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rsi], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], send
mov byte [rsi], r15b
mov r8d, 1
lea rdx, [0x1400075fc]
mov rcx, rsi
call fcn.140004fc0
jmp 0x1400030ab
mov dword [rbp - 0x18], edi
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov rdi, 0xffffffffffffffff
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], socket
mov byte [rbp + 0x70], r15b
test eax, eax
je 0x140002082
lea rax, [rbp + 0x290]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140002070
lea rdx, [rbp + 0x290]
jmp 0x14000208f
mov r8d, 7
lea rdx, str.Unknown
lea rcx, [rbp + 0x70]
call fcn.140004fc0
nop
mov edx, 0x100
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.WS2_32.dll_gethostname]
mov ebx, socket
cmp eax, 0xffffffff
je 0x140002163
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp - 0x40], r15
mov dword [rbp + 0xb4], r14d
mov dword [rbp + 0xb8], 1
lea r9, [rbp - 0x40]
lea r8, [rbp + 0xb0]
xor edx, edx
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140002163
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax + 0x20]
add rdx, 4
mov r9d, ebx
lea r8, [rbp + 0x2b0]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], send
mov byte [rbp + 0x50], 0
lea rax, [rbp + 0x2b0]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002150
lea rdx, [rbp + 0x2b0]
jmp 0x140002184
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], send
mov byte [rbp + 0x50], 0
mov r8d, 7
lea rdx, str.Unknown
lea rcx, [rbp + 0x50]
call fcn.140004fc0
nop
mov dword [rbp - 0x18], 0x101
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], send
mov byte [rbp + 0x30], 0
test eax, eax
je 0x1400021e3
lea rax, [rbp + 0x2d0]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400021d0
lea rdx, [rbp + 0x2d0]
jmp 0x1400021f0
mov r8d, 7
lea rdx, str.Unknown
lea rcx, [rbp + 0x30]
call fcn.140004fc0
nop
lea rcx, [rbp + 0xb0]
call fcn.1400017d0
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r14, qword [rbp + 0x80]
sub rax, r14
cmp rax, 0xf
jb 0x14000346d
lea r12, [rbp + 0x70]
mov r13, qword [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae r12, r13
mov qword [rbp + 0x2b0], r15
mov qword [rbp + 0x2c0], r15
mov qword [rbp + 0x2c8], r15
lea r15, [r14 + 0xf]
mov edi, send
lea rbx, [rbp + 0x2b0]
cmp r15, rdi
jbe 0x1400022ea
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x14000227b
mov rdi, rcx
jmp 0x140002288
cmp rdi, 0x16
mov eax, socket
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x1400022d2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003473
mov rcx, rax
call fcn.140005a7c
test rax, rax
je 0x1400022cb
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400022e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400022e1
call fcn.140005a7c
mov rbx, rax
jmp 0x1400022e3
xor ebx, ebx
mov qword [rbp + 0x2b0], rbx
mov qword [rbp + 0x2c0], r15
mov qword [rbp + 0x2c8], rdi
movsd xmm0, qword [str.__computer_:__]
movsd qword [rbx], xmm0
mov eax, dword [0x140007640]
mov dword [rbx + 8], eax
movzx eax, word [0x140007644]
mov word [rbx + 0xc], ax
movzx eax, byte [0x140007646]
mov byte [rbx + 0xe], al
lea rcx, [rbx + 0xf]
mov r8, r14
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r15], 0
mov rcx, qword [rbp + 0x2c0]
mov rdx, qword [rbp + 0x2c8]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x140002393
lea rax, [rcx + 0xa]
mov qword [rbp + 0x2c0], rax
lea rbx, [rbp + 0x2b0]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 0x2b0]
add rbx, rcx
mov r8d, 0xa
lea rdx, str.____ip_:__
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
lea rax, [rbp + 0x2b0]
jmp 0x1400023b4
mov qword [rsp + 0x20], 0xa
lea r9, str.____ip_:__
mov edx, 0xa
lea rcx, [rbp + 0x2b0]
call fcn.1400052b0
xor r14d, r14d
mov qword [rbp - 0x10], r14
mov qword [rbp], r14
mov qword [rbp + 8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], r14b
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140004df0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], r14b
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x14000246c
lea rax, [rcx + 0xa]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
lea r8d, [r14 + 0xa]
lea rdx, str.____os_:__
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], r14b
lea rax, [rsp + 0x30]
jmp 0x14000248b
mov qword [rsp + 0x20], 0xa
lea r9, str.____os_:__
mov edx, 0xa
lea rcx, [rsp + 0x30]
call fcn.1400052b0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x68]
call fcn.140004df0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 0xc
jb 0x140002545
lea rax, [rcx + 0xc]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x50]
add rbx, rcx
mov r8d, recv
lea rdx, str.____user_:__
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xc], 0
lea rax, [rsp + 0x50]
jmp 0x140002564
mov qword [rsp + 0x20], send
lea r9, str.____user_:__
mov edx, recv
lea rcx, [rsp + 0x50]
call fcn.1400052b0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140004df0
mov qword [rbp + 0x290], r14
mov qword [rbp + 0x2a0], r14
mov qword [rbp + 0x2a8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x290], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2a0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdi, qword [rbp + 0x2a0]
mov rcx, qword [rbp + 0x2a8]
mov rax, rcx
sub rax, rdi
cmp rax, 3
jb 0x140002633
lea rax, [rdi + 3]
mov qword [rbp + 0x2a0], rax
lea rbx, [rbp + 0x290]
cmp rcx, 0x10
cmovae rbx, qword [rbp + 0x290]
lea rcx, [rbx + rdi]
mov r8d, 3
lea rdx, [0x140007600]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi + 3], 0
lea rax, [rbp + 0x290]
jmp 0x140002654
mov qword [rsp + 0x20], 3
lea r9, [0x140007600]
mov edx, 3
lea rcx, [rbp + 0x290]
call fcn.1400052b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0x10
jb 0x1400026bc
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rbp + 0x2a0], r14
mov qword [rbp + 0x2a8], socket
mov byte [rbp + 0x290], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140002714
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000270f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000270f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], send
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140002765
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002760
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002760
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], socket
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400027b6
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], send
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002806
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002801
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002801
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], socket
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140002857
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002852
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002852
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rbp], r14
mov qword [rbp + 8], send
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 0x10
jb 0x1400028ab
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rbp + 0x2c0], r14
mov qword [rbp + 0x2c8], socket
mov byte [rbp + 0x2b0], 0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], send
mov byte [rbp - 0x38], 0
mov r8d, socket
lea rdx, str.POST__info_HTTP_1.1_r_n
lea rcx, [rbp - 0x38]
call fcn.140004fc0
nop
mov r15, qword [0x14000a060]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 6
jb 0x140003479
cmp qword [0x14000a068], 0x10
lea r12, [0x14000a050]
cmovae r12, qword [0x14000a050]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea r14, [r15 + 6]
mov edi, send
lea rbx, [rsp + 0x30]
cmp r14, rdi
jbe 0x1400029c4
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x14000295a
mov rdi, rcx
jmp 0x140002967
cmp rdi, 0x16
mov eax, socket
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x1400029ae
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000347f
mov rcx, rax
call fcn.140005a7c
test rax, rax
je 0x140002af9
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400029bf
test rcx, rcx
je 0x1400029bd
call fcn.140005a7c
mov rbx, rax
jmp 0x1400029bf
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rdi
mov eax, dword [str.Host:]
mov dword [rbx], eax
movzx eax, word [0x140007668]
mov word [rbx + 4], ax
lea rcx, [rbx + 6]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
mov edi, 0xa0d
cmp rax, 2
jb 0x140002a38
lea rax, [rcx + 2]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x30]
mov word [rax + rcx], di
mov byte [rax + rcx + 2], 0
lea rax, [rsp + 0x30]
jmp 0x140002a57
mov qword [rsp + 0x20], 2
lea r9, [0x140007660]
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.1400052b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], r12b
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.140004df0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140002ac5
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002abf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002abf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002b05
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov rax, rdx
sub rax, rcx
cmp rax, 0x20
jb 0x140002b4c
lea rax, [rcx + 0x20]
mov qword [rbp - 0x28], rax
lea rbx, [rbp - 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x38]
add rbx, rcx
mov r8d, 0x20
lea rdx, str.Content_Type:_application_json_r_n
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x20], 0
jmp 0x140002b6a
mov qword [rsp + 0x20], 0x20
lea r9, str.Content_Type:_application_json_r_n
mov edx, 0x20
lea rcx, [rbp - 0x38]
call fcn.1400052b0
lea r9, [rbp + 0x2a5]
mov r8, qword [rbp + 0xa0]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
nop word [rax + rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x140002b90
mov qword [rsp + 0x50], r12
mov r8, r12
mov qword [rsp + 0x60], r12
mov ecx, send
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x50], r8b
lea rax, [rbp + 0x2a5]
cmp r9, rax
je 0x140002c03
lea r8, [rbp + 0x2a5]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.140004fc0
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov rax, rcx
sub rax, r8
lea r14, str.Content_Length:
cmp rax, 0x10
jb 0x140002ca7
lea rax, [r8 + 0x10]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x50]
lea rax, [0x1400076a8]
cmp rax, rbx
jbe 0x140002c5f
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140002c5f
mov r15d, reloc.WS2_32.dll_recv
cmp rbx, r14
ja 0x140002c57
mov rdi, r12
jmp 0x140002c68
mov rdi, rbx
sub rdi, r14
jmp 0x140002c68
mov r15d, reloc.WS2_32.dll_recv
mov edi, r15d
lea rcx, [rbx + 0x10]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub r15, rdi
lea rdx, [r14 + 0x10]
add rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
mov edi, 0xa0d
jmp 0x140002cc4
mov r15d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.140005630
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140002d31
lea rax, [rcx + 2]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x30]
mov word [rax + rcx], di
mov byte [rax + rcx + 2], 0
lea rax, [rsp + 0x30]
jmp 0x140002d50
mov qword [rsp + 0x20], 2
lea r9, [0x140007660]
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.1400052b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.140004df0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140002dbb
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002db5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002db5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002dfb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002df6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002df6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], socket
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140002e4e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov rax, rdx
sub rax, rcx
cmp rax, 0x15
jb 0x140002e95
lea rax, [rcx + 0x15]
mov qword [rbp - 0x28], rax
lea rbx, [rbp - 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x38]
add rbx, rcx
mov r8d, socket
lea rdx, str.Connection:_close_r_n_r_n
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x15], 0
jmp 0x140002eb3
mov qword [rsp + 0x20], socket
lea r9, str.Connection:_close_r_n_r_n
mov edx, socket
lea rcx, [rbp - 0x38]
call fcn.1400052b0
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x38]
call fcn.140004df0
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
xor r9d, r9d
mov r8d, dword [rbp - 0x28]
mov r14, qword [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400030de
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov r8d, 1
lea rdx, [0x1400075fc]
mov rcx, rsi
call fcn.140004fc0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140002f61
inc rdx
mov rcx, qword [rbp - 0x38]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140002f5c
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032fe
call fcn.140005d08
mov byte [rbp - 0x38], 0
mov qword [rbp - 0x20], send
mov qword [rbp - 0x28], r12
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140002fb3
inc rdx
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140002fad
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003352
call fcn.140005d08
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140002ff5
inc rdx
mov rcx, qword [rbp + 0xb0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140002fef
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003397
call fcn.140005d08
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140003031
inc rdx
mov rcx, qword [rbp + 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000302b
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033d6
call fcn.140005d08
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x14000306d
inc rdx
mov rcx, qword [rbp + 0x50]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003067
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003415
call fcn.140005d08
nop
mov rax, qword [rbp + 0x88]
cmp rax, 0x10
jb 0x1400030ab
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400030a3
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003460
mov rcx, r13
call fcn.140005d08
mov rax, rsi
mov rcx, qword [rbp + 0x14e0]
xor rcx, rsp
call fcn.1400057c0
lea r11, [rsp + 0x15f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], send
mov byte [rbp + 0x10], 0
xor r9d, r9d
mov r8d, 0xfff
lea rdx, [rbp + 0x4e0]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1400031ca
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
cmp rcx, 0x1000
jae 0x140003467
mov byte [rbp + rcx + 0x4e0], 0
lea rax, [rbp + 0x4e0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x140003145
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140003191
lea rax, [rdi + rcx]
mov qword [rbp + 0x20], rax
lea rbx, [rbp + 0x10]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 0x10]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp + 0x4e0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400031a9
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x4e0]
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.1400052b0
xor r9d, r9d
mov r8d, 0xfff
lea rdx, [rbp + 0x4e0]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x140003120
mov rcx, r14
cmp eax, 0xffffffff
jne 0x140003256
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov r8d, 1
lea rdx, [0x1400075fc]
mov rcx, rsi
call fcn.140004fc0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140003241
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000323c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032b0
call fcn.140005d08
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], send
mov byte [rbp + 0x10], 0
jmp 0x140002f26
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140001c40
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [rsi + 0x10], xmm1
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400032bc
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], send
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000330a
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003305
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], send
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14000335f
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003359
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003359
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400033a4
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000339e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000339e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1400033e3
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x140003422
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000341c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000341c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
nop
mov rax, qword [rbp + 0x88]
cmp rax, 0x10
jb 0x1400030ab
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400030a3
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400058e8
nop
call fcn.140001240
int3
call fcn.1400011a0
nop
call fcn.140001240
int3
call fcn.1400011a0
int3