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

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, dword [esp + 0x28]
push edi
lea ebx, [esi + 0x88]
lea ebp, [esi + 0x8a8]
push eax
push 0xa
push dword [esp + 0x30]
call fcn.00535930
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4ea71e
mov eax, dword [esp + 0x28]
sub edi, eax
inc edi
push edi
push eax
push ebp
call fcn.004d8280
add esp, 0xc
test eax, eax
jne 0x4ea525
mov eax, dword [esp + 0x30]
sub dword [esp + 0x2c], edi
add dword [esp + 0x28], edi
add dword [eax], edi
cmp dword [ebx + 0x44], 0
jne 0x4e9920
push ebp
call fcn.004d82e0
mov ebp, eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004d82f0
mov edi, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [edi + 0x200]
test dword [ecx + 0x44], 0x40000
je 0x4e9906
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 fcn.004c5c20
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
mov edi, dword [esp + 0x24]
jmp 0x4e9911
push ebp
push eax
push esi
call fcn.004eaca0
add esp, 0xc
cmp eax, 2
je 0x4ea52d
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004d82f0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x4e9e71
cmp cl, 0xd
je 0x4e9e71
mov ecx, dword [ebx + 0x44]
mov edi, 4
lea eax, [ecx + 1]
mov dword [ebx + 0x44], eax
test ecx, ecx
jne 0x4e9d33
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x200]
mov eax, dword [eax + 0x44]
test al, 3
je 0x4e9b6f
mov al, byte [edx]
mov edi, edx
test al, al
je 0x4e9986
cmp al, 0x20
je 0x4e997e
cmp al, 9
jne 0x4e9986
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4e9976
push 5
push str.HTTP_
push edi
call fcn.005446d0
add esp, 0xc
test eax, eax
jne 0x4e9a38
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x4e9a7f
sub eax, 1
je 0x4e99bb
sub eax, 1
jne 0x4ea558
mov al, byte [edi + 6]
cmp al, 0x20
je 0x4e99c6
cmp al, 9
jne 0x4e9a38
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 + 0x18], edx
cmp al, 9
ja 0x4e9a38
mov al, byte [edi + 8]
mov byte [esp + 0x20], al
sub al, 0x30
cmp al, 9
ja 0x4e9a38
mov al, byte [edi + 9]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x4e9a38
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x20]
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 + 0x50], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x4e9b1b
cmp al, 9
je 0x4e9b1b
cmp al, 0xa
jl 0x4e9a38
cmp al, 0xd
jle 0x4e9b1b
lea eax, [esi + 0x8a8]
push eax
call fcn.004d82e0
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004d82f0
add esp, 4
push eax
push esi
call fcn.004eaca0
add esp, 0xc
cmp eax, 1
jne 0x4ea5e2
lea edi, [ebp + 0x471]
mov dword [ebx + 0x50], 0xc8
mov byte [edi], 0xa
jmp 0x4e9c45
cmp byte [edi + 6], 0x2e
jne 0x4ea5c7
mov al, byte [edi + 7]
cmp al, 0x30
je 0x4e9a98
cmp al, 0x31
jne 0x4ea5c7
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x4e9aa9
cmp cl, 9
jne 0x4ea5c7
mov cl, byte [edi + 9]
movsx edx, al
mov al, cl
sub edx, 0x26
sub al, 0x30
mov dword [esp + 0x18], edx
cmp al, 9
ja 0x4ea5c7
mov al, byte [edi + 0xa]
mov byte [esp + 0x20], al
sub al, 0x30
cmp al, 9
ja 0x4ea5c7
mov al, byte [edi + 0xb]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x4ea5c7
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x20]
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 + 0x50], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x4e9b1b
cmp al, 9
je 0x4e9b1b
sub al, 0xa
cmp al, 3
ja 0x4ea5c7
cmp ecx, 0x64
jl 0x4ea5ac
mov eax, edx
sub eax, 0xa
je 0x4e9b34
sub eax, 1
jne 0x4ea573
lea edi, [ebp + 0x471]
mov byte [edi], dl
cmp dword [ebx + 0x6c], 3
jne 0x4e9b55
cmp dl, 0x14
je 0x4e9b55
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.004d7450
add esp, 8
cmp byte [edi], 0x14
jae 0x4e9c45
mov eax, dword [ebp + 0x440]
mov dword [eax], 0xffffffff
jmp 0x4e9c45
test eax, 0x40000
je 0x4ea5e2
mov al, byte [edx]
mov edi, edx
test al, al
je 0x4e9b92
cmp al, 0x20
je 0x4e9b8a
cmp al, 9
jne 0x4e9b92
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4e9b82
push 5
push str.RTSP_
push edi
call fcn.005446d0
add esp, 0xc
test eax, eax
jne 0x4ea5e2
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x4ea61e
cmp byte [edi + 6], 0x2e
jne 0x4ea61e
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x4ea61e
mov al, byte [edi + 8]
cmp al, 0x20
je 0x4e9bdd
cmp al, 9
jne 0x4ea61e
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x4ea61e
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x4ea61e
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x4ea61e
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 + 0x50], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x4e9c3c
cmp al, 9
je 0x4e9c3c
sub al, 0xa
cmp al, 3
ja 0x4ea61e
lea edi, [ebp + 0x471]
mov byte [edi], 0xb
mov eax, dword [ebx + 0x50]
mov ecx, edi
mov dl, byte [esi + 0xd51]
mov dword [esi + 0xd78], eax
movzx eax, byte [edi]
mov dword [esi + 0xd80], eax
mov al, byte [edi]
test dl, dl
je 0x4e9c6f
cmp dl, al
jbe 0x4e9c75
lea ecx, [ebp + 0x471]
mov byte [esi + 0xd51], al
mov eax, dword [esi + 0xc38]
or eax, dword [esi + 0xc3c]
je 0x4e9c9e
cmp byte [esi + 0xd52], 0
jne 0x4e9c9e
cmp dword [ebx + 0x50], 0x1a0
mov edi, ecx
jne 0x4e9c9e
mov byte [ebx + 0xb9], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x4e9cbc
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.004d7450
push 1
push ebp
call fcn.004fe880
add esp, 0x10
jmp 0x4e9cd8
cmp al, 0x14
je 0x4e9ccc
cmp dword [ebx + 0x6c], 2
jne 0x4e9cd8
cmp dword [ebx + 0x50], 0x65
jne 0x4e9cd8
mov eax, dword [ebp + 0x440]
mov dword [eax], 2
mov ecx, dword [ebx + 0x50]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [ebx + 0xba], al
sub ecx, 0xcc
je 0x4e9d06
sub ecx, 0x64
jne 0x4e9d28
cmp byte [esi + 0x3c0], cl
je 0x4e9d06
mov byte [esi + 0xe3c], 1
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0xba], 1
mov edi, 0xc
lea ebp, [esi + 0x8a8]
lea eax, [esi + 0x8a8]
push eax
call fcn.004d82f0
push ebp
mov dword [esp + 0x28], eax
call fcn.004d82e0
mov ebp, dword [esp + 0x28]
push eax
push 0
push ebp
mov dword [esp + 0x2c], eax
call fcn.00535930
add esp, 0x14
test eax, eax
jne 0x4ea60f
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x4e9d97
mov al, byte [ebp]
cmp al, 0x20
je 0x4e9d7b
cmp al, 9
jne 0x4e9d80
cmp ecx, 2
jg 0x4e9d97
push dword [esp + 0x18]
push 0x3a
push ebp
call fcn.00535930
add esp, 0xc
test eax, eax
je 0x4ea5f3
push dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
push ebp
push esi
call fcn.004e8830
add esp, 0xc
test eax, eax
jne 0x4ea525
mov eax, dword [ebx + 0x50]
sub eax, 0x64
cmp eax, 0x64
jae 0x4e9dbf
or edi, 0x20
lea eax, [esi + 0x8a8]
push eax
call fcn.004d82e0
mov ebp, dword [esp + 0x18]
push eax
push ebp
push 1
push esi
call fcn.004d72e0
lea eax, [esi + 0x8a8]
push eax
call fcn.004d82e0
push eax
push ebp
push edi
push esi
call fcn.004f9990
add esp, 0x28
test eax, eax
jne 0x4ea525
lea eax, [esi + 0x8a8]
push eax
call fcn.004d82e0
mov ecx, dword [esi + 0xc4]
mov edx, eax
mov edi, 0x4b000
add esp, 4
add ecx, edx
cmp edx, edi
jae 0x4e9e68
mov eax, dword [esi + 0xdb8]
add dword [esi + 0xc0], edx
add eax, edx
mov dword [esi + 0xdb8], eax
mov dword [esi + 0xc4], ecx
cmp ecx, edi
ja 0x4e9e4b
cmp eax, 0x5dc000
jbe 0x4ea508
mov ecx, eax
mov edi, 0x5dc000
push edi
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.004d7380
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x4e9e4b
jmp 0x4ea508
mov ecx, dword [ebx + 0x50]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4e9edf
sub ecx, 0x64
je 0x4e9eaf
sub ecx, 1
je 0x4e9e99
mov byte [ebx + 0xb4], 1
mov dword [ebx + 0x44], 0
jmp 0x4e9f4e
cmp dword [ebx + 0x6c], 2
je 0x4ea62b
mov byte [ebx + 0xb4], 0
jmp 0x4e9f4e
cmp dword [ebx + 0x68], 0
mov byte [ebx + 0xb4], 1
mov dword [ebx + 0x44], 0
jle 0x4e9f4e
or dword [ebx + 0x54], 2
push 0
push esi
mov dword [ebx + 0x68], 0
call fcn.004eea10
add esp, 8
jmp 0x4e9f4e
cmp dword [ebx + 0x6c], 2
jne 0x4e9ef0
push dword [esi + 0x7c]
call fcn.004eeb30
add esp, 4
mov eax, dword [ebx]
and eax, dword [ebx + 4]
mov byte [ebx + 0xb4], 0
cmp eax, 0xffffffff
jne 0x4e9f4e
cmp byte [ebx + 0xbb], 0
jne 0x4e9f4e
mov ebp, dword [esp + 0x24]
cmp byte [ebp + 0x1e6], 0
jne 0x4e9f4e
cmp byte [ebp + 0x471], 0xb
jne 0x4e9f4e
mov eax, dword [ebp + 0x200]
test dword [eax + 0x44], 0x40000
jne 0x4e9f4e
cmp byte [esi + 0xd52], 5
je 0x4e9f4e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.004d7450
push 2
push ebp
call fcn.004fe880
add esp, 0x10
cmp byte [ebx + 0xb4], 0
jne 0x4e9fce
cmp byte [esi + 0x144], 0
jne 0x4e9fb3
cmp byte [ebx + 0xbb], 0
jne 0x4e9fb3
mov ecx, dword [ebx]
mov eax, ecx
mov edx, dword [ebx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x4e9fce
mov ebp, dword [esi + 0x4c0]
mov eax, ebp
mov edi, dword [esi + 0x4c4]
or eax, edi
je 0x4e9f9b
cmp edx, edi
jg 0x4ea65b
jl 0x4e9f9b
cmp ecx, ebp
ja 0x4ea65b
push edx
push ecx
push esi
call fcn.004fa2b0
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
jmp 0x4e9fce
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov ebp, dword [esp + 0x24]
cmp byte [ebp + 0x1e6], 0
je 0x4ea062
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x4e9ff7
cmp dword [ebp + 0x270], 2
je 0x4ea007
jmp 0x4ea01c
cmp eax, 0x197
jne 0x4ea01c
cmp dword [ebp + 0x274], 2
jne 0x4ea01c
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004d7450
add esp, 8
mov byte [esi + 0xd59], 1
cmp byte [ebp + 0x1e6], 0
je 0x4ea062
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x4ea03d
cmp dword [ebp + 0x2f8], 1
je 0x4ea04d
jmp 0x4ea062
cmp eax, 0x197
jne 0x4ea062
cmp dword [ebp + 0x2fc], 1
jne 0x4ea062
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004d7450
add esp, 8
mov byte [esi + 0xd59], 1
cmp dword [ebp + 0x2f8], 3
jne 0x4ea081
cmp dword [esi + 0xd8], 0x191
je 0x4ea081
mov dword [ebp + 0x2f8], 4
cmp dword [ebp + 0x2fc], 3
jne 0x4ea0a0
cmp dword [esi + 0xd8], 0x197
je 0x4ea0a0
mov dword [ebp + 0x2fc], 4
mov eax, dword [ebx + 0x50]
sub eax, 0x64
cmp eax, 0x64
lea eax, [esi + 0x8a8]
push eax
sbb edi, edi
and edi, 0x20
add edi, 4
call fcn.004d82e0
add esp, 4
lea ecx, [esi + 0x8a8]
mov ebp, eax
push ebp
push ecx
call fcn.004d82f0
add esp, 4
push eax
push edi
push esi
call fcn.004f9990
add esp, 0x10
test eax, eax
jne 0x4ea525
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebp
cmp ebp, edx
jae 0x4ea140
mov edi, dword [esi + 0xdb8]
add dword [esi + 0xc0], ebp
add edi, ebp
mov dword [esi + 0xdb8], edi
mov dword [esi + 0xc4], ecx
cmp ecx, edx
ja 0x4ea123
cmp edi, 0x5dc000
jbe 0x4ea144
mov ecx, edi
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.004d7380
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x4ea123
mov edi, dword [ebx + 0x50]
push esi
call fcn.004eafd0
add esp, 4
test al, al
jne 0x4ea702
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x4ea168
mov eax, dword [esi + 0xc0]
jmp 0x4ea16a
xor eax, eax
mov ebp, dword [esi + 0x18]
xor edi, edi
mov dword [esi + 0xc8], eax
mov ecx, 0xffffffff
mov edx, dword [esi + 0x5e4]
mov eax, 0xffffffbf
test edx, edx
mov byte [esp + 0x13], 0
mov byte [esp + 0x20], 0
cmovne eax, ecx
mov ecx, dword [esi + 0xd8]
mov dword [esp + 0x18], eax
lea eax, [ecx - 0x64]
cmp eax, 0x63
jbe 0x4ea394
cmp byte [esi + 0xd59], 0
lea eax, [esi + 0xd59]
mov dword [esp + 0x14], eax
je 0x4ea1d1
cmp byte [esi + 0x6c2], 0
mov eax, 0x16
cmovne edi, eax
jmp 0x4ea38c
cmp dword [esi + 0xd40], edi
jne 0x4ea1e3
test edx, edx
je 0x4ea251
lea eax, [esi + 0xd59]
cmp ecx, 0x191
je 0x4ea200
cmp byte [ebp + 0x1f0], 0
je 0x4ea251
mov dword [esp + 0x14], eax
cmp ecx, 0x12c
jge 0x4ea251
push dword [esp + 0x18]
lea eax, [esi + 0x970]
push eax
call fcn.004eb360
add esp, 8
mov byte [esp + 0x13], al
test al, al
jne 0x4ea222
mov ecx, dword [esp + 0x14]
mov byte [ecx], 1
cmp dword [esi + 0x974], 8
jne 0x4ea251
cmp byte [ebp + 0x471], 0xb
jbe 0x4ea251
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.004d7450
push 1
push ebp
call fcn.004fe880
add esp, 0x10
mov byte [esi + 0xd50], 2
cmp byte [ebp + 0x1e2], 0
je 0x4ea295
mov eax, dword [esi + 0xd8]
cmp eax, 0x197
je 0x4ea277
cmp byte [ebp + 0x1f0], 0
je 0x4ea295
cmp eax, 0x12c
jge 0x4ea295
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.004eb360
add esp, 8
test al, al
jne 0x4ea299
mov byte [esi + 0xd59], 1
jmp 0x4ea299
mov al, byte [esp + 0x20]
cmp byte [esp + 0x13], 0
jne 0x4ea308
test al, al
jne 0x4ea308
cmp dword [esi + 0xd8], 0x12c
jge 0x4ea366
cmp byte [esi + 0x97c], al
jne 0x4ea366
cmp byte [ebp + 0x1f0], al
je 0x4ea366
mov al, byte [esi + 0xd52]
test al, al
je 0x4ea366
cmp al, 5
je 0x4ea366
push dword [esi + 0xca4]
call dword [0x5c41ec]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x4ea676
mov byte [esi + 0x97c], 1
jmp 0x4ea366
mov al, byte [esi + 0xd52]
test al, al
je 0x4ea333
cmp al, 5
je 0x4ea333
cmp byte [esi + 0xd67], 0
jne 0x4ea333
push ebp
push esi
call fcn.004eadb0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4ea67b
push dword [esi + 0x110]
call dword [0x5c41e4]
push dword [esi + 0xca4]
mov dword [esi + 0x110], 0
call dword [0x5c41ec]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x4ea676
push esi
call fcn.004eafd0
add esp, 4
test al, al
je 0x4ea38c
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004d7380
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x4ea67b
cmp dword [ebx + 0x50], 0x12c
mov ebp, dword [esp + 0x24]
jl 0x4ea4fb
cmp byte [ebp + 0x1f0], 0
jne case.default.0x4ea3dd
cmp byte [ebp + 0x1e6], 0
jne case.default.0x4ea3dd
cmp byte [esi + 0xd67], 0
jne 0x4ea4e0
movzx eax, byte [esi + 0xd52]
dec eax
cmp eax, 3
ja case.default.0x4ea3dd
jmp dword [eax*4 + 0x4ea7b0]
push 0
push esi
call fcn.004eea10
add esp, 8
cmp byte [ebx + 0xb8], 0
jne case.default.0x4ea3dd
cmp dword [ebx + 0x50], 0x1a1
jne 0x4ea476
cmp byte [esi + 0xd5b], 0
je 0x4ea476
mov eax, dword [ebx + 0x18]
or eax, dword [ebx + 0x1c]
jne 0x4ea42c
cmp dword [ebx + 0x68], 1
jne 0x4ea42c
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.004d7450
add esp, 8
jmp 0x4ea451
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.004d7450
push 2
push ebp
call fcn.004fe880
push ebp
push esi
call fcn.004eadb0
add esp, 0x18
test eax, eax
jne 0x4ea525
push dword [esi + 0xca4]
mov byte [esi + 0xd5c], 1
call dword [0x5c41ec]
push ebx
push esi
mov dword [esi + 0x110], eax
call fcn.004f7520
add esp, 0xc
jmp case.default.0x4ea3dd
cmp byte [esi + 0x6c3], 0
je 0x4ea4a0
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.004d7450
add esp, 8
cmp dword [ebx + 0x68], 0
jle case.default.0x4ea3dd
or dword [ebx + 0x54], 2
mov dword [ebx + 0x68], 0
jmp case.default.0x4ea3dd
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.004d7450
push 2
push ebp
call fcn.004fe880
push ebx
push esi
call fcn.004f7520
add esp, 0x18
test eax, eax
jne 0x4ea525
mov byte [ebx + 0xb8], 1
cmp byte [esi + 0xd5b], al
je case.default.0x4ea3dd
mov dword [ebx + 0x68], 3
cmp byte [esi + 0xd67], 0
je 0x4ea4fb
cmp dword [ebp + 0x21c], 0xffffffff
je 0x4ea4fb
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.004d7450
add esp, 8
or dword [ebx + 0x54], 2
cmp byte [ebx + 0xb4], 0
je 0x4ea685
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004d8300
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x4e9865
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push 2
push edi
call fcn.004fe880
add esp, 8
cmp byte [esi + 0x6e5], 0
je 0x4ea793
pop edi
pop esi
pop ebp
mov word [ebx + 0xb4], 0x100
xor eax, eax
pop ebx
add esp, 0xc
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.004d7380
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, 0x66666667
imul edx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x18]
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.004d7380
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.Unsupported_response_code_in_HTTP_response
push esi
call fcn.004d7380
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.004d7380
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov byte [ebx + 0xb4], 0
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, str.Header_without_colon
push eax
push esi
call fcn.004d7380
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.004d7380
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0xc
ret
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.004d7450
add esp, 8
mov dword [ebx + 0x6c], 3
mov byte [ebx + 0xb4], 1
mov eax, 1
mov dword [ebx + 0x44], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004d7380
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp byte [esi + 0x148], 0
jne 0x4ea6b3
mov eax, dword [ebp + 0x200]
test dword [eax + 0x44], 0x40000
je 0x4ea6ba
cmp dword [esi + 0x654], 2
jne 0x4ea6ba
cmp dword [ebx + 4], 0xffffffff
jg 0x4ea6ba
jl 0x4ea6b3
cmp dword [ebx], 0xffffffff
ja 0x4ea6ba
mov byte [ebx + 0xb7], 1
cmp dword [ebx + 8], 0
jne 0x4ea6cd
cmp dword [ebx + 0xc], 0
jne 0x4ea6cd
mov byte [ebx + 0xb7], 1
lea eax, [esi + 0x8a8]
push eax
call fcn.004d82e0
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004d82f0
add esp, 4
push eax
push 1
push esi
call fcn.004d72e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004d7380
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edi, dword [esp + 0x2c]
push edi
push dword [esp + 0x2c]
push ebp
call fcn.004d8280
add esp, 0xc
test eax, eax
jne 0x4ea525
mov eax, dword [esp + 0x30]
add dword [eax], edi
cmp dword [ebx + 0x44], 0
jne 0x4ea523
push ebp
call fcn.004d82e0
add esp, 4
push eax
push ebp
call fcn.004d82f0
mov ebp, dword [esp + 0x2c]
add esp, 4
push eax
push ebp
push esi
call fcn.004ead50
add esp, 0x10
cmp eax, 2
jne 0x4ea523
push eax
push ebp
mov word [ebx + 0xb4], 0x100
call fcn.004fe880
add esp, 8
cmp byte [esi + 0x6e5], 0
jne 0x4ea523
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.004d7380
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret