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

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov byte [esp + 0x11], 0
mov dword [esp + 0x28], 0xffffffff
mov ebp, dword [esi + 0x18]
lea ebx, [esi + 0x8a8]
mov dword [eax], 0
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
nop dword [eax]
push ecx
push 0xa
push eax
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
je 0x100278a7
sub edi, eax
inc edi
push edi
push eax
push ebx
call fcn.1000d310
add esp, 0xc
test eax, eax
jne 0x1002794d
mov eax, dword [esp + 0x3c]
sub dword [esp + 0x1c], edi
add dword [esp + 0x18], edi
add dword [eax], edi
cmp dword [esi + 0xcc], 0
jne 0x10026a49
push ebx
call fcn.1000d370
mov ebx, eax
lea eax, [esi + 0x8a8]
push eax
call fcn.1000d380
mov ecx, dword [ebp + 0x1c8]
add esp, 8
test dword [ecx + 0x44], 0x40000
je 0x10026a29
cmp ebx, 5
mov ecx, 5
mov ebp, 2
sbb edi, edi
inc edi
cmp ebx, 5
cmova ebx, ecx
push ebx
push eax
push str.RTSP_
call fcn.1001e720
add esp, 0xc
test eax, eax
cmovne ebp, edi
jmp 0x10026a36
push ebx
push eax
push esi
call fcn.10026610
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x100276f7
mov ebp, dword [esp + 0x14]
lea ebx, [esi + 0x8a8]
push ebx
call fcn.1000d380
mov edx, eax
add esp, 4
mov dword [esp + 0x30], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x10026f9a
cmp cl, 0xd
je 0x10026f9a
mov ecx, dword [esi + 0xcc]
mov edi, 4
lea eax, [ecx + 1]
mov dword [esi + 0xcc], eax
test ecx, ecx
jne 0x10026e5d
mov eax, dword [ebp + 0x1c8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x10026c8d
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10026ab1
cmp al, 0x20
je 0x10026aa9
cmp al, 9
jne 0x10026ab1
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10026aa1
push 5
push str.HTTP_
push edi
call dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x10026b5f
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x10026b9d
sub eax, 1
je 0x10026ae5
sub eax, 1
jne 0x10027723
mov al, byte [edi + 6]
cmp al, 0x20
je 0x10026af0
cmp al, 9
jne 0x10026b5f
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 0x10026b59
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x10026b59
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x10026b59
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 + 0xd8], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x10026c30
cmp al, 9
je 0x10026c30
cmp al, 0xa
jl 0x10026b59
cmp al, 0xd
jle 0x10026c30
lea ebx, [esi + 0x8a8]
push ebx
call fcn.1000d370
add esp, 4
push eax
push ebx
call fcn.1000d380
add esp, 4
push eax
push esi
call fcn.10026610
add esp, 0xc
cmp eax, 1
jne 0x100277a9
lea edi, [ebp + 0x438]
mov dword [esi + 0xd8], 0xc8
mov byte [edi], 0xa
jmp 0x10026d6b
cmp byte [edi + 6], 0x2e
jne 0x1002778e
mov al, byte [edi + 7]
cmp al, 0x30
je 0x10026bb6
cmp al, 0x31
jne 0x1002778e
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x10026bc7
cmp cl, 9
jne 0x1002778e
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x1002778e
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x1002778e
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x1002778e
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 + 0xd8], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x10026c30
cmp al, 9
je 0x10026c30
sub al, 0xa
cmp al, 3
ja 0x1002778e
cmp ecx, 0x64
jl 0x10027773
mov eax, ebx
sub eax, 0xa
je 0x10026c49
sub eax, 1
jne 0x1002773e
lea edi, [ebp + 0x438]
mov byte [edi], bl
cmp dword [esi + 0xf4], 3
jne 0x10026c6d
cmp bl, 0x14
je 0x10026c6d
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.10018980
add esp, 8
cmp byte [edi], 0x14
lea ebx, [esi + 0x8a8]
jae 0x10026d6b
mov eax, dword [ebp + 0x408]
mov dword [eax], 0xffffffff
jmp 0x10026d6b
test eax, 0x40000
je 0x100277a9
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10026cb0
cmp al, 0x20
je 0x10026ca8
cmp al, 9
jne 0x10026cb0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10026ca0
push 5
push str.RTSP_
push edi
call dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x100277a9
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x100277fd
cmp byte [edi + 6], 0x2e
jne 0x100277fd
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x100277fd
mov al, byte [edi + 8]
cmp al, 0x20
je 0x10026cfa
cmp al, 9
jne 0x100277fd
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x100277fd
mov bl, byte [edi + 0xa]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x100277fd
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x100277fd
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 + 0xd8], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x10026d5c
cmp al, 9
je 0x10026d5c
sub al, 0xa
cmp al, 3
ja 0x100277fd
lea edi, [ebp + 0x438]
mov byte [edi], 0xb
lea ebx, [esi + 0x8a8]
mov edx, dword [esi + 0xd8]
mov cl, byte [esi + 0xd71]
mov dword [esi + 0xd98], edx
movzx eax, byte [edi]
mov dword [esi + 0xda0], eax
mov al, byte [edi]
test cl, cl
je 0x10026d90
cmp cl, al
jbe 0x10026d96
mov byte [esi + 0xd71], al
mov eax, dword [esi + 0xc58]
or eax, dword [esi + 0xc5c]
je 0x10026dbc
cmp byte [esi + 0xd72], 0
jne 0x10026dbc
cmp edx, 0x1a0
jne 0x10026dbc
mov byte [esi + 0x140], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x10026dda
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.10018980
push 1
push ebp
call fcn.10019e00
add esp, 0x10
jmp 0x10026df8
cmp al, 0x14
je 0x10026dec
cmp dword [esi + 0xf4], 2
jne 0x10026df8
cmp edx, 0x65
jne 0x10026df8
mov eax, dword [ebp + 0x408]
mov dword [eax], 2
mov ecx, dword [esi + 0xd8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x141], al
sub ecx, 0xcc
je 0x10026e29
sub ecx, 0x64
jne 0x10026e58
cmp byte [esi + 0x3b8], cl
je 0x10026e29
mov byte [esi + 0xe5c], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x141], 1
mov edi, 0xc
push ebx
call fcn.1000d380
mov ebx, eax
lea eax, [esi + 0x8a8]
push eax
call fcn.1000d370
mov ebp, eax
push ebp
push 0
push ebx
call sub.VCRUNTIME140.dll_memchr
add esp, 0x14
test eax, eax
jne 0x100277d3
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x10026eb5
mov al, byte [ebx]
cmp al, 0x20
je 0x10026e9c
cmp al, 9
jne 0x10026ea1
cmp ecx, 2
jg 0x10026eb5
push ebp
push 0x3a
push ebx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x100277b7
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
push ebx
push ebp
push esi
call fcn.10024fd0
add esp, 0xc
test eax, eax
jne 0x1002794d
mov eax, dword [esi + 0xd8]
sub eax, 0x64
cmp eax, 0x64
jae 0x10026ee1
or edi, 0x20
lea eax, [esi + 0x8a8]
push eax
call fcn.1000d370
push eax
push ebx
push 1
push esi
call fcn.10018800
lea eax, [esi + 0x8a8]
push eax
call fcn.1000d370
push eax
push ebx
push edi
push esi
call fcn.10018e20
add esp, 0x28
test eax, eax
jne 0x1002794d
lea ebx, [esi + 0x8a8]
push ebx
call fcn.1000d370
mov ecx, dword [esi + 0xc4]
mov edx, eax
mov edi, 0x4b000
add esp, 4
add ecx, edx
cmp edx, edi
jae 0x10026f82
mov eax, dword [esi + 0xdd8]
add dword [esi + 0xc0], edx
add eax, edx
mov dword [esi + 0xdd8], eax
mov dword [esi + 0xc4], ecx
cmp ecx, edi
ja 0x10026f65
cmp eax, 0x5dc000
jbe 0x10026f86
mov ecx, eax
mov edi, 0x5dc000
push edi
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.100188b0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ecx, ecx
jne 0x10026f65
push ebx
call fcn.1000d390
add esp, 4
lea ebx, [esi + 0x13b]
jmp 0x100276dc
mov ecx, dword [esi + 0xd8]
xor dl, dl
mov byte [esp + 0x12], dl
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x1002705d
sub ecx, 0x64
je 0x1002701f
sub ecx, 1
je 0x10026fd4
lea ebx, [esi + 0x13b]
mov dword [esi + 0xcc], 0
mov byte [ebx], 1
jmp 0x100270d9
cmp byte [ebp + 0x438], 0xb
jne 0x100277ef
cmp dword [esi + 0xf4], 2
jne 0x10027012
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.10018980
mov dl, 1
mov dword [esi + 0xf4], 3
add esp, 8
mov dword [esi + 0xcc], 0
mov byte [esp + 0x12], dl
lea ebx, [esi + 0x13b]
mov byte [ebx], dl
jmp 0x100270d9
cmp dword [esi + 0xf0], 0
lea ebx, [esi + 0x13b]
mov byte [ebx], 1
mov dword [esi + 0xcc], 0
jle 0x100270d9
or dword [esi + 0xdc], 2
push 0
push esi
mov dword [esi + 0xf0], 0
call fcn.10007c10
add esp, 8
jmp 0x100270d9
cmp dword [esi + 0xf4], 2
jne 0x10027071
push dword [esi + 0x7c]
call fcn.10007d30
add esp, 4
mov eax, dword [esi + 0x88]
lea edx, [esi + 0x88]
and eax, dword [edx + 4]
lea edi, [esi + 0x13b]
mov byte [edi], 0
mov ebx, edi
cmp eax, 0xffffffff
jne 0x100270df
cmp byte [esi + 0x142], 0
jne 0x100270df
cmp byte [ebp + 0x1ae], 0
jne 0x100270df
cmp byte [ebp + 0x438], 0xb
jne 0x100270df
mov eax, dword [ebp + 0x1c8]
test dword [eax + 0x44], 0x40000
jne 0x100270df
cmp byte [esi + 0xd72], 5
je 0x100270df
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.10018980
push 2
push ebp
call fcn.10019e00
add esp, 0x10
lea edx, [esi + 0x88]
cmp byte [ebx], 0
jne 0x1002716c
cmp byte [esi + 0x143], 0
jne 0x10027151
cmp byte [edx + 0xba], 0
jne 0x10027151
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x1002716c
mov ebp, dword [esi + 0x4b8]
mov eax, ebp
mov edi, dword [esi + 0x4bc]
or eax, edi
je 0x1002712c
cmp edx, edi
jg 0x1002780a
jl 0x1002712c
cmp ecx, ebp
ja 0x1002780a
push edx
push ecx
push esi
call fcn.10028fa0
mov eax, dword [esi + 0x88]
add esp, 0xc
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
jmp 0x1002716c
mov dword [edx + 8], 0xffffffff
mov dword [edx + 0xc], 0xffffffff
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
mov edi, dword [esp + 0x14]
cmp byte [edi + 0x1ae], 0
je 0x10027200
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x10027195
cmp dword [edi + 0x238], 2
je 0x100271a5
jmp 0x100271ba
cmp eax, 0x197
jne 0x100271ba
cmp dword [edi + 0x23c], 2
jne 0x100271ba
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.10018980
add esp, 8
mov byte [esi + 0xd79], 1
cmp byte [edi + 0x1ae], 0
je 0x10027200
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x100271db
cmp dword [edi + 0x2c0], 1
je 0x100271eb
jmp 0x10027200
cmp eax, 0x197
jne 0x10027200
cmp dword [edi + 0x2c4], 1
jne 0x10027200
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.10018980
add esp, 8
mov byte [esi + 0xd79], 1
cmp dword [edi + 0x2c0], 3
jne 0x1002721f
cmp dword [esi + 0xd8], 0x191
je 0x1002721f
mov dword [edi + 0x2c0], 4
cmp dword [edi + 0x2c4], 3
jne 0x1002723e
cmp dword [esi + 0xd8], 0x197
je 0x1002723e
mov dword [edi + 0x2c4], 4
mov eax, dword [esi + 0xd8]
sub eax, 0x64
cmp eax, 0x64
lea eax, [esi + 0x8a8]
push eax
sbb edi, edi
and edi, 0x20
add edi, 4
call fcn.1000d370
add esp, 4
mov ebp, eax
lea eax, [esi + 0x8a8]
push ebp
push eax
call fcn.1000d380
add esp, 4
push eax
push edi
push esi
call fcn.10018e20
add esp, 0x10
test eax, eax
jne 0x1002794d
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebp
cmp ebp, edx
jae 0x100272e1
mov edi, dword [esi + 0xdd8]
add dword [esi + 0xc0], ebp
add edi, ebp
mov dword [esi + 0xdd8], edi
mov dword [esi + 0xc4], ecx
cmp ecx, edx
ja 0x100272c4
cmp edi, 0x5dc000
jbe 0x100272e5
mov ecx, edi
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.100188b0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ecx, ecx
jne 0x100272c4
mov edi, dword [esi + 0xd8]
push esi
call fcn.10027970
add esp, 4
test al, al
jne 0x1002788b
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x10027315
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc8], eax
jmp 0x10027520
mov ebp, dword [esi + 0x18]
xor dl, dl
mov dword [esi + 0xc8], 0
mov ecx, 0xffffffbf
mov eax, dword [esi + 0x5dc]
test eax, eax
mov byte [esp + 0x13], dl
cmovne ecx, dword [esp + 0x28]
cmp byte [esi + 0xd79], dl
je 0x10027357
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x6ba], dl
cmovne edi, eax
jmp 0x10027518
cmp dword [esi + 0xd60], 0
jne 0x10027368
mov byte [esp + 0x30], dl
test eax, eax
je 0x100273d9
cmp edi, 0x191
je 0x10027389
cmp byte [ebp + 0x1b8], 0
mov byte [esp + 0x30], dl
je 0x100273d9
mov byte [esp + 0x30], dl
cmp edi, 0x12c
jge 0x100273d9
push ecx
lea eax, [esi + 0x970]
push eax
call fcn.10027d30
mov cl, al
add esp, 8
mov byte [esp + 0x30], cl
test cl, cl
jne 0x100273aa
mov byte [esi + 0xd79], 1
cmp dword [esi + 0x974], 8
jne 0x100273d9
cmp byte [ebp + 0x438], 0xb
jbe 0x100273d9
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.10018980
push 1
push ebp
call fcn.10019e00
add esp, 0x10
mov byte [esi + 0xd70], 2
mov dl, byte [esp + 0x13]
mov al, dl
cmp byte [ebp + 0x1aa], al
je 0x10027421
mov ecx, dword [esi + 0xd8]
cmp ecx, 0x197
je 0x10027405
cmp byte [ebp + 0x1b8], al
je 0x10027421
cmp ecx, 0x12c
jge 0x10027421
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.10027d30
add esp, 8
test al, al
jne 0x10027421
mov byte [esi + 0xd79], 1
cmp byte [esp + 0x30], 0
jne 0x10027492
test al, al
jne 0x10027492
xor edi, edi
cmp dword [esi + 0xd8], 0x12c
jge 0x100274f2
cmp byte [esi + 0x97c], al
jne 0x100274f2
cmp byte [ebp + 0x1b8], al
je 0x100274f2
mov al, byte [esi + 0xd72]
test al, al
je 0x100274f2
cmp al, 5
je 0x100274f2
push dword [esi + 0xcc4]
call dword [0x1006c00c]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x1002787c
mov byte [esi + 0x97c], 1
jmp 0x100274f2
mov al, byte [esi + 0xd72]
xor edi, edi
test al, al
je 0x100274bf
cmp al, 5
je 0x100274bf
cmp byte [esi + 0xd87], 0
jne 0x100274bf
push ebp
push esi
call fcn.10026720
mov edi, eax
add esp, 8
test edi, edi
jne 0x10027881
push dword [esi + 0x110]
call dword [0x1006c004]
push dword [esi + 0xcc4]
mov dword [esi + 0x110], 0
call dword [0x1006c00c]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x1002787c
push esi
call fcn.10027970
add esp, 4
test al, al
je 0x10027518
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.100188b0
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x10027881
cmp dword [esi + 0xd8], 0x12c
mov ebp, dword [esp + 0x14]
jl 0x100276b9
cmp byte [ebp + 0x1b8], 0
jne case.default.0x1002756c
cmp byte [ebp + 0x1ae], 0
jne case.default.0x1002756c
cmp byte [esi + 0xd87], 0
jne 0x1002769b
movzx eax, byte [esi + 0xd72]
dec eax
cmp eax, 3
ja case.default.0x1002756c
jmp dword [eax*4 + 0x10027958]
push 0
push esi
call fcn.10007c10
add esp, 8
cmp byte [esi + 0x13f], 0
jne case.default.0x1002756c
cmp dword [esi + 0xd8], 0x1a1
jne 0x1002761b
cmp byte [esi + 0xd7b], 0
je 0x1002761b
mov eax, dword [esi + 0xa0]
or eax, dword [esi + 0xa4]
jne 0x100275cb
cmp dword [esi + 0xf0], 1
jne 0x100275cb
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.10018980
add esp, 8
jmp 0x100275f0
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.10018980
push 2
push ebp
call fcn.10019e00
push ebp
push esi
call fcn.10026720
add esp, 0x18
test eax, eax
jne 0x1002794d
push dword [esi + 0xcc4]
mov byte [esi + 0xd7c], 1
call dword [0x1006c00c]
mov dword [esi + 0x110], eax
lea eax, [esi + 0x88]
push eax
push esi
call fcn.1001ecf0
add esp, 0xc
jmp case.default.0x1002756c
cmp byte [esi + 0x6bb], 0
je 0x1002764e
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.10018980
add esp, 8
cmp dword [esi + 0xf0], 0
jle case.default.0x1002756c
or dword [esi + 0xdc], 2
mov dword [esi + 0xf0], 0
jmp case.default.0x1002756c
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.10018980
push 2
push ebp
call fcn.10019e00
lea eax, [esi + 0x88]
push eax
push esi
call fcn.1001ecf0
add esp, 0x18
test eax, eax
jne 0x1002794d
mov byte [esi + 0x13f], 1
cmp byte [esi + 0xd7b], al
je case.default.0x1002756c
mov dword [esi + 0xf0], 3
cmp byte [esi + 0xd87], 0
je 0x100276b9
cmp dword [ebp + 0x1e4], 0xffffffff
je 0x100276b9
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.10018980
add esp, 8
or dword [esi + 0xdc], 2
cmp byte [ebx], 0
je 0x10027825
lea eax, [esi + 0x8a8]
push eax
call fcn.1000d390
add esp, 4
cmp byte [esp + 0x12], 0
jne 0x1002791e
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10027931
mov eax, dword [esp + 0x18]
lea ebx, [esi + 0x8a8]
jmp 0x10026990
mov edi, dword [esp + 0x14]
push 2
push edi
call fcn.10019e00
add esp, 8
cmp byte [esi + 0x6dd], 0
je 0x10027910
lea ebx, [esi + 0x13b]
mov al, 1
mov byte [ebx], 0
jmp 0x10027935
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.100188b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
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.100188b0
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.100188b0
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.100188b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea ebx, [esi + 0x13b]
mov byte [ebx], 0
jmp 0x10027931
mov eax, str.Header_without_colon
push eax
push esi
call fcn.100188b0
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.100188b0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push str.unexpected_101_response_code
push esi
call fcn.100188b0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x1c
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.100188b0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp byte [esi + 0x147], 0
je 0x10027835
mov byte [esi + 0x13d], 1
cmp dword [esi + 0x90], 0
jne 0x1002784e
cmp dword [esi + 0x94], 0
jne 0x1002784e
mov byte [esi + 0x13d], 1
lea ebp, [esi + 0x8a8]
push ebp
call fcn.1000d370
add esp, 4
push eax
push ebp
call fcn.1000d380
add esp, 4
push eax
push 1
push esi
call fcn.10018800
mov al, byte [esp + 0x21]
add esp, 0x10
jmp 0x10027939
mov edi, 0x1b
mov eax, edi
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.100188b0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edi, dword [esp + 0x1c]
push edi
push eax
push ebx
call fcn.1000d310
add esp, 0xc
test eax, eax
jne 0x1002794d
mov eax, dword [esp + 0x3c]
add dword [eax], edi
cmp dword [esi + 0xcc], 0
jne 0x1002792b
push ebx
call fcn.1000d370
add esp, 4
push eax
push ebx
call fcn.1000d380
add esp, 4
push eax
push ebp
push esi
call fcn.100266c0
add esp, 0x10
cmp eax, 2
jne 0x1002792b
push eax
lea ebx, [esi + 0x13b]
mov byte [ebx], 0
push ebp
call fcn.10019e00
add esp, 8
cmp byte [esi + 0x6dd], 0
je 0x10027910
mov al, 1
jmp 0x10027935
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.100188b0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret
lea ebx, [esi + 0x13b]
mov al, byte [esp + 0x11]
mov ebp, dword [esp + 0x20]
cmp byte [ebx], 0
jne 0x1002794b
test al, al
jne 0x1002794b
push ebp
call fcn.1000d320
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret