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

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
mov byte [esp + 0x28], 0
mov ebp, dword [esi + 0x18]
lea ebx, [esi + 0x88]
mov dword [esp + 0x14], ebp
mov dword [ecx], 0
nop dword [eax + eax]
push eax
push 0xa
push dword [esp + 0x34]
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1006bac6
mov eax, dword [esp + 0x2c]
sub edi, eax
inc edi
push edi
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f1b0
add esp, 0xc
test eax, eax
jne 0x1006b919
mov eax, dword [esp + 0x34]
sub dword [esp + 0x30], edi
add dword [esp + 0x2c], edi
add dword [eax], edi
cmp dword [ebx + 0x44], 0
jne 0x1006ac9f
lea edi, [esi + 0x8a8]
push edi
call fcn.1004f210
push edi
mov ebp, eax
call fcn.1004f220
mov edi, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [edi + 0x1c8]
test dword [ecx + 0x44], 0x40000
je 0x1006ac87
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.1004d930
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
mov edi, dword [esp + 0x14]
jmp 0x1006ac92
push ebp
push eax
push esi
call fcn.1006a880
add esp, 0xc
cmp eax, 2
je 0x1006b921
mov ebp, dword [esp + 0x14]
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f220
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x1006b206
cmp cl, 0xd
je 0x1006b206
mov ecx, dword [ebx + 0x44]
lea ebp, [esi + 0x8a8]
mov edi, 4
lea eax, [ecx + 1]
mov dword [ebx + 0x44], eax
test ecx, ecx
jne 0x1006b0bb
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x1006aefa
mov al, byte [edx]
mov edi, edx
test al, al
je 0x1006ad11
cmp al, 0x20
je 0x1006ad09
cmp al, 9
jne 0x1006ad11
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1006ad01
push 5
push str.HTTP_
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x1006adc3
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x1006ae0a
sub eax, 1
je 0x1006ad46
sub eax, 1
jne 0x1006b944
mov al, byte [edi + 6]
cmp al, 0x20
je 0x1006ad51
cmp al, 9
jne 0x1006adc3
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 + 0x1c], edx
cmp al, 9
ja 0x1006adc3
mov al, byte [edi + 8]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x1006adc3
mov al, byte [edi + 9]
mov byte [esp + 0x12], al
sub al, 0x30
cmp al, 9
ja 0x1006adc3
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x13]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x12]
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [ebx + 0x50], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x1006aea6
cmp al, 9
je 0x1006aea6
cmp al, 0xa
jl 0x1006adc3
cmp al, 0xd
jle 0x1006aea6
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f210
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f220
add esp, 4
push eax
push esi
call fcn.1006a880
add esp, 0xc
cmp eax, 1
jne 0x1006b9ce
lea edi, [ebp + 0x438]
mov dword [ebx + 0x50], 0xc8
mov byte [edi], 0xa
jmp 0x1006afd3
cmp byte [edi + 6], 0x2e
jne 0x1006b9b3
mov al, byte [edi + 7]
cmp al, 0x30
je 0x1006ae23
cmp al, 0x31
jne 0x1006b9b3
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x1006ae34
cmp cl, 9
jne 0x1006b9b3
mov cl, byte [edi + 9]
movsx edx, al
mov al, cl
sub edx, 0x26
sub al, 0x30
mov dword [esp + 0x1c], edx
cmp al, 9
ja 0x1006b9b3
mov al, byte [edi + 0xa]
mov byte [esp + 0x13], al
sub al, 0x30
cmp al, 9
ja 0x1006b9b3
mov al, byte [edi + 0xb]
mov byte [esp + 0x12], al
sub al, 0x30
cmp al, 9
ja 0x1006b9b3
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x13]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, byte [esp + 0x12]
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [ebx + 0x50], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x1006aea6
cmp al, 9
je 0x1006aea6
sub al, 0xa
cmp al, 3
ja 0x1006b9b3
cmp ecx, 0x64
jl 0x1006b998
mov eax, edx
sub eax, 0xa
je 0x1006aebf
sub eax, 1
jne 0x1006b95f
lea edi, [ebp + 0x438]
mov byte [edi], dl
cmp dword [ebx + 0x6c], 3
jne 0x1006aee0
cmp dl, 0x14
je 0x1006aee0
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.1005e3b0
add esp, 8
cmp byte [edi], 0x14
jae 0x1006afd3
mov eax, dword [ebp + 0x408]
mov dword [eax], 0xffffffff
jmp 0x1006afd3
test eax, 0x40000
je 0x1006b9ce
mov al, byte [edx]
mov edi, edx
test al, al
je 0x1006af20
nop dword [eax]
cmp al, 0x20
je 0x1006af18
cmp al, 9
jne 0x1006af20
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1006af10
push 5
push str.RTSP_
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x1006b9ce
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x1006ba20
cmp byte [edi + 6], 0x2e
jne 0x1006ba20
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x1006ba20
mov al, byte [edi + 8]
cmp al, 0x20
je 0x1006af6b
cmp al, 9
jne 0x1006ba20
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x1006ba20
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x1006ba20
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x1006ba20
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 0x1006afca
cmp al, 9
je 0x1006afca
sub al, 0xa
cmp al, 3
ja 0x1006ba20
lea edi, [ebp + 0x438]
mov byte [edi], 0xb
mov eax, dword [ebx + 0x50]
mov cl, byte [esi + 0xd71]
mov dword [esi + 0xd98], eax
movzx eax, byte [edi]
mov dword [esi + 0xda0], eax
mov al, byte [edi]
test cl, cl
je 0x1006aff5
cmp cl, al
jbe 0x1006affb
mov byte [esi + 0xd71], al
mov eax, dword [esi + 0xc58]
or eax, dword [esi + 0xc5c]
je 0x1006b022
cmp byte [esi + 0xd72], 0
jne 0x1006b022
cmp dword [ebx + 0x50], 0x1a0
jne 0x1006b022
mov byte [ebx + 0xb8], 1
mov al, byte [ebp + 0x438]
cmp al, 0xa
jne 0x1006b044
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.1005e3b0
push 1
push ebp
call fcn.1005f810
add esp, 0x10
jmp 0x1006b060
cmp al, 0x14
je 0x1006b054
cmp dword [ebx + 0x6c], 2
jne 0x1006b060
cmp dword [ebx + 0x50], 0x65
jne 0x1006b060
mov eax, dword [ebp + 0x408]
mov dword [eax], 2
mov ecx, dword [ebx + 0x50]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [ebx + 0xb9], al
sub ecx, 0xcc
je 0x1006b08e
sub ecx, 0x64
jne 0x1006b0b0
cmp byte [esi + 0x3b8], cl
je 0x1006b08e
mov byte [esi + 0xe5c], 1
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0xb9], 1
mov edi, 0xc
lea ebp, [esi + 0x8a8]
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f220
push ebp
mov dword [esp + 0x24], eax
call fcn.1004f210
mov ebp, dword [esp + 0x24]
push eax
push 0
push ebp
mov dword [esp + 0x34], eax
call sub.VCRUNTIME140.dll_memchr
add esp, 0x14
test eax, eax
jne 0x1006b9f6
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x1006b11f
mov al, byte [ebp]
cmp al, 0x20
je 0x1006b103
cmp al, 9
jne 0x1006b108
cmp ecx, 2
jg 0x1006b11f
push dword [esp + 0x20]
push 0x3a
push ebp
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x1006b9da
push dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
push ebp
push esi
call fcn.10069210
add esp, 0xc
test eax, eax
jne 0x1006b919
mov eax, dword [ebx + 0x50]
sub eax, 0x64
cmp eax, 0x64
jae 0x1006b147
or edi, 0x20
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f210
push eax
push dword [esp + 0x20]
push 1
push esi
call fcn.1005e240
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f210
push eax
push dword [esp + 0x34]
push edi
push esi
call fcn.1005e850
add esp, 0x28
test eax, eax
jne 0x1006b919
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f210
mov ecx, dword [esi + 0xc4]
mov edx, eax
mov edi, 0x4b000
add esp, 4
add ecx, edx
cmp edx, edi
jae 0x1006b1ee
mov eax, dword [esi + 0xdd8]
add dword [esi + 0xc0], edx
add eax, edx
mov dword [esi + 0xdd8], eax
mov dword [esi + 0xc4], ecx
cmp ecx, edi
ja 0x1006b1d1
cmp eax, 0x5dc000
jbe 0x1006b1f2
mov ecx, eax
mov edi, 0x5dc000
push edi
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.1005e2e0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
test ecx, ecx
jne 0x1006b1d1
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f230
add esp, 4
jmp 0x1006b8eb
mov ecx, dword [ebx + 0x50]
xor dl, dl
mov byte [esp + 0x13], dl
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x1006b2a8
sub ecx, 0x64
je 0x1006b278
sub ecx, 1
je 0x1006b238
mov byte [ebx + 0xb3], 1
mov dword [ebx + 0x44], 0
jmp 0x1006b313
cmp byte [ebp + 0x438], 0xb
jne 0x1006ba12
cmp dword [ebx + 0x6c], 2
jne 0x1006b26d
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.1005e3b0
mov dl, 1
mov dword [ebx + 0x6c], 3
add esp, 8
mov dword [ebx + 0x44], 0
mov byte [esp + 0x13], dl
mov byte [ebx + 0xb3], dl
jmp 0x1006b313
cmp dword [ebx + 0x68], 0
mov byte [ebx + 0xb3], 1
mov dword [ebx + 0x44], 0
jle 0x1006b313
or dword [ebx + 0x54], 2
push 0
push esi
mov dword [ebx + 0x68], 0
call fcn.1004f9b0
add esp, 8
jmp 0x1006b313
cmp dword [ebx + 0x6c], 2
jne 0x1006b2b9
push dword [esi + 0x7c]
call fcn.1004fad0
add esp, 4
mov eax, dword [ebx]
and eax, dword [ebx + 4]
mov byte [ebx + 0xb3], 0
cmp eax, 0xffffffff
jne 0x1006b313
cmp byte [ebx + 0xba], 0
jne 0x1006b313
cmp byte [ebp + 0x1ae], 0
jne 0x1006b313
cmp byte [ebp + 0x438], 0xb
jne 0x1006b313
mov eax, dword [ebp + 0x1c8]
test dword [eax + 0x44], 0x40000
jne 0x1006b313
cmp byte [esi + 0xd72], 5
je 0x1006b313
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.1005e3b0
push 2
push ebp
call fcn.1005f810
add esp, 0x10
cmp byte [ebx + 0xb3], 0
jne 0x1006b393
cmp byte [esi + 0x143], 0
jne 0x1006b378
cmp byte [ebx + 0xba], 0
jne 0x1006b378
mov ecx, dword [ebx]
mov eax, ecx
mov edx, dword [ebx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x1006b393
mov ebp, dword [esi + 0x4b8]
mov eax, ebp
mov edi, dword [esi + 0x4bc]
or eax, edi
je 0x1006b360
cmp edx, edi
jg 0x1006ba2d
jl 0x1006b360
cmp ecx, ebp
ja 0x1006ba2d
push edx
push ecx
push esi
call fcn.1006d190
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
jmp 0x1006b393
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov ebp, dword [esp + 0x14]
cmp byte [ebp + 0x1ae], 0
je 0x1006b427
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x1006b3bc
cmp dword [ebp + 0x238], 2
je 0x1006b3cc
jmp 0x1006b3e1
cmp eax, 0x197
jne 0x1006b3e1
cmp dword [ebp + 0x23c], 2
jne 0x1006b3e1
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.1005e3b0
add esp, 8
mov byte [esi + 0xd79], 1
cmp byte [ebp + 0x1ae], 0
je 0x1006b427
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x1006b402
cmp dword [ebp + 0x2c0], 1
je 0x1006b412
jmp 0x1006b427
cmp eax, 0x197
jne 0x1006b427
cmp dword [ebp + 0x2c4], 1
jne 0x1006b427
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.1005e3b0
add esp, 8
mov byte [esi + 0xd79], 1
cmp dword [ebp + 0x2c0], 3
jne 0x1006b446
cmp dword [esi + 0xd8], 0x191
je 0x1006b446
mov dword [ebp + 0x2c0], 4
cmp dword [ebp + 0x2c4], 3
jne 0x1006b465
cmp dword [esi + 0xd8], 0x197
je 0x1006b465
mov dword [ebp + 0x2c4], 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.1004f210
add esp, 4
lea ecx, [esi + 0x8a8]
mov ebp, eax
push ebp
push ecx
call fcn.1004f220
add esp, 4
push eax
push edi
push esi
call fcn.1005e850
add esp, 0x10
test eax, eax
jne 0x1006b919
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebp
cmp ebp, edx
jae 0x1006b505
mov edi, dword [esi + 0xdd8]
add dword [esi + 0xc0], ebp
add edi, ebp
mov dword [esi + 0xdd8], edi
mov dword [esi + 0xc4], ecx
cmp ecx, edx
ja 0x1006b4e8
cmp edi, 0x5dc000
jbe 0x1006b509
mov ecx, edi
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.1005e2e0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
test ecx, ecx
jne 0x1006b4e8
mov edi, dword [ebx + 0x50]
push esi
call fcn.1006bb70
add esp, 4
test al, al
jne 0x1006baaa
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x1006b52d
mov eax, dword [esi + 0xc0]
jmp 0x1006b52f
xor eax, eax
mov ebp, dword [esi + 0x18]
xor edi, edi
mov dword [esi + 0xc8], eax
mov edx, 0xffffffff
mov ecx, dword [esi + 0x5dc]
mov eax, 0xffffffbf
test ecx, ecx
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
cmovne eax, edx
mov edx, dword [esi + 0xd8]
mov dword [esp + 0x20], eax
lea eax, [edx - 0x64]
cmp eax, 0x63
jbe 0x1006b759
cmp byte [esi + 0xd79], 0
lea eax, [esi + 0xd79]
mov dword [esp + 0x18], eax
je 0x1006b596
cmp byte [esi + 0x6ba], 0
mov eax, 0x16
cmovne edi, eax
jmp 0x1006b751
cmp dword [esi + 0xd60], edi
jne 0x1006b5a8
test ecx, ecx
je 0x1006b616
lea eax, [esi + 0xd79]
cmp edx, 0x191
je 0x1006b5c5
cmp byte [ebp + 0x1b8], 0
je 0x1006b616
mov dword [esp + 0x18], eax
cmp edx, 0x12c
jge 0x1006b616
push dword [esp + 0x20]
lea eax, [esi + 0x970]
push eax
call fcn.1006bf00
add esp, 8
mov byte [esp + 0x12], al
test al, al
jne 0x1006b5e7
mov ecx, dword [esp + 0x18]
mov byte [ecx], 1
cmp dword [esi + 0x974], 8
jne 0x1006b616
cmp byte [ebp + 0x438], 0xb
jbe 0x1006b616
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.1005e3b0
push 1
push ebp
call fcn.1005f810
add esp, 0x10
mov byte [esi + 0xd70], 2
cmp byte [ebp + 0x1aa], 0
je 0x1006b65a
mov eax, dword [esi + 0xd8]
cmp eax, 0x197
je 0x1006b63c
cmp byte [ebp + 0x1b8], 0
je 0x1006b65a
cmp eax, 0x12c
jge 0x1006b65a
lea eax, [esi + 0x980]
push 0xffffffffffffffbf
push eax
call fcn.1006bf00
add esp, 8
test al, al
jne 0x1006b65e
mov byte [esi + 0xd79], 1
jmp 0x1006b65e
mov al, byte [esp + 0x11]
cmp byte [esp + 0x12], 0
jne 0x1006b6cd
test al, al
jne 0x1006b6cd
cmp dword [esi + 0xd8], 0x12c
jge 0x1006b72b
cmp byte [esi + 0x97c], al
jne 0x1006b72b
cmp byte [ebp + 0x1b8], al
je 0x1006b72b
mov al, byte [esi + 0xd72]
test al, al
je 0x1006b72b
cmp al, 5
je 0x1006b72b
push dword [esi + 0xcc4]
call dword [0x100b900c]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x1006ba48
mov byte [esi + 0x97c], 1
jmp 0x1006b72b
mov al, byte [esi + 0xd72]
test al, al
je 0x1006b6f8
cmp al, 5
je 0x1006b6f8
cmp byte [esi + 0xd87], 0
jne 0x1006b6f8
push ebp
push esi
call fcn.1006a990
mov edi, eax
add esp, 8
test edi, edi
jne 0x1006ba4d
push dword [esi + 0x110]
call dword [0x100b9004]
push dword [esi + 0xcc4]
mov dword [esi + 0x110], 0
call dword [0x100b900c]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x1006ba48
push esi
call fcn.1006bb70
add esp, 4
test al, al
je 0x1006b751
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.1005e2e0
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x1006ba4d
cmp dword [ebx + 0x50], 0x12c
mov ebp, dword [esp + 0x14]
jl 0x1006b8c4
cmp byte [ebp + 0x1b8], 0
jne case.default.0x1006b7a2
cmp byte [ebp + 0x1ae], 0
jne case.default.0x1006b7a2
cmp byte [esi + 0xd87], 0
jne 0x1006b8a9
movzx eax, byte [esi + 0xd72]
dec eax
cmp eax, 3
ja case.default.0x1006b7a2
jmp dword [eax*4 + 0x1006bb5c]
push 0
push esi
call fcn.1004f9b0
add esp, 8
cmp byte [ebx + 0xb7], 0
jne case.default.0x1006b7a2
cmp dword [ebx + 0x50], 0x1a1
jne 0x1006b83b
cmp byte [esi + 0xd7b], 0
je 0x1006b83b
mov eax, dword [ebx + 0x18]
or eax, dword [ebx + 0x1c]
jne 0x1006b7f1
cmp dword [ebx + 0x68], 1
jne 0x1006b7f1
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.1005e3b0
add esp, 8
jmp 0x1006b816
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.1005e3b0
push 2
push ebp
call fcn.1005f810
push ebp
push esi
call fcn.1006a990
add esp, 0x18
test eax, eax
jne 0x1006b919
push dword [esi + 0xcc4]
mov byte [esi + 0xd7c], 1
call dword [0x100b900c]
push ebx
push esi
mov dword [esi + 0x110], eax
call fcn.10062ed0
add esp, 0xc
jmp case.default.0x1006b7a2
cmp byte [esi + 0x6bb], 0
je 0x1006b865
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.1005e3b0
add esp, 8
cmp dword [ebx + 0x68], 0
jle case.default.0x1006b7a2
or dword [ebx + 0x54], 2
mov dword [ebx + 0x68], 0
jmp case.default.0x1006b7a2
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.1005e3b0
push 2
push ebp
call fcn.1005f810
push ebx
push esi
call fcn.10062ed0
add esp, 0x18
test eax, eax
jne 0x1006b919
mov byte [ebx + 0xb7], 1
cmp byte [esi + 0xd7b], al
je case.default.0x1006b7a2
mov dword [ebx + 0x68], 3
cmp byte [esi + 0xd87], 0
je 0x1006b8c4
cmp dword [ebp + 0x1e4], 0xffffffff
je 0x1006b8c4
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.1005e3b0
add esp, 8
or dword [ebx + 0x54], 2
cmp byte [ebx + 0xb3], 0
je 0x1006ba57
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f230
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x1006bb4f
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x1006abe0
mov al, byte [esp + 0x28]
cmp byte [ebx + 0xb3], 0
jne 0x1006b917
test al, al
jne 0x1006b917
add esi, 0x8a8
push esi
call fcn.1004f1c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 2
push edi
call fcn.1005f810
add esp, 8
cmp byte [esi + 0x6dd], 0
je 0x1006bb41
mov byte [ebx + 0xb3], 0
mov al, 1
jmp 0x1006b8fb
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.1005e2e0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, 0x66666667
imul edx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x1c]
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.1005e2e0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.Unsupported_response_code_in_HTTP_response
push esi
call fcn.1005e2e0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.1005e2e0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov byte [ebx + 0xb3], 0
jmp 0x1006b8f7
mov eax, str.Header_without_colon
push eax
push esi
call fcn.1005e2e0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.1005e2e0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.unexpected_101_response_code
push esi
call fcn.1005e2e0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x14
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.1005e2e0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp byte [esi + 0x147], 0
je 0x1006ba67
mov byte [ebx + 0xb5], 1
cmp dword [ebx + 8], 0
jne 0x1006ba7a
cmp dword [ebx + 0xc], 0
jne 0x1006ba7a
mov byte [ebx + 0xb5], 1
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f210
add esp, 4
push eax
lea eax, [esi + 0x8a8]
push eax
call fcn.1004f220
add esp, 4
push eax
push 1
push esi
call fcn.1005e240
add esp, 0x10
jmp 0x1006b8f7
push edi
push str.The_requested_URL_returned_error:__d
push esi
call fcn.1005e2e0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push dword [esp + 0x30]
lea edi, [esi + 0x8a8]
push dword [esp + 0x30]
push edi
call fcn.1004f1b0
add esp, 0xc
test eax, eax
jne 0x1006b919
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add dword [ecx], eax
cmp dword [ebx + 0x44], 0
jne 0x1006b8f7
push edi
call fcn.1004f210
add esp, 4
push eax
push edi
call fcn.1004f220
add esp, 4
push eax
push ebp
push esi
call fcn.1006a930
add esp, 0x10
cmp eax, 2
jne 0x1006b8f7
push eax
push ebp
mov byte [ebx + 0xb3], 0
call fcn.1005f810
add esp, 8
cmp byte [esi + 0x6dd], 0
je 0x1006bb41
mov al, 1
jmp 0x1006b8fb
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.1005e2e0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret