Function at 0x426f00
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov eax, 0x3028
call fcn.00458680
mov al, byte [0x494b70]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov byte [esp + 0x2c], al
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2d]
mov ebp, dword [esp + 0x304c]
mov dword [esp + 0x10], eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], ebx
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x426f4a
lea esi, [eax + 0x4110]
jmp 0x426f56
mov ecx, ebp
shl ecx, 0xa
lea esi, [ecx + eax + 0x512c]
mov edi, 2
mov word [esp + 0x1c], di
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x426f72
mov eax, dword [eax + 0x4910]
jmp 0x426f79
mov eax, dword [eax + ebp*4 + 0x792c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [esp + 0x22], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x426faf
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x42726c
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x303c]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push 0x10
push edx
push esi
call dword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
jne 0x42726c
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x426fe8
add eax, 0x4510
jmp 0x426ff4
mov ecx, ebp
shl ecx, 0xa
lea eax, [ecx + eax + 0x652c]
push 0x490330
push eax
call fcn.0045d2f0
add esp, 8
test eax, eax
je 0x4273ae
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x42701e
add eax, 0x4510
jmp 0x42702a
mov edx, ebp
shl edx, 0xa
lea eax, [edx + eax + 0x652c]
push 0x48f920
push eax
call fcn.0045d2f0
add esp, 8
test eax, eax
je 0x4273ae
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x427054
add eax, 0x4510
jmp 0x427060
mov ecx, ebp
shl ecx, 0xa
lea eax, [ecx + eax + 0x652c]
push 0x48faac
push eax
call fcn.0045d2f0
add esp, 8
test eax, eax
jne 0x42726c
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x42708f
mov eax, dword [eax + 0x4914]
jmp 0x427096
mov eax, dword [eax + ebp*4 + 0x7940]
test eax, eax
mov byte [esp + 0x2c], 5
je 0x42727b
lea edx, [esp + 0x2c]
push 4
push edx
push esi
mov ecx, ebx
mov byte [esp + 0x39], 2
mov byte [esp + 0x3a], 0
mov byte [esp + 0x3b], 2
mov dword [esp + 0x1c], 4
call fcn.0041c6a0
mov edx, dword [esp + 0x3040]
lea eax, [esp + 0x10]
push 8
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
push esi
mov ecx, ebx
mov dword [esp + 0x24], edi
call fcn.0041c7d0
cmp byte [esp + 0x2c], 5
jne 0x42726c
mov al, byte [esp + 0x2d]
cmp al, 2
jne 0x427268
mov edx, dword [ebx + 4]
mov byte [esp + 0x2c], 1
mov eax, dword [edx + 0x410c]
test eax, eax
je 0x42711a
lea edi, [edx + 0x4918]
jmp 0x427126
mov eax, ebp
shl eax, 0xa
lea edi, [eax + edx + 0x7954]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov byte [esp + 0x2d], bl
mov eax, dword [edx + 0x410c]
test eax, eax
je 0x42714c
lea edi, [edx + 0x4918]
jmp 0x427158
mov ecx, ebp
shl ecx, 0xa
lea edi, [ecx + edx + 0x7954]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x2e]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x18], esi
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add ebx, 2
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], ebx
mov eax, dword [edx + 0x410c]
test eax, eax
je 0x427198
lea edi, [edx + 0x4d18]
jmp 0x4271a4
mov ecx, ebp
shl ecx, 0xa
lea edi, [ecx + edx + 0x8d54]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ebx + 0x2c], cl
mov eax, dword [edx + 0x410c]
test eax, eax
je 0x4271c4
lea edi, [edx + 0x4d18]
jmp 0x4271d0
mov eax, ebp
shl eax, 0xa
lea edi, [eax + edx + 0x8d54]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + ebx + 0x2d]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x18], esi
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx + 0x410c]
test eax, eax
je 0x427209
add edx, 0x4d18
jmp 0x427213
shl ebp, 0xa
lea edx, [edx + ebp + 0x8d54]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [esp + 0x303c]
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x14]
not ecx
dec ecx
lea ebx, [ebx + ecx + 1]
lea ecx, [esp + 0x2c]
push ebx
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.0041c6a0
mov ecx, dword [esp + 0x3040]
lea edx, [esp + 0x10]
push 8
lea eax, [esp + 0x30]
push edx
push eax
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x24], 2
call fcn.0041c7d0
mov al, byte [esp + 0x2d]
test al, al
je 0x4272cb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3028
ret 0x14
lea edx, [esp + 0x2c]
push 3
push edx
push esi
mov ecx, ebx
mov byte [esp + 0x39], 1
mov byte [esp + 0x3a], 0
mov dword [esp + 0x1c], 3
call fcn.0041c6a0
mov edx, dword [esp + 0x3040]
lea eax, [esp + 0x10]
push 8
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
push esi
mov ecx, ebx
mov dword [esp + 0x24], edi
call fcn.0041c7d0
cmp byte [esp + 0x2c], 5
jne 0x42726c
mov al, byte [esp + 0x2d]
test al, al
jne 0x42726c
mov ebp, dword [esp + 0x3044]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov byte [esp + 0x30], cl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x31]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x2c], 5
shr ecx, 2
mov byte [esp + 0x2d], 1
mov byte [esp + 0x2e], 0
mov byte [esp + 0x2f], 3
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3048]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, eax
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov esi, dword [esp + 0x303c]
mov word [esp + ecx + 0x31], dx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x2c]
not ecx
add ecx, 6
push ecx
mov dword [esp + 0x14], ecx
push edx
push esi
mov ecx, edi
call fcn.0041c6a0
mov edx, dword [esp + 0x3040]
lea eax, [esp + 0x10]
push 8
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
push esi
mov ecx, edi
mov dword [esp + 0x24], 0xa
call fcn.0041c7d0
cmp byte [esp + 0x2c], 5
jne 0x42726c
mov al, byte [esp + 0x2d]
test al, al
jne 0x42726c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3028
ret 0x14
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x410c]
test eax, eax
je 0x4273c3
mov eax, dword [edx + 0x4914]
jmp 0x4273ca
mov eax, dword [edx + ebp*4 + 0x7940]
test eax, eax
je 0x42749f
mov bl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2035]
mov byte [esp + 0x2034], bl
mov byte [esp + 0x1030], bl
rep stosd dword es:[edi], eax
mov ecx, 0x400
lea edi, [esp + 0x1031]
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x410c]
test eax, eax
je 0x427416
lea ecx, [edx + 0x4d18]
jmp 0x427422
mov ecx, ebp
shl ecx, 0xa
lea ecx, [ecx + edx + 0x8d54]
test eax, eax
je 0x42742e
lea eax, [edx + 0x4918]
jmp 0x427438
shl ebp, 0xa
lea eax, [edx + ebp + 0x7954]
push ecx
push eax
lea edx, [esp + 0x1038]
push str._s:_s
push edx
call fcn.004585a3
lea edi, [esp + 0x1040]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1040]
push ecx
lea ecx, [esp + 0x2048]
push eax
push ecx
call fcn.00412f30
mov eax, dword [esp + 0x3064]
mov ecx, dword [esp + 0x3060]
lea edx, [esp + 0x2050]
push edx
push eax
push ecx
lea edx, [esp + 0x54]
push str.CONNECT__s:_d_HTTP_1.0_r_nProxy_Authorization:_Basic__s_r_n_r_n
push edx
call fcn.004585a3
add esp, 0x30
jmp 0x4274c1
mov eax, dword [esp + 0x3048]
mov ecx, dword [esp + 0x3044]
push eax
push ecx
lea edx, [esp + 0x34]
push str.CONNECT__s:_d_HTTP_1.0_r_n_r_n
push edx
call fcn.004585a3
add esp, 0x10
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [esp + 0x303c]
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x2c]
not ecx
dec ecx
push ecx
mov dword [esp + 0x14], ecx
push eax
push esi
mov ecx, edi
call fcn.0041c6a0
mov ebx, dword [esp + 0x3040]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ebp, 0x1000
push ebx
push esi
mov ecx, edi
mov dword [esp + 0x20], ebp
call fcn.0041ced0
mov al, byte [esp + 0x2c]
test al, al
je 0x427647
mov al, byte [0x48e1cc]
test al, al
je 0x427647
mov edi, 0x48e1cc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x2c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
ja 0x427647
mov al, byte [esp + 0x2c]
test al, al
je 0x427647
mov edi, 0x48e1cc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x2c]
push ecx
push eax
push 0x48e1cc
call fcn.004589f0
add esp, 0xc
test eax, eax
jne 0x4275c3
mov edi, 0x48e1cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 1
sub edx, ecx
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x48e1cc
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + ecx + 0x30]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004586b0
add esp, 0xc
jmp 0x42754d
mov al, byte [esp + 0x2c]
test al, al
je 0x427647
mov edi, 0x48e1cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x2c]
sub edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, 0x48e1cc
add edx, ecx
mov cl, byte [esi]
mov al, cl
cmp cl, byte [edx]
jne 0x427617
test al, al
je 0x427613
mov cl, byte [esi + 1]
mov al, cl
cmp cl, byte [edx + 1]
jne 0x427617
add esi, 2
add edx, 2
test al, al
jne 0x4275f3
xor eax, eax
jmp 0x42761c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x427647
mov edi, 0x48e1cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x2c]
sub edx, ecx
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [edx + ecx], al
jmp 0x4275c3
mov edi, str.HTTP_1.0_200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x2c]
push ecx
push str.HTTP_1.0_200
push eax
call fcn.0045a6b0
add esp, 0xc
test eax, eax
je 0x427697
mov edi, str.HTTP_1.1_200
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x30]
push str.HTTP_1.1_200
push ecx
call fcn.0045a6b0
add esp, 0xc
test eax, eax
jne 0x42726c
mov ecx, dword [esp + 0x303c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], ebp
call fcn.0041ced0
test eax, eax
jle 0x42726c
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x303c]
mov esi, 0x48e240
lea eax, [esp + 0x2c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4276f7
test cl, cl
je 0x4276f3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4276f7
add eax, 2
add esi, 2
test cl, cl
jne 0x4276d3
xor eax, eax
jmp 0x4276fc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42739c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push ecx
push ebx
push edi
mov ecx, ebp
call fcn.0041ced0
test eax, eax
jg 0x4276ca
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3028
ret 0x14