Function at 0x66e110
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
push edi
push ecx
mov edx, dword [esi + 0xd8]
mov edi, ecx
mov ebx, edx
mov dword [esp + 0x20], ecx
push 0xa
push ebx
mov dword [esp + 0x2c], edx
mov ebp, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ecx
call fcn.006b9710
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x66f064
mov dword [esp + 0x18], 0xffffffff
nop dword [eax + eax]
mov edx, dword [esp + 0x34]
sub edi, ecx
lea eax, [edi - 1]
add eax, ebp
lea edi, [esi + 0x8b8]
mov dword [edx], eax
lea eax, [ecx + 1]
mov dword [esi + 0xd8], eax
sub eax, ebx
push eax
push ebx
push edi
call fcn.00655f90
add esp, 0xc
test eax, eax
jne 0x66e23a
cmp dword [esi + 0xd4], eax
jne 0x66e242
push edi
call fcn.00655ff0
push edi
mov ebx, eax
call fcn.00656000
mov ebp, dword [esp + 0x38]
add esp, 8
mov ecx, dword [ebp + 0x1e8]
test dword [ecx + 0x44], 0x40000
je 0x66e1f3
cmp ebx, 5
mov ecx, 5
sbb edi, edi
inc edi
cmp ebx, 5
cmova ebx, ecx
push ebx
push eax
push str.RTSP_
call fcn.00664850
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
lea edi, [esi + 0x8b8]
jmp 0x66e1fe
push ebx
push eax
push esi
call fcn.0066f350
add esp, 0xc
cmp eax, 2
jne 0x66e246
push eax
push ebp
call fcn.00661a10
add esp, 8
cmp byte [esi + 0x6f5], 0
je 0x66f0de
mov eax, dword [esp + 0x34]
mov byte [esi + 0x14a], 0
cmp dword [eax], 0
je 0x66ee80
mov dword [esi + 0xd0], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ebp, dword [esp + 0x30]
push edi
call fcn.00656000
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x66e762
cmp cl, 0xd
je 0x66e762
mov ecx, dword [esi + 0xd4]
mov ebx, 2
lea eax, [ecx + 1]
mov dword [esi + 0xd4], eax
test ecx, ecx
jne 0x66e65e
mov eax, dword [ebp + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x66e487
mov al, byte [edx]
mov edi, edx
test al, al
je 0x66e2b0
nop
cmp al, 0x20
je 0x66e2a8
cmp al, 9
jne 0x66e2b0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x66e2a0
push 5
push str.HTTP_
push edi
call fcn.006d7a90
add esp, 0xc
test eax, eax
jne 0x66e359
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x66e39d
sub eax, 1
je 0x66e2e5
sub eax, 1
jne 0x66eea4
mov al, byte [edi + 6]
cmp al, 0x20
je 0x66e2f0
cmp al, 9
jne 0x66e359
lea ebx, [ecx - 0x30]
mov cl, byte [edi + 7]
mov al, cl
lea ebx, [ebx + ebx*4]
sub al, 0x30
add ebx, ebx
cmp al, 9
ja 0x66e359
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x66e359
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x66e359
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [esi + 0xe8], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x66e430
cmp al, 9
je 0x66e430
cmp al, 0xa
jl 0x66e359
cmp al, 0xd
jle 0x66e430
lea ebx, [esi + 0x8b8]
push ebx
call fcn.00655ff0
add esp, 4
push eax
push ebx
call fcn.00656000
add esp, 4
push eax
push esi
call fcn.0066f350
add esp, 0xc
cmp eax, 1
jne 0x66ef2a
lea edi, [ebp + 0x459]
mov dword [esi + 0xe8], 0xc8
mov byte [edi], 0xa
jmp 0x66e566
cmp byte [edi + 6], 0x2e
jne 0x66ef0f
mov al, byte [edi + 7]
cmp al, 0x30
je 0x66e3b6
cmp al, 0x31
jne 0x66ef0f
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x66e3c7
cmp cl, 9
jne 0x66ef0f
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x66ef0f
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x66ef0f
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x66ef0f
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [esi + 0xe8], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x66e430
cmp al, 9
je 0x66e430
sub al, 0xa
cmp al, 3
ja 0x66ef0f
cmp ecx, 0x64
jl 0x66eef4
mov eax, ebx
sub eax, 0xa
je 0x66e449
sub eax, 1
jne 0x66eebf
lea edi, [ebp + 0x459]
mov byte [edi], bl
cmp dword [esi + 0x104], 3
jne 0x66e46d
cmp bl, 0x14
je 0x66e46d
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.00660d30
add esp, 8
cmp byte [edi], 0x14
jae 0x66e566
mov eax, dword [ebp + 0x428]
mov dword [eax], 0xffffffff
jmp 0x66e566
test eax, 0x40000
je 0x66ef2a
mov al, byte [edx]
mov edi, edx
test al, al
je 0x66e4b0
nop word [eax + eax]
cmp al, 0x20
je 0x66e4a8
cmp al, 9
jne 0x66e4b0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x66e4a0
push 5
push str.RTSP_
push edi
call fcn.006d7a90
add esp, 0xc
test eax, eax
jne 0x66ef2a
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x66ef66
cmp byte [edi + 6], 0x2e
jne 0x66ef66
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x66ef66
mov al, byte [edi + 8]
cmp al, 0x20
je 0x66e4fb
cmp al, 9
jne 0x66ef66
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x66ef66
mov bl, byte [edi + 0xa]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x66ef66
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x66ef66
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, bl
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [esi + 0xe8], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x66e55d
cmp al, 9
je 0x66e55d
sub al, 0xa
cmp al, 3
ja 0x66ef66
lea edi, [ebp + 0x459]
mov byte [edi], 0xb
mov ecx, dword [esi + 0xe8]
mov dl, byte [esi + 0xd65]
mov dword [esi + 0xd88], ecx
movzx eax, byte [edi]
mov dword [esi + 0xd90], eax
mov al, byte [edi]
test dl, dl
je 0x66e58b
cmp dl, al
jbe 0x66e591
mov byte [esi + 0xd65], al
mov eax, dword [esi + 0xc58]
or eax, dword [esi + 0xc5c]
je 0x66e5b7
cmp byte [esi + 0xd66], 0
jne 0x66e5b7
cmp ecx, 0x1a0
jne 0x66e5b7
mov byte [esi + 0x14d], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x66e5d5
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.00660d30
push 1
push ebp
call fcn.00661a10
add esp, 0x10
jmp 0x66e5f3
cmp al, 0x14
je 0x66e5e7
cmp dword [esi + 0x104], 2
jne 0x66e5f3
cmp ecx, 0x65
jne 0x66e5f3
mov eax, dword [ebp + 0x428]
mov dword [eax], 2
mov ecx, dword [esi + 0xe8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x14e], al
sub ecx, 0xcc
je 0x66e624
sub ecx, 0x64
jne 0x66e653
cmp byte [esi + 0x3d0], cl
je 0x66e624
mov byte [esi + 0xe50], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x14e], 1
mov ebx, 6
lea edi, [esi + 0x8b8]
push edi
call fcn.00656000
mov edi, eax
lea eax, [esi + 0x8b8]
push eax
call fcn.00655ff0
push eax
push 0
push edi
mov dword [esp + 0x28], eax
call fcn.006b9710
add esp, 0x14
test eax, eax
jne 0x66ef57
mov ecx, dword [esi + 0xd4]
cmp ecx, 2
jl 0x66e6bb
mov al, byte [edi]
cmp al, 0x20
je 0x66e69f
cmp al, 9
jne 0x66e6a4
cmp ecx, 2
jg 0x66e6bb
push dword [esp + 0x14]
push 0x3a
push edi
call fcn.006b9710
add esp, 0xc
test eax, eax
je 0x66ef3b
push dword [esp + 0x2c]
push ebp
push esi
call fcn.0066d160
add esp, 0xc
test eax, eax
jne 0x66e23a
cmp byte [esi + 0x6d7], al
je 0x66e6dc
or ebx, 1
mov edi, dword [esi + 0xe8]
lea eax, [esi + 0x8b8]
push eax
call fcn.00655ff0
mov ebp, dword [esp + 0x30]
push eax
push ebp
push 1
push esi
call fcn.00660bc0
lea eax, [esi + 0x8b8]
push eax
call fcn.00655ff0
push eax
lea eax, [edi - 0x64]
mov ecx, ebx
or ecx, 0x10
cmp eax, 0x64
push ebp
cmovae ecx, ebx
push ecx
push esi
call fcn.00660dc0
add esp, 0x28
test eax, eax
jne 0x66e23a
lea ebx, [esi + 0x8b8]
push ebx
call fcn.00655ff0
add dword [esi + 0xda0], eax
push ebx
adc dword [esi + 0xda4], 0
call fcn.00655ff0
mov ebx, dword [esp + 0x38]
add esp, 8
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], 0
jmp 0x66ee34
mov ecx, dword [esi + 0xe8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x66e874
sub ecx, 0x64
je 0x66e7ad
sub ecx, 1
je 0x66e794
lea ebp, [esi + 0x14a]
mov dword [esi + 0xd4], 0
mov byte [ebp], 1
jmp 0x66e7e6
cmp dword [esi + 0x104], 2
je 0x66ef73
lea ebp, [esi + 0x14a]
mov byte [ebp], 0
jmp 0x66e7e6
cmp dword [esi + 0x100], 0
lea ebp, [esi + 0x14a]
mov byte [ebp], 1
mov dword [esi + 0xd4], 0
jle 0x66e7e6
or dword [esi + 0xec], 2
push 0
push esi
mov dword [esi + 0x100], 0
call fcn.0064fee0
add esp, 8
lea edx, [esi + 0x88]
mov ebx, dword [esp + 0x30]
cmp byte [ebp], 0
jne 0x66e91e
cmp byte [esi + 0x150], 0
jne 0x66e903
cmp byte [edx + 0xc7], 0
jne 0x66e903
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x66e91e
mov eax, dword [esi + 0x4d0]
mov edi, dword [esi + 0x4d4]
or eax, edi
je 0x66e84c
cmp edx, edi
jg 0x66efa9
jl 0x66e84c
cmp ecx, dword [esi + 0x4d0]
ja 0x66efa9
push edx
push ecx
push esi
call fcn.00670d80
mov eax, dword [esi + 0x88]
add esp, 0xc
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
jmp 0x66e91e
mov eax, dword [esi + 0x88]
lea edx, [esi + 0x88]
and eax, dword [edx + 4]
lea edi, [esi + 0x14a]
mov byte [edi], 0
mov ebp, edi
cmp eax, 0xffffffff
jne 0x66e7ec
cmp byte [esi + 0x14f], 0
mov ebx, dword [esp + 0x30]
jne 0x66e7f0
cmp byte [ebx + 0x1ce], 0
jne 0x66e7f0
cmp byte [ebx + 0x459], 0xb
jne 0x66e7f0
mov eax, dword [ebx + 0x1e8]
test dword [eax + 0x44], 0x40000
jne 0x66e7f0
cmp byte [esi + 0xd66], 5
je 0x66e7f0
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.00660d30
push 2
push ebx
call fcn.00661a10
add esp, 0x10
lea edx, [esi + 0x88]
jmp 0x66e7f0
mov dword [edx + 8], 0xffffffff
mov dword [edx + 0xc], 0xffffffff
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
cmp byte [ebx + 0x1ce], 0
je 0x66e9ae
mov eax, dword [esi + 0xe8]
cmp eax, 0x191
jne 0x66e943
cmp dword [ebx + 0x258], 2
je 0x66e953
jmp 0x66e968
cmp eax, 0x197
jne 0x66e968
cmp dword [ebx + 0x25c], 2
jne 0x66e968
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.00660d30
add esp, 8
mov byte [esi + 0xd6d], 1
cmp byte [ebx + 0x1ce], 0
je 0x66e9ae
mov eax, dword [esi + 0xe8]
cmp eax, 0x191
jne 0x66e989
cmp dword [ebx + 0x2e0], 1
je 0x66e999
jmp 0x66e9ae
cmp eax, 0x197
jne 0x66e9ae
cmp dword [ebx + 0x2e4], 1
jne 0x66e9ae
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.00660d30
add esp, 8
mov byte [esi + 0xd6d], 1
cmp dword [ebx + 0x2e0], 3
jne 0x66e9cd
cmp dword [esi + 0xe8], 0x191
je 0x66e9cd
mov dword [ebx + 0x2e0], 4
cmp dword [ebx + 0x2e4], 3
jne 0x66e9ec
cmp dword [esi + 0xe8], 0x197
je 0x66e9ec
mov dword [ebx + 0x2e4], 4
mov eax, dword [esi + 0xe8]
xor ebx, ebx
cmp byte [esi + 0x6d7], bl
setne bl
sub eax, 0x64
add ebx, 2
cmp eax, 0x64
sbb eax, eax
and eax, 0x10
or ebx, eax
lea eax, [esi + 0x8b8]
push eax
call fcn.00655ff0
add esp, 4
mov edi, eax
lea eax, [esi + 0x8b8]
mov dword [esp + 0x24], edi
push edi
push eax
call fcn.00656000
add esp, 4
push eax
push ebx
push esi
call fcn.00660dc0
add esp, 0x10
test eax, eax
jne 0x66e23a
mov eax, edi
cdq
mov ebx, eax
mov eax, dword [esi + 0xac]
add dword [esi + 0xda0], ebx
push esi
adc dword [esi + 0xda4], edx
add ebx, dword [esi + 0xa8]
mov dword [esi + 0xa8], ebx
adc eax, edx
mov dword [esi + 0xac], eax
mov edi, dword [esi + 0xe8]
mov dword [esp + 0x30], eax
call fcn.0066f750
add esp, 4
test al, al
jne 0x66f048
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x66eaa8
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], eax
jmp 0x66ecbd
mov ebx, dword [esi + 0x18]
xor dl, dl
mov dword [esi + 0xb0], 0
mov ecx, 0xffffffbf
mov dword [esi + 0xb4], 0
mov eax, dword [esi + 0x5f4]
test eax, eax
mov byte [esp + 0x13], dl
cmovne ecx, dword [esp + 0x18]
cmp byte [esi + 0xd6d], dl
je 0x66eaf4
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x6d2], dl
cmovne edi, eax
jmp 0x66ecb5
cmp dword [esi + 0xd54], 0
jne 0x66eb05
mov byte [esp + 0x2c], dl
test eax, eax
je 0x66eb76
cmp edi, 0x191
je 0x66eb26
cmp byte [ebx + 0x1d8], 0
mov byte [esp + 0x2c], dl
je 0x66eb76
mov byte [esp + 0x2c], dl
cmp edi, 0x12c
jge 0x66eb76
push ecx
lea eax, [esi + 0x96c]
push eax
call fcn.0066fb00
mov cl, al
add esp, 8
mov byte [esp + 0x2c], cl
test cl, cl
jne 0x66eb47
mov byte [esi + 0xd6d], 1
cmp dword [esi + 0x970], 8
jne 0x66eb76
cmp byte [ebx + 0x459], 0xb
jbe 0x66eb76
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.00660d30
push 1
push ebx
call fcn.00661a10
add esp, 0x10
mov byte [esi + 0xd64], 2
mov dl, byte [esp + 0x13]
mov al, dl
cmp byte [ebx + 0x1ca], al
je 0x66ebbe
mov ecx, dword [esi + 0xe8]
cmp ecx, 0x197
je 0x66eba2
cmp byte [ebx + 0x1d8], al
je 0x66ebbe
cmp ecx, 0x12c
jge 0x66ebbe
lea eax, [esi + 0x97c]
push 0xffffffffffffffbf
push eax
call fcn.0066fb00
add esp, 8
test al, al
jne 0x66ebbe
mov byte [esi + 0xd6d], 1
cmp byte [esp + 0x2c], 0
jne 0x66ec2f
test al, al
jne 0x66ec2f
xor edi, edi
cmp dword [esi + 0xe8], 0x12c
jge 0x66ec8f
cmp byte [esi + 0x978], al
jne 0x66ec8f
cmp byte [ebx + 0x1d8], al
je 0x66ec8f
mov al, byte [esi + 0xd66]
test al, al
je 0x66ec8f
cmp al, 5
je 0x66ec8f
push dword [esi + 0xcc4]
call dword [0x90910c]
add esp, 4
mov dword [esi + 0x120], eax
test eax, eax
je 0x66f039
mov byte [esi + 0x978], 1
jmp 0x66ec8f
mov al, byte [esi + 0xd66]
xor edi, edi
test al, al
je 0x66ec5c
cmp al, 5
je 0x66ec5c
cmp byte [esi + 0xd7b], 0
jne 0x66ec5c
push ebx
push esi
call fcn.0066f530
mov edi, eax
add esp, 8
test edi, edi
jne 0x66f03e
push dword [esi + 0x120]
call dword [0x909104]
push dword [esi + 0xcc4]
mov dword [esi + 0x120], 0
call dword [0x90910c]
add esp, 8
mov dword [esi + 0x120], eax
test eax, eax
je 0x66f039
push esi
call fcn.0066f750
add esp, 4
test al, al
je 0x66ecb5
push dword [esi + 0xe8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.00660c60
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x66f03e
cmp dword [esi + 0xe8], 0x12c
mov ebx, dword [esp + 0x30]
jl 0x66ee24
cmp byte [ebx + 0x1d8], 0
jne case.default.0x66ed09
cmp byte [ebx + 0x1ce], 0
jne case.default.0x66ed09
cmp byte [esi + 0xd7b], 0
jne case.default.0x66ed09
movzx eax, byte [esi + 0xd66]
dec eax
cmp eax, 3
ja case.default.0x66ed09
jmp dword [eax*4 + 0x66f0fc]
push 0
push esi
call fcn.0064fee0
add esp, 8
cmp byte [esi + 0x14c], 0
jne case.default.0x66ed09
cmp dword [esi + 0xe8], 0x1a1
jne 0x66ed76
cmp byte [esi + 0xd6f], 0
je 0x66ed76
push str.Got_417_while_waiting_for_a_100
push esi
call fcn.00660d30
push dword [esi + 0xcc4]
mov byte [esi + 0xd70], 1
call dword [0x90910c]
lea edi, [esi + 0x88]
mov dword [esi + 0x120], eax
push edi
push esi
call fcn.00666d00
add esp, 0x14
jmp 0x66edfb
cmp byte [esi + 0x6d3], 0
je 0x66edaf
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.00660d30
add esp, 8
lea edi, [esi + 0x88]
cmp dword [esi + 0x100], 0
jle 0x66edfb
or dword [esi + 0xec], 2
mov dword [esi + 0x100], 0
jmp 0x66edfb
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.00660d30
push 2
push ebx
call fcn.00661a10
lea edi, [esi + 0x88]
push edi
push esi
call fcn.00666d00
add esp, 0x18
test eax, eax
jne 0x66e23a
mov byte [esi + 0x14c], 1
cmp byte [esi + 0xd6f], al
je 0x66edfb
mov dword [esi + 0x100], 3
jmp 0x66edfb
lea edi, [esi + 0x88]
cmp byte [esi + 0xd7b], 0
je 0x66ee2a
cmp dword [ebx + 0x204], 0xffffffff
je 0x66ee2a
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.00660d30
add esp, 8
or dword [esi + 0xec], 2
jmp 0x66ee2a
lea edi, [esi + 0x88]
cmp byte [ebp], 0
je 0x66efc4
lea eax, [esi + 0x8b8]
push eax
call fcn.00656010
mov ebp, dword [esi + 0xd8]
add esp, 4
cmp byte [ebp], 0
je 0x66e238
mov ecx, dword [esp + 0x34]
mov eax, ebp
mov dword [esp + 0x14], eax
mov edi, dword [ecx]
push edi
push 0xa
push eax
mov dword [esp + 0x38], edi
call fcn.006b9710
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x66f068
mov ebx, ebp
jmp 0x66e160
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xd0], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
pop edi
mov dword [esi + 0xd8], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.00660c60
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
add eax, eax
sub ebx, eax
push ebx
push ecx
push str.Unsupported_HTTP_version___u._d__in_response
push esi
call fcn.00660c60
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Unsupported_response_code_in_HTTP_response
push esi
call fcn.00660c60
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.00660c60
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
pop edi
mov byte [esi + 0x14a], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, str.Header_without_colon
push eax
push esi
call fcn.00660c60
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.00660c60
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x18
ret
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.00660d30
add esp, 8
mov dword [esi + 0x104], 3
mov byte [esi + 0x14a], 1
mov eax, 1
mov dword [esi + 0xd4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.00660c60
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp byte [esi + 0x154], 0
mov ecx, dword [esp + 0x38]
jne 0x66eff6
mov eax, dword [ebx + 0x1e8]
test dword [eax + 0x44], 0x40000
je 0x66eff9
cmp dword [esi + 0x668], 2
jne 0x66eff9
cmp dword [edi + 4], 0xffffffff
jg 0x66eff9
jl 0x66eff6
cmp dword [edi], 0xffffffff
ja 0x66eff9
mov byte [ecx], 1
cmp dword [esi + 0x90], 0
jne 0x66f010
cmp dword [esi + 0x94], 0
jne 0x66f010
mov byte [ecx], 1
jmp 0x66f015
cmp byte [ecx], 0
je 0x66f01c
and dword [esi + 0xec], 0xfffffffe
push dword [esp + 0x24]
push dword [esp + 0x18]
push 1
push esi
call fcn.00660bc0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push edi
push str.The_requested_URL_returned_error:__d
push esi
call fcn.00660c60
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ebx, dword [esp + 0x30]
push dword [esp + 0x2c]
lea ebp, [esi + 0x8b8]
push dword [esp + 0x18]
push ebp
call fcn.00655f90
add esp, 0xc
test eax, eax
jne 0x66e23a
cmp dword [esi + 0xd4], eax
jne 0x66e238
push ebp
call fcn.00655ff0
add esp, 4
push eax
push ebp
call fcn.00656000
add esp, 4
push eax
push ebx
push esi
call fcn.0066f400
add esp, 0x10
cmp eax, 2
jne 0x66e238
push eax
push ebx
mov byte [esi + 0x14a], 0
mov dword [esi + 0xd0], eax
call fcn.00661a10
add esp, 8
cmp byte [esi + 0x6f5], 0
jne 0x66e238
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.00660c60
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret