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

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
mov ecx, dword [eax]
mov ebp, ecx
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0xd4]
lea ebx, [esi + 0x88]
push edi
push ecx
push 0xa
push eax
mov dword [esp + 0x2c], ecx
mov edi, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], ecx
call fcn.1005b290
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10020f06
mov edx, dword [esp + 0x38]
lea eax, [ebp - 1]
sub edi, ecx
lea ebp, [esi + 0x8b0]
add eax, edi
mov dword [edx], eax
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x4c], eax
sub eax, ecx
push eax
push ecx
push ebp
call fcn.100104d0
add esp, 0xc
test eax, eax
jne 0x10020fba
cmp dword [ebx + 0x48], eax
jne 0x100202d2
push ebp
call fcn.10002fe0
mov ebp, eax
lea eax, [esi + 0x8b0]
push eax
call fcn.10010530
mov edi, dword [esp + 0x3c]
add esp, 8
mov ecx, dword [edi + 0x1e8]
test dword [ecx + 0x44], 0x40000
je 0x100202b8
cmp ebp, 5
mov ecx, 5
sbb edi, edi
inc edi
cmp ebp, 5
cmova ebp, ecx
push ebp
push eax
push str.RTSP_
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
mov edi, dword [esp + 0x34]
jmp 0x100202c3
push ebp
push eax
push esi
call fcn.10021560
add esp, 0xc
cmp eax, 2
je 0x10020f8d
lea ebp, [esi + 0x8b0]
push ebp
call fcn.10010530
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x10020826
cmp cl, 0xd
je 0x10020826
mov ecx, dword [ebx + 0x48]
mov edi, 4
mov dword [esp + 0x30], ebp
lea eax, [ecx + 1]
mov dword [ebx + 0x48], eax
test ecx, ecx
jne 0x100206f1
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x10020523
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10020340
nop dword [eax]
cmp al, 0x20
je 0x10020338
cmp al, 9
jne 0x10020340
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10020330
push 5
push str.HTTP_
push edi
call fcn.100631e0
add esp, 0xc
test eax, eax
jne 0x100203f2
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x10020433
sub eax, 1
je 0x10020375
sub eax, 1
jne 0x10020fe0
mov al, byte [edi + 6]
cmp al, 0x20
je 0x10020380
cmp al, 9
jne 0x100203f2
lea edx, [ecx - 0x30]
mov cl, byte [edi + 7]
mov al, cl
lea edx, [edx + edx*4]
add edx, edx
sub al, 0x30
mov dword [esp + 0x14], edx
cmp al, 9
ja 0x100203f2
mov al, byte [edi + 8]
mov byte [esp + 0x30], al
sub al, 0x30
cmp al, 9
ja 0x100203f2
mov al, byte [edi + 9]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x100203f2
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x30]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x13]
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [ebx + 0x58], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x100204cf
cmp al, 9
je 0x100204cf
cmp al, 0xa
jl 0x100203f2
cmp al, 0xd
jle 0x100204cf
lea edi, [esi + 0x8b0]
push edi
call fcn.10002fe0
add esp, 4
push eax
push edi
call fcn.10010530
add esp, 4
push eax
push esi
call fcn.10021560
add esp, 0xc
cmp eax, 1
jne 0x1002106a
lea edi, [ebp + 0x459]
mov dword [ebx + 0x58], 0xc8
mov byte [edi], 0xa
jmp 0x100205f9
cmp byte [edi + 6], 0x2e
jne 0x1002104f
mov al, byte [edi + 7]
cmp al, 0x30
je 0x1002044c
cmp al, 0x31
jne 0x1002104f
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x1002045d
cmp cl, 9
jne 0x1002104f
mov cl, byte [edi + 9]
movsx edx, al
mov al, cl
sub edx, 0x26
sub al, 0x30
mov dword [esp + 0x14], edx
cmp al, 9
ja 0x1002104f
mov al, byte [edi + 0xa]
mov byte [esp + 0x30], al
sub al, 0x30
cmp al, 9
ja 0x1002104f
mov al, byte [edi + 0xb]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x1002104f
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x30]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x13]
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [ebx + 0x58], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x100204cf
cmp al, 9
je 0x100204cf
sub al, 0xa
cmp al, 3
ja 0x1002104f
cmp ecx, 0x64
jl 0x10021034
mov eax, edx
sub eax, 0xa
je 0x100204e8
sub eax, 1
jne 0x10020ffb
lea edi, [ebp + 0x459]
mov byte [edi], dl
cmp dword [ebx + 0x74], 3
jne 0x10020509
cmp dl, 0x14
je 0x10020509
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.1000ea80
add esp, 8
cmp byte [edi], 0x14
jae 0x100205f9
mov eax, dword [ebp + 0x428]
mov dword [eax], 0xffffffff
jmp 0x100205f9
test eax, 0x40000
je 0x1002106a
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10020546
cmp al, 0x20
je 0x1002053e
cmp al, 9
jne 0x10020546
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10020536
push 5
push str.RTSP_
push edi
call fcn.100631e0
add esp, 0xc
test eax, eax
jne 0x1002106a
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x100210a6
cmp byte [edi + 6], 0x2e
jne 0x100210a6
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x100210a6
mov al, byte [edi + 8]
cmp al, 0x20
je 0x10020591
cmp al, 9
jne 0x100210a6
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x100210a6
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x100210a6
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x100210a6
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 [ebx + 0x58], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x100205f0
cmp al, 9
je 0x100205f0
sub al, 0xa
cmp al, 3
ja 0x100210a6
lea edi, [ebp + 0x459]
mov byte [edi], 0xb
mov eax, dword [ebx + 0x58]
mov ecx, edi
mov dl, byte [esi + 0xd6d]
mov dword [esi + 0xd90], eax
movzx eax, byte [edi]
mov dword [esi + 0xd98], eax
mov al, byte [edi]
test dl, dl
je 0x10020623
cmp dl, al
jbe 0x10020629
lea ecx, [ebp + 0x459]
mov byte [esi + 0xd6d], al
mov eax, dword [esi + 0xc58]
or eax, dword [esi + 0xc5c]
je 0x10020652
cmp byte [esi + 0xd6e], 0
jne 0x10020652
cmp dword [ebx + 0x58], 0x1a0
mov edi, ecx
jne 0x10020652
mov byte [ebx + 0xbd], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x10020670
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.1000ea80
push 1
push ebp
call fcn.10009020
add esp, 0x10
jmp 0x1002068c
cmp al, 0x14
je 0x10020680
cmp dword [ebx + 0x74], 2
jne 0x1002068c
cmp dword [ebx + 0x58], 0x65
jne 0x1002068c
mov eax, dword [ebp + 0x428]
mov dword [eax], 2
mov ecx, dword [ebx + 0x58]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [ebx + 0xbe], al
sub ecx, 0xcc
je 0x100206ba
sub ecx, 0x64
jne 0x100206dc
cmp byte [esi + 0x3c8], cl
je 0x100206ba
mov byte [esi + 0xe54], 1
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0xbe], 1
lea eax, [esi + 0x8b0]
mov edi, 0xc
mov dword [esp + 0x30], eax
lea ebp, [esi + 0x8b0]
push ebp
call fcn.10010530
push dword [esp + 0x34]
mov ebp, eax
call fcn.10002fe0
push eax
push 0
push ebp
mov dword [esp + 0x44], eax
call fcn.1005b290
add esp, 0x14
test eax, eax
jne 0x10021097
mov ecx, dword [esi + 0xd0]
cmp ecx, 2
jl 0x1002074c
mov al, byte [ebp]
cmp al, 0x20
je 0x10020730
cmp al, 9
jne 0x10020735
cmp ecx, 2
jg 0x1002074c
push dword [esp + 0x30]
push 0x3a
push ebp
call fcn.1005b290
add esp, 0xc
test eax, eax
je 0x1002107b
push dword [esp + 0x18]
mov ebp, dword [esp + 0x38]
push ebp
push esi
call fcn.1001f1e0
add esp, 0xc
test eax, eax
jne 0x10020fba
mov eax, dword [ebx + 0x58]
sub eax, 0x64
cmp eax, 0x64
jae 0x10020774
or edi, 0x20
lea eax, [esi + 0x8b0]
push eax
call fcn.10002fe0
mov ebp, dword [esp + 0x1c]
push eax
push ebp
push 1
push esi
call fcn.1000e910
lea eax, [esi + 0x8b0]
push eax
call fcn.10002fe0
push eax
push ebp
push edi
push esi
call fcn.100364d0
add esp, 0x28
test eax, eax
jne 0x10020fba
lea eax, [esi + 0x8b0]
push eax
call fcn.10002fe0
mov ecx, dword [esi + 0xc4]
mov edx, eax
mov edi, 0x4b000
add esp, 4
add ecx, edx
cmp edx, edi
jae 0x1002081d
mov eax, dword [esi + 0xdd0]
add dword [esi + 0xc0], edx
add eax, edx
mov dword [esi + 0xdd0], eax
mov dword [esi + 0xc4], ecx
cmp ecx, edi
ja 0x10020800
cmp eax, 0x5dc000
jbe 0x10020ec5
mov ecx, eax
mov edi, 0x5dc000
push edi
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.1000e9b0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ecx, ecx
jne 0x10020800
jmp 0x10020ec5
mov ecx, dword [ebx + 0x58]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x10020894
sub ecx, 0x64
je 0x10020864
sub ecx, 1
je 0x1002084e
mov byte [ebx + 0xba], 1
mov dword [ebx + 0x48], 0
jmp 0x10020903
cmp dword [ebx + 0x74], 2
je 0x100210b3
mov byte [ebx + 0xba], 0
jmp 0x10020903
cmp dword [ebx + 0x70], 0
mov byte [ebx + 0xba], 1
mov dword [ebx + 0x48], 0
jle 0x10020903
or dword [ebx + 0x5c], 2
push 0
push esi
mov dword [ebx + 0x70], 0
call fcn.1002ce10
add esp, 8
jmp 0x10020903
cmp dword [ebx + 0x74], 2
jne 0x100208a5
push dword [esi + 0x7c]
call fcn.1002cf30
add esp, 4
mov eax, dword [ebx]
and eax, dword [ebx + 4]
mov byte [ebx + 0xba], 0
cmp eax, 0xffffffff
jne 0x10020903
cmp byte [ebx + 0xbf], 0
jne 0x10020903
mov ebp, dword [esp + 0x34]
cmp byte [ebp + 0x1ce], 0
jne 0x10020903
cmp byte [ebp + 0x459], 0xb
jne 0x10020903
mov eax, dword [ebp + 0x1e8]
test dword [eax + 0x44], 0x40000
jne 0x10020903
cmp byte [esi + 0xd6e], 5
je 0x10020903
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.1000ea80
push 2
push ebp
call fcn.10009020
add esp, 0x10
cmp byte [ebx + 0xba], 0
jne 0x10020983
cmp byte [esi + 0x148], 0
jne 0x10020968
cmp byte [ebx + 0xbf], 0
jne 0x10020968
mov ecx, dword [ebx]
mov eax, ecx
mov edx, dword [ebx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x10020983
mov ebp, dword [esi + 0x4c8]
mov eax, ebp
mov edi, dword [esi + 0x4cc]
or eax, edi
je 0x10020950
cmp edx, edi
jg 0x100210e3
jl 0x10020950
cmp ecx, ebp
ja 0x100210e3
push edx
push ecx
push esi
call fcn.100335d0
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
jmp 0x10020983
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov ebp, dword [esp + 0x34]
cmp byte [ebp + 0x1ce], 0
je 0x10020a17
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
jne 0x100209ac
cmp dword [ebp + 0x258], 2
je 0x100209bc
jmp 0x100209d1
cmp eax, 0x197
jne 0x100209d1
cmp dword [ebp + 0x25c], 2
jne 0x100209d1
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.1000ea80
add esp, 8
mov byte [esi + 0xd75], 1
cmp byte [ebp + 0x1ce], 0
je 0x10020a17
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
jne 0x100209f2
cmp dword [ebp + 0x2e0], 1
je 0x10020a02
jmp 0x10020a17
cmp eax, 0x197
jne 0x10020a17
cmp dword [ebp + 0x2e4], 1
jne 0x10020a17
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.1000ea80
add esp, 8
mov byte [esi + 0xd75], 1
cmp dword [ebp + 0x2e0], 3
jne 0x10020a36
cmp dword [esi + 0xe0], 0x191
je 0x10020a36
mov dword [ebp + 0x2e0], 4
cmp dword [ebp + 0x2e4], 3
jne 0x10020a55
cmp dword [esi + 0xe0], 0x197
je 0x10020a55
mov dword [ebp + 0x2e4], 4
mov eax, dword [ebx + 0x58]
sub eax, 0x64
cmp eax, 0x64
lea eax, [esi + 0x8b0]
push eax
sbb edi, edi
and edi, 0x20
add edi, 4
call fcn.10002fe0
add esp, 4
mov ebp, eax
lea eax, [esi + 0x8b0]
mov dword [esp + 0x28], ebp
push ebp
push eax
call fcn.10010530
add esp, 4
push eax
push edi
push esi
call fcn.100364d0
add esp, 0x10
test eax, eax
jne 0x10020fba
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebp
cmp ebp, edx
jae 0x10020af9
mov edi, dword [esi + 0xdd0]
add dword [esi + 0xc0], ebp
add edi, ebp
mov dword [esi + 0xdd0], edi
mov dword [esi + 0xc4], ecx
cmp ecx, edx
ja 0x10020adc
cmp edi, 0x5dc000
jbe 0x10020afd
mov ecx, edi
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.1000e9b0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ecx, ecx
jne 0x10020adc
mov edi, dword [ebx + 0x58]
push esi
call fcn.10021960
add esp, 4
test al, al
jne 0x10021179
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x10020b21
mov eax, dword [esi + 0xc0]
jmp 0x10020b23
xor eax, eax
mov ebp, dword [esi + 0x18]
xor edi, edi
mov dword [esi + 0xc8], eax
mov edx, 0xffffffff
mov ecx, dword [esi + 0x5ec]
mov eax, 0xffffffbf
test ecx, ecx
mov byte [esp + 0x13], 0
mov byte [esp + 0x30], 0
cmovne eax, edx
mov edx, dword [esi + 0xe0]
mov dword [esp + 0x1c], eax
lea eax, [edx - 0x64]
cmp eax, 0x63
jbe 0x10020d4d
cmp byte [esi + 0xd75], 0
lea eax, [esi + 0xd75]
mov dword [esp + 0x18], eax
je 0x10020b8a
cmp byte [esi + 0x6ca], 0
mov eax, 0x16
cmovne edi, eax
jmp 0x10020d45
cmp dword [esi + 0xd5c], edi
jne 0x10020b9c
test ecx, ecx
je 0x10020c0a
lea eax, [esi + 0xd75]
cmp edx, 0x191
je 0x10020bb9
cmp byte [ebp + 0x1d8], 0
je 0x10020c0a
mov dword [esp + 0x18], eax
cmp edx, 0x12c
jge 0x10020c0a
push dword [esp + 0x1c]
lea eax, [esi + 0x970]
push eax
call fcn.10021d40
add esp, 8
mov byte [esp + 0x13], al
test al, al
jne 0x10020bdb
mov ecx, dword [esp + 0x18]
mov byte [ecx], 1
cmp dword [esi + 0x974], 8
jne 0x10020c0a
cmp byte [ebp + 0x459], 0xb
jbe 0x10020c0a
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.1000ea80
push 1
push ebp
call fcn.10009020
add esp, 0x10
mov byte [esi + 0xd6c], 2
cmp byte [ebp + 0x1ca], 0
je 0x10020c4e
mov eax, dword [esi + 0xe0]
cmp eax, 0x197
je 0x10020c30
cmp byte [ebp + 0x1d8], 0
je 0x10020c4e
cmp eax, 0x12c
jge 0x10020c4e
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.10021d40
add esp, 8
test al, al
jne 0x10020c52
mov byte [esi + 0xd75], 1
jmp 0x10020c52
mov al, byte [esp + 0x30]
cmp byte [esp + 0x13], 0
jne 0x10020cc1
test al, al
jne 0x10020cc1
cmp dword [esi + 0xe0], 0x12c
jge 0x10020d1f
cmp byte [esi + 0x97c], al
jne 0x10020d1f
cmp byte [ebp + 0x1d8], al
je 0x10020d1f
mov al, byte [esi + 0xd6e]
test al, al
je 0x10020d1f
cmp al, 5
je 0x10020d1f
push dword [esi + 0xcc4]
call dword [0x10092268]
add esp, 4
mov dword [esi + 0x118], eax
test eax, eax
je 0x100210fe
mov byte [esi + 0x97c], 1
jmp 0x10020d1f
mov al, byte [esi + 0xd6e]
test al, al
je 0x10020cec
cmp al, 5
je 0x10020cec
cmp byte [esi + 0xd83], 0
jne 0x10020cec
push ebp
push esi
call fcn.10021740
mov edi, eax
add esp, 8
test edi, edi
jne 0x10021103
push dword [esi + 0x118]
call dword [0x10092260]
push dword [esi + 0xcc4]
mov dword [esi + 0x118], 0
call dword [0x10092268]
add esp, 8
mov dword [esi + 0x118], eax
test eax, eax
je 0x100210fe
push esi
call fcn.10021960
add esp, 4
test al, al
je 0x10020d45
push dword [esi + 0xe0]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.1000e9b0
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x10021103
cmp dword [ebx + 0x58], 0x12c
mov ebp, dword [esp + 0x34]
jl 0x10020eb8
cmp byte [ebp + 0x1d8], 0
jne case.default.0x10020d96
cmp byte [ebp + 0x1ce], 0
jne case.default.0x10020d96
cmp byte [esi + 0xd83], 0
jne 0x10020e9d
movzx eax, byte [esi + 0xd6e]
dec eax
cmp eax, 3
ja case.default.0x10020d96
jmp dword [eax*4 + 0x10021198]
push 0
push esi
call fcn.1002ce10
add esp, 8
cmp byte [ebx + 0xbc], 0
jne case.default.0x10020d96
cmp dword [ebx + 0x58], 0x1a1
jne 0x10020e2f
cmp byte [esi + 0xd77], 0
je 0x10020e2f
mov eax, dword [ebx + 0x18]
or eax, dword [ebx + 0x1c]
jne 0x10020de5
cmp dword [ebx + 0x70], 1
jne 0x10020de5
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.1000ea80
add esp, 8
jmp 0x10020e0a
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.1000ea80
push 2
push ebp
call fcn.10009020
push ebp
push esi
call fcn.10021740
add esp, 0x18
test eax, eax
jne 0x10020fba
push dword [esi + 0xcc4]
mov byte [esi + 0xd78], 1
call dword [0x10092268]
push ebx
push esi
mov dword [esi + 0x118], eax
call fcn.10044bc0
add esp, 0xc
jmp case.default.0x10020d96
cmp byte [esi + 0x6cb], 0
je 0x10020e59
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.1000ea80
add esp, 8
cmp dword [ebx + 0x70], 0
jle case.default.0x10020d96
or dword [ebx + 0x5c], 2
mov dword [ebx + 0x70], 0
jmp case.default.0x10020d96
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.1000ea80
push 2
push ebp
call fcn.10009020
push ebx
push esi
call fcn.10044bc0
add esp, 0x18
test eax, eax
jne 0x10020fba
mov byte [ebx + 0xbc], 1
cmp byte [esi + 0xd77], al
je case.default.0x10020d96
mov dword [ebx + 0x70], 3
cmp byte [esi + 0xd83], 0
je 0x10020eb8
cmp dword [ebp + 0x204], 0xffffffff
je 0x10020eb8
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.1000ea80
add esp, 8
or dword [ebx + 0x5c], 2
cmp byte [ebx + 0xba], 0
je 0x1002110d
lea eax, [esi + 0x8b0]
push eax
call fcn.10010540
mov edi, dword [ebx + 0x4c]
add esp, 4
cmp byte [edi], 0
je 0x10020fb8
mov ecx, dword [esp + 0x38]
mov eax, edi
mov dword [esp + 0x14], eax
mov ebp, dword [ecx]
push ebp
push 0xa
push eax
mov dword [esp + 0x3c], ebp
call fcn.1005b290
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x10020227
push dword [esp + 0x30]
lea edi, [esi + 0x8b0]
push dword [esp + 0x18]
push edi
call fcn.100104d0
add esp, 0xc
test eax, eax
jne 0x10020fba
cmp dword [ebx + 0x48], eax
jne 0x10020fb8
push edi
call fcn.10002fe0
add esp, 4
push eax
push edi
call fcn.10010530
mov ebp, dword [esp + 0x3c]
add esp, 4
push eax
push ebp
push esi
call fcn.10021610
add esp, 0x10
cmp eax, 2
jne 0x10020fb8
push eax
push ebp
mov byte [ebx + 0xba], 0
mov dword [ebx + 0x44], eax
call fcn.10009020
add esp, 8
cmp byte [esi + 0x6ed], 0
jne 0x10020fb8
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.1000e9b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 2
push edi
call fcn.10009020
add esp, 8
cmp byte [esi + 0x6ed], 0
je 0x10020f72
mov eax, dword [esp + 0x38]
mov byte [ebx + 0xba], 0
cmp dword [eax], 0
je 0x10020fc2
mov dword [ebx + 0x44], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x20]
pop edi
mov dword [ebx + 0x44], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
pop esi
mov dword [ebx + 0x4c], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x1c
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.1000e9b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, 0x66666667
imul edx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x14]
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
push edx
push ecx
push str.Unsupported_HTTP_version___u._d__in_response
push esi
call fcn.1000e9b0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push str.Unsupported_response_code_in_HTTP_response
push esi
call fcn.1000e9b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.1000e9b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
pop edi
pop esi
pop ebp
mov byte [ebx + 0xba], 0
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov eax, str.Header_without_colon
push eax
push esi
call fcn.1000e9b0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.1000e9b0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x1c
ret
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.1000ea80
add esp, 8
mov dword [ebx + 0x74], 3
mov byte [ebx + 0xba], 1
mov eax, 1
mov dword [ebx + 0x48], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.1000e9b0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp byte [esi + 0x14c], 0
mov ecx, dword [esp + 0x3c]
jne 0x1002113f
mov eax, dword [ebp + 0x1e8]
test dword [eax + 0x44], 0x40000
je 0x10021142
cmp dword [esi + 0x660], 2
jne 0x10021142
cmp dword [ebx + 4], 0xffffffff
jg 0x10021142
jl 0x1002113f
cmp dword [ebx], 0xffffffff
ja 0x10021142
mov byte [ecx], 1
cmp dword [ebx + 8], 0
jne 0x10021153
cmp dword [ebx + 0xc], 0
jne 0x10021153
mov byte [ecx], 1
jmp 0x10021158
cmp byte [ecx], 0
je 0x1002115c
and dword [ebx + 0x5c], 0xfffffffe
push dword [esp + 0x28]
push dword [esp + 0x18]
push 1
push esi
call fcn.1000e910
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push edi
push str.The_requested_URL_returned_error:__d
push esi
call fcn.1000e9b0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret