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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ac43
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x1000f010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
movzx esi, word [ebp + 8]
lea eax, [ebp - 0x34]
push 0x16
push eax
push edx
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
push str._r_n_r_n
push ecx
mov edx, 0x1000f03c
lea ecx, [ebp - 0x14c]
call fcn.100055e0
sub esp, 0x14
mov dword [ebp - 4], 0
mov ecx, esp
mov edx, eax
push 0x1000f084
call fcn.100057b0
add esp, 4
lea ecx, [ebp - 0x134]
call fcn.100012f0
add esp, 0x18
mov dword [ebp - 0x70], eax
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.10001240
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001890
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.10005480
push 8
push str.CONNECT
push ecx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call fcn.100062a0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x74]
mov eax, edx
mov ecx, dword [ebp - 0x78]
sub eax, ecx
cmp eax, 1
jb 0x1000192a
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
mov word [eax + ecx], 0x3a
lea eax, [ebp - 0x88]
jmp 0x10001948
push 1
lfence
push 0x1000c3b4
mov byte [ebp - 0x6c], 0
lea ecx, [ebp - 0x88]
push dword [ebp - 0x6c]
push 1
call fcn.10005ff0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x104]
call fcn.10005860
add esp, 4
mov edi, eax
mov byte [ebp - 4], 6
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x26
jb 0x100019da
lea eax, [ecx + 0x26]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x100019c1
mov eax, dword [edi]
push 0x26
lea esi, [eax + ecx]
push str._HTTP_1.1_r_nProxy_Authorization:_Basic
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x26], 0
jmp 0x100019f6
push 0x26
lfence
push str._HTTP_1.1_r_nProxy_Authorization:_Basic
mov byte [ebp - 0x6c], 0
mov ecx, edi
push dword [ebp - 0x6c]
push 0x26
call fcn.10005ff0
mov edi, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push dword [ebp - 0x70]
lea edx, [ebp - 0xa4]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xec]
call fcn.10005860
add esp, 4
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
call fcn.10005710
mov edx, dword [ebp - 0xd8]
add esp, 4
cmp edx, 0x10
jb 0x10001a98
mov ecx, dword [ebp - 0xec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001a8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d25
push edx
push ecx
call fcn.1000a1ec
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
cmp edx, 0x10
jb 0x10001aed
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001ae3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d25
push edx
push ecx
call fcn.1000a1ec
add esp, 8
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp edx, 0x10
jb 0x10001b42
mov ecx, dword [ebp - 0x104]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001b38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d25
push edx
push ecx
call fcn.1000a1ec
add esp, 8
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
cmp edx, 0x10
jb 0x10001b97
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001b8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d25
push edx
push ecx
call fcn.1000a1ec
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp edx, 0x10
jb 0x10001be9
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001bdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d25
push edx
push ecx
call fcn.1000a1ec
add esp, 8
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x10001c38
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001c2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d25
push edx
push ecx
call fcn.1000a1ec
add esp, 8
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
cmp edx, 0x10
jb 0x10001c8d
mov ecx, dword [ebp - 0x11c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001c83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d25
push edx
push ecx
call fcn.1000a1ec
add esp, 8
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0xf
mov byte [ebp - 0x11c], 0
cmp edx, 0x10
jb 0x10001cde
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001cd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001d25
push edx
push ecx
call fcn.1000a1ec
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp edx, 0x10
jb 0x10001d35
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001d2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001d2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000a1ec
add esp, 8
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
mov esi, dword [ebp - 0x8c]
cmovae eax, dword [ebp - 0x68]
push 0
push dword [ebp - 0x58]
mov byte [ebp - 0x14c], 0
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0x1c]
push 8
push 0xc
push eax
push esi
call edi
test eax, eax
jg 0x10001d7d
push 0
push 0x1000c365
push str._1__Impossible_de_se_connecter_au_serveur_proxy_HTTP__
jmp 0x10001dc1
push 3
lea eax, [ebp - 0x13]
push 0x1000c424
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
lfence
test eax, eax
je 0x10001da6
push 0
push 0x1000c365
push str._2__Impossible_de_se_connecter_au_serveur_proxy_HTTP__
jmp 0x10001dc4
push 8
push 0x1b
lea eax, [ebp - 0x50]
push eax
push esi
call edi
test eax, eax
jg 0x10001dd3
push 0
push 0x1000c365
push str._3__Impossible_de_se_connecter_au_serveur_proxy_HTTP__
lfence
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x10001e09
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001dff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001dff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000a1ec
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10009c96
mov esp, ebp
pop ebp
ret