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

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov ecx, dword [eax]
mov ebx, ecx
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
push ecx
push 0xa
mov edx, dword [esi + 0xd4]
mov edi, edx
mov eax, edx
mov dword [esp + 0x28], ecx
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
call fcn.1008b1c0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10047ac7
mov dword [esp + 0x1c], 0xffffffff
nop dword [eax]
mov edx, dword [esp + 0x34]
lea eax, [ebx - 1]
sub edi, ecx
lea ebp, [esi + 0x8b0]
add eax, edi
mov dword [edx], eax
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xd4], eax
sub eax, ecx
push eax
push ecx
push ebp
call fcn.10058c40
add esp, 0xc
test eax, eax
jne 0x10047b81
cmp dword [esi + 0xd0], eax
jne 0x10046dfd
push ebp
call fcn.10058ca0
push ebp
mov ebx, eax
call fcn.10058cb0
mov edi, dword [esp + 0x38]
add esp, 8
mov ecx, dword [edi + 0x1e8]
test dword [ecx + 0x44], 0x40000
je 0x10046de1
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.1005b150
add esp, 0xc
test eax, eax
cmovne ebp, edi
mov edi, dword [esp + 0x30]
jmp 0x10046dee
push ebx
push eax
push esi
call fcn.10048130
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x10047b51
lea ebp, [esi + 0x8b0]
push ebp
call fcn.10058cb0
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x1004733e
cmp cl, 0xd
je 0x1004733e
mov ecx, dword [esi + 0xd0]
mov edi, 4
lea eax, [ecx + 1]
mov dword [esi + 0xd0], eax
test ecx, ecx
jne 0x1004721e
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x10047047
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10046e70
nop dword [eax]
cmp al, 0x20
je 0x10046e68
cmp al, 9
jne 0x10046e70
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10046e60
push 5
push str.HTTP_
push edi
call fcn.10095330
add esp, 0xc
test eax, eax
jne 0x10046f19
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x10046f5d
sub eax, 1
je 0x10046ea5
sub eax, 1
jne 0x10047bad
mov al, byte [edi + 6]
cmp al, 0x20
je 0x10046eb0
cmp al, 9
jne 0x10046f19
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 0x10046f19
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x10046f19
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x10046f19
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 + 0xe0], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x10046ff0
cmp al, 9
je 0x10046ff0
cmp al, 0xa
jl 0x10046f19
cmp al, 0xd
jle 0x10046ff0
lea ebx, [esi + 0x8b0]
push ebx
call fcn.10058ca0
add esp, 4
push eax
push ebx
call fcn.10058cb0
add esp, 4
push eax
push esi
call fcn.10048130
add esp, 0xc
cmp eax, 1
jne 0x10047c33
lea edi, [ebp + 0x459]
mov dword [esi + 0xe0], 0xc8
mov byte [edi], 0xa
jmp 0x10047126
cmp byte [edi + 6], 0x2e
jne 0x10047c18
mov al, byte [edi + 7]
cmp al, 0x30
je 0x10046f76
cmp al, 0x31
jne 0x10047c18
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x10046f87
cmp cl, 9
jne 0x10047c18
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x10047c18
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x10047c18
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x10047c18
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 + 0xe0], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x10046ff0
cmp al, 9
je 0x10046ff0
sub al, 0xa
cmp al, 3
ja 0x10047c18
cmp ecx, 0x64
jl 0x10047bfd
mov eax, ebx
sub eax, 0xa
je 0x10047009
sub eax, 1
jne 0x10047bc8
lea edi, [ebp + 0x459]
mov byte [edi], bl
cmp dword [esi + 0xfc], 3
jne 0x1004702d
cmp bl, 0x14
je 0x1004702d
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.100525c0
add esp, 8
cmp byte [edi], 0x14
jae 0x10047126
mov eax, dword [ebp + 0x428]
mov dword [eax], 0xffffffff
jmp 0x10047126
test eax, 0x40000
je 0x10047c33
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10047070
nop word [eax + eax]
cmp al, 0x20
je 0x10047068
cmp al, 9
jne 0x10047070
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10047060
push 5
push str.RTSP_
push edi
call fcn.10095330
add esp, 0xc
test eax, eax
jne 0x10047c33
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x10047c6f
cmp byte [edi + 6], 0x2e
jne 0x10047c6f
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x10047c6f
mov al, byte [edi + 8]
cmp al, 0x20
je 0x100470bb
cmp al, 9
jne 0x10047c6f
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x10047c6f
mov bl, byte [edi + 0xa]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x10047c6f
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x10047c6f
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 + 0xe0], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x1004711d
cmp al, 9
je 0x1004711d
sub al, 0xa
cmp al, 3
ja 0x10047c6f
lea edi, [ebp + 0x459]
mov byte [edi], 0xb
mov edx, dword [esi + 0xe0]
mov cl, byte [esi + 0xd6d]
mov dword [esi + 0xd90], edx
movzx eax, byte [edi]
mov dword [esi + 0xd98], eax
mov al, byte [edi]
test cl, cl
je 0x1004714b
cmp cl, al
jbe 0x10047151
mov byte [esi + 0xd6d], al
mov eax, dword [esi + 0xc58]
or eax, dword [esi + 0xc5c]
je 0x10047177
cmp byte [esi + 0xd6e], 0
jne 0x10047177
cmp edx, 0x1a0
jne 0x10047177
mov byte [esi + 0x145], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x10047195
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.100525c0
push 1
push ebp
call fcn.1004ffa0
add esp, 0x10
jmp 0x100471b3
cmp al, 0x14
je 0x100471a7
cmp dword [esi + 0xfc], 2
jne 0x100471b3
cmp edx, 0x65
jne 0x100471b3
mov eax, dword [ebp + 0x428]
mov dword [eax], 2
mov ecx, dword [esi + 0xe0]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x146], al
sub ecx, 0xcc
je 0x100471e4
sub ecx, 0x64
jne 0x10047213
cmp byte [esi + 0x3c8], cl
je 0x100471e4
mov byte [esi + 0xe54], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x146], 1
mov edi, 0xc
lea ebp, [esi + 0x8b0]
push ebp
call fcn.10058cb0
push ebp
mov ebx, eax
call fcn.10058ca0
mov ebp, eax
push ebp
push 0
push ebx
call fcn.1008b1c0
add esp, 0x14
test eax, eax
jne 0x10047c60
mov ecx, dword [esi + 0xd0]
cmp ecx, 2
jl 0x10047270
mov al, byte [ebx]
cmp al, 0x20
je 0x10047257
cmp al, 9
jne 0x1004725c
cmp ecx, 2
jg 0x10047270
push ebp
push 0x3a
push ebx
call fcn.1008b1c0
add esp, 0xc
test eax, eax
je 0x10047c44
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
push ebp
push ebx
push esi
call fcn.10045d40
add esp, 0xc
test eax, eax
jne 0x10047b81
mov eax, dword [esi + 0xe0]
sub eax, 0x64
cmp eax, 0x64
jae 0x1004729c
or edi, 0x20
lea ebx, [esi + 0x8b0]
push ebx
call fcn.10058ca0
push eax
push ebp
push 1
push esi
call fcn.10052450
push ebx
call fcn.10058ca0
push eax
push ebp
push edi
push esi
call fcn.10052910
add esp, 0x28
test eax, eax
jne 0x10047b81
push ebx
call fcn.10058ca0
mov ecx, dword [esi + 0xc4]
mov edx, eax
mov edi, 0x4b000
add esp, 4
add ecx, edx
cmp edx, edi
jae 0x10047335
mov eax, dword [esi + 0xdd0]
add dword [esi + 0xc0], edx
add eax, edx
mov dword [esi + 0xdd0], eax
mov dword [esi + 0xc4], ecx
cmp ecx, edi
ja 0x10047318
cmp eax, 0x5dc000
jbe 0x10047a8b
mov ecx, eax
mov edi, 0x5dc000
push edi
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.100524f0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
test ecx, ecx
jne 0x10047318
jmp 0x10047a8b
mov ecx, dword [esi + 0xe0]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x100473e2
sub ecx, 0x64
je 0x10047399
sub ecx, 1
je 0x10047378
lea ebx, [esi + 0x142]
mov dword [esi + 0xd0], 0
mov byte [ebx], 1
mov ebp, ebx
mov dword [esp + 0x10], ebx
jmp 0x1004747e
cmp dword [esi + 0xfc], 2
je 0x10047c7c
lea eax, [esi + 0x142]
mov byte [eax], 0
mov ebp, eax
mov dword [esp + 0x10], eax
jmp 0x1004747e
cmp dword [esi + 0xf8], 0
lea ebx, [esi + 0x142]
mov dword [esp + 0x10], ebx
mov byte [ebx], 1
mov dword [esi + 0xd0], 0
jle 0x100473d9
or dword [esi + 0xe4], 2
push 0
push esi
mov dword [esi + 0xf8], 0
call fcn.10035680
add esp, 8
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x10]
jmp 0x1004747e
cmp dword [esi + 0xfc], 2
jne 0x100473f6
push dword [esi + 0x7c]
call fcn.100357a0
add esp, 4
mov eax, dword [esi + 0x88]
lea edx, [esi + 0x88]
and eax, dword [edx + 4]
lea edi, [esi + 0x142]
mov byte [edi], 0
mov ebp, edi
mov dword [esp + 0x10], ebp
cmp eax, 0xffffffff
jne 0x10047484
cmp byte [esi + 0x147], 0
mov dword [esp + 0x10], ebp
jne 0x10047484
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], ebp
cmp byte [ebx + 0x1ce], 0
jne 0x10047484
cmp byte [ebx + 0x459], 0xb
mov dword [esp + 0x10], ebp
jne 0x10047484
mov eax, dword [ebx + 0x1e8]
mov dword [esp + 0x10], ebp
test dword [eax + 0x44], 0x40000
jne 0x10047484
cmp byte [esi + 0xd6e], 5
mov dword [esp + 0x10], ebp
je 0x10047484
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.100525c0
push 2
push ebx
call fcn.1004ffa0
add esp, 0x10
mov dword [esp + 0x10], ebp
lea edx, [esi + 0x88]
cmp byte [ebp], 0
jne 0x10047512
cmp byte [esi + 0x148], 0
jne 0x100474f7
cmp byte [edx + 0xbf], 0
jne 0x100474f7
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x10047512
mov ebx, dword [esi + 0x4c8]
mov eax, ebx
mov edi, dword [esi + 0x4cc]
or eax, edi
je 0x100474d2
cmp edx, edi
jg 0x10047cb2
jl 0x100474d2
cmp ecx, ebx
ja 0x10047cb2
push edx
push ecx
push esi
call fcn.10051050
mov eax, dword [esi + 0x88]
add esp, 0xc
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
jmp 0x10047512
mov dword [edx + 8], 0xffffffff
mov dword [edx + 0xc], 0xffffffff
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
mov ebx, dword [esp + 0x30]
cmp byte [ebx + 0x1ce], 0
je 0x100475a6
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
jne 0x1004753b
cmp dword [ebx + 0x258], 2
je 0x1004754b
jmp 0x10047560
cmp eax, 0x197
jne 0x10047560
cmp dword [ebx + 0x25c], 2
jne 0x10047560
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.100525c0
add esp, 8
mov byte [esi + 0xd75], 1
cmp byte [ebx + 0x1ce], 0
je 0x100475a6
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
jne 0x10047581
cmp dword [ebx + 0x2e0], 1
je 0x10047591
jmp 0x100475a6
cmp eax, 0x197
jne 0x100475a6
cmp dword [ebx + 0x2e4], 1
jne 0x100475a6
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.100525c0
add esp, 8
mov byte [esi + 0xd75], 1
cmp dword [ebx + 0x2e0], 3
jne 0x100475c5
cmp dword [esi + 0xe0], 0x191
je 0x100475c5
mov dword [ebx + 0x2e0], 4
cmp dword [ebx + 0x2e4], 3
jne 0x100475e4
cmp dword [esi + 0xe0], 0x197
je 0x100475e4
mov dword [ebx + 0x2e4], 4
mov eax, dword [esi + 0xe0]
sub eax, 0x64
cmp eax, 0x64
lea eax, [esi + 0x8b0]
push eax
sbb edi, edi
and edi, 0x20
add edi, 4
call fcn.10058ca0
add esp, 4
mov dword [esp + 0x18], eax
push eax
lea eax, [esi + 0x8b0]
push eax
call fcn.10058cb0
add esp, 4
push eax
push edi
push esi
call fcn.10052910
add esp, 0x10
test eax, eax
jne 0x10047b81
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
mov edi, dword [esp + 0x18]
add ecx, edi
cmp edi, edx
jae 0x10047695
mov eax, dword [esi + 0xc0]
add edi, dword [esi + 0xdd0]
add eax, dword [esp + 0x18]
mov dword [esi + 0xdd0], edi
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc0], eax
cmp ecx, edx
ja 0x10047678
cmp edi, 0x5dc000
jbe 0x10047699
mov ecx, edi
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.100524f0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
test ecx, ecx
jne 0x10047678
mov edi, dword [esi + 0xe0]
push esi
call fcn.10048530
add esp, 4
test al, al
jne 0x10047d51
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x100476c9
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc8], eax
jmp 0x100478cd
mov ebp, dword [esi + 0x18]
xor dl, dl
mov dword [esi + 0xc8], 0
mov ecx, 0xffffffbf
mov eax, dword [esi + 0x5ec]
test eax, eax
mov byte [esp + 0x2c], dl
cmovne ecx, dword [esp + 0x1c]
cmp byte [esi + 0xd75], dl
je 0x1004770b
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x6ca], dl
cmovne edi, eax
jmp 0x100478c1
cmp dword [esi + 0xd5c], 0
jne 0x1004771a
mov bl, dl
test eax, eax
je 0x10047781
cmp edi, 0x191
je 0x10047735
cmp byte [ebp + 0x1d8], 0
mov bl, dl
je 0x10047781
cmp edi, 0x12c
jge 0x10047781
push ecx
lea eax, [esi + 0x970]
push eax
call fcn.10048920
mov bl, al
add esp, 8
test bl, bl
jne 0x10047752
mov byte [esi + 0xd75], 1
cmp dword [esi + 0x974], 8
jne 0x10047781
cmp byte [ebp + 0x459], 0xb
jbe 0x10047781
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.100525c0
push 1
push ebp
call fcn.1004ffa0
add esp, 0x10
mov byte [esi + 0xd6c], 2
mov dl, byte [esp + 0x2c]
mov al, dl
cmp byte [ebp + 0x1ca], al
je 0x100477c9
mov ecx, dword [esi + 0xe0]
cmp ecx, 0x197
je 0x100477ad
cmp byte [ebp + 0x1d8], al
je 0x100477c9
cmp ecx, 0x12c
jge 0x100477c9
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.10048920
add esp, 8
test al, al
jne 0x100477c9
mov byte [esi + 0xd75], 1
test bl, bl
jne 0x10047837
test al, al
jne 0x10047837
xor edi, edi
cmp dword [esi + 0xe0], 0x12c
jge 0x10047897
cmp byte [esi + 0x97c], al
jne 0x10047897
cmp byte [ebp + 0x1d8], al
je 0x10047897
mov al, byte [esi + 0xd6e]
test al, al
je 0x10047897
cmp al, 5
je 0x10047897
push dword [esi + 0xcc4]
call dword [0x100da134]
add esp, 4
mov dword [esi + 0x118], eax
test eax, eax
je 0x10047d42
mov byte [esi + 0x97c], 1
jmp 0x10047897
mov al, byte [esi + 0xd6e]
xor edi, edi
test al, al
je 0x10047864
cmp al, 5
je 0x10047864
cmp byte [esi + 0xd83], 0
jne 0x10047864
push ebp
push esi
call fcn.10048310
mov edi, eax
add esp, 8
test edi, edi
jne 0x10047d47
push dword [esi + 0x118]
call dword [0x100da12c]
push dword [esi + 0xcc4]
mov dword [esi + 0x118], 0
call dword [0x100da134]
add esp, 8
mov dword [esi + 0x118], eax
test eax, eax
je 0x10047d42
push esi
call fcn.10048530
add esp, 4
test al, al
je 0x100478bd
push dword [esi + 0xe0]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.100524f0
add esp, 0xc
mov edi, 0x16
mov ebx, dword [esp + 0x30]
test edi, edi
jne 0x10047d47
mov ebp, dword [esp + 0x10]
cmp dword [esi + 0xe0], 0x12c
jl 0x10047a75
cmp byte [ebx + 0x1d8], 0
jne case.default.0x10047915
cmp byte [ebx + 0x1ce], 0
jne case.default.0x10047915
cmp byte [esi + 0xd83], 0
jne case.default.0x10047915
movzx eax, byte [esi + 0xd6e]
dec eax
cmp eax, 3
ja case.default.0x10047915
jmp dword [eax*4 + 0x10047d70]
push 0
push esi
call fcn.10035680
add esp, 8
cmp byte [esi + 0x144], 0
jne case.default.0x10047915
cmp dword [esi + 0xe0], 0x1a1
jne 0x100479c7
cmp byte [esi + 0xd77], 0
je 0x100479c7
mov eax, dword [esi + 0xa0]
or eax, dword [esi + 0xa4]
jne 0x10047974
cmp dword [esi + 0xf8], 1
jne 0x10047974
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.100525c0
add esp, 8
jmp 0x10047999
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.100525c0
push 2
push ebx
call fcn.1004ffa0
push ebx
push esi
call fcn.10048310
add esp, 0x18
test eax, eax
jne 0x10047b81
push dword [esi + 0xcc4]
mov byte [esi + 0xd78], 1
call dword [0x100da134]
lea edi, [esi + 0x88]
mov dword [esi + 0x118], eax
push edi
push esi
call fcn.1003cc60
add esp, 0xc
jmp 0x10047a4c
cmp byte [esi + 0x6cb], 0
je 0x10047a00
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.100525c0
add esp, 8
lea edi, [esi + 0x88]
cmp dword [esi + 0xf8], 0
jle 0x10047a4c
or dword [esi + 0xe4], 2
mov dword [esi + 0xf8], 0
jmp 0x10047a4c
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.100525c0
push 2
push ebx
call fcn.1004ffa0
lea edi, [esi + 0x88]
push edi
push esi
call fcn.1003cc60
add esp, 0x18
test eax, eax
jne 0x10047b81
mov byte [esi + 0x144], 1
cmp byte [esi + 0xd77], al
je 0x10047a4c
mov dword [esi + 0xf8], 3
jmp 0x10047a4c
lea edi, [esi + 0x88]
cmp byte [esi + 0xd83], 0
je 0x10047a7b
cmp dword [ebx + 0x204], 0xffffffff
je 0x10047a7b
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.100525c0
add esp, 8
or dword [esi + 0xe4], 2
jmp 0x10047a7b
lea edi, [esi + 0x88]
cmp byte [ebp], 0
je 0x10047ccd
lea ebx, [esi + 0x8b0]
push ebx
call fcn.10058cc0
mov edi, dword [esi + 0xd4]
add esp, 4
cmp byte [edi], 0
je 0x10047b7f
mov ecx, dword [esp + 0x34]
mov eax, edi
mov dword [esp + 0x14], eax
mov ebx, dword [ecx]
mov ebp, ebx
push ebx
push 0xa
push eax
call fcn.1008b1c0
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x10046d50
push ebp
push dword [esp + 0x18]
lea ebx, [esi + 0x8b0]
push ebx
call fcn.10058c40
add esp, 0xc
test eax, eax
jne 0x10047b81
cmp dword [esi + 0xd0], eax
jne 0x10047b7f
push ebx
call fcn.10058ca0
add esp, 4
push eax
push ebx
call fcn.10058cb0
mov ebx, dword [esp + 0x38]
add esp, 4
push eax
push ebx
push esi
call fcn.100481e0
add esp, 0x10
cmp eax, 2
jne 0x10047b7f
push eax
push ebx
mov byte [esi + 0x142], 0
mov dword [esi + 0xcc], eax
call fcn.1004ffa0
add esp, 8
cmp byte [esi + 0x6ed], 0
jne 0x10047b7f
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.100524f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 2
push edi
call fcn.1004ffa0
add esp, 8
cmp byte [esi + 0x6ed], 0
je 0x10047b36
mov eax, dword [esp + 0x34]
mov byte [esi + 0x142], 0
cmp dword [eax], 0
je 0x10047b89
mov dword [esi + 0xcc], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xcc], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
pop edi
mov dword [esi + 0xd4], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.100524f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
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.100524f0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Unsupported_response_code_in_HTTP_response
push esi
call fcn.100524f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.100524f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
pop edi
mov byte [esi + 0x142], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, str.Header_without_colon
push eax
push esi
call fcn.100524f0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.100524f0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x18
ret
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.100525c0
add esp, 8
mov dword [esi + 0xfc], 3
mov byte [esi + 0x142], 1
mov eax, 1
mov dword [esi + 0xd0], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.100524f0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp byte [esi + 0x14c], 0
mov ecx, dword [esp + 0x38]
jne 0x10047cff
mov eax, dword [ebx + 0x1e8]
test dword [eax + 0x44], 0x40000
je 0x10047d02
cmp dword [esi + 0x660], 2
jne 0x10047d02
cmp dword [edi + 4], 0xffffffff
jg 0x10047d02
jl 0x10047cff
cmp dword [edi], 0xffffffff
ja 0x10047d02
mov byte [ecx], 1
cmp dword [esi + 0x90], 0
jne 0x10047d19
cmp dword [esi + 0x94], 0
jne 0x10047d19
mov byte [ecx], 1
jmp 0x10047d1e
cmp byte [ecx], 0
je 0x10047d25
and dword [esi + 0xe4], 0xfffffffe
push dword [esp + 0x18]
push dword [esp + 0x18]
push 1
push esi
call fcn.10052450
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push edi
push str.The_requested_URL_returned_error:__d
push esi
call fcn.100524f0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret