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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push ecx
mov edx, dword [esi + 0xd8]
mov edi, ecx
mov eax, edx
mov dword [ebp - 0x1c], ecx
push 0xa
push eax
mov dword [ebp - 0x20], edx
mov ebx, edx
mov dword [ebp - 8], eax
mov dword [ebp + 8], ecx
call fcn.00a058e0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x9cd3fd
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp + 0x10]
sub edi, ecx
lea eax, [edi - 1]
add eax, ebx
lea edi, [esi + 0x8b8]
mov dword [edx], eax
lea eax, [ecx + 1]
mov ecx, dword [ebp - 8]
mov dword [esi + 0xd8], eax
sub eax, ecx
push eax
push ecx
push edi
call fcn.009b8d60
add esp, 0xc
test eax, eax
jne 0x9cd4b5
cmp dword [esi + 0xd4], eax
jne 0x9cc80d
push edi
call fcn.009b8dd0
push edi
mov ebx, eax
call fcn.009b8de0
mov edi, dword [ebp + 0xc]
add esp, 8
mov ecx, dword [edi + 0x1e8]
test dword [ecx + 0x44], 0x40000
je 0x9cc7f3
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.009c6ea0
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
mov edi, dword [ebp + 0xc]
jmp 0x9cc7fe
push ebx
push eax
push esi
call fcn.009cd8f0
add esp, 0xc
cmp eax, 2
je 0x9cd486
lea edi, [esi + 0x8b8]
push edi
call fcn.009b8de0
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x9ccd2d
cmp cl, 0xd
je 0x9ccd2d
mov ecx, dword [esi + 0xd4]
mov ebx, 2
lea eax, [ecx + 1]
mov dword [esi + 0xd4], eax
test ecx, ecx
jne 0x9ccc2e
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x9cca57
mov al, byte [edx]
mov edi, edx
test al, al
je 0x9cc877
cmp al, 0x20
je 0x9cc86f
cmp al, 9
jne 0x9cc877
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x9cc867
push 5
push str.HTTP_
push edi
call fcn.00a13160
add esp, 0xc
test eax, eax
jne 0x9cc923
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x9cc967
sub eax, 1
je 0x9cc8ac
sub eax, 1
jne 0x9cd4dd
mov al, byte [edi + 6]
cmp al, 0x20
je 0x9cc8b7
cmp al, 9
jne 0x9cc923
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 0x9cc920
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x9cc920
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x9cc920
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 0x9cc9fa
cmp al, 9
je 0x9cc9fa
cmp al, 0xa
jl 0x9cc920
cmp al, 0xd
jle 0x9cc9fa
mov ebx, dword [ebp + 0xc]
lea edi, [esi + 0x8b8]
push edi
call fcn.009b8dd0
add esp, 4
push eax
push edi
call fcn.009b8de0
add esp, 4
push eax
push esi
call fcn.009cd8f0
add esp, 0xc
cmp eax, 1
jne 0x9cd55f
lea edi, [ebx + 0x455]
mov dword [esi + 0xe8], 0xc8
mov byte [edi], 0xa
jmp 0x9ccb36
cmp byte [edi + 6], 0x2e
jne 0x9cd545
mov al, byte [edi + 7]
cmp al, 0x30
je 0x9cc980
cmp al, 0x31
jne 0x9cd545
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x9cc991
cmp cl, 9
jne 0x9cd545
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x9cd545
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x9cd545
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x9cd545
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 0x9cc9fa
cmp al, 9
je 0x9cc9fa
sub al, 0xa
cmp al, 3
ja 0x9cd545
cmp ecx, 0x64
jl 0x9cd52b
mov eax, ebx
sub eax, 0xa
je 0x9cca13
sub eax, 1
jne 0x9cd4f7
mov edi, dword [ebp + 0xc]
add edi, 0x455
mov byte [edi], bl
cmp dword [esi + 0x104], 3
jne 0x9cca3a
cmp bl, 0x14
je 0x9cca3a
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.009c32f0
add esp, 8
cmp byte [edi], 0x14
mov ebx, dword [ebp + 0xc]
jae 0x9ccb36
mov eax, dword [ebx + 0x428]
mov dword [eax], 0xffffffff
jmp 0x9ccb36
test eax, 0x40000
je 0x9cd55f
mov al, byte [edx]
mov edi, edx
test al, al
je 0x9cca80
nop word [eax + eax]
cmp al, 0x20
je 0x9cca78
cmp al, 9
jne 0x9cca80
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x9cca70
push 5
push str.RTSP_
push edi
call fcn.00a13160
add esp, 0xc
test eax, eax
jne 0x9cd55f
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x9cd599
cmp byte [edi + 6], 0x2e
jne 0x9cd599
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x9cd599
mov al, byte [edi + 8]
cmp al, 0x20
je 0x9ccacb
cmp al, 9
jne 0x9cd599
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x9cd599
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x9cd599
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x9cd599
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 eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [esi + 0xe8], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x9ccb2d
cmp al, 9
je 0x9ccb2d
sub al, 0xa
cmp al, 3
ja 0x9cd599
lea edi, [ebx + 0x455]
mov byte [edi], 0xb
mov ecx, dword [esi + 0xe8]
mov dl, byte [esi + 0xd5d]
mov dword [esi + 0xd80], ecx
movzx eax, byte [edi]
mov dword [esi + 0xd88], eax
mov al, byte [edi]
test dl, dl
je 0x9ccb5b
cmp dl, al
jbe 0x9ccb61
mov byte [esi + 0xd5d], al
mov eax, dword [esi + 0xc50]
or eax, dword [esi + 0xc54]
je 0x9ccb87
cmp byte [esi + 0xd5e], 0
jne 0x9ccb87
cmp ecx, 0x1a0
jne 0x9ccb87
mov byte [esi + 0x14d], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x9ccba5
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.009c32f0
push 1
push ebx
call fcn.009c3fb0
add esp, 0x10
jmp 0x9ccbc3
cmp al, 0x14
je 0x9ccbb7
cmp dword [esi + 0x104], 2
jne 0x9ccbc3
cmp ecx, 0x65
jne 0x9ccbc3
mov eax, dword [ebx + 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 0x9ccbf4
sub ecx, 0x64
jne 0x9ccc23
cmp byte [esi + 0x3d0], cl
je 0x9ccbf4
mov byte [esi + 0xe48], 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.009b8de0
mov edi, eax
lea eax, [esi + 0x8b8]
push eax
call fcn.009b8dd0
push eax
push 0
push edi
mov dword [ebp - 0x10], eax
call fcn.00a058e0
add esp, 0x14
test eax, eax
jne 0x9cd58a
mov ecx, dword [esi + 0xd4]
cmp ecx, 2
jl 0x9ccc89
mov al, byte [edi]
cmp al, 0x20
je 0x9ccc6e
cmp al, 9
jne 0x9ccc73
cmp ecx, 2
jg 0x9ccc89
push dword [ebp - 0x10]
push 0x3a
push edi
call fcn.00a058e0
add esp, 0xc
test eax, eax
je 0x9cd56f
push dword [ebp + 8]
push dword [ebp + 0xc]
push esi
call fcn.009cb760
add esp, 0xc
test eax, eax
jne 0x9cd4b5
cmp byte [esi + 0x6d3], al
je 0x9cccab
or ebx, 1
mov edi, dword [esi + 0xe8]
lea eax, [esi + 0x8b8]
push eax
call fcn.009b8dd0
push eax
push dword [ebp + 8]
push 1
push esi
call fcn.009c3190
lea eax, [esi + 0x8b8]
push eax
call fcn.009b8dd0
push eax
push dword [ebp + 8]
lea eax, [edi - 0x64]
mov ecx, ebx
or ecx, 0x10
cmp eax, 0x64
cmovae ecx, ebx
push ecx
push esi
call fcn.009c3370
add esp, 0x28
test eax, eax
jne 0x9cd4b5
lea ebx, [esi + 0x8b8]
push ebx
call fcn.009b8dd0
add dword [esi + 0xd98], eax
push ebx
adc dword [esi + 0xd9c], 0
call fcn.009b8dd0
add esp, 8
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], 0
jmp 0x9cd3c2
mov ecx, dword [esi + 0xe8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x9ccdb6
sub ecx, 0x64
je 0x9ccd78
sub ecx, 1
je 0x9ccd5d
lea ebx, [esi + 0x14a]
mov dword [esi + 0xd4], 0
mov byte [ebx], 1
jmp 0x9cce23
cmp dword [esi + 0x104], 2
je 0x9cd5a5
lea ebx, [esi + 0x14a]
mov byte [ebx], 0
jmp 0x9cce23
cmp dword [esi + 0x100], 0
lea ebx, [esi + 0x14a]
mov byte [ebx], 1
mov dword [esi + 0xd4], 0
jle 0x9cce23
or dword [esi + 0xec], 2
push 0
push esi
mov dword [esi + 0x100], 0
call fcn.009b2ca0
add esp, 8
jmp 0x9cce23
mov eax, dword [esi + 0x88]
lea edx, [esi + 0x88]
and eax, dword [edx + 4]
lea edi, [esi + 0x14a]
mov byte [edi], 0
mov ebx, edi
cmp eax, 0xffffffff
jne 0x9cce29
cmp byte [esi + 0x14f], 0
jne 0x9cce29
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1ce], 0
jne 0x9cce29
cmp byte [eax + 0x455], 0xb
jne 0x9cce29
mov eax, dword [eax + 0x1e8]
test dword [eax + 0x44], 0x40000
jne 0x9cce29
cmp byte [esi + 0xd5e], 5
je 0x9cce29
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.009c32f0
push 2
push dword [ebp + 0xc]
call fcn.009c3fb0
add esp, 0x10
lea edx, [esi + 0x88]
cmp byte [ebx], 0
jne 0x9cceb8
cmp byte [esi + 0x150], 0
jne 0x9cce9d
cmp byte [edx + 0xc7], 0
jne 0x9cce9d
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x9cceb8
mov eax, dword [esi + 0x4d0]
mov edi, dword [esi + 0x4d4]
or eax, edi
je 0x9cce78
cmp edx, edi
jg 0x9cd5da
jl 0x9cce78
cmp ecx, dword [esi + 0x4d0]
ja 0x9cd5da
push edx
push ecx
push esi
call fcn.009d1460
mov eax, dword [esi + 0x88]
add esp, 0xc
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
jmp 0x9cceb8
mov dword [edx + 8], 0xffffffff
mov dword [edx + 0xc], 0xffffffff
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
mov edi, dword [ebp + 0xc]
cmp byte [edi + 0x1ce], 0
je 0x9ccf4b
mov eax, dword [esi + 0xe8]
cmp eax, 0x191
jne 0x9ccee0
cmp dword [edi + 0x258], 2
je 0x9ccef0
jmp 0x9ccf05
cmp eax, 0x197
jne 0x9ccf05
cmp dword [edi + 0x25c], 2
jne 0x9ccf05
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.009c32f0
add esp, 8
mov byte [esi + 0xd65], 1
cmp byte [edi + 0x1ce], 0
je 0x9ccf4b
mov eax, dword [esi + 0xe8]
cmp eax, 0x191
jne 0x9ccf26
cmp dword [edi + 0x2e0], 1
je 0x9ccf36
jmp 0x9ccf4b
cmp eax, 0x197
jne 0x9ccf4b
cmp dword [edi + 0x2e4], 1
jne 0x9ccf4b
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.009c32f0
add esp, 8
mov byte [esi + 0xd65], 1
cmp dword [edi + 0x2e0], 3
jne 0x9ccf6a
cmp dword [esi + 0xe8], 0x191
je 0x9ccf6a
mov dword [edi + 0x2e0], 4
cmp dword [edi + 0x2e4], 3
jne 0x9ccf89
cmp dword [esi + 0xe8], 0x197
je 0x9ccf89
mov dword [edi + 0x2e4], 4
mov eax, dword [esi + 0xe8]
sub eax, 0x64
cmp eax, 0x64
sbb edi, edi
xor eax, eax
and edi, 0x10
cmp byte [esi + 0x6d3], al
setne al
add eax, 2
or edi, eax
lea eax, [esi + 0x8b8]
push eax
call fcn.009b8dd0
add esp, 4
mov dword [ebp - 0x10], eax
push eax
lea eax, [esi + 0x8b8]
push eax
call fcn.009b8de0
add esp, 4
push eax
push edi
push esi
call fcn.009c3370
add esp, 0x10
test eax, eax
jne 0x9cd4b5
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0xac]
cdq
add dword [esi + 0xd98], eax
push esi
adc dword [esi + 0xd9c], edx
add eax, dword [esi + 0xa8]
mov dword [esi + 0xa8], eax
adc ecx, edx
mov dword [ebp + 8], eax
mov dword [esi + 0xac], ecx
mov edi, dword [esi + 0xe8]
mov dword [ebp - 0xc], ecx
call fcn.009cdcf0
add esp, 4
test al, al
jne 0x9cd67a
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x9cd045
mov eax, dword [ebp + 8]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xb4], eax
jmp 0x9cd260
mov edi, 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 dword [ebp - 0xc], edi
cmovne ecx, dword [ebp - 0x14]
mov byte [ebp - 1], dl
cmp byte [esi + 0xd65], dl
je 0x9cd092
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x6ce], dl
cmovne edi, eax
jmp 0x9cd258
cmp dword [esi + 0xd4c], 0
jne 0x9cd0a2
mov byte [ebp + 0xb], dl
test eax, eax
je 0x9cd114
mov eax, dword [esi + 0xe8]
cmp eax, 0x191
je 0x9cd0c5
cmp byte [edi + 0x1d8], 0
mov byte [ebp + 0xb], dl
je 0x9cd114
mov byte [ebp + 0xb], dl
cmp eax, 0x12c
jge 0x9cd114
push ecx
lea eax, [esi + 0x96c]
push eax
call fcn.009ce0a0
mov cl, al
add esp, 8
mov byte [ebp + 0xb], cl
test cl, cl
jne 0x9cd0e5
mov byte [esi + 0xd65], 1
cmp dword [esi + 0x970], 8
jne 0x9cd114
cmp byte [edi + 0x455], 0xb
jbe 0x9cd114
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.009c32f0
push 1
push edi
call fcn.009c3fb0
add esp, 0x10
mov byte [esi + 0xd5c], 2
mov dl, byte [ebp - 1]
mov al, dl
cmp byte [edi + 0x1ca], al
je 0x9cd15b
mov ecx, dword [esi + 0xe8]
cmp ecx, 0x197
je 0x9cd13f
cmp byte [edi + 0x1d8], al
je 0x9cd15b
cmp ecx, 0x12c
jge 0x9cd15b
lea eax, [esi + 0x97c]
push 0xffffffffffffffbf
push eax
call fcn.009ce0a0
add esp, 8
test al, al
jne 0x9cd15b
mov byte [esi + 0xd65], 1
cmp byte [ebp + 0xb], 0
jne 0x9cd1cf
test al, al
jne 0x9cd1cf
xor edi, edi
cmp dword [esi + 0xe8], 0x12c
jge 0x9cd232
cmp byte [esi + 0x978], al
jne 0x9cd232
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x1d8], 0
je 0x9cd232
mov al, byte [esi + 0xd5e]
test al, al
je 0x9cd232
cmp al, 5
je 0x9cd232
push dword [esi + 0xcbc]
call dword [0xa7f104]
add esp, 4
mov dword [esi + 0x120], eax
test eax, eax
je 0x9cd66c
mov byte [esi + 0x978], 1
jmp 0x9cd232
mov al, byte [esi + 0xd5e]
xor edi, edi
test al, al
je 0x9cd1ff
cmp al, 5
je 0x9cd1ff
cmp byte [esi + 0xd73], 0
jne 0x9cd1ff
mov eax, dword [ebp - 0xc]
push eax
push esi
call fcn.009cdad0
mov edi, eax
add esp, 8
test edi, edi
jne 0x9cd671
push dword [esi + 0x120]
call dword [0xa7f0fc]
push dword [esi + 0xcbc]
mov dword [esi + 0x120], 0
call dword [0xa7f104]
add esp, 8
mov dword [esi + 0x120], eax
test eax, eax
je 0x9cd66c
push esi
call fcn.009cdcf0
add esp, 4
test al, al
je 0x9cd258
push dword [esi + 0xe8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.009c3230
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x9cd671
cmp dword [esi + 0xe8], 0x12c
mov edi, dword [ebp + 0xc]
jl 0x9cd3b3
cmp byte [edi + 0x1d8], 0
jne case.default.0x9cd2ab
cmp byte [edi + 0x1ce], 0
jne case.default.0x9cd2ab
cmp byte [esi + 0xd73], 0
jne 0x9cd395
movzx eax, byte [esi + 0xd5e]
dec eax
cmp eax, 3
ja case.default.0x9cd2ab
jmp dword [eax*4 + 0x9cd698]
push 0
push esi
call fcn.009b2ca0
add esp, 8
cmp byte [esi + 0x14c], 0
jne case.default.0x9cd2ab
cmp dword [esi + 0xe8], 0x1a1
jne 0x9cd315
cmp byte [esi + 0xd67], 0
je 0x9cd315
push str.Got_417_while_waiting_for_a_100
push esi
call fcn.009c32f0
push dword [esi + 0xcbc]
mov byte [esi + 0xd68], 1
call dword [0xa7f104]
mov dword [esi + 0x120], eax
lea eax, [esi + 0x88]
push eax
push esi
call fcn.009cf200
add esp, 0x14
jmp case.default.0x9cd2ab
cmp byte [esi + 0x6cf], 0
je 0x9cd348
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.009c32f0
add esp, 8
cmp dword [esi + 0x100], 0
jle case.default.0x9cd2ab
or dword [esi + 0xec], 2
mov dword [esi + 0x100], 0
jmp case.default.0x9cd2ab
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.009c32f0
push 2
push edi
call fcn.009c3fb0
lea eax, [esi + 0x88]
push eax
push esi
call fcn.009cf200
add esp, 0x18
test eax, eax
jne 0x9cd4b5
mov byte [esi + 0x14c], 1
cmp byte [esi + 0xd67], al
je case.default.0x9cd2ab
mov dword [esi + 0x100], 3
cmp byte [esi + 0xd73], 0
je 0x9cd3b3
cmp dword [edi + 0x204], 0xffffffff
je 0x9cd3b3
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.009c32f0
add esp, 8
or dword [esi + 0xec], 2
cmp byte [ebx], 0
je 0x9cd5f4
lea ebx, [esi + 0x8b8]
push ebx
call fcn.009b8df0
mov ebx, dword [esi + 0xd8]
add esp, 4
cmp byte [ebx], 0
je 0x9cd4b3
mov ecx, dword [ebp + 0x10]
mov eax, ebx
mov dword [ebp - 8], eax
mov edi, dword [ecx]
push edi
push 0xa
push eax
mov dword [ebp + 8], edi
call fcn.00a058e0
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x9cc766
push dword [ebp + 8]
lea ebx, [esi + 0x8b8]
push dword [ebp - 8]
push ebx
call fcn.009b8d60
add esp, 0xc
test eax, eax
jne 0x9cd4b5
cmp dword [esi + 0xd4], eax
jne 0x9cd4b3
push ebx
call fcn.009b8dd0
add esp, 4
push eax
push ebx
call fcn.009b8de0
mov ebx, dword [ebp + 0xc]
add esp, 4
push eax
push ebx
push esi
call fcn.009cd9a0
add esp, 0x10
cmp eax, 2
jne 0x9cd4b3
push eax
push ebx
mov byte [esi + 0x14a], 0
mov dword [esi + 0xd0], eax
call fcn.009c3fb0
add esp, 8
cmp byte [esi + 0x6f1], 0
jne 0x9cd4b3
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.009c3230
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push edi
call fcn.009c3fb0
add esp, 8
cmp byte [esi + 0x6f1], 0
je 0x9cd46c
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x14a], 0
cmp dword [eax], 0
je 0x9cd4bc
mov dword [esi + 0xd0], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0xd0], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
pop edi
mov dword [esi + 0xd8], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.009c3230
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
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.009c3230
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_response_code_in_HTTP_response
push esi
call fcn.009c3230
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.009c3230
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov byte [esi + 0x14a], 0
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.Header_without_colon
push eax
push esi
call fcn.009c3230
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.009c3230
add esp, 8
pop edi
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.009c32f0
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 ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.009c3230
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x154], 0
mov ecx, dword [ebp + 0x14]
jne 0x9cd62c
mov eax, dword [edi + 0x1e8]
test dword [eax + 0x44], 0x40000
je 0x9cd62f
cmp dword [esi + 0x664], 2
jne 0x9cd62f
cmp dword [esi + 0x8c], 0xffffffff
jg 0x9cd62f
jl 0x9cd62c
cmp dword [esi + 0x88], 0xffffffff
ja 0x9cd62f
mov byte [ecx], 1
cmp dword [esi + 0x90], 0
jne 0x9cd646
cmp dword [esi + 0x94], 0
jne 0x9cd646
mov byte [ecx], 1
jmp 0x9cd64b
cmp byte [ecx], 0
je 0x9cd652
and dword [esi + 0xec], 0xfffffffe
push dword [ebp - 0x10]
push dword [ebp - 8]
push 1
push esi
call fcn.009c3190
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push str.The_requested_URL_returned_error:__d
push esi
call fcn.009c3230
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret