Function at 0x180001a80
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x180011020]
xor rax, rsp
mov qword [rbp + 0xe0], rax
movzx r15d, r8w
mov r14, rcx
mov r9d, 0x16
lea r8, [rbp + 0xa8]
lea ecx, [r9 - 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntop]
lea rdx, [0x180011068]
lea rcx, [rbp + 0x58]
call fcn.180005d40
mov rdi, rax
lea r9, [0x1800110c8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x1800110c8]
mov rsi, qword [0x1800110d8]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180001b39
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180001b21
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x180001b4f
lfence
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, rdi
call fcn.180006720
mov rdi, rax
xor r12d, r12d
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r12b
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
call fcn.180001380
mov rsi, rax
mov edx, r15d
lea rcx, [rbp + 0x10]
call fcn.1800012a0
mov rbx, rax
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], r12b
lea rax, [rbp + 0xa8]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180001bb5
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x70]
call fcn.180005bc0
nop
mov r9d, 8
lea r8, str.CONNECT
lea rcx, [rbp - 0x70]
call fcn.1800069b0
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], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180001c4b
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x30]
mov word [rax + rcx], 0x3a
lea rax, [rsp + 0x30]
jmp 0x180001c6d
lfence
mov qword [rsp + 0x20], 1
lea r9, [0x18000d64c]
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180006720
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.180005e90
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x26
jb 0x180001cef
lea rax, [rcx + 0x26]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180001cd0
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 0x26
lea rdx, str._HTTP_1.1_r_nProxy_Authorization:_Basic
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x26], 0
jmp 0x180001d12
lfence
mov qword [rsp + 0x20], 0x26
lea r9, str._HTTP_1.1_r_nProxy_Authorization:_Basic
mov edx, 0x26
mov rcx, rdi
call fcn.180006720
mov rdi, rax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov r8, rsi
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.180005e90
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rdx
cmp rax, 4
jb 0x180001d86
lea rax, [rdx + 4]
mov qword [rcx + 0x10], rax
mov rax, rcx
cmp r8, 0x10
jb 0x180001d78
mov rax, qword [rcx]
mov dword [rax + rdx], 0xa0d0a0d
mov byte [rax + rdx + 4], 0
jmp 0x180001da6
lfence
mov qword [rsp + 0x20], 4
lea r9, str._r_n_r_n
mov edx, 4
call fcn.180006720
mov rcx, rax
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp + 0x88], xmm1
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180001e05
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001e00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001e00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180001e55
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001e50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001e50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x180001ea6
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001ea1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001ea1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov qword [rbp], r12
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180001ef5
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001ef0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001ef0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180001f46
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001f41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001f41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180001f97
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001f92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001f92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x180001fe5
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001fe0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001fe0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x180002033
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000202e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000202e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x180002081
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000207c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000207c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov byte [rbp + 0x58], 0
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rdx, qword [rbp + 0x78]
xor r9d, r9d
mov r8d, dword [rbp + 0x88]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
mov r9d, 8
lea r8d, [r9 + 4]
lea rdx, [rbp + 0x98]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x1800020d0
lea rdx, str._1__Impossible_de_se_connecter_au_serveur_proxy_HTTP__
jmp 0x18000211f
mov r8d, 3
lea rdx, [0x18000d6c0]
lea rcx, [rbp + 0xa1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
lfence
test eax, eax
je 0x1800020fa
lea rdx, str._2__Impossible_de_se_connecter_au_serveur_proxy_HTTP__
jmp 0x180002122
mov r9d, 8
lea r8d, [r9 + 0x13]
lea rdx, [rbp + 0xc0]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x18000213d
lea rdx, str._3__Impossible_de_se_connecter_au_serveur_proxy_HTTP__
lfence
xor r9d, r9d
lea r8, [0x18000d5fd]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x18000217e
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002179
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002179
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b86c
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.18000b1f0
add rsp, 0x1f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret