Function at 0x493b40
Capabilities:
Send data
Send data on socket
Send http request
Set socket configuration

Disassembly:
sub esp, 0xae0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push 0x3e7
push eax
call fcn.00423a00
mov eax, dword [esp + 0xb00]
mov ebp, dword [esp + 0xafc]
add esp, 8
xor ebx, ebx
cmp eax, 4
ja case.default.0x493b75
jmp dword [eax*4 + 0x4940f0]
xor ecx, ecx
mov cx, word [ebp + 0x64]
mov byte [esp + 0x20], 4
mov byte [esp + 0x21], 1
push ecx
call dword [sym.imp.WSOCK32.dll_ntohs]
push ebp
mov word [esp + 0x26], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov edx, eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], al
mov byte [esp + 0x25], ah
shr eax, 0x18
mov byte [esp + 0x27], al
mov al, byte [0x616f60]
shr edx, 0x10
cmp al, bl
mov byte [esp + 0x26], dl
je 0x493bfa
xor eax, eax
jmp 0x493bd0
mov cl, byte [eax + 0x616f60]
mov byte [esp + eax + 0x28], cl
inc eax
cmp cl, bl
jne 0x493bd0
mov eax, 0x616f60
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493be7
sub eax, edx
lea esi, [eax + 8]
mov byte [esp + esi + 0x20], bl
inc esi
jmp 0x493c42
mov esi, 8
mov byte [esp + esi + 0x20], bl
inc esi
jmp 0x493c42
cmp byte [0x616f60], bl
mov byte [esp + 0x20], 5
je 0x493c2c
cmp byte [0x616fc8], bl
je 0x493c2c
mov byte [esp + 0x21], 2
mov byte [esp + 0x23], 2
mov esi, 4
jmp 0x493c3a
mov byte [esp + 0x21], 1
mov byte [esp + 0x23], bl
mov esi, 3
mov byte [esp + 0x22], bl
mov byte [esp + esi + 0x20], bl
cmp esi, ebx
jle case.default.0x493b75
mov edx, dword [ebp + 0x7c]
push ebx
push esi
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, esi
jne case.default.0x493b75
mov eax, dword [0x645324]
mov ecx, dword [ebp + 0x7c]
push 0x21
push 0x8032
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xae0
ret
movzx ecx, word [ebp + 0x64]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push ecx
push ebp
lea edx, [esp + 0x28]
push str.CONNECT__s:_ld_HTTP_1.0_r_n
push edx
call esi
mov al, byte [0x616f60]
add esp, 0x10
cmp al, bl
je 0x493d60
cmp byte [0x616fc8], bl
je 0x493d60
push 0x616fc8
push 0x616f60
lea eax, [esp + 0x978]
push str._s:_s
push eax
call esi
lea eax, [esp + 0x980]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493ce4
push 1
push 0x104
lea ecx, [esp + 0x7f8]
sub eax, edx
push ecx
push eax
lea edx, [esp + 0x980]
push edx
call fcn.004f84e0
add esp, 0x14
test eax, eax
jl 0x493d60
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493d18
lea ecx, [esp + 0x7f0]
push ecx
sub eax, edx
lea edx, [esp + eax + 0x24]
push str.Authorization:_Basic__s_r_n
push edx
call esi
lea eax, [esp + 0x2c]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493d40
lea ecx, [esp + 0x7f0]
push ecx
sub eax, edx
lea edx, [esp + eax + 0x24]
push str.Proxy_Authorization:_Basic__s_r_n
push edx
call esi
add esp, 0xc
lea edi, [esp + 0x20]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x493d65
mov ax, word [0x5e6c94]
mov cl, byte [0x5e6c96]
mov word [edi], ax
lea esi, [esp + 0x20]
mov byte [edi + 2], cl
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
cmp al, bl
jne 0x493d86
sub esi, ecx
jmp 0x493c3e
mov eax, 0x616f60
mov byte [esp + 0x20], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493da1
sub eax, edx
mov byte [esp + 0x21], al
xor eax, eax
mov cl, byte [eax + 0x616f60]
mov byte [esp + eax + 0x22], cl
inc eax
cmp cl, bl
jne 0x493db0
mov eax, 0x616f60
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493dc7
sub eax, edx
mov esi, eax
mov eax, 0x616fc8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493de0
sub eax, edx
mov byte [esp + esi + 0x22], al
mov eax, 0x616fc8
lea edx, [esp + 0x21]
sub edx, eax
lea edx, [edx + esi + 2]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x493e00
mov eax, 0x616fc8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493e12
sub eax, edx
lea esi, [esi + eax + 3]
jmp 0x493c3e
mov eax, dword [ebp + 0x68]
cmp eax, ebx
mov byte [esp + 0x20], 5
jne 0x493e37
mov byte [esp + 0x21], 1
jmp 0x493e45
cmp eax, 1
jne 0x493ed8
mov byte [esp + 0x21], 2
mov esi, dword [sym.imp.WSOCK32.dll_inet_addr]
push ebp
mov byte [esp + 0x26], bl
call esi
cmp eax, 0xffffffff
jne 0x493e93
mov eax, ebp
mov byte [esp + 0x23], 3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493e61
sub eax, edx
lea edx, [esp + 0x25]
mov byte [esp + 0x24], al
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x493e76
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493e85
sub eax, edx
lea esi, [eax + 5]
jmp 0x493ebe
push ebp
mov byte [esp + 0x27], 1
call esi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x24], al
mov byte [esp + 0x25], ah
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x26], al
mov byte [esp + 0x27], cl
mov esi, 8
xor edx, edx
mov dx, word [ebp + 0x64]
push edx
call dword [sym.imp.WSOCK32.dll_ntohs]
mov word [esp + esi + 0x20], ax
add esi, 2
jmp 0x493c3e
mov eax, dword [ebp + 0x70]
push ebx
push eax
push ebp
call fcn.004933a0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xae0
ret
mov eax, dword [0x616ef0]
cmp eax, ebx
mov edi, dword [esp + 0xaf4]
mov ebp, dword [edi + 0x70]
je 0x4940cc
lea ebx, [ebx]
cmp edi, eax
je 0x493f2b
mov eax, dword [eax + 0x80]
cmp eax, ebx
jne 0x493f10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xae0
ret
lea edx, [esp + 0x408]
push 0x3e7
push edx
call fcn.00423a00
lea eax, [esp + 0x410]
push eax
push 0xa93
call fcn.00421db0
mov esi, dword [0x63c814]
add esp, 0x10
cmp esi, ebx
je 0x493fae
lea esp, [esp]
cmp dword [esi + 8], ebp
jne 0x493f72
push esi
call fcn.00502d00
add esp, 4
test eax, eax
je 0x493f7e
mov esi, dword [esi + 0x26a0]
cmp esi, ebx
jne 0x493f60
jmp 0x493fae
lea ecx, [esp + 0x408]
push ecx
lea edi, [esi + 0x440]
push 0x3e7
push edi
call fcn.00423900
push esi
call fcn.0058b6a0
push esi
push edi
call fcn.0058b480
mov edi, dword [esp + 0xb0c]
add esp, 0x18
push 2
lea edx, [esp + 0x40c]
push 0x5e9cc4
push edx
call fcn.005e325e
add esp, 0xc
test eax, eax
jne 0x493ff6
lea eax, [esp + 0x40a]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493fd3
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x40e]
push eax
lea ecx, [esp + 0x410]
push ecx
call fcn.005cceb0
add esp, 0xc
lea edx, [esp + 0x408]
push 0x20
push edx
call fcn.00552010
mov eax, dword [0x611900]
add esp, 8
cmp eax, ebx
je 0x494023
cmp dword [eax + 0x52c], ebp
je 0x494064
mov eax, dword [eax + 0x890]
cmp eax, ebx
jne 0x494011
mov eax, dword [0x641548]
cmp eax, ebx
je 0x494042
lea esp, [esp]
cmp dword [eax + 0x340], ebp
je 0x49407d
mov eax, dword [eax + 0x3d4]
cmp eax, ebx
jne 0x494030
mov eax, dword [0x63709c]
cmp eax, ebx
je 0x4940ac
jmp 0x494050
cmp dword [eax + 0x444], ebp
je 0x494094
mov eax, dword [eax + 0x4bc]
cmp eax, ebx
jne 0x494050
jmp 0x4940ac
lea ecx, [esp + 0x408]
push ecx
push eax
mov dword [eax + 0x52c], ebx
call fcn.00434890
add esp, 8
jmp 0x4940ac
lea edx, [esp + 0x408]
push edx
push ebx
push eax
mov dword [eax + 0x340], ebx
call fcn.0053e670
jmp 0x4940a9
lea ecx, [esp + 0x408]
push ecx
push ebx
push eax
mov dword [eax + 0x444], ebx
call fcn.0049d510
add esp, 0xc
mov eax, dword [0x616ef0]
cmp eax, ebx
je 0x4940c3
cmp edi, eax
je 0x4940d9
mov eax, dword [eax + 0x80]
cmp eax, ebx
jne 0x4940b5
push ebp
call fcn.00493360
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xae0
ret
push edi
call fcn.004932e0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xae0
ret