Function at 0x100460a0
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.1008a550
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10046e67
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.10057ff0
add esp, 0xc
test eax, eax
jne 0x10046f21
cmp dword [esi + 0xd0], eax
jne 0x1004619d
push ebp
call fcn.10058050
push ebp
mov ebx, eax
call fcn.10058060
mov edi, dword [esp + 0x38]
add esp, 8
mov ecx, dword [edi + 0x1e8]
test dword [ecx + 0x44], 0x40000
je 0x10046181
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.1005a500
add esp, 0xc
test eax, eax
cmovne ebp, edi
mov edi, dword [esp + 0x30]
jmp 0x1004618e
push ebx
push eax
push esi
call fcn.100474d0
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x10046ef1
lea ebp, [esi + 0x8b0]
push ebp
call fcn.10058060
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x100466de
cmp cl, 0xd
je 0x100466de
mov ecx, dword [esi + 0xd0]
mov edi, 4
lea eax, [ecx + 1]
mov dword [esi + 0xd0], eax
test ecx, ecx
jne 0x100465be
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x100463e7
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10046210
nop dword [eax]
cmp al, 0x20
je 0x10046208
cmp al, 9
jne 0x10046210
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10046200
push 5
push str.HTTP_
push edi
call fcn.100946c0
add esp, 0xc
test eax, eax
jne 0x100462b9
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x100462fd
sub eax, 1
je 0x10046245
sub eax, 1
jne 0x10046f4d
mov al, byte [edi + 6]
cmp al, 0x20
je 0x10046250
cmp al, 9
jne 0x100462b9
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 0x100462b9
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x100462b9
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x100462b9
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 0x10046390
cmp al, 9
je 0x10046390
cmp al, 0xa
jl 0x100462b9
cmp al, 0xd
jle 0x10046390
lea ebx, [esi + 0x8b0]
push ebx
call fcn.10058050
add esp, 4
push eax
push ebx
call fcn.10058060
add esp, 4
push eax
push esi
call fcn.100474d0
add esp, 0xc
cmp eax, 1
jne 0x10046fd3
lea edi, [ebp + 0x459]
mov dword [esi + 0xe0], 0xc8
mov byte [edi], 0xa
jmp 0x100464c6
cmp byte [edi + 6], 0x2e
jne 0x10046fb8
mov al, byte [edi + 7]
cmp al, 0x30
je 0x10046316
cmp al, 0x31
jne 0x10046fb8
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x10046327
cmp cl, 9
jne 0x10046fb8
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x10046fb8
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x10046fb8
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x10046fb8
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 0x10046390
cmp al, 9
je 0x10046390
sub al, 0xa
cmp al, 3
ja 0x10046fb8
cmp ecx, 0x64
jl 0x10046f9d
mov eax, ebx
sub eax, 0xa
je 0x100463a9
sub eax, 1
jne 0x10046f68
lea edi, [ebp + 0x459]
mov byte [edi], bl
cmp dword [esi + 0xfc], 3
jne 0x100463cd
cmp bl, 0x14
je 0x100463cd
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.10051970
add esp, 8
cmp byte [edi], 0x14
jae 0x100464c6
mov eax, dword [ebp + 0x428]
mov dword [eax], 0xffffffff
jmp 0x100464c6
test eax, 0x40000
je 0x10046fd3
mov al, byte [edx]
mov edi, edx
test al, al
je 0x10046410
nop word [eax + eax]
cmp al, 0x20
je 0x10046408
cmp al, 9
jne 0x10046410
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10046400
push 5
push str.RTSP_
push edi
call fcn.100946c0
add esp, 0xc
test eax, eax
jne 0x10046fd3
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x1004700f
cmp byte [edi + 6], 0x2e
jne 0x1004700f
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x1004700f
mov al, byte [edi + 8]
cmp al, 0x20
je 0x1004645b
cmp al, 9
jne 0x1004700f
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x1004700f
mov bl, byte [edi + 0xa]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x1004700f
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x1004700f
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 0x100464bd
cmp al, 9
je 0x100464bd
sub al, 0xa
cmp al, 3
ja 0x1004700f
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 0x100464eb
cmp cl, al
jbe 0x100464f1
mov byte [esi + 0xd6d], al
mov eax, dword [esi + 0xc58]
or eax, dword [esi + 0xc5c]
je 0x10046517
cmp byte [esi + 0xd6e], 0
jne 0x10046517
cmp edx, 0x1a0
jne 0x10046517
mov byte [esi + 0x145], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x10046535
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.10051970
push 1
push ebp
call fcn.1004f350
add esp, 0x10
jmp 0x10046553
cmp al, 0x14
je 0x10046547
cmp dword [esi + 0xfc], 2
jne 0x10046553
cmp edx, 0x65
jne 0x10046553
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 0x10046584
sub ecx, 0x64
jne 0x100465b3
cmp byte [esi + 0x3c8], cl
je 0x10046584
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.10058060
push ebp
mov ebx, eax
call fcn.10058050
mov ebp, eax
push ebp
push 0
push ebx
call fcn.1008a550
add esp, 0x14
test eax, eax
jne 0x10047000
mov ecx, dword [esi + 0xd0]
cmp ecx, 2
jl 0x10046610
mov al, byte [ebx]
cmp al, 0x20
je 0x100465f7
cmp al, 9
jne 0x100465fc
cmp ecx, 2
jg 0x10046610
push ebp
push 0x3a
push ebx
call fcn.1008a550
add esp, 0xc
test eax, eax
je 0x10046fe4
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
push ebp
push ebx
push esi
call fcn.100450e0
add esp, 0xc
test eax, eax
jne 0x10046f21
mov eax, dword [esi + 0xe0]
sub eax, 0x64
cmp eax, 0x64
jae 0x1004663c
or edi, 0x20
lea ebx, [esi + 0x8b0]
push ebx
call fcn.10058050
push eax
push ebp
push 1
push esi
call fcn.10051800
push ebx
call fcn.10058050
push eax
push ebp
push edi
push esi
call fcn.10051cc0
add esp, 0x28
test eax, eax
jne 0x10046f21
push ebx
call fcn.10058050
mov ecx, dword [esi + 0xc4]
mov edx, eax
mov edi, 0x4b000
add esp, 4
add ecx, edx
cmp edx, edi
jae 0x100466d5
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 0x100466b8
cmp eax, 0x5dc000
jbe 0x10046e2b
mov ecx, eax
mov edi, 0x5dc000
push edi
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.100518a0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
test ecx, ecx
jne 0x100466b8
jmp 0x10046e2b
mov ecx, dword [esi + 0xe0]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x10046782
sub ecx, 0x64
je 0x10046739
sub ecx, 1
je 0x10046718
lea ebx, [esi + 0x142]
mov dword [esi + 0xd0], 0
mov byte [ebx], 1
mov ebp, ebx
mov dword [esp + 0x10], ebx
jmp 0x1004681e
cmp dword [esi + 0xfc], 2
je 0x1004701c
lea eax, [esi + 0x142]
mov byte [eax], 0
mov ebp, eax
mov dword [esp + 0x10], eax
jmp 0x1004681e
cmp dword [esi + 0xf8], 0
lea ebx, [esi + 0x142]
mov dword [esp + 0x10], ebx
mov byte [ebx], 1
mov dword [esi + 0xd0], 0
jle 0x10046779
or dword [esi + 0xe4], 2
push 0
push esi
mov dword [esi + 0xf8], 0
call fcn.10034a00
add esp, 8
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x10]
jmp 0x1004681e
cmp dword [esi + 0xfc], 2
jne 0x10046796
push dword [esi + 0x7c]
call fcn.10034b20
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 0x10046824
cmp byte [esi + 0x147], 0
mov dword [esp + 0x10], ebp
jne 0x10046824
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], ebp
cmp byte [ebx + 0x1ce], 0
jne 0x10046824
cmp byte [ebx + 0x459], 0xb
mov dword [esp + 0x10], ebp
jne 0x10046824
mov eax, dword [ebx + 0x1e8]
mov dword [esp + 0x10], ebp
test dword [eax + 0x44], 0x40000
jne 0x10046824
cmp byte [esi + 0xd6e], 5
mov dword [esp + 0x10], ebp
je 0x10046824
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.10051970
push 2
push ebx
call fcn.1004f350
add esp, 0x10
mov dword [esp + 0x10], ebp
lea edx, [esi + 0x88]
cmp byte [ebp], 0
jne 0x100468b2
cmp byte [esi + 0x148], 0
jne 0x10046897
cmp byte [edx + 0xbf], 0
jne 0x10046897
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x100468b2
mov ebx, dword [esi + 0x4c8]
mov eax, ebx
mov edi, dword [esi + 0x4cc]
or eax, edi
je 0x10046872
cmp edx, edi
jg 0x10047052
jl 0x10046872
cmp ecx, ebx
ja 0x10047052
push edx
push ecx
push esi
call fcn.10050400
mov eax, dword [esi + 0x88]
add esp, 0xc
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
jmp 0x100468b2
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 0x10046946
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
jne 0x100468db
cmp dword [ebx + 0x258], 2
je 0x100468eb
jmp 0x10046900
cmp eax, 0x197
jne 0x10046900
cmp dword [ebx + 0x25c], 2
jne 0x10046900
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.10051970
add esp, 8
mov byte [esi + 0xd75], 1
cmp byte [ebx + 0x1ce], 0
je 0x10046946
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
jne 0x10046921
cmp dword [ebx + 0x2e0], 1
je 0x10046931
jmp 0x10046946
cmp eax, 0x197
jne 0x10046946
cmp dword [ebx + 0x2e4], 1
jne 0x10046946
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.10051970
add esp, 8
mov byte [esi + 0xd75], 1
cmp dword [ebx + 0x2e0], 3
jne 0x10046965
cmp dword [esi + 0xe0], 0x191
je 0x10046965
mov dword [ebx + 0x2e0], 4
cmp dword [ebx + 0x2e4], 3
jne 0x10046984
cmp dword [esi + 0xe0], 0x197
je 0x10046984
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.10058050
add esp, 4
mov dword [esp + 0x18], eax
push eax
lea eax, [esi + 0x8b0]
push eax
call fcn.10058060
add esp, 4
push eax
push edi
push esi
call fcn.10051cc0
add esp, 0x10
test eax, eax
jne 0x10046f21
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
mov edi, dword [esp + 0x18]
add ecx, edi
cmp edi, edx
jae 0x10046a35
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 0x10046a18
cmp edi, 0x5dc000
jbe 0x10046a39
mov ecx, edi
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.100518a0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
test ecx, ecx
jne 0x10046a18
mov edi, dword [esi + 0xe0]
push esi
call fcn.100478d0
add esp, 4
test al, al
jne 0x100470f1
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x10046a69
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc8], eax
jmp 0x10046c6d
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 0x10046aab
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x6ca], dl
cmovne edi, eax
jmp 0x10046c61
cmp dword [esi + 0xd5c], 0
jne 0x10046aba
mov bl, dl
test eax, eax
je 0x10046b21
cmp edi, 0x191
je 0x10046ad5
cmp byte [ebp + 0x1d8], 0
mov bl, dl
je 0x10046b21
cmp edi, 0x12c
jge 0x10046b21
push ecx
lea eax, [esi + 0x970]
push eax
call fcn.10047cc0
mov bl, al
add esp, 8
test bl, bl
jne 0x10046af2
mov byte [esi + 0xd75], 1
cmp dword [esi + 0x974], 8
jne 0x10046b21
cmp byte [ebp + 0x459], 0xb
jbe 0x10046b21
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.10051970
push 1
push ebp
call fcn.1004f350
add esp, 0x10
mov byte [esi + 0xd6c], 2
mov dl, byte [esp + 0x2c]
mov al, dl
cmp byte [ebp + 0x1ca], al
je 0x10046b69
mov ecx, dword [esi + 0xe0]
cmp ecx, 0x197
je 0x10046b4d
cmp byte [ebp + 0x1d8], al
je 0x10046b69
cmp ecx, 0x12c
jge 0x10046b69
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.10047cc0
add esp, 8
test al, al
jne 0x10046b69
mov byte [esi + 0xd75], 1
test bl, bl
jne 0x10046bd7
test al, al
jne 0x10046bd7
xor edi, edi
cmp dword [esi + 0xe0], 0x12c
jge 0x10046c37
cmp byte [esi + 0x97c], al
jne 0x10046c37
cmp byte [ebp + 0x1d8], al
je 0x10046c37
mov al, byte [esi + 0xd6e]
test al, al
je 0x10046c37
cmp al, 5
je 0x10046c37
push dword [esi + 0xcc4]
call dword [0x100d8134]
add esp, 4
mov dword [esi + 0x118], eax
test eax, eax
je 0x100470e2
mov byte [esi + 0x97c], 1
jmp 0x10046c37
mov al, byte [esi + 0xd6e]
xor edi, edi
test al, al
je 0x10046c04
cmp al, 5
je 0x10046c04
cmp byte [esi + 0xd83], 0
jne 0x10046c04
push ebp
push esi
call fcn.100476b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x100470e7
push dword [esi + 0x118]
call dword [0x100d812c]
push dword [esi + 0xcc4]
mov dword [esi + 0x118], 0
call dword [0x100d8134]
add esp, 8
mov dword [esi + 0x118], eax
test eax, eax
je 0x100470e2
push esi
call fcn.100478d0
add esp, 4
test al, al
je 0x10046c5d
push dword [esi + 0xe0]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.100518a0
add esp, 0xc
mov edi, 0x16
mov ebx, dword [esp + 0x30]
test edi, edi
jne 0x100470e7
mov ebp, dword [esp + 0x10]
cmp dword [esi + 0xe0], 0x12c
jl 0x10046e15
cmp byte [ebx + 0x1d8], 0
jne case.default.0x10046cb5
cmp byte [ebx + 0x1ce], 0
jne case.default.0x10046cb5
cmp byte [esi + 0xd83], 0
jne case.default.0x10046cb5
movzx eax, byte [esi + 0xd6e]
dec eax
cmp eax, 3
ja case.default.0x10046cb5
jmp dword [eax*4 + 0x10047110]
push 0
push esi
call fcn.10034a00
add esp, 8
cmp byte [esi + 0x144], 0
jne case.default.0x10046cb5
cmp dword [esi + 0xe0], 0x1a1
jne 0x10046d67
cmp byte [esi + 0xd77], 0
je 0x10046d67
mov eax, dword [esi + 0xa0]
or eax, dword [esi + 0xa4]
jne 0x10046d14
cmp dword [esi + 0xf8], 1
jne 0x10046d14
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.10051970
add esp, 8
jmp 0x10046d39
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.10051970
push 2
push ebx
call fcn.1004f350
push ebx
push esi
call fcn.100476b0
add esp, 0x18
test eax, eax
jne 0x10046f21
push dword [esi + 0xcc4]
mov byte [esi + 0xd78], 1
call dword [0x100d8134]
lea edi, [esi + 0x88]
mov dword [esi + 0x118], eax
push edi
push esi
call fcn.1003c000
add esp, 0xc
jmp 0x10046dec
cmp byte [esi + 0x6cb], 0
je 0x10046da0
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.10051970
add esp, 8
lea edi, [esi + 0x88]
cmp dword [esi + 0xf8], 0
jle 0x10046dec
or dword [esi + 0xe4], 2
mov dword [esi + 0xf8], 0
jmp 0x10046dec
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.10051970
push 2
push ebx
call fcn.1004f350
lea edi, [esi + 0x88]
push edi
push esi
call fcn.1003c000
add esp, 0x18
test eax, eax
jne 0x10046f21
mov byte [esi + 0x144], 1
cmp byte [esi + 0xd77], al
je 0x10046dec
mov dword [esi + 0xf8], 3
jmp 0x10046dec
lea edi, [esi + 0x88]
cmp byte [esi + 0xd83], 0
je 0x10046e1b
cmp dword [ebx + 0x204], 0xffffffff
je 0x10046e1b
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.10051970
add esp, 8
or dword [esi + 0xe4], 2
jmp 0x10046e1b
lea edi, [esi + 0x88]
cmp byte [ebp], 0
je 0x1004706d
lea ebx, [esi + 0x8b0]
push ebx
call fcn.10058070
mov edi, dword [esi + 0xd4]
add esp, 4
cmp byte [edi], 0
je 0x10046f1f
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.1008a550
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x100460f0
push ebp
push dword [esp + 0x18]
lea ebx, [esi + 0x8b0]
push ebx
call fcn.10057ff0
add esp, 0xc
test eax, eax
jne 0x10046f21
cmp dword [esi + 0xd0], eax
jne 0x10046f1f
push ebx
call fcn.10058050
add esp, 4
push eax
push ebx
call fcn.10058060
mov ebx, dword [esp + 0x38]
add esp, 4
push eax
push ebx
push esi
call fcn.10047580
add esp, 0x10
cmp eax, 2
jne 0x10046f1f
push eax
push ebx
mov byte [esi + 0x142], 0
mov dword [esi + 0xcc], eax
call fcn.1004f350
add esp, 8
cmp byte [esi + 0x6ed], 0
jne 0x10046f1f
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.100518a0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 2
push edi
call fcn.1004f350
add esp, 8
cmp byte [esi + 0x6ed], 0
je 0x10046ed6
mov eax, dword [esp + 0x34]
mov byte [esi + 0x142], 0
cmp dword [eax], 0
je 0x10046f29
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.100518a0
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.100518a0
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.100518a0
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.100518a0
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.100518a0
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.100518a0
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.10051970
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.100518a0
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 0x1004709f
mov eax, dword [ebx + 0x1e8]
test dword [eax + 0x44], 0x40000
je 0x100470a2
cmp dword [esi + 0x660], 2
jne 0x100470a2
cmp dword [edi + 4], 0xffffffff
jg 0x100470a2
jl 0x1004709f
cmp dword [edi], 0xffffffff
ja 0x100470a2
mov byte [ecx], 1
cmp dword [esi + 0x90], 0
jne 0x100470b9
cmp dword [esi + 0x94], 0
jne 0x100470b9
mov byte [ecx], 1
jmp 0x100470be
cmp byte [ecx], 0
je 0x100470c5
and dword [esi + 0xe4], 0xfffffffe
push dword [esp + 0x18]
push dword [esp + 0x18]
push 1
push esi
call fcn.10051800
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.100518a0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret