Function at 0x4ce430
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.0054f800
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4cf30e
mov eax, dword [esp + 0x28]
sub edi, eax
inc edi
push edi
push eax
push ebp
call fcn.004bce80
add esp, 0xc
test eax, eax
jne 0x4cf115
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 0x4ce510
push ebp
call fcn.004bcee0
mov ebp, eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004bcef0
mov edi, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [edi + 0x200]
test dword [ecx + 0x44], 0x40000
je 0x4ce4f6
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.004aa820
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
mov edi, dword [esp + 0x24]
jmp 0x4ce501
push ebp
push eax
push esi
call fcn.004cf890
add esp, 0xc
cmp eax, 2
je 0x4cf11d
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004bcef0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x4cea61
cmp cl, 0xd
je 0x4cea61
mov ecx, dword [ebx + 0x44]
mov edi, 4
lea eax, [ecx + 1]
mov dword [ebx + 0x44], eax
test ecx, ecx
jne 0x4ce923
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x200]
mov eax, dword [eax + 0x44]
test al, 3
je 0x4ce75f
mov al, byte [edx]
mov edi, edx
test al, al
je 0x4ce576
cmp al, 0x20
je 0x4ce56e
cmp al, 9
jne 0x4ce576
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4ce566
push 5
push str.HTTP_
push edi
call fcn.00562100
add esp, 0xc
test eax, eax
jne 0x4ce628
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x4ce66f
sub eax, 1
je 0x4ce5ab
sub eax, 1
jne 0x4cf148
mov al, byte [edi + 6]
cmp al, 0x20
je 0x4ce5b6
cmp al, 9
jne 0x4ce628
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 0x4ce628
mov al, byte [edi + 8]
mov byte [esp + 0x20], al
sub al, 0x30
cmp al, 9
ja 0x4ce628
mov al, byte [edi + 9]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x4ce628
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 0x4ce70b
cmp al, 9
je 0x4ce70b
cmp al, 0xa
jl 0x4ce628
cmp al, 0xd
jle 0x4ce70b
lea eax, [esi + 0x8a8]
push eax
call fcn.004bcee0
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004bcef0
add esp, 4
push eax
push esi
call fcn.004cf890
add esp, 0xc
cmp eax, 1
jne 0x4cf1d2
lea edi, [ebp + 0x471]
mov dword [ebx + 0x50], 0xc8
mov byte [edi], 0xa
jmp 0x4ce835
cmp byte [edi + 6], 0x2e
jne 0x4cf1b7
mov al, byte [edi + 7]
cmp al, 0x30
je 0x4ce688
cmp al, 0x31
jne 0x4cf1b7
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x4ce699
cmp cl, 9
jne 0x4cf1b7
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 0x4cf1b7
mov al, byte [edi + 0xa]
mov byte [esp + 0x20], al
sub al, 0x30
cmp al, 9
ja 0x4cf1b7
mov al, byte [edi + 0xb]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x4cf1b7
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 0x4ce70b
cmp al, 9
je 0x4ce70b
sub al, 0xa
cmp al, 3
ja 0x4cf1b7
cmp ecx, 0x64
jl 0x4cf19c
mov eax, edx
sub eax, 0xa
je 0x4ce724
sub eax, 1
jne 0x4cf163
lea edi, [ebp + 0x471]
mov byte [edi], dl
cmp dword [ebx + 0x6c], 3
jne 0x4ce745
cmp dl, 0x14
je 0x4ce745
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.004bc050
add esp, 8
cmp byte [edi], 0x14
jae 0x4ce835
mov eax, dword [ebp + 0x440]
mov dword [eax], 0xffffffff
jmp 0x4ce835
test eax, 0x40000
je 0x4cf1d2
mov al, byte [edx]
mov edi, edx
test al, al
je 0x4ce782
cmp al, 0x20
je 0x4ce77a
cmp al, 9
jne 0x4ce782
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4ce772
push 5
push str.RTSP_
push edi
call fcn.00562100
add esp, 0xc
test eax, eax
jne 0x4cf1d2
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x4cf20e
cmp byte [edi + 6], 0x2e
jne 0x4cf20e
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x4cf20e
mov al, byte [edi + 8]
cmp al, 0x20
je 0x4ce7cd
cmp al, 9
jne 0x4cf20e
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x4cf20e
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x4cf20e
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x4cf20e
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 0x4ce82c
cmp al, 9
je 0x4ce82c
sub al, 0xa
cmp al, 3
ja 0x4cf20e
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 0x4ce85f
cmp dl, al
jbe 0x4ce865
lea ecx, [ebp + 0x471]
mov byte [esi + 0xd51], al
mov eax, dword [esi + 0xc38]
or eax, dword [esi + 0xc3c]
je 0x4ce88e
cmp byte [esi + 0xd52], 0
jne 0x4ce88e
cmp dword [ebx + 0x50], 0x1a0
mov edi, ecx
jne 0x4ce88e
mov byte [ebx + 0xb9], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x4ce8ac
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.004bc050
push 1
push ebp
call fcn.004e3480
add esp, 0x10
jmp 0x4ce8c8
cmp al, 0x14
je 0x4ce8bc
cmp dword [ebx + 0x6c], 2
jne 0x4ce8c8
cmp dword [ebx + 0x50], 0x65
jne 0x4ce8c8
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 0x4ce8f6
sub ecx, 0x64
jne 0x4ce918
cmp byte [esi + 0x3c0], cl
je 0x4ce8f6
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.004bcef0
push ebp
mov dword [esp + 0x28], eax
call fcn.004bcee0
mov ebp, dword [esp + 0x28]
push eax
push 0
push ebp
mov dword [esp + 0x2c], eax
call fcn.0054f800
add esp, 0x14
test eax, eax
jne 0x4cf1ff
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x4ce987
mov al, byte [ebp]
cmp al, 0x20
je 0x4ce96b
cmp al, 9
jne 0x4ce970
cmp ecx, 2
jg 0x4ce987
push dword [esp + 0x18]
push 0x3a
push ebp
call fcn.0054f800
add esp, 0xc
test eax, eax
je 0x4cf1e3
push dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
push ebp
push esi
call fcn.004cd420
add esp, 0xc
test eax, eax
jne 0x4cf115
mov eax, dword [ebx + 0x50]
sub eax, 0x64
cmp eax, 0x64
jae 0x4ce9af
or edi, 0x20
lea eax, [esi + 0x8a8]
push eax
call fcn.004bcee0
mov ebp, dword [esp + 0x18]
push eax
push ebp
push 1
push esi
call fcn.004bbee0
lea eax, [esi + 0x8a8]
push eax
call fcn.004bcee0
push eax
push ebp
push edi
push esi
call fcn.004de590
add esp, 0x28
test eax, eax
jne 0x4cf115
lea eax, [esi + 0x8a8]
push eax
call fcn.004bcee0
mov ecx, dword [esi + 0xc4]
mov edx, eax
mov edi, 0x4b000
add esp, 4
add ecx, edx
cmp edx, edi
jae 0x4cea58
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 0x4cea3b
cmp eax, 0x5dc000
jbe 0x4cf0f8
mov ecx, eax
mov edi, 0x5dc000
push edi
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.004bbf80
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x4cea3b
jmp 0x4cf0f8
mov ecx, dword [ebx + 0x50]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4ceacf
sub ecx, 0x64
je 0x4cea9f
sub ecx, 1
je 0x4cea89
mov byte [ebx + 0xb4], 1
mov dword [ebx + 0x44], 0
jmp 0x4ceb3e
cmp dword [ebx + 0x6c], 2
je 0x4cf21b
mov byte [ebx + 0xb4], 0
jmp 0x4ceb3e
cmp dword [ebx + 0x68], 0
mov byte [ebx + 0xb4], 1
mov dword [ebx + 0x44], 0
jle 0x4ceb3e
or dword [ebx + 0x54], 2
push 0
push esi
mov dword [ebx + 0x68], 0
call fcn.004d3600
add esp, 8
jmp 0x4ceb3e
cmp dword [ebx + 0x6c], 2
jne 0x4ceae0
push dword [esi + 0x7c]
call fcn.004d3720
add esp, 4
mov eax, dword [ebx]
and eax, dword [ebx + 4]
mov byte [ebx + 0xb4], 0
cmp eax, 0xffffffff
jne 0x4ceb3e
cmp byte [ebx + 0xbb], 0
jne 0x4ceb3e
mov ebp, dword [esp + 0x24]
cmp byte [ebp + 0x1e6], 0
jne 0x4ceb3e
cmp byte [ebp + 0x471], 0xb
jne 0x4ceb3e
mov eax, dword [ebp + 0x200]
test dword [eax + 0x44], 0x40000
jne 0x4ceb3e
cmp byte [esi + 0xd52], 5
je 0x4ceb3e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.004bc050
push 2
push ebp
call fcn.004e3480
add esp, 0x10
cmp byte [ebx + 0xb4], 0
jne 0x4cebbe
cmp byte [esi + 0x144], 0
jne 0x4ceba3
cmp byte [ebx + 0xbb], 0
jne 0x4ceba3
mov ecx, dword [ebx]
mov eax, ecx
mov edx, dword [ebx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x4cebbe
mov ebp, dword [esi + 0x4c0]
mov eax, ebp
mov edi, dword [esi + 0x4c4]
or eax, edi
je 0x4ceb8b
cmp edx, edi
jg 0x4cf24b
jl 0x4ceb8b
cmp ecx, ebp
ja 0x4cf24b
push edx
push ecx
push esi
call fcn.004deeb0
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
jmp 0x4cebbe
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 0x4cec52
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x4cebe7
cmp dword [ebp + 0x270], 2
je 0x4cebf7
jmp 0x4cec0c
cmp eax, 0x197
jne 0x4cec0c
cmp dword [ebp + 0x274], 2
jne 0x4cec0c
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004bc050
add esp, 8
mov byte [esi + 0xd59], 1
cmp byte [ebp + 0x1e6], 0
je 0x4cec52
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x4cec2d
cmp dword [ebp + 0x2f8], 1
je 0x4cec3d
jmp 0x4cec52
cmp eax, 0x197
jne 0x4cec52
cmp dword [ebp + 0x2fc], 1
jne 0x4cec52
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004bc050
add esp, 8
mov byte [esi + 0xd59], 1
cmp dword [ebp + 0x2f8], 3
jne 0x4cec71
cmp dword [esi + 0xd8], 0x191
je 0x4cec71
mov dword [ebp + 0x2f8], 4
cmp dword [ebp + 0x2fc], 3
jne 0x4cec90
cmp dword [esi + 0xd8], 0x197
je 0x4cec90
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.004bcee0
add esp, 4
lea ecx, [esi + 0x8a8]
mov ebp, eax
push ebp
push ecx
call fcn.004bcef0
add esp, 4
push eax
push edi
push esi
call fcn.004de590
add esp, 0x10
test eax, eax
jne 0x4cf115
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebp
cmp ebp, edx
jae 0x4ced30
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 0x4ced13
cmp edi, 0x5dc000
jbe 0x4ced34
mov ecx, edi
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.004bbf80
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x4ced13
mov edi, dword [ebx + 0x50]
push esi
call fcn.004cfbc0
add esp, 4
test al, al
jne 0x4cf2f2
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x4ced58
mov eax, dword [esi + 0xc0]
jmp 0x4ced5a
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 0x4cef84
cmp byte [esi + 0xd59], 0
lea eax, [esi + 0xd59]
mov dword [esp + 0x14], eax
je 0x4cedc1
cmp byte [esi + 0x6c2], 0
mov eax, 0x16
cmovne edi, eax
jmp 0x4cef7c
cmp dword [esi + 0xd40], edi
jne 0x4cedd3
test edx, edx
je 0x4cee41
lea eax, [esi + 0xd59]
cmp ecx, 0x191
je 0x4cedf0
cmp byte [ebp + 0x1f0], 0
je 0x4cee41
mov dword [esp + 0x14], eax
cmp ecx, 0x12c
jge 0x4cee41
push dword [esp + 0x18]
lea eax, [esi + 0x970]
push eax
call fcn.004cff50
add esp, 8
mov byte [esp + 0x13], al
test al, al
jne 0x4cee12
mov ecx, dword [esp + 0x14]
mov byte [ecx], 1
cmp dword [esi + 0x974], 8
jne 0x4cee41
cmp byte [ebp + 0x471], 0xb
jbe 0x4cee41
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.004bc050
push 1
push ebp
call fcn.004e3480
add esp, 0x10
mov byte [esi + 0xd50], 2
cmp byte [ebp + 0x1e2], 0
je 0x4cee85
mov eax, dword [esi + 0xd8]
cmp eax, 0x197
je 0x4cee67
cmp byte [ebp + 0x1f0], 0
je 0x4cee85
cmp eax, 0x12c
jge 0x4cee85
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.004cff50
add esp, 8
test al, al
jne 0x4cee89
mov byte [esi + 0xd59], 1
jmp 0x4cee89
mov al, byte [esp + 0x20]
cmp byte [esp + 0x13], 0
jne 0x4ceef8
test al, al
jne 0x4ceef8
cmp dword [esi + 0xd8], 0x12c
jge 0x4cef56
cmp byte [esi + 0x97c], al
jne 0x4cef56
cmp byte [ebp + 0x1f0], al
je 0x4cef56
mov al, byte [esi + 0xd52]
test al, al
je 0x4cef56
cmp al, 5
je 0x4cef56
push dword [esi + 0xca4]
call dword [0x5f81ec]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x4cf266
mov byte [esi + 0x97c], 1
jmp 0x4cef56
mov al, byte [esi + 0xd52]
test al, al
je 0x4cef23
cmp al, 5
je 0x4cef23
cmp byte [esi + 0xd67], 0
jne 0x4cef23
push ebp
push esi
call fcn.004cf9a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4cf26b
push dword [esi + 0x110]
call dword [0x5f81e4]
push dword [esi + 0xca4]
mov dword [esi + 0x110], 0
call dword [0x5f81ec]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x4cf266
push esi
call fcn.004cfbc0
add esp, 4
test al, al
je 0x4cef7c
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004bbf80
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x4cf26b
cmp dword [ebx + 0x50], 0x12c
mov ebp, dword [esp + 0x24]
jl 0x4cf0eb
cmp byte [ebp + 0x1f0], 0
jne case.default.0x4cefcd
cmp byte [ebp + 0x1e6], 0
jne case.default.0x4cefcd
cmp byte [esi + 0xd67], 0
jne 0x4cf0d0
movzx eax, byte [esi + 0xd52]
dec eax
cmp eax, 3
ja case.default.0x4cefcd
jmp dword [eax*4 + 0x4cf3a0]
push 0
push esi
call fcn.004d3600
add esp, 8
cmp byte [ebx + 0xb8], 0
jne case.default.0x4cefcd
cmp dword [ebx + 0x50], 0x1a1
jne 0x4cf066
cmp byte [esi + 0xd5b], 0
je 0x4cf066
mov eax, dword [ebx + 0x18]
or eax, dword [ebx + 0x1c]
jne 0x4cf01c
cmp dword [ebx + 0x68], 1
jne 0x4cf01c
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.004bc050
add esp, 8
jmp 0x4cf041
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.004bc050
push 2
push ebp
call fcn.004e3480
push ebp
push esi
call fcn.004cf9a0
add esp, 0x18
test eax, eax
jne 0x4cf115
push dword [esi + 0xca4]
mov byte [esi + 0xd5c], 1
call dword [0x5f81ec]
push ebx
push esi
mov dword [esi + 0x110], eax
call fcn.004dc110
add esp, 0xc
jmp case.default.0x4cefcd
cmp byte [esi + 0x6c3], 0
je 0x4cf090
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.004bc050
add esp, 8
cmp dword [ebx + 0x68], 0
jle case.default.0x4cefcd
or dword [ebx + 0x54], 2
mov dword [ebx + 0x68], 0
jmp case.default.0x4cefcd
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.004bc050
push 2
push ebp
call fcn.004e3480
push ebx
push esi
call fcn.004dc110
add esp, 0x18
test eax, eax
jne 0x4cf115
mov byte [ebx + 0xb8], 1
cmp byte [esi + 0xd5b], al
je case.default.0x4cefcd
mov dword [ebx + 0x68], 3
cmp byte [esi + 0xd67], 0
je 0x4cf0eb
cmp dword [ebp + 0x21c], 0xffffffff
je 0x4cf0eb
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.004bc050
add esp, 8
or dword [ebx + 0x54], 2
cmp byte [ebx + 0xb4], 0
je 0x4cf275
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004bcf00
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x4ce455
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push 2
push edi
call fcn.004e3480
add esp, 8
cmp byte [esi + 0x6e5], 0
je 0x4cf383
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.004bbf80
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.004bbf80
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.004bbf80
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.004bbf80
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.004bbf80
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.004bbf80
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.004bc050
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.004bbf80
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 0x4cf2a3
mov eax, dword [ebp + 0x200]
test dword [eax + 0x44], 0x40000
je 0x4cf2aa
cmp dword [esi + 0x654], 2
jne 0x4cf2aa
cmp dword [ebx + 4], 0xffffffff
jg 0x4cf2aa
jl 0x4cf2a3
cmp dword [ebx], 0xffffffff
ja 0x4cf2aa
mov byte [ebx + 0xb7], 1
cmp dword [ebx + 8], 0
jne 0x4cf2bd
cmp dword [ebx + 0xc], 0
jne 0x4cf2bd
mov byte [ebx + 0xb7], 1
lea eax, [esi + 0x8a8]
push eax
call fcn.004bcee0
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004bcef0
add esp, 4
push eax
push 1
push esi
call fcn.004bbee0
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.004bbf80
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.004bce80
add esp, 0xc
test eax, eax
jne 0x4cf115
mov eax, dword [esp + 0x30]
add dword [eax], edi
cmp dword [ebx + 0x44], 0
jne 0x4cf113
push ebp
call fcn.004bcee0
add esp, 4
push eax
push ebp
call fcn.004bcef0
mov ebp, dword [esp + 0x2c]
add esp, 4
push eax
push ebp
push esi
call fcn.004cf940
add esp, 0x10
cmp eax, 2
jne 0x4cf113
push eax
push ebp
mov word [ebx + 0xb4], 0x100
call fcn.004e3480
add esp, 8
cmp byte [esi + 0x6e5], 0
jne 0x4cf113
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.004bbf80
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret