Function at 0x4c2eb0
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.0050e4a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4c3d8e
mov eax, dword [esp + 0x28]
sub edi, eax
inc edi
push edi
push eax
push ebp
call fcn.004b1900
add esp, 0xc
test eax, eax
jne 0x4c3b95
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 0x4c2f90
push ebp
call fcn.004b1960
mov ebp, eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004b1970
mov edi, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [edi + 0x200]
test dword [ecx + 0x44], 0x40000
je 0x4c2f76
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.0049f410
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
mov edi, dword [esp + 0x24]
jmp 0x4c2f81
push ebp
push eax
push esi
call fcn.004c4310
add esp, 0xc
cmp eax, 2
je 0x4c3b9d
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004b1970
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x4c34e1
cmp cl, 0xd
je 0x4c34e1
mov ecx, dword [ebx + 0x44]
mov edi, 4
lea eax, [ecx + 1]
mov dword [ebx + 0x44], eax
test ecx, ecx
jne 0x4c33a3
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x200]
mov eax, dword [eax + 0x44]
test al, 3
je 0x4c31df
mov al, byte [edx]
mov edi, edx
test al, al
je 0x4c2ff6
cmp al, 0x20
je 0x4c2fee
cmp al, 9
jne 0x4c2ff6
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4c2fe6
push 5
push str.HTTP_
push edi
call fcn.0051d240
add esp, 0xc
test eax, eax
jne 0x4c30a8
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x4c30ef
sub eax, 1
je 0x4c302b
sub eax, 1
jne 0x4c3bc8
mov al, byte [edi + 6]
cmp al, 0x20
je 0x4c3036
cmp al, 9
jne 0x4c30a8
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 0x4c30a8
mov al, byte [edi + 8]
mov byte [esp + 0x20], al
sub al, 0x30
cmp al, 9
ja 0x4c30a8
mov al, byte [edi + 9]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x4c30a8
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 0x4c318b
cmp al, 9
je 0x4c318b
cmp al, 0xa
jl 0x4c30a8
cmp al, 0xd
jle 0x4c318b
lea eax, [esi + 0x8a8]
push eax
call fcn.004b1960
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004b1970
add esp, 4
push eax
push esi
call fcn.004c4310
add esp, 0xc
cmp eax, 1
jne 0x4c3c52
lea edi, [ebp + 0x471]
mov dword [ebx + 0x50], 0xc8
mov byte [edi], 0xa
jmp 0x4c32b5
cmp byte [edi + 6], 0x2e
jne 0x4c3c37
mov al, byte [edi + 7]
cmp al, 0x30
je 0x4c3108
cmp al, 0x31
jne 0x4c3c37
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x4c3119
cmp cl, 9
jne 0x4c3c37
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 0x4c3c37
mov al, byte [edi + 0xa]
mov byte [esp + 0x20], al
sub al, 0x30
cmp al, 9
ja 0x4c3c37
mov al, byte [edi + 0xb]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x4c3c37
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 0x4c318b
cmp al, 9
je 0x4c318b
sub al, 0xa
cmp al, 3
ja 0x4c3c37
cmp ecx, 0x64
jl 0x4c3c1c
mov eax, edx
sub eax, 0xa
je 0x4c31a4
sub eax, 1
jne 0x4c3be3
lea edi, [ebp + 0x471]
mov byte [edi], dl
cmp dword [ebx + 0x6c], 3
jne 0x4c31c5
cmp dl, 0x14
je 0x4c31c5
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.004b0ad0
add esp, 8
cmp byte [edi], 0x14
jae 0x4c32b5
mov eax, dword [ebp + 0x440]
mov dword [eax], 0xffffffff
jmp 0x4c32b5
test eax, 0x40000
je 0x4c3c52
mov al, byte [edx]
mov edi, edx
test al, al
je 0x4c3202
cmp al, 0x20
je 0x4c31fa
cmp al, 9
jne 0x4c3202
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4c31f2
push 5
push str.RTSP_
push edi
call fcn.0051d240
add esp, 0xc
test eax, eax
jne 0x4c3c52
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x4c3c8e
cmp byte [edi + 6], 0x2e
jne 0x4c3c8e
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x4c3c8e
mov al, byte [edi + 8]
cmp al, 0x20
je 0x4c324d
cmp al, 9
jne 0x4c3c8e
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x4c3c8e
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x4c3c8e
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x4c3c8e
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 0x4c32ac
cmp al, 9
je 0x4c32ac
sub al, 0xa
cmp al, 3
ja 0x4c3c8e
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 0x4c32df
cmp dl, al
jbe 0x4c32e5
lea ecx, [ebp + 0x471]
mov byte [esi + 0xd51], al
mov eax, dword [esi + 0xc38]
or eax, dword [esi + 0xc3c]
je 0x4c330e
cmp byte [esi + 0xd52], 0
jne 0x4c330e
cmp dword [ebx + 0x50], 0x1a0
mov edi, ecx
jne 0x4c330e
mov byte [ebx + 0xb9], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x4c332c
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.004b0ad0
push 1
push ebp
call fcn.004d7480
add esp, 0x10
jmp 0x4c3348
cmp al, 0x14
je 0x4c333c
cmp dword [ebx + 0x6c], 2
jne 0x4c3348
cmp dword [ebx + 0x50], 0x65
jne 0x4c3348
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 0x4c3376
sub ecx, 0x64
jne 0x4c3398
cmp byte [esi + 0x3c0], cl
je 0x4c3376
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.004b1970
push ebp
mov dword [esp + 0x28], eax
call fcn.004b1960
mov ebp, dword [esp + 0x28]
push eax
push 0
push ebp
mov dword [esp + 0x2c], eax
call fcn.0050e4a0
add esp, 0x14
test eax, eax
jne 0x4c3c7f
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x4c3407
mov al, byte [ebp]
cmp al, 0x20
je 0x4c33eb
cmp al, 9
jne 0x4c33f0
cmp ecx, 2
jg 0x4c3407
push dword [esp + 0x18]
push 0x3a
push ebp
call fcn.0050e4a0
add esp, 0xc
test eax, eax
je 0x4c3c63
push dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
push ebp
push esi
call fcn.004c1ea0
add esp, 0xc
test eax, eax
jne 0x4c3b95
mov eax, dword [ebx + 0x50]
sub eax, 0x64
cmp eax, 0x64
jae 0x4c342f
or edi, 0x20
lea eax, [esi + 0x8a8]
push eax
call fcn.004b1960
mov ebp, dword [esp + 0x18]
push eax
push ebp
push 1
push esi
call fcn.004b0960
lea eax, [esi + 0x8a8]
push eax
call fcn.004b1960
push eax
push ebp
push edi
push esi
call fcn.004d3000
add esp, 0x28
test eax, eax
jne 0x4c3b95
lea eax, [esi + 0x8a8]
push eax
call fcn.004b1960
mov ecx, dword [esi + 0xc4]
mov edx, eax
mov edi, 0x4b000
add esp, 4
add ecx, edx
cmp edx, edi
jae 0x4c34d8
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 0x4c34bb
cmp eax, 0x5dc000
jbe 0x4c3b78
mov ecx, eax
mov edi, 0x5dc000
push edi
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.004b0a00
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x4c34bb
jmp 0x4c3b78
mov ecx, dword [ebx + 0x50]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4c354f
sub ecx, 0x64
je 0x4c351f
sub ecx, 1
je 0x4c3509
mov byte [ebx + 0xb4], 1
mov dword [ebx + 0x44], 0
jmp 0x4c35be
cmp dword [ebx + 0x6c], 2
je 0x4c3c9b
mov byte [ebx + 0xb4], 0
jmp 0x4c35be
cmp dword [ebx + 0x68], 0
mov byte [ebx + 0xb4], 1
mov dword [ebx + 0x44], 0
jle 0x4c35be
or dword [ebx + 0x54], 2
push 0
push esi
mov dword [ebx + 0x68], 0
call fcn.004c8080
add esp, 8
jmp 0x4c35be
cmp dword [ebx + 0x6c], 2
jne 0x4c3560
push dword [esi + 0x7c]
call fcn.004c81a0
add esp, 4
mov eax, dword [ebx]
and eax, dword [ebx + 4]
mov byte [ebx + 0xb4], 0
cmp eax, 0xffffffff
jne 0x4c35be
cmp byte [ebx + 0xbb], 0
jne 0x4c35be
mov ebp, dword [esp + 0x24]
cmp byte [ebp + 0x1e6], 0
jne 0x4c35be
cmp byte [ebp + 0x471], 0xb
jne 0x4c35be
mov eax, dword [ebp + 0x200]
test dword [eax + 0x44], 0x40000
jne 0x4c35be
cmp byte [esi + 0xd52], 5
je 0x4c35be
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.004b0ad0
push 2
push ebp
call fcn.004d7480
add esp, 0x10
cmp byte [ebx + 0xb4], 0
jne 0x4c363e
cmp byte [esi + 0x144], 0
jne 0x4c3623
cmp byte [ebx + 0xbb], 0
jne 0x4c3623
mov ecx, dword [ebx]
mov eax, ecx
mov edx, dword [ebx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x4c363e
mov ebp, dword [esi + 0x4c0]
mov eax, ebp
mov edi, dword [esi + 0x4c4]
or eax, edi
je 0x4c360b
cmp edx, edi
jg 0x4c3ccb
jl 0x4c360b
cmp ecx, ebp
ja 0x4c3ccb
push edx
push ecx
push esi
call fcn.004d3920
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
jmp 0x4c363e
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 0x4c36d2
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x4c3667
cmp dword [ebp + 0x270], 2
je 0x4c3677
jmp 0x4c368c
cmp eax, 0x197
jne 0x4c368c
cmp dword [ebp + 0x274], 2
jne 0x4c368c
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004b0ad0
add esp, 8
mov byte [esi + 0xd59], 1
cmp byte [ebp + 0x1e6], 0
je 0x4c36d2
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x4c36ad
cmp dword [ebp + 0x2f8], 1
je 0x4c36bd
jmp 0x4c36d2
cmp eax, 0x197
jne 0x4c36d2
cmp dword [ebp + 0x2fc], 1
jne 0x4c36d2
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004b0ad0
add esp, 8
mov byte [esi + 0xd59], 1
cmp dword [ebp + 0x2f8], 3
jne 0x4c36f1
cmp dword [esi + 0xd8], 0x191
je 0x4c36f1
mov dword [ebp + 0x2f8], 4
cmp dword [ebp + 0x2fc], 3
jne 0x4c3710
cmp dword [esi + 0xd8], 0x197
je 0x4c3710
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.004b1960
add esp, 4
lea ecx, [esi + 0x8a8]
mov ebp, eax
push ebp
push ecx
call fcn.004b1970
add esp, 4
push eax
push edi
push esi
call fcn.004d3000
add esp, 0x10
test eax, eax
jne 0x4c3b95
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebp
cmp ebp, edx
jae 0x4c37b0
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 0x4c3793
cmp edi, 0x5dc000
jbe 0x4c37b4
mov ecx, edi
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.004b0a00
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x4c3793
mov edi, dword [ebx + 0x50]
push esi
call fcn.004c4640
add esp, 4
test al, al
jne 0x4c3d72
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x4c37d8
mov eax, dword [esi + 0xc0]
jmp 0x4c37da
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 0x4c3a04
cmp byte [esi + 0xd59], 0
lea eax, [esi + 0xd59]
mov dword [esp + 0x14], eax
je 0x4c3841
cmp byte [esi + 0x6c2], 0
mov eax, 0x16
cmovne edi, eax
jmp 0x4c39fc
cmp dword [esi + 0xd40], edi
jne 0x4c3853
test edx, edx
je 0x4c38c1
lea eax, [esi + 0xd59]
cmp ecx, 0x191
je 0x4c3870
cmp byte [ebp + 0x1f0], 0
je 0x4c38c1
mov dword [esp + 0x14], eax
cmp ecx, 0x12c
jge 0x4c38c1
push dword [esp + 0x18]
lea eax, [esi + 0x970]
push eax
call fcn.004c49d0
add esp, 8
mov byte [esp + 0x13], al
test al, al
jne 0x4c3892
mov ecx, dword [esp + 0x14]
mov byte [ecx], 1
cmp dword [esi + 0x974], 8
jne 0x4c38c1
cmp byte [ebp + 0x471], 0xb
jbe 0x4c38c1
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.004b0ad0
push 1
push ebp
call fcn.004d7480
add esp, 0x10
mov byte [esi + 0xd50], 2
cmp byte [ebp + 0x1e2], 0
je 0x4c3905
mov eax, dword [esi + 0xd8]
cmp eax, 0x197
je 0x4c38e7
cmp byte [ebp + 0x1f0], 0
je 0x4c3905
cmp eax, 0x12c
jge 0x4c3905
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.004c49d0
add esp, 8
test al, al
jne 0x4c3909
mov byte [esi + 0xd59], 1
jmp 0x4c3909
mov al, byte [esp + 0x20]
cmp byte [esp + 0x13], 0
jne 0x4c3978
test al, al
jne 0x4c3978
cmp dword [esi + 0xd8], 0x12c
jge 0x4c39d6
cmp byte [esi + 0x97c], al
jne 0x4c39d6
cmp byte [ebp + 0x1f0], al
je 0x4c39d6
mov al, byte [esi + 0xd52]
test al, al
je 0x4c39d6
cmp al, 5
je 0x4c39d6
push dword [esi + 0xca4]
call dword [0x5991ec]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x4c3ce6
mov byte [esi + 0x97c], 1
jmp 0x4c39d6
mov al, byte [esi + 0xd52]
test al, al
je 0x4c39a3
cmp al, 5
je 0x4c39a3
cmp byte [esi + 0xd67], 0
jne 0x4c39a3
push ebp
push esi
call fcn.004c4420
mov edi, eax
add esp, 8
test edi, edi
jne 0x4c3ceb
push dword [esi + 0x110]
call dword [0x5991e4]
push dword [esi + 0xca4]
mov dword [esi + 0x110], 0
call dword [0x5991ec]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x4c3ce6
push esi
call fcn.004c4640
add esp, 4
test al, al
je 0x4c39fc
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004b0a00
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x4c3ceb
cmp dword [ebx + 0x50], 0x12c
mov ebp, dword [esp + 0x24]
jl 0x4c3b6b
cmp byte [ebp + 0x1f0], 0
jne case.default.0x4c3a4d
cmp byte [ebp + 0x1e6], 0
jne case.default.0x4c3a4d
cmp byte [esi + 0xd67], 0
jne 0x4c3b50
movzx eax, byte [esi + 0xd52]
dec eax
cmp eax, 3
ja case.default.0x4c3a4d
jmp dword [eax*4 + 0x4c3e20]
push 0
push esi
call fcn.004c8080
add esp, 8
cmp byte [ebx + 0xb8], 0
jne case.default.0x4c3a4d
cmp dword [ebx + 0x50], 0x1a1
jne 0x4c3ae6
cmp byte [esi + 0xd5b], 0
je 0x4c3ae6
mov eax, dword [ebx + 0x18]
or eax, dword [ebx + 0x1c]
jne 0x4c3a9c
cmp dword [ebx + 0x68], 1
jne 0x4c3a9c
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.004b0ad0
add esp, 8
jmp 0x4c3ac1
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.004b0ad0
push 2
push ebp
call fcn.004d7480
push ebp
push esi
call fcn.004c4420
add esp, 0x18
test eax, eax
jne 0x4c3b95
push dword [esi + 0xca4]
mov byte [esi + 0xd5c], 1
call dword [0x5991ec]
push ebx
push esi
mov dword [esi + 0x110], eax
call fcn.004d0b90
add esp, 0xc
jmp case.default.0x4c3a4d
cmp byte [esi + 0x6c3], 0
je 0x4c3b10
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.004b0ad0
add esp, 8
cmp dword [ebx + 0x68], 0
jle case.default.0x4c3a4d
or dword [ebx + 0x54], 2
mov dword [ebx + 0x68], 0
jmp case.default.0x4c3a4d
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.004b0ad0
push 2
push ebp
call fcn.004d7480
push ebx
push esi
call fcn.004d0b90
add esp, 0x18
test eax, eax
jne 0x4c3b95
mov byte [ebx + 0xb8], 1
cmp byte [esi + 0xd5b], al
je case.default.0x4c3a4d
mov dword [ebx + 0x68], 3
cmp byte [esi + 0xd67], 0
je 0x4c3b6b
cmp dword [ebp + 0x21c], 0xffffffff
je 0x4c3b6b
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.004b0ad0
add esp, 8
or dword [ebx + 0x54], 2
cmp byte [ebx + 0xb4], 0
je 0x4c3cf5
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004b1980
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x4c2ed5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push 2
push edi
call fcn.004d7480
add esp, 8
cmp byte [esi + 0x6e5], 0
je 0x4c3e03
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.004b0a00
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.004b0a00
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.004b0a00
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.004b0a00
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.004b0a00
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.004b0a00
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.004b0ad0
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.004b0a00
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 0x4c3d23
mov eax, dword [ebp + 0x200]
test dword [eax + 0x44], 0x40000
je 0x4c3d2a
cmp dword [esi + 0x654], 2
jne 0x4c3d2a
cmp dword [ebx + 4], 0xffffffff
jg 0x4c3d2a
jl 0x4c3d23
cmp dword [ebx], 0xffffffff
ja 0x4c3d2a
mov byte [ebx + 0xb7], 1
cmp dword [ebx + 8], 0
jne 0x4c3d3d
cmp dword [ebx + 0xc], 0
jne 0x4c3d3d
mov byte [ebx + 0xb7], 1
lea eax, [esi + 0x8a8]
push eax
call fcn.004b1960
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004b1970
add esp, 4
push eax
push 1
push esi
call fcn.004b0960
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.004b0a00
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.004b1900
add esp, 0xc
test eax, eax
jne 0x4c3b95
mov eax, dword [esp + 0x30]
add dword [eax], edi
cmp dword [ebx + 0x44], 0
jne 0x4c3b93
push ebp
call fcn.004b1960
add esp, 4
push eax
push ebp
call fcn.004b1970
mov ebp, dword [esp + 0x2c]
add esp, 4
push eax
push ebp
push esi
call fcn.004c43c0
add esp, 0x10
cmp eax, 2
jne 0x4c3b93
push eax
push ebp
mov word [ebx + 0xb4], 0x100
call fcn.004d7480
add esp, 8
cmp byte [esi + 0x6e5], 0
jne 0x4c3b93
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.004b0a00
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret