Function at 0x426900
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov eax, 0x3028
call fcn.00457d20
mov al, byte [0x493b50]
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 0x42694a
lea esi, [eax + 0x4110]
jmp 0x426956
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 0x426972
mov eax, dword [eax + 0x4910]
jmp 0x426979
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 0x4269af
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x426c6c
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 0x426c6c
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x4269e8
add eax, 0x4510
jmp 0x4269f4
mov ecx, ebp
shl ecx, 0xa
lea eax, [ecx + eax + 0x652c]
push 0x48f304
push eax
call fcn.0045c970
add esp, 8
test eax, eax
je 0x426dae
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x426a1e
add eax, 0x4510
jmp 0x426a2a
mov edx, ebp
shl edx, 0xa
lea eax, [edx + eax + 0x652c]
push 0x48e8f4
push eax
call fcn.0045c970
add esp, 8
test eax, eax
je 0x426dae
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x426a54
add eax, 0x4510
jmp 0x426a60
mov ecx, ebp
shl ecx, 0xa
lea eax, [ecx + eax + 0x652c]
push 0x48ea80
push eax
call fcn.0045c970
add esp, 8
test eax, eax
jne 0x426c6c
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x426a8f
mov eax, dword [eax + 0x4914]
jmp 0x426a96
mov eax, dword [eax + ebp*4 + 0x7940]
test eax, eax
mov byte [esp + 0x2c], 5
je 0x426c7b
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.0041c1d0
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.0041c300
cmp byte [esp + 0x2c], 5
jne 0x426c6c
mov al, byte [esp + 0x2d]
cmp al, 2
jne 0x426c68
mov edx, dword [ebx + 4]
mov byte [esp + 0x2c], 1
mov eax, dword [edx + 0x410c]
test eax, eax
je 0x426b1a
lea edi, [edx + 0x4918]
jmp 0x426b26
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 0x426b4c
lea edi, [edx + 0x4918]
jmp 0x426b58
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 0x426b98
lea edi, [edx + 0x4d18]
jmp 0x426ba4
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 0x426bc4
lea edi, [edx + 0x4d18]
jmp 0x426bd0
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 0x426c09
add edx, 0x4d18
jmp 0x426c13
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.0041c1d0
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.0041c300
mov al, byte [esp + 0x2d]
test al, al
je 0x426ccb
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.0041c1d0
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.0041c300
cmp byte [esp + 0x2c], 5
jne 0x426c6c
mov al, byte [esp + 0x2d]
test al, al
jne 0x426c6c
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.0041c1d0
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.0041c300
cmp byte [esp + 0x2c], 5
jne 0x426c6c
mov al, byte [esp + 0x2d]
test al, al
jne 0x426c6c
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 0x426dc3
mov eax, dword [edx + 0x4914]
jmp 0x426dca
mov eax, dword [edx + ebp*4 + 0x7940]
test eax, eax
je 0x426e9f
mov bl, byte [0x493b50]
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 0x426e16
lea ecx, [edx + 0x4d18]
jmp 0x426e22
mov ecx, ebp
shl ecx, 0xa
lea ecx, [ecx + edx + 0x8d54]
test eax, eax
je 0x426e2e
lea eax, [edx + 0x4918]
jmp 0x426e38
shl ebp, 0xa
lea eax, [edx + ebp + 0x7954]
push ecx
push eax
lea edx, [esp + 0x1038]
push str._s:_s
push edx
call fcn.00457c43
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.00412b10
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.00457c43
add esp, 0x30
jmp 0x426ec1
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.00457c43
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.0041c1d0
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.0041ca00
mov al, byte [esp + 0x2c]
test al, al
je 0x427047
mov al, byte [0x48d1cc]
test al, al
je 0x427047
mov edi, 0x48d1cc
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 0x427047
mov al, byte [esp + 0x2c]
test al, al
je 0x427047
mov edi, 0x48d1cc
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 0x48d1cc
call fcn.00458090
add esp, 0xc
test eax, eax
jne 0x426fc3
mov edi, 0x48d1cc
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, 0x48d1cc
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.00457d50
add esp, 0xc
jmp 0x426f4d
mov al, byte [esp + 0x2c]
test al, al
je 0x427047
mov edi, 0x48d1cc
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, 0x48d1cc
add edx, ecx
mov cl, byte [esi]
mov al, cl
cmp cl, byte [edx]
jne 0x427017
test al, al
je 0x427013
mov cl, byte [esi + 1]
mov al, cl
cmp cl, byte [edx + 1]
jne 0x427017
add esi, 2
add edx, 2
test al, al
jne 0x426ff3
xor eax, eax
jmp 0x42701c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x427047
mov edi, 0x48d1cc
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 0x426fc3
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.00459d50
add esp, 0xc
test eax, eax
je 0x427097
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.00459d50
add esp, 0xc
test eax, eax
jne 0x426c6c
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.0041ca00
test eax, eax
jle 0x426c6c
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x303c]
mov esi, 0x48d240
lea eax, [esp + 0x2c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4270f7
test cl, cl
je 0x4270f3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4270f7
add eax, 2
add esi, 2
test cl, cl
jne 0x4270d3
xor eax, eax
jmp 0x4270fc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x426d9c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push ecx
push ebx
push edi
mov ecx, ebp
call fcn.0041ca00
test eax, eax
jg 0x4270ca
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3028
ret 0x14