Function at 0x4f3430
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.00574810
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4f430e
mov eax, dword [esp + 0x28]
sub edi, eax
inc edi
push edi
push eax
push ebp
call fcn.004e1e60
add esp, 0xc
test eax, eax
jne 0x4f4115
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 0x4f3510
push ebp
call fcn.004e1ec0
mov ebp, eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004e1ed0
mov edi, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [edi + 0x200]
test dword [ecx + 0x44], 0x40000
je 0x4f34f6
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.004cf7e0
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
mov edi, dword [esp + 0x24]
jmp 0x4f3501
push ebp
push eax
push esi
call fcn.004f4890
add esp, 0xc
cmp eax, 2
je 0x4f411d
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004e1ed0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x4f3a61
cmp cl, 0xd
je 0x4f3a61
mov ecx, dword [ebx + 0x44]
mov edi, 4
lea eax, [ecx + 1]
mov dword [ebx + 0x44], eax
test ecx, ecx
jne 0x4f3923
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x200]
mov eax, dword [eax + 0x44]
test al, 3
je 0x4f375f
mov al, byte [edx]
mov edi, edx
test al, al
je 0x4f3576
cmp al, 0x20
je 0x4f356e
cmp al, 9
jne 0x4f3576
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4f3566
push 5
push str.HTTP_
push edi
call fcn.00587120
add esp, 0xc
test eax, eax
jne 0x4f3628
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x4f366f
sub eax, 1
je 0x4f35ab
sub eax, 1
jne 0x4f4148
mov al, byte [edi + 6]
cmp al, 0x20
je 0x4f35b6
cmp al, 9
jne 0x4f3628
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 0x4f3628
mov al, byte [edi + 8]
mov byte [esp + 0x20], al
sub al, 0x30
cmp al, 9
ja 0x4f3628
mov al, byte [edi + 9]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x4f3628
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 0x4f370b
cmp al, 9
je 0x4f370b
cmp al, 0xa
jl 0x4f3628
cmp al, 0xd
jle 0x4f370b
lea eax, [esi + 0x8a8]
push eax
call fcn.004e1ec0
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004e1ed0
add esp, 4
push eax
push esi
call fcn.004f4890
add esp, 0xc
cmp eax, 1
jne 0x4f41d2
lea edi, [ebp + 0x471]
mov dword [ebx + 0x50], 0xc8
mov byte [edi], 0xa
jmp 0x4f3835
cmp byte [edi + 6], 0x2e
jne 0x4f41b7
mov al, byte [edi + 7]
cmp al, 0x30
je 0x4f3688
cmp al, 0x31
jne 0x4f41b7
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x4f3699
cmp cl, 9
jne 0x4f41b7
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 0x4f41b7
mov al, byte [edi + 0xa]
mov byte [esp + 0x20], al
sub al, 0x30
cmp al, 9
ja 0x4f41b7
mov al, byte [edi + 0xb]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x4f41b7
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 0x4f370b
cmp al, 9
je 0x4f370b
sub al, 0xa
cmp al, 3
ja 0x4f41b7
cmp ecx, 0x64
jl 0x4f419c
mov eax, edx
sub eax, 0xa
je 0x4f3724
sub eax, 1
jne 0x4f4163
lea edi, [ebp + 0x471]
mov byte [edi], dl
cmp dword [ebx + 0x6c], 3
jne 0x4f3745
cmp dl, 0x14
je 0x4f3745
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.004e1030
add esp, 8
cmp byte [edi], 0x14
jae 0x4f3835
mov eax, dword [ebp + 0x440]
mov dword [eax], 0xffffffff
jmp 0x4f3835
test eax, 0x40000
je 0x4f41d2
mov al, byte [edx]
mov edi, edx
test al, al
je 0x4f3782
cmp al, 0x20
je 0x4f377a
cmp al, 9
jne 0x4f3782
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4f3772
push 5
push str.RTSP_
push edi
call fcn.00587120
add esp, 0xc
test eax, eax
jne 0x4f41d2
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x4f420e
cmp byte [edi + 6], 0x2e
jne 0x4f420e
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x4f420e
mov al, byte [edi + 8]
cmp al, 0x20
je 0x4f37cd
cmp al, 9
jne 0x4f420e
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x4f420e
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x4f420e
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x4f420e
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 0x4f382c
cmp al, 9
je 0x4f382c
sub al, 0xa
cmp al, 3
ja 0x4f420e
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 0x4f385f
cmp dl, al
jbe 0x4f3865
lea ecx, [ebp + 0x471]
mov byte [esi + 0xd51], al
mov eax, dword [esi + 0xc38]
or eax, dword [esi + 0xc3c]
je 0x4f388e
cmp byte [esi + 0xd52], 0
jne 0x4f388e
cmp dword [ebx + 0x50], 0x1a0
mov edi, ecx
jne 0x4f388e
mov byte [ebx + 0xb9], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x4f38ac
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.004e1030
push 1
push ebp
call fcn.00508480
add esp, 0x10
jmp 0x4f38c8
cmp al, 0x14
je 0x4f38bc
cmp dword [ebx + 0x6c], 2
jne 0x4f38c8
cmp dword [ebx + 0x50], 0x65
jne 0x4f38c8
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 0x4f38f6
sub ecx, 0x64
jne 0x4f3918
cmp byte [esi + 0x3c0], cl
je 0x4f38f6
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.004e1ed0
push ebp
mov dword [esp + 0x28], eax
call fcn.004e1ec0
mov ebp, dword [esp + 0x28]
push eax
push 0
push ebp
mov dword [esp + 0x2c], eax
call fcn.00574810
add esp, 0x14
test eax, eax
jne 0x4f41ff
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x4f3987
mov al, byte [ebp]
cmp al, 0x20
je 0x4f396b
cmp al, 9
jne 0x4f3970
cmp ecx, 2
jg 0x4f3987
push dword [esp + 0x18]
push 0x3a
push ebp
call fcn.00574810
add esp, 0xc
test eax, eax
je 0x4f41e3
push dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
push ebp
push esi
call fcn.004f2420
add esp, 0xc
test eax, eax
jne 0x4f4115
mov eax, dword [ebx + 0x50]
sub eax, 0x64
cmp eax, 0x64
jae 0x4f39af
or edi, 0x20
lea eax, [esi + 0x8a8]
push eax
call fcn.004e1ec0
mov ebp, dword [esp + 0x18]
push eax
push ebp
push 1
push esi
call fcn.004e0ec0
lea eax, [esi + 0x8a8]
push eax
call fcn.004e1ec0
push eax
push ebp
push edi
push esi
call fcn.00503590
add esp, 0x28
test eax, eax
jne 0x4f4115
lea eax, [esi + 0x8a8]
push eax
call fcn.004e1ec0
mov ecx, dword [esi + 0xc4]
mov edx, eax
mov edi, 0x4b000
add esp, 4
add ecx, edx
cmp edx, edi
jae 0x4f3a58
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 0x4f3a3b
cmp eax, 0x5dc000
jbe 0x4f40f8
mov ecx, eax
mov edi, 0x5dc000
push edi
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.004e0f60
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x4f3a3b
jmp 0x4f40f8
mov ecx, dword [ebx + 0x50]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4f3acf
sub ecx, 0x64
je 0x4f3a9f
sub ecx, 1
je 0x4f3a89
mov byte [ebx + 0xb4], 1
mov dword [ebx + 0x44], 0
jmp 0x4f3b3e
cmp dword [ebx + 0x6c], 2
je 0x4f421b
mov byte [ebx + 0xb4], 0
jmp 0x4f3b3e
cmp dword [ebx + 0x68], 0
mov byte [ebx + 0xb4], 1
mov dword [ebx + 0x44], 0
jle 0x4f3b3e
or dword [ebx + 0x54], 2
push 0
push esi
mov dword [ebx + 0x68], 0
call fcn.004f8600
add esp, 8
jmp 0x4f3b3e
cmp dword [ebx + 0x6c], 2
jne 0x4f3ae0
push dword [esi + 0x7c]
call fcn.004f8720
add esp, 4
mov eax, dword [ebx]
and eax, dword [ebx + 4]
mov byte [ebx + 0xb4], 0
cmp eax, 0xffffffff
jne 0x4f3b3e
cmp byte [ebx + 0xbb], 0
jne 0x4f3b3e
mov ebp, dword [esp + 0x24]
cmp byte [ebp + 0x1e6], 0
jne 0x4f3b3e
cmp byte [ebp + 0x471], 0xb
jne 0x4f3b3e
mov eax, dword [ebp + 0x200]
test dword [eax + 0x44], 0x40000
jne 0x4f3b3e
cmp byte [esi + 0xd52], 5
je 0x4f3b3e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.004e1030
push 2
push ebp
call fcn.00508480
add esp, 0x10
cmp byte [ebx + 0xb4], 0
jne 0x4f3bbe
cmp byte [esi + 0x144], 0
jne 0x4f3ba3
cmp byte [ebx + 0xbb], 0
jne 0x4f3ba3
mov ecx, dword [ebx]
mov eax, ecx
mov edx, dword [ebx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x4f3bbe
mov ebp, dword [esi + 0x4c0]
mov eax, ebp
mov edi, dword [esi + 0x4c4]
or eax, edi
je 0x4f3b8b
cmp edx, edi
jg 0x4f424b
jl 0x4f3b8b
cmp ecx, ebp
ja 0x4f424b
push edx
push ecx
push esi
call fcn.00503eb0
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
jmp 0x4f3bbe
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 0x4f3c52
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x4f3be7
cmp dword [ebp + 0x270], 2
je 0x4f3bf7
jmp 0x4f3c0c
cmp eax, 0x197
jne 0x4f3c0c
cmp dword [ebp + 0x274], 2
jne 0x4f3c0c
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004e1030
add esp, 8
mov byte [esi + 0xd59], 1
cmp byte [ebp + 0x1e6], 0
je 0x4f3c52
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x4f3c2d
cmp dword [ebp + 0x2f8], 1
je 0x4f3c3d
jmp 0x4f3c52
cmp eax, 0x197
jne 0x4f3c52
cmp dword [ebp + 0x2fc], 1
jne 0x4f3c52
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.004e1030
add esp, 8
mov byte [esi + 0xd59], 1
cmp dword [ebp + 0x2f8], 3
jne 0x4f3c71
cmp dword [esi + 0xd8], 0x191
je 0x4f3c71
mov dword [ebp + 0x2f8], 4
cmp dword [ebp + 0x2fc], 3
jne 0x4f3c90
cmp dword [esi + 0xd8], 0x197
je 0x4f3c90
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.004e1ec0
add esp, 4
lea ecx, [esi + 0x8a8]
mov ebp, eax
push ebp
push ecx
call fcn.004e1ed0
add esp, 4
push eax
push edi
push esi
call fcn.00503590
add esp, 0x10
test eax, eax
jne 0x4f4115
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebp
cmp ebp, edx
jae 0x4f3d30
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 0x4f3d13
cmp edi, 0x5dc000
jbe 0x4f3d34
mov ecx, edi
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.004e0f60
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x4f3d13
mov edi, dword [ebx + 0x50]
push esi
call fcn.004f4bc0
add esp, 4
test al, al
jne 0x4f42f2
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x4f3d58
mov eax, dword [esi + 0xc0]
jmp 0x4f3d5a
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 0x4f3f84
cmp byte [esi + 0xd59], 0
lea eax, [esi + 0xd59]
mov dword [esp + 0x14], eax
je 0x4f3dc1
cmp byte [esi + 0x6c2], 0
mov eax, 0x16
cmovne edi, eax
jmp 0x4f3f7c
cmp dword [esi + 0xd40], edi
jne 0x4f3dd3
test edx, edx
je 0x4f3e41
lea eax, [esi + 0xd59]
cmp ecx, 0x191
je 0x4f3df0
cmp byte [ebp + 0x1f0], 0
je 0x4f3e41
mov dword [esp + 0x14], eax
cmp ecx, 0x12c
jge 0x4f3e41
push dword [esp + 0x18]
lea eax, [esi + 0x970]
push eax
call fcn.004f4f50
add esp, 8
mov byte [esp + 0x13], al
test al, al
jne 0x4f3e12
mov ecx, dword [esp + 0x14]
mov byte [ecx], 1
cmp dword [esi + 0x974], 8
jne 0x4f3e41
cmp byte [ebp + 0x471], 0xb
jbe 0x4f3e41
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.004e1030
push 1
push ebp
call fcn.00508480
add esp, 0x10
mov byte [esi + 0xd50], 2
cmp byte [ebp + 0x1e2], 0
je 0x4f3e85
mov eax, dword [esi + 0xd8]
cmp eax, 0x197
je 0x4f3e67
cmp byte [ebp + 0x1f0], 0
je 0x4f3e85
cmp eax, 0x12c
jge 0x4f3e85
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.004f4f50
add esp, 8
test al, al
jne 0x4f3e89
mov byte [esi + 0xd59], 1
jmp 0x4f3e89
mov al, byte [esp + 0x20]
cmp byte [esp + 0x13], 0
jne 0x4f3ef8
test al, al
jne 0x4f3ef8
cmp dword [esi + 0xd8], 0x12c
jge 0x4f3f56
cmp byte [esi + 0x97c], al
jne 0x4f3f56
cmp byte [ebp + 0x1f0], al
je 0x4f3f56
mov al, byte [esi + 0xd52]
test al, al
je 0x4f3f56
cmp al, 5
je 0x4f3f56
push dword [esi + 0xca4]
call dword [0x6211ec]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x4f4266
mov byte [esi + 0x97c], 1
jmp 0x4f3f56
mov al, byte [esi + 0xd52]
test al, al
je 0x4f3f23
cmp al, 5
je 0x4f3f23
cmp byte [esi + 0xd67], 0
jne 0x4f3f23
push ebp
push esi
call fcn.004f49a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4f426b
push dword [esi + 0x110]
call dword [0x6211e4]
push dword [esi + 0xca4]
mov dword [esi + 0x110], 0
call dword [0x6211ec]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x4f4266
push esi
call fcn.004f4bc0
add esp, 4
test al, al
je 0x4f3f7c
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004e0f60
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x4f426b
cmp dword [ebx + 0x50], 0x12c
mov ebp, dword [esp + 0x24]
jl 0x4f40eb
cmp byte [ebp + 0x1f0], 0
jne case.default.0x4f3fcd
cmp byte [ebp + 0x1e6], 0
jne case.default.0x4f3fcd
cmp byte [esi + 0xd67], 0
jne 0x4f40d0
movzx eax, byte [esi + 0xd52]
dec eax
cmp eax, 3
ja case.default.0x4f3fcd
jmp dword [eax*4 + 0x4f43a0]
push 0
push esi
call fcn.004f8600
add esp, 8
cmp byte [ebx + 0xb8], 0
jne case.default.0x4f3fcd
cmp dword [ebx + 0x50], 0x1a1
jne 0x4f4066
cmp byte [esi + 0xd5b], 0
je 0x4f4066
mov eax, dword [ebx + 0x18]
or eax, dword [ebx + 0x1c]
jne 0x4f401c
cmp dword [ebx + 0x68], 1
jne 0x4f401c
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.004e1030
add esp, 8
jmp 0x4f4041
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.004e1030
push 2
push ebp
call fcn.00508480
push ebp
push esi
call fcn.004f49a0
add esp, 0x18
test eax, eax
jne 0x4f4115
push dword [esi + 0xca4]
mov byte [esi + 0xd5c], 1
call dword [0x6211ec]
push ebx
push esi
mov dword [esi + 0x110], eax
call fcn.00501110
add esp, 0xc
jmp case.default.0x4f3fcd
cmp byte [esi + 0x6c3], 0
je 0x4f4090
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.004e1030
add esp, 8
cmp dword [ebx + 0x68], 0
jle case.default.0x4f3fcd
or dword [ebx + 0x54], 2
mov dword [ebx + 0x68], 0
jmp case.default.0x4f3fcd
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.004e1030
push 2
push ebp
call fcn.00508480
push ebx
push esi
call fcn.00501110
add esp, 0x18
test eax, eax
jne 0x4f4115
mov byte [ebx + 0xb8], 1
cmp byte [esi + 0xd5b], al
je case.default.0x4f3fcd
mov dword [ebx + 0x68], 3
cmp byte [esi + 0xd67], 0
je 0x4f40eb
cmp dword [ebp + 0x21c], 0xffffffff
je 0x4f40eb
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.004e1030
add esp, 8
or dword [ebx + 0x54], 2
cmp byte [ebx + 0xb4], 0
je 0x4f4275
lea ebp, [esi + 0x8a8]
push ebp
call fcn.004e1ee0
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x4f3455
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push 2
push edi
call fcn.00508480
add esp, 8
cmp byte [esi + 0x6e5], 0
je 0x4f4383
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.004e0f60
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.004e0f60
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.004e0f60
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.004e0f60
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.004e0f60
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.004e0f60
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.004e1030
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.004e0f60
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 0x4f42a3
mov eax, dword [ebp + 0x200]
test dword [eax + 0x44], 0x40000
je 0x4f42aa
cmp dword [esi + 0x654], 2
jne 0x4f42aa
cmp dword [ebx + 4], 0xffffffff
jg 0x4f42aa
jl 0x4f42a3
cmp dword [ebx], 0xffffffff
ja 0x4f42aa
mov byte [ebx + 0xb7], 1
cmp dword [ebx + 8], 0
jne 0x4f42bd
cmp dword [ebx + 0xc], 0
jne 0x4f42bd
mov byte [ebx + 0xb7], 1
lea eax, [esi + 0x8a8]
push eax
call fcn.004e1ec0
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.004e1ed0
add esp, 4
push eax
push 1
push esi
call fcn.004e0ec0
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.004e0f60
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.004e1e60
add esp, 0xc
test eax, eax
jne 0x4f4115
mov eax, dword [esp + 0x30]
add dword [eax], edi
cmp dword [ebx + 0x44], 0
jne 0x4f4113
push ebp
call fcn.004e1ec0
add esp, 4
push eax
push ebp
call fcn.004e1ed0
mov ebp, dword [esp + 0x2c]
add esp, 4
push eax
push ebp
push esi
call fcn.004f4940
add esp, 0x10
cmp eax, 2
jne 0x4f4113
push eax
push ebp
mov word [ebx + 0xb4], 0x100
call fcn.00508480
add esp, 8
cmp byte [esi + 0x6e5], 0
jne 0x4f4113
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.004e0f60
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret