Function at 0x10001e30
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ac80
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1000f010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], edx
mov ebx, ecx
mov dword [ebp - 0x48], ebx
push 0
push 3
lea eax, [ebp - 0x38]
mov word [ebp - 0x38], 0x105
push eax
mov eax, dword [sym.imp.WS2_32.dll_send]
push ebx
mov byte [ebp - 0x36], 2
mov dword [ebp - 0x50], eax
call eax
push 8
push 2
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [sym.imp.WS2_32.dll_recv]
push ebx
mov dword [ebp - 0x54], eax
call eax
test eax, eax
jg 0x10001ea8
push 0
push 0x1000c365
push str._1__Impossible_de_se_connecter_au_serveur_proxy_SOCKS5__
jmp 0x10002260
mov ax, word [ebp - 0x3c]
cmp al, 5
jne 0x10002254
cmp ah, 2
jne 0x10002254
lfence
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x41]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x41], 1
call fcn.10005d60
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [0x1000f04c]
mov byte [ebp - 0x41], al
mov dword [ebp - 0x4c], edi
cmp ecx, edi
je 0x10001f1a
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x30], ecx
jmp 0x10001f30
lea eax, [ebp - 0x41]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10005d60
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], edi
xor esi, esi
cmp dword [0x1000f04c], esi
jbe 0x10001f84
nop word [eax + eax]
cmp dword [0x1000f050], 0x10
mov eax, 0x1000f03c
cmovae eax, dword [0x1000f03c]
mov al, byte [eax + esi]
mov byte [ebp - 0x41], al
cmp ecx, edi
je 0x10001f65
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x30], ecx
jmp 0x10001f78
lea eax, [ebp - 0x41]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10005d60
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
inc esi
cmp esi, dword [0x1000f04c]
jb 0x10001f40
mov dword [ebp - 0x4c], edi
mov eax, dword [0x1000f094]
mov byte [ebp - 0x41], al
cmp ecx, edi
je 0x10001f98
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x30], ecx
jmp 0x10001fae
lea eax, [ebp - 0x41]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10005d60
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], edi
xor esi, esi
cmp dword [0x1000f094], esi
jbe 0x10002004
nop dword [eax + eax]
cmp dword [0x1000f098], 0x10
mov eax, 0x1000f084
cmovae eax, dword [0x1000f084]
mov al, byte [eax + esi]
mov byte [ebp - 0x41], al
cmp ecx, edi
je 0x10001fe5
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x30], ecx
jmp 0x10001ff8
lea eax, [ebp - 0x41]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10005d60
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
inc esi
cmp esi, dword [0x1000f094]
jb 0x10001fc0
mov dword [ebp - 0x4c], edi
mov ebx, dword [ebp - 0x34]
sub ecx, ebx
mov esi, dword [ebp - 0x48]
push 0
push ecx
push ebx
push esi
mov dword [ebp - 0x58], ebx
call dword [ebp - 0x50]
push 8
push 2
lea eax, [ebp - 0x40]
push eax
push esi
call dword [ebp - 0x54]
test eax, eax
jg 0x1000204a
push 0
push 0x1000c365
push str._3__Impossible_de_se_connecter_au_serveur_proxy_SOCKS5__
push 0
lfence
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x10002202
mov ax, word [ebp - 0x40]
cmp al, 1
jne 0x10002228
test ah, ah
jne 0x10002228
lfence
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], al
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x41]
mov byte [ebp - 0x41], 5
push eax
push 0
call fcn.10005d60
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0x41], 1
cmp ecx, esi
je 0x100020b1
mov byte [ecx], 1
inc ecx
mov dword [ebp - 0x24], ecx
jmp 0x100020c4
lea eax, [ebp - 0x41]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005d60
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x41], 0
cmp ecx, esi
je 0x100020d5
mov byte [ecx], 0
inc ecx
mov dword [ebp - 0x24], ecx
jmp 0x100020e8
lea eax, [ebp - 0x41]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005d60
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x41], 1
cmp ecx, esi
je 0x100020f9
mov byte [ecx], 1
inc ecx
mov dword [ebp - 0x24], ecx
jmp 0x1000210c
lea eax, [ebp - 0x41]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005d60
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x5c]
xor ebx, ebx
lea eax, [edi + ebx]
cmp ecx, esi
je 0x10002122
mov al, byte [eax]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x24], ecx
jmp 0x10002132
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005d60
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
inc ebx
cmp ebx, 4
jl 0x10002111
mov bx, word [ebp + 8]
cmp ecx, esi
je 0x10002148
mov byte [ecx], bh
inc ecx
mov dword [ebp - 0x24], ecx
jmp 0x1000215b
lea eax, [ebp + 9]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005d60
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
cmp ecx, esi
je 0x10002164
mov byte [ecx], bl
inc ecx
jmp 0x10002177
lea eax, [ebp + 8]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005d60
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
sub ecx, ebx
push 0
push ecx
push ebx
push dword [ebp - 0x48]
call dword [ebp - 0x50]
push 8
push 0xa
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x48]
call dword [ebp - 0x54]
test eax, eax
jg 0x100021a6
push 0
push 0x1000c365
push str._5__Impossible_de_se_connecter_au_serveur_proxy_SOCKS5__
jmp 0x100021be
cmp byte [ebp - 0x1c], 5
jne 0x100021b2
cmp byte [ebp - 0x1b], 0
je 0x100021d2
push 0
push 0x1000c365
push str._6__Impossible_de_se_connecter_au_serveur_proxy_SOCKS5__
push 0
lfence
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x48]
call dword [sym.imp.WS2_32.dll_closesocket]
mov edi, dword [ebp - 0x4c]
test ebx, ebx
je 0x100021ff
sub esi, ebx
mov eax, ebx
cmp esi, 0x1000
jb 0x100021f5
mov ebx, dword [ebx - 4]
add esi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002222
push esi
push ebx
call fcn.1000a1ec
add esp, 8
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x10002272
sub edi, ebx
mov eax, ebx
cmp edi, 0x1000
jb 0x10002248
mov ebx, dword [ebx - 4]
add edi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10002248
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0
push 0x1000c365
push str._4__Impossible_de_se_connecter_au_serveur_proxy_SOCKS5__
push 0
lfence
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x10002202
push edi
push ebx
call fcn.1000a1ec
add esp, 8
jmp 0x10002272
push 0
push 0x1000c365
push str._2__Impossible_de_se_connecter_au_serveur_proxy_SOCKS5__
push 0
lfence
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10009c96
mov esp, ebp
pop ebp
ret