Function at 0x4b1230
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, esp
mov dword [esi + 0x60], ebp
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x64], esp
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x6c], 0x593ed0
mov eax, dword fs:[0]
mov dword [esi + 0x68], eax
lea eax, [esi + 0x68]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x14]
movzx eax, al
mov dword [esi + 8], ecx
push dword [ebp + 0x18]
push eax
mov ebx, edx
push edx
push dword [ebp + 8]
call fcn.004b99e0
mov ecx, dword [0x5d0790]
lea edx, [ecx + 1]
imul edx, ecx
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
setne dl
cmp dword [0x5d0794], 0xa
setge cl
mov ah, cl
xor ah, dl
or cl, dl
xor cl, 1
or cl, ah
test al, al
je 0x4b12b9
mov edi, dword [ebp + 0x10]
test cl, cl
je 0x4b1307
jmp 0x4b12d2
test cl, cl
jne 0x4b137b
nop word cs:[eax + eax]
jmp 0x4b12d0
mov ecx, dword [esi + 8]
push edi
push ebx
push dword [ebp + 8]
call fcn.004bb170
mov ecx, dword [0x5d0790]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
test ecx, edx
sete cl
cmp dword [0x5d0794], 0xa
setl dl
test dl, cl
jne 0x4b1316
xor dl, cl
jne 0x4b1316
mov ecx, dword [esi + 8]
push edi
push ebx
push dword [ebp + 8]
call fcn.004bb170
jmp 0x4b12d2
test al, al
je 0x4b1372
mov eax, dword [ebp + 0x10]
lea edi, [eax + 0x34]
push edi
push dword [ebp + 8]
call fcn.004bbed0
add esp, 8
test al, al
je 0x4b1372
mov dword [esi + 0x10], edi
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0xcc
je 0x4b142a
mov eax, dword [0x5d0790]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
setne al
sete dl
cmp dword [0x5d0794], 0xa
setge cl
setl ah
xor ah, dl
jne 0x4b1392
or cl, al
jne 0x4b13df
jmp 0x4b1392
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
xor ebx, ebx
mov eax, dword [esi + 0x68]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x10]
mov ecx, dword [ebp + 0xc]
call fcn.00409c60
push 4
push str.HEAD
push edi
push eax
call fcn.0040f7d0
add esp, 0x10
mov ecx, dword [0x5d0790]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
test ecx, edx
setne cl
sete ah
cmp dword [0x5d0794], 0xa
setge dl
setl ch
xor ch, ah
jne 0x4b1400
or dl, cl
je 0x4b1400
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x10]
mov ecx, dword [ebp + 0xc]
call fcn.00409c60
push 4
push str.HEAD
push edi
push eax
call fcn.0040f7d0
add esp, 0x10
jmp 0x4b1392
test al, al
jne 0x4b142a
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x10]
mov ecx, dword [ebp + 0xc]
call fcn.00409c60
push 7
push str.CONNECT
push edi
mov edi, dword [ebp + 0xc]
push eax
call fcn.0040f7d0
add esp, 0x10
test al, al
je 0x4b145f
mov eax, dword [0x5d0790]
lea ecx, [eax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp dword [0x5d0794], 0xa
setl cl
mov dword [esi + 0x70], 0xffffffff
test cl, al
jne 0x4b14b5
xor cl, al
je 0x4b14ed
jmp 0x4b14b5
mov eax, 0xfffffed3
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 0x18]
cmp eax, 0x63
setb al
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x169], 0
setne bl
mov ecx, dword [0x5d0790]
lea edx, [ecx + 1]
imul edx, ecx
and bl, al
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp dword [0x5d0794], 0xa
setl cl
test cl, al
jne 0x4b1587
xor cl, al
je 0x4b15c1
jmp 0x4b1587
lea edi, [esi + 0x18]
mov ecx, edi
push str.Connection
call fcn.00420e10
mov ecx, dword [0x5d0790]
lea eax, [ecx + 1]
imul eax, ecx
test al, 1
sete dl
cmp dword [0x5d0794], 0xa
setl ch
setge cl
cmp ch, dl
jne 0x4b14fc
or cl, al
test cl, 1
je 0x4b14fc
lea ecx, [esi + 0x18]
push str.Connection
call fcn.00420e10
jmp 0x4b14b5
mov dword [esi + 0x70], 3
push 0x5be120
push 0
push edi
push dword [esi + 0x10]
call fcn.004ecfc0
add esp, 0x10
lea ecx, [esi + 0x30]
push eax
call fcn.00420e10
mov edi, dword [esi + 0x40]
lea ecx, [esi + 0x30]
call fcn.00409c60
push 5
push str.close
push edi
push eax
call fcn.0040f7d0
add esp, 0x10
mov ecx, dword [0x5d0790]
mov edi, dword [0x5d0794]
lea edx, [ecx - 1]
imul edx, ecx
and edx, 1
test al, al
je 0x4b1561
mov al, 1
mov dword [esi + 4], eax
mov ebx, dword [esi + 8]
jmp 0x4b1a62
test edx, edx
sete dl
setne al
cmp edi, 0xa
setl ah
setge cl
cmp ah, dl
jne 0x4b1e2f
or cl, al
jne 0x4b1e79
jmp 0x4b1e2f
mov byte [esi + 3], bl
add edi, 0x110
mov ecx, edi
call fcn.004bc630
mov ecx, dword [0x5d0790]
lea edx, [ecx + 1]
imul ecx, edx
test cl, 1
sete ah
cmp dword [0x5d0794], 0xa
setge dl
setl dh
xor dh, ah
jne 0x4b15d4
or dl, cl
test dl, 1
je 0x4b15d4
mov byte [esi + 3], bl
mov edi, dword [ebp + 0xc]
lea ecx, [edi + 0x110]
call fcn.004bc630
jmp 0x4b1587
xor al, 1
or al, bl
mov ebx, dword [ebp + 0x10]
jne 0x4b165c
mov dword [esi + 0x70], 0xffffffff
mov ecx, edi
push ebx
call fcn.004bc8b0
mov edx, dword [0x5d0790]
lea ecx, [edx + 1]
imul ecx, edx
test cl, 1
sete ah
cmp dword [0x5d0794], 0xa
setl dh
setge dl
cmp dh, ah
jne 0x4b1654
or dl, cl
test dl, 1
je 0x4b1654
mov ecx, edi
push ebx
call fcn.004bc8b0
mov ecx, edi
push ebx
call fcn.004bc8b0
mov ecx, dword [0x5d0790]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
test ecx, edx
setne cl
sete ah
cmp dword [0x5d0794], 0xa
setge dl
setl ch
xor ch, ah
jne 0x4b1654
or dl, cl
jne 0x4b1616
test al, al
je 0x4b179f
mov edi, dword [ebp + 0xc]
lea ecx, [edi + 0x138]
call fcn.004bca10
lea ecx, [esi + 3]
test al, al
je 0x4b174b
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edi
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x70], 0xffffffff
lea eax, [esi + 0x18]
lea ecx, [esi + 0x30]
push eax
call fcn.004bcc60
mov dword [esi + 4], esp
mov dword [esi + 0x18], edi
lea ecx, [esi + 3]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x20], ecx
push eax
sub esp, 0x60
mov edi, esp
mov eax, dword [esi + 8]
movzx eax, byte [eax + 0x1a1]
mov byte [esi + 0xe], al
lea ecx, [edi + 0x38]
mov dword [edi + 0x5c], 0
lea eax, [esi + 0x30]
mov dword [esi + 0x58], ecx
push eax
call fcn.004f0890
mov dword [esi + 0x5c], edi
lea ecx, [edi + 0x10]
mov dword [esi + 0x70], 2
lea eax, [esi + 0x18]
push eax
call fcn.004bced0
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0xffffffff
lea eax, [esi + 0x14]
mov dword [ecx + 0xc], eax
movzx eax, byte [esi + 0xe]
mov byte [ecx + 0x60], al
mov dword [esi + 0x70], 1
call fcn.004bcd10
add esp, 0x64
mov ecx, dword [0x5d0790]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
test ecx, edx
sete cl
cmp dword [0x5d0794], 0xa
setl dl
test dl, cl
jne 0x4b1814
xor dl, cl
je 0x4b1845
jmp 0x4b1814
mov eax, dword [0x5d0790]
lea edx, [eax + 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x5d0794], 0xa
setge bl
setl cl
xor cl, al
mov ecx, dword [0x5d0798]
mov edi, dword [0x5d079c]
jne 0x4b1910
or bl, dl
test bl, 1
je 0x4b1910
mov eax, edi
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
and ecx, edx
mov ebx, dword [ebp + 0x10]
jmp 0x4b19bc
mov edi, dword [ebp + 0x18]
mov dword [edi], 7
mov ecx, dword [0x5d0790]
mov eax, dword [0x5d0794]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
and ecx, 1
sete byte [esi + 4]
cmp eax, 0xa
setge bl
setl bh
xor bh, byte [esi + 4]
jne 0x4b180d
or bl, dl
test bl, 1
je 0x4b180d
mov ebx, 1
mov dword [edi], 7
mov ecx, dword [0x5d0790]
mov eax, dword [0x5d0794]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
and ecx, edx
sete dl
cmp eax, 0xa
setl dh
test dh, dl
jne 0x4b1870
xor dh, dl
je 0x4b17dc
jmp 0x4b1870
mov ebx, 1
jmp 0x4b1870
mov esp, dword [esi + 4]
mov edx, dword [0x5d0790]
mov edi, dword [0x5d0794]
lea ebx, [edx + 1]
imul ebx, edx
mov edx, ebx
and edx, 1
sete cl
cmp edi, 0xa
setge ah
setl ch
xor ch, cl
jne 0x4b184a
or ah, bl
test ah, 1
je 0x4b184a
mov esp, dword [esi + 4]
jmp 0x4b1814
xor ebx, ebx
test al, al
je 0x4b189f
lea ecx, [esi + 0x30]
call fcn.004b86a0
mov ecx, dword [0x5d0790]
mov eax, dword [0x5d0794]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
and ecx, edx
test ecx, ecx
sete dl
setne cl
cmp eax, 0xa
setl ah
setge al
cmp ah, dl
jne 0x4b1892
or al, cl
je 0x4b1892
nop dword [eax]
jmp 0x4b1890
test ebx, ebx
jne 0x4b137b
jmp 0x4b142a
mov eax, dword [ebp + 0x18]
cmp dword [eax], 7
jne 0x4b18c2
test edx, edx
sete al
cmp edi, 0xa
setl cl
mov ebx, 1
test cl, al
jne 0x4b1850
xor cl, al
jne 0x4b1850
nop
jmp 0x4b18c0
mov dword [eax], 4
mov eax, dword [0x5d0790]
mov edi, dword [0x5d0794]
lea edx, [eax + 1]
imul edx, eax
and edx, 1
sete al
cmp edi, 0xa
setl ah
test ah, al
jne 0x4b18a7
xor ah, al
jne 0x4b18a7
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
mov eax, dword [0x5d0790]
mov edi, dword [0x5d0794]
lea ecx, [eax + 1]
imul ecx, eax
mov edx, ecx
xor edx, 0xfffffffe
and edx, ecx
jmp 0x4b18dc
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
lea edx, [ecx + 1]
imul edx, ecx
test dl, 1
sete cl
cmp edi, 0xa
setge al
setl ah
xor ah, cl
mov dword [esi + 0x54], 0
jne 0x4b1940
or al, dl
test al, 1
jne 0x4b1a50
mov dword [esi + 0x70], 0
lea eax, [esi + 0x18]
lea ecx, [esi + 0x30]
push eax
call fcn.004e8f70
mov ecx, dword [0x5d0798]
mov eax, dword [0x5d079c]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
and ecx, edx
sete dl
cmp eax, 0xa
setl dh
test dh, dl
jne 0x4b1980
xor dh, dl
je 0x4b1a60
mov edx, dword [0x5d0790]
lea edi, [edx + 1]
imul edi, edx
mov edx, edi
xor edx, 0xfffffffe
test edx, edi
setne dl
sete bl
cmp dword [0x5d0794], 0xa
setge dh
setl bh
xor bh, bl
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
jne 0x4b1694
or dh, dl
je 0x4b1694
mov dword [esi + 0x18], ebx
test ecx, ecx
setne cl
sete dl
cmp eax, 0xa
setge al
setl ah
xor ah, dl
mov dword [esi + 0x54], 0
jne 0x4b19df
or al, cl
jne 0x4b1a40
mov dword [esi + 0x70], 5
lea eax, [esi + 0x18]
lea ecx, [esi + 0x30]
push eax
call fcn.004e8f70
mov ecx, dword [0x5d0798]
mov edi, dword [0x5d079c]
lea edx, [ecx + 1]
imul edx, ecx
test dl, 1
sete bh
cmp edi, 0xa
setl al
setge bl
cmp al, bh
jne 0x4b1910
or bl, dl
test bl, 1
mov eax, dword [ebp + 0x10]
je 0x4b1913
nop dword [eax]
jmp 0x4b1a30
jmp 0x4b1a40
jmp 0x4b1a50
jmp 0x4b1a60
test edx, edx
setne al
sete dl
cmp edi, 0xa
setge cl
setl ah
xor ah, dl
jne 0x4b1a7b
or cl, al
jne 0x4b1ab8
lea ecx, [esi + 0x30]
call fcn.0040ed30
lea ecx, [esi + 0x18]
call fcn.0040ed30
mov eax, dword [0x5d0790]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete dl
setne al
cmp dword [0x5d0794], 0xa
setl ah
setge cl
cmp ah, dl
jne 0x4b1aca
or cl, al
je 0x4b1aca
lea ecx, [esi + 0x30]
call fcn.0040ed30
lea ecx, [esi + 0x18]
call fcn.0040ed30
jmp 0x4b1a7b
cmp byte [esi + 4], 0
je 0x4b1d40
lea eax, [ebx + 0x40]
mov dword [esi + 0x70], 0xffffffff
lea ecx, [esi + 0x14]
push eax
call fcn.00495b90
lea edx, [ebx + 0x3c]
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x70], 4
mov ecx, ebx
push 1
mov dword [esi + 4], edx
push edx
call eax
mov edx, dword [esi + 4]
mov eax, dword [edx]
mov dword [esi + 0x18], eax
mov eax, 0xa8a7339c
mov ecx, dword [esi + 8]
cmp eax, 0xdb7bc6a8
jg 0x4b1b30
cmp eax, 0xa8a7339c
je 0x4b1c24
cmp eax, 0xb5276b8e
jne 0x4b1b10
mov eax, 0xdb7bc6a9
jmp 0x4b1b10
cmp eax, 0xdb7bc6a9
je 0x4b1c55
cmp eax, 0xe8f0f406
jne 0x4b1b10
mov ebx, dword [edx]
mov eax, dword [0x5d02b0]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, dword [0x5d02b4]
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete byte [esi + 0xf]
cmp eax, 0xa
setl byte [esi + 3]
mov eax, 0x496efd9
nop dword [eax]
cmp eax, 0x496efd8
jg 0x4b1b90
cmp eax, 0x932f27cf
je 0x4b1bca
cmp eax, 0xe5db3188
jne 0x4b1b70
jmp 0x4b1c3c
cmp eax, 0x45587dcf
je 0x4b1bda
cmp eax, 0x496efd9
jne 0x4b1b70
movzx ecx, byte [esi + 0xf]
movzx eax, byte [esi + 3]
mov edx, ecx
xor dl, al
test al, al
mov eax, 0x932f27cf
mov edi, 0x45587dcf
cmovne eax, edi
test cl, cl
mov ecx, 0x932f27cf
cmove eax, ecx
test dl, dl
cmovne eax, edi
jmp 0x4b1b70
push 2
push ebx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, 0x45587dcf
jmp 0x4b1b70
push 2
push ebx
call dword [sym.imp.WS2_32.dll_shutdown]
mov dword [esi + 0x10], eax
mov eax, dword [0x5d02b0]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0x932f27cf
mov edi, 0xe5db3188
cmove eax, edi
cmp dword [0x5d02b4], 0xa
mov edx, 0x932f27cf
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, edi
jmp 0x4b1b70
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
mov eax, 0xe8f0f406
mov edi, 0xb5276b8e
cmove eax, edi
jmp 0x4b1b10
mov eax, dword [esi + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x30]
mov eax, 0xdb7bc6a9
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
jmp 0x4b1b10
mov dword [esi + 0x70], 4
push edx
call fcn.00495cb0
mov eax, dword [0x5d02c0]
mov ecx, dword [0x5d02c4]
lea edx, [eax + 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete byte [esi + 0x18]
cmp ecx, 0xa
setl byte [esi + 0x30]
mov edi, dword [esi + 0x14]
mov eax, 0xba1659aa
nop dword [eax]
cmp eax, 0xd1176798
jg 0x4b1cf0
cmp eax, 0xba1659aa
je 0x4b1d00
cmp eax, 0xd1009ff4
jne 0x4b1c90
push edi
call fcn.00595bc6
add esp, 4
mov edx, dword [0x5d02c0]
mov ecx, dword [0x5d02c4]
lea eax, [edx + 1]
imul eax, edx
not eax
or eax, 0xfffffffe
cmp eax, 0xffffffff
sete dl
cmp ecx, 0xa
setl dh
xor dh, dl
mov edx, 0xd1176799
mov ebx, 0xe59ef71c
cmovne edx, ebx
cmp eax, 0xffffffff
mov eax, edx
cmove eax, ebx
cmp ecx, 0xa
cmovge eax, edx
jmp 0x4b1c90
cmp eax, 0xd1176799
je 0x4b1d2a
cmp eax, 0xe59ef71c
jne 0x4b1c90
jmp 0x4b1d3d
movzx ecx, byte [esi + 0x18]
movzx eax, byte [esi + 0x30]
mov edx, ecx
xor dl, al
mov edx, 0xd1176799
mov ebx, 0xd1009ff4
cmovne edx, ebx
test al, al
mov eax, edx
cmovne eax, ebx
test cl, cl
cmove eax, edx
jmp 0x4b1c90
push edi
call fcn.00595bc6
add esp, 4
mov eax, 0xd1009ff4
jmp 0x4b1c90
mov ebx, dword [esi + 8]
mov eax, dword [0x5d07a0]
mov edx, dword [0x5d07a4]
lea ecx, [eax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp edx, 0xa
setl ah
xor ah, al
mov eax, 0xeec6bfdc
mov edi, 0xd5b79370
cmovne edi, eax
cmp ecx, 0xffffffff
sete byte [esi + 0x14]
cmovne eax, edi
cmp edx, 0xa
setl byte [esi + 0x18]
mov ecx, dword [ebx + 0x244]
mov dword [esi + 4], ecx
cmovge eax, edi
mov ebx, 0x3169d43c
mov edx, 0xd9fe7488
mov edi, 0xd5b79370
nop dword [eax]
cmp ebx, 0xeec6bfdb
jg 0x4b1dc0
cmp ebx, 0xd5b79370
je 0x4b1df2
cmp ebx, 0xd9fe7488
jne 0x4b1da0
mov ebx, eax
jmp 0x4b1da0
cmp ebx, 0xeec6bfdc
je 0x4b1df9
cmp ebx, 0x3169d43c
jne 0x4b1da0
movzx ecx, byte [esi + 0x14]
movzx ebx, byte [esi + 0x18]
mov ch, bl
xor ch, cl
test bl, bl
mov ebx, 0xd5b79370
cmovne ebx, edx
test cl, cl
cmove ebx, edi
test ch, ch
cmovne ebx, edx
jmp 0x4b1da0
mov ebx, 0xd9fe7488
jmp 0x4b1da0
cmp dword [esi + 4], 0
setne byte [esi + 0x30]
movzx eax, byte [esi + 0x30]
mov bl, 1
cmp al, 1
jne 0x4b137d
mov ecx, dword [esi + 8]
add ecx, 0x220
mov dword [esi + 0x70], 0xffffffff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004bd010
jmp 0x4b137d
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx + 0x10]
call fcn.00409c60
push 8
push str.HTTP_1.0
push edi
push eax
call fcn.0040f7d0
add esp, 0x10
mov edx, dword [0x5d0790]
mov edi, dword [0x5d0794]
lea ebx, [edx + 1]
imul ebx, edx
mov edx, ebx
and edx, 1
sete cl
cmp edi, 0xa
setl ch
setge ah
cmp ch, cl
jne 0x4b1e97
or ah, bl
test ah, 1
je 0x4b1e97
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx + 0x10]
call fcn.00409c60
push 8
push str.HTTP_1.0
push edi
push eax
call fcn.0040f7d0
add esp, 0x10
jmp 0x4b1e2f
test al, al
je 0x4b1f28
mov ebx, dword [ebp + 0x10]
lea ecx, [ebx + 0x1c]
mov dword [esi + 0x10], ecx
nop dword [eax + eax]
mov ebx, dword [ebx + 0x2c]
call fcn.00409c60
push 0x16
push str.Connection_established
push ebx
push eax
call fcn.0040f7d0
add esp, 0x10
mov dword [esi + 4], eax
mov edx, dword [0x5d0790]
mov edi, dword [0x5d0794]
lea ecx, [edx + 1]
imul ecx, edx
mov edx, ecx
xor edx, 0xfffffffe
and edx, ecx
sete cl
setne bl
mov eax, edi
cmp edi, 0xa
setl ch
setge bh
cmp ch, cl
jne 0x4b1f31
or bh, bl
je 0x4b1f31
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov edi, dword [esi + 0x10]
mov ecx, edi
call fcn.00409c60
push 0x16
push str.Connection_established
push dword [esi + 4]
push eax
call fcn.0040f7d0
mov ecx, edi
add esp, 0x10
jmp 0x4b1eb0
mov dword [esi + 4], 0
jmp 0x4b1f3c
mov ecx, dword [esi + 4]
xor cl, 1
mov dword [esi + 4], ecx
mov edi, eax
test edx, edx
sete cl
setne al
cmp edi, 0xa
setl ch
setge ah
cmp ch, cl
mov ebx, dword [esi + 8]
jne 0x4b1a62
or ah, al
je 0x4b1a62
jmp 0x4b1f60