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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [rcx + 0x20]
lea r13, [rcx + 0xf0]
mov qword [r9], 0
lea r12, [rcx + 0xc80]
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
nop
mov r8, rsi
mov edx, 0xa
mov rcx, rbp
call fcn.1803c9550
mov rdi, rax
mov rdx, rbp
mov rcx, r12
test rax, rax
je 0x180356cbf
sub rdi, rbp
inc rdi
mov r8, rdi
call fcn.180339bc0
test eax, eax
jne 0x180356d58
add qword [r14], rdi
sub rsi, rdi
add rbp, rdi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rbp
cmp dword [rbx + 0x134], eax
jne 0x180355ec0
mov rcx, r12
call fcn.1801cf8d0
mov rcx, r12
mov rsi, rax
call fcn.1801ca4c0
mov rdx, rax
mov rax, qword [r15 + 0x2c8]
test dword [rax + 0x84], 0x40000
je 0x180355eaa
xor edi, edi
lea rcx, str.RTSP_
cmp rsi, 5
mov eax, 5
cmova rsi, rax
setae dil
mov r8, rsi
call fcn.18034d320
test eax, eax
mov ecx, 2
cmovne ecx, edi
jmp 0x180355eb7
mov r8, rsi
mov rcx, rbx
call fcn.180355aa0
mov ecx, eax
cmp ecx, 2
je 0x180356b13
mov rcx, r12
call fcn.1801ca4c0
mov r14, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1803563fa
cmp cl, 0xd
je 0x1803563fa
mov ecx, dword [rbx + 0x134]
mov esi, 4
lea eax, [rcx + 1]
mov dword [rbx + 0x134], eax
test ecx, ecx
jne 0x1803562c2
mov rax, qword [r15 + 0x2c8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x180356101
movzx eax, byte [r14]
mov rdi, r14
test al, al
je 0x180355f33
nop dword [rax]
cmp al, 0x20
je 0x180355f28
cmp al, 9
jne 0x180355f33
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180355f20
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rdi
call fcn.1803a3670
test eax, eax
jne 0x180355fd6
movsx edx, byte [rdi + 5]
mov ecx, edx
sub ecx, 0x31
je 0x180356019
sub ecx, 1
je 0x180355f6d
cmp ecx, 1
jne 0x180356b3f
movzx eax, byte [rdi + 6]
cmp al, 0x20
je 0x180355f79
cmp al, 9
jne 0x180355fd6
movsx ecx, byte [rdi + 7]
lea eax, [rdx - 0x30]
lea r9d, [rax + rax*4]
add r9d, r9d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180355fd6
movsx edx, byte [rdi + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180355fd6
movsx r8d, byte [rdi + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180355fd6
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rbx + 0x140], ecx
movzx eax, byte [rdi + 0xa]
cmp al, 0x20
je 0x1803560a4
sub al, 9
cmp al, sil
jbe 0x1803560a4
mov rcx, r12
call fcn.1801cf8d0
mov rcx, r12
mov rdi, rax
call fcn.1801ca4c0
mov rdx, rax
mov r8, rdi
mov rcx, rbx
call fcn.180355aa0
cmp eax, 1
jne 0x180356bc0
lea rdi, [r15 + 0x6e4]
mov dword [rbx + 0x140], reloc.WLDAP32.dll_Ordinal_200
mov byte [rdi], 0xa
jmp 0x1803561e4
cmp byte [rdi + 6], 0x2e
jne 0x180356ba7
movsx ecx, byte [rdi + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x180356ba7
movzx eax, byte [rdi + 8]
cmp al, 0x20
je 0x180356042
cmp al, 9
jne 0x180356ba7
lea r9d, [rcx - 0x26]
movsx ecx, byte [rdi + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180356ba7
movsx edx, byte [rdi + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180356ba7
movsx r8d, byte [rdi + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180356ba7
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rbx + 0x140], ecx
movzx eax, byte [rdi + 0xc]
cmp al, 0x20
je 0x1803560a4
cmp al, 9
je 0x1803560a4
sub al, 0xa
cmp al, 3
ja 0x180356ba7
cmp ecx, 0x64
jl 0x180356b8e
mov ecx, r9d
sub ecx, 0xa
je 0x1803560be
cmp ecx, 1
jne 0x180356b58
lea rdi, [r15 + 0x6e4]
mov byte [rdi], r9b
cmp dword [rbx + 0x15c], 3
jne 0x1803560e6
cmp r9b, 0x14
je 0x1803560e6
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rbx
call fcn.180346b70
cmp byte [rdi], 0x14
jae 0x1803561e4
mov rax, qword [r15 + 0x6a8]
mov dword [rax], 0xffffffff
jmp 0x1803561e4
bt ecx, 0x12
jae 0x180356bc0
movzx eax, byte [r14]
mov rdi, r14
test al, al
je 0x180356129
cmp al, 0x20
je 0x18035611e
cmp al, 9
jne 0x180356129
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180356116
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rdi
call fcn.1803a3670
test eax, eax
jne 0x180356bc0
movzx eax, byte [rdi + 5]
sub al, 0x30
cmp al, 9
ja 0x180356c15
cmp byte [rdi + 6], 0x2e
jne 0x180356c15
movzx eax, byte [rdi + 7]
sub al, 0x30
cmp al, 9
ja 0x180356c15
movzx eax, byte [rdi + 8]
cmp al, 0x20
je 0x18035617c
cmp al, 9
jne 0x180356c15
movsx ecx, byte [rdi + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180356c15
movsx edx, byte [rdi + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180356c15
movsx r8d, byte [rdi + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180356c15
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rbx + 0x140], ecx
movzx eax, byte [rdi + 0xc]
cmp al, 0x20
je 0x1803561da
cmp al, 9
je 0x1803561da
sub al, 0xa
cmp al, 3
ja 0x180356c15
lea rdi, [r15 + 0x6e4]
mov byte [rdi], reloc.WS2_32.dll_inet_addr
mov edx, dword [rbx + 0x140]
movzx ecx, byte [rbx + 0x1359]
mov dword [rbx + 0x1380], edx
movzx eax, byte [rdi]
mov dword [rbx + 0x1388], eax
movzx eax, byte [rdi]
test cl, cl
je 0x18035620b
cmp cl, al
jbe 0x180356211
mov byte [rbx + 0x1359], al
cmp qword [rbx + 0x1168], 0
je 0x180356233
cmp byte [rbx + 0x135a], 0
jne 0x180356233
cmp edx, 0x1a0
jne 0x180356233
mov byte [rbx + 0x1c0], 1
movzx eax, byte [rdi]
cmp al, 0xa
jne 0x180356258
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, rbx
call fcn.180346b70
mov edx, 1
mov rcx, r15
call fcn.1803483f0
jmp 0x180356277
cmp al, 0x14
je 0x18035626a
cmp dword [rbx + 0x15c], 2
jne 0x180356277
cmp edx, 0x65
jne 0x180356277
mov rax, qword [r15 + 0x6a8]
mov dword [rax], 2
mov ecx, dword [rbx + 0x140]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [rbx + 0x1c1], al
sub ecx, 0xcc
je 0x1803562a9
cmp ecx, 0x64
jne 0x1803562bd
cmp byte [rbx + 0x510], 0
je 0x1803562a9
mov byte [rbx + 0x145c], 1
xor eax, eax
mov byte [rbx + 0x1c1], 1
mov qword [r13], rax
mov qword [rbx + 0xf8], rax
mov esi, reloc.WS2_32.dll_inet_ntoa
mov rcx, r12
call fcn.1801ca4c0
mov rcx, r12
mov rdi, rax
call fcn.1801cf8d0
mov r8, rax
xor edx, edx
mov rcx, rdi
mov rbp, rax
call fcn.1803c9550
test rax, rax
jne 0x180356beb
mov edx, dword [rbx + 0x134]
cmp edx, 2
jl 0x180356324
movzx ecx, byte [rdi]
cmp cl, 0x20
je 0x180356306
cmp cl, 9
jne 0x18035630b
cmp edx, 2
jg 0x180356324
mov r8, rbp
mov edx, Ordinal_60
mov rcx, rdi
call fcn.1803c9550
test rax, rax
je 0x180356bd0
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.180354370
test eax, eax
jne 0x180356d58
mov eax, dword [rbx + 0x140]
sub eax, 0x64
cmp eax, 0x64
jae 0x18035634b
or esi, 0x20
mov rcx, r12
call fcn.1801cf8d0
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rbx
call fcn.1803469a0
mov rcx, r12
call fcn.1801cf8d0
mov r9, rax
mov r8, r14
mov edx, esi
mov rcx, rbx
call fcn.1803470a0
test eax, eax
jne 0x180356d58
mov rcx, r12
call fcn.1801cf8d0
mov r8d, dword [rbx + 0x12c]
mov r9d, 0x4b000
mov rcx, rax
cmp rax, r9
jae 0x1803563da
mov edx, dword [rbx + 0x13c8]
add eax, r8d
add dword [rbx + 0x128], ecx
add edx, ecx
mov dword [rbx + 0x13c8], edx
mov dword [rbx + 0x12c], eax
cmp eax, r9d
ja 0x1803563d5
cmp edx, 0x5dc000
jbe 0x1803563e6
mov r9d, 0x5dc000
mov eax, edx
mov r8d, eax
jmp 0x1803563dd
add r8, rcx
test r8, r8
jne 0x180356ca6
mov rcx, r12
call fcn.180339c20
lea r14, [rbx + 0x1bb]
jmp 0x180356af6
mov ecx, dword [rbx + 0x140]
xor bpl, bpl
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1803564b5
sub ecx, 0x64
je 0x18035647d
cmp ecx, 1
je 0x180356431
lea r14, [rbx + 0x1bb]
xor eax, eax
mov byte [r14], 1
mov dword [rbx + 0x134], eax
jmp 0x180356532
cmp byte [r15 + 0x6e4], 0xb
jne 0x180356c06
cmp dword [rbx + 0x15c], 2
jne 0x18035646e
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rbx
call fcn.180346b70
mov dword [rbx + 0x15c], 3
mov bpl, 1
mov dword [rbx + 0x134], 0
lea r14, [rbx + 0x1bb]
mov byte [r14], bpl
jmp 0x180356532
xor eax, eax
lea r14, [rbx + 0x1bb]
mov byte [r14], 1
mov dword [rbx + 0x134], eax
cmp dword [rbx + 0x158], eax
jle 0x180356532
or dword [rbx + 0x144], 2
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x158], eax
call fcn.180333dc0
jmp 0x180356532
cmp dword [rbx + 0x15c], 2
jne 0x1803564ca
mov rcx, qword [rbx + 0xd8]
call fcn.180333f10
cmp qword [r13], 0xffffffffffffffff
lea rdi, [rbx + 0x1bb]
mov byte [rdi], bpl
mov r14, rdi
jne 0x180356532
cmp byte [rbx + 0x1c2], bpl
jne 0x180356532
cmp byte [r15 + 0x2ae], bpl
jne 0x180356532
cmp byte [r15 + 0x6e4], 0xb
jne 0x180356532
mov rax, qword [r15 + 0x2c8]
test dword [rax + 0x84], 0x40000
jne 0x180356532
cmp byte [rbx + 0x135a], 5
je 0x180356532
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rbx
call fcn.180346b70
mov edx, 2
mov rcx, r15
call fcn.1803483f0
cmp byte [r14], 0
jne 0x18035658c
cmp byte [rbx + 0x1c3], 0
jne 0x18035657c
cmp byte [r13 + 0xd2], 0
jne 0x18035657c
mov rdx, qword [r13]
cmp rdx, 0xffffffffffffffff
je 0x18035658c
mov rax, qword [rbx + 0x6d0]
test rax, rax
je 0x18035656a
cmp rdx, rax
jg 0x180356c1f
mov rcx, rbx
call fcn.1803584c0
mov rax, qword [r13]
mov qword [r13 + 8], rax
jmp 0x18035658c
mov qword [r13 + 8], 0xffffffffffffffff
mov qword [r13], 0xffffffffffffffff
cmp byte [r15 + 0x2ae], 0
je 0x180356624
mov eax, dword [rbx + 0x140]
cmp eax, 0x191
jne 0x1803565b3
cmp dword [r15 + 0x390], 2
je 0x1803565c4
jmp 0x1803565da
cmp eax, 0x197
jne 0x1803565da
cmp dword [r15 + 0x394], 2
jne 0x1803565da
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rbx
call fcn.180346b70
mov byte [rbx + 0x1361], 1
cmp byte [r15 + 0x2ae], 0
je 0x180356624
mov eax, dword [rbx + 0x140]
cmp eax, 0x191
jne 0x1803565fd
cmp dword [r15 + 0x488], 1
je 0x18035660e
jmp 0x180356624
cmp eax, 0x197
jne 0x180356624
cmp dword [r15 + 0x48c], 1
jne 0x180356624
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rbx
call fcn.180346b70
mov byte [rbx + 0x1361], 1
cmp dword [r15 + 0x488], 3
jne 0x180356645
cmp dword [rbx + 0x140], 0x191
je 0x180356645
mov dword [r15 + 0x488], 4
cmp dword [r15 + 0x48c], 3
jne 0x180356666
cmp dword [rbx + 0x140], 0x197
je 0x180356666
mov dword [r15 + 0x48c], 4
mov eax, dword [rbx + 0x140]
mov edi, 4
sub eax, 0x64
mov rcx, r12
cmp eax, 0x64
mov eax, 0x24
cmovb edi, eax
call fcn.1801cf8d0
mov rcx, r12
mov rsi, rax
call fcn.1801ca4c0
mov r8, rax
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.1803470a0
test eax, eax
jne 0x180356d58
mov ecx, dword [rbx + 0x12c]
mov r9d, 0x4b000
cmp rsi, r9
jae 0x1803566f2
mov edx, dword [rbx + 0x13c8]
lea r8d, [rcx + rsi]
add dword [rbx + 0x128], esi
add edx, esi
mov dword [rbx + 0x13c8], edx
mov dword [rbx + 0x12c], r8d
cmp r8d, r9d
ja 0x1803566f6
cmp edx, 0x5dc000
jbe 0x1803566ff
mov r9d, 0x5dc000
mov r8d, edx
jmp 0x1803566f6
lea r8, [rsi + rcx]
test r8, r8
jne 0x180356ca6
mov r8d, dword [rbx + 0x140]
mov rcx, rbx
call fcn.180356d70
test al, al
jne 0x180356c90
lea eax, [r8 - 0x64]
cmp eax, 0x63
ja 0x180356730
mov eax, dword [rbx + 0x128]
mov dword [rbx + 0x130], eax
jmp 0x180356936
mov rsi, qword [rbx + 0x20]
mov edx, 0xffffffbf
mov dword [rbx + 0x130], 0
mov ecx, 0xffffffff
mov rax, qword [rbx + 0x900]
test rax, rax
cmovne edx, ecx
cmp byte [rbx + 0x1361], 0
je 0x180356771
movzx eax, byte [rbx + 0xa86]
neg al
sbb edi, edi
and edi, 0x16
jmp 0x18035692e
cmp qword [rbx + 0x1338], 0
jne 0x180356783
xor dil, dil
test rax, rax
je 0x1803567f0
cmp r8d, 0x191
je 0x1803567a1
xor dil, dil
cmp byte [rsi + 0x2b8], dil
je 0x1803567f0
cmp r8d, 0x12c
jge 0x1803567f0
lea rcx, [rbx + 0xdd0]
call fcn.180357140
movzx edi, al
test al, al
jne 0x1803567bb
mov byte [rbx + 0x1361], 1
cmp dword [rbx + 0xdd4], 8
jne 0x1803567f0
cmp byte [rsi + 0x6e4], 0xb
jbe 0x1803567f0
lea rdx, str.Forcing_HTTP_1.1_for_NTLM
mov rcx, rbx
call fcn.180346b70
mov edx, 1
mov rcx, rsi
call fcn.1803483f0
mov byte [rbx + 0x1358], 2
xor al, al
cmp byte [rsi + 0x2aa], al
je 0x180356834
mov ecx, dword [rbx + 0x140]
cmp ecx, 0x197
je 0x180356818
cmp byte [rsi + 0x2b8], al
je 0x180356834
cmp ecx, 0x12c
jge 0x180356834
lea rcx, [rbx + 0xde0]
mov edx, 0xffffffbf
call fcn.180357140
test al, al
jne 0x180356834
mov byte [rbx + 0x1361], 1
test dil, dil
jne 0x1803568a6
test al, al
jne 0x1803568a6
xor edi, edi
cmp dword [rbx + 0x140], 0x12c
jge 0x18035690a
cmp byte [rbx + 0xddc], dil
jne 0x18035690a
cmp byte [rsi + 0x2b8], dil
je 0x18035690a
movzx eax, byte [rbx + 0x135a]
test al, al
je 0x18035690a
cmp al, 5
je 0x18035690a
mov rcx, qword [rbx + 0x1200]
call qword [case.0x18033accb.2]
mov qword [rbx + 0x180], rax
test rax, rax
je 0x180356c84
mov byte [rbx + 0xddc], 1
jmp 0x18035690a
movzx eax, byte [rbx + 0x135a]
xor edi, edi
test al, al
je 0x1803568d5
cmp al, 5
je 0x1803568d5
cmp byte [rbx + 0x136f], dil
jne 0x1803568d5
mov rdx, rsi
mov rcx, rbx
call fcn.180355be0
mov edi, eax
test eax, eax
jne 0x180356c89
mov rcx, qword [rbx + 0x180]
call qword [fcn.18039d558]
mov rcx, qword [rbx + 0x1200]
mov qword [rbx + 0x180], 0
call qword [case.0x18033accb.2]
mov qword [rbx + 0x180], rax
test rax, rax
je 0x180356c84
mov rcx, rbx
call fcn.180356d70
test al, al
je 0x18035692e
mov r8d, dword [rbx + 0x140]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.180346a80
mov edi, reloc.WS2_32.dll_shutdown
test edi, edi
jne 0x180356c89
cmp dword [rbx + 0x140], 0x12c
jl 0x180356adb
cmp byte [r15 + 0x2b8], 0
jne 0x180356ab2
cmp byte [r15 + 0x2ae], 0
jne 0x180356ab2
cmp byte [rbx + 0x136f], 0
jne 0x180356abb
movzx ecx, byte [rbx + 0x135a]
sub ecx, 1
je 0x18035698e
sub ecx, 1
je 0x18035698e
sub ecx, 1
je 0x18035698e
cmp ecx, 1
jne 0x180356ab2
xor edx, edx
mov rcx, rbx
call fcn.180333dc0
cmp byte [rbx + 0x1bf], 0
jne 0x180356ab2
cmp dword [rbx + 0x140], 0x1a1
jne 0x180356a39
cmp byte [rbx + 0x1363], 0
je 0x180356a39
cmp qword [rbx + 0x108], 0
jne 0x1803569e2
cmp dword [rbx + 0x158], 1
jne 0x1803569e2
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
mov rcx, rbx
call fcn.180346b70
jmp 0x180356a11
lea rdx, str.Got_HTTP_failure_417_while_sending_data
mov rcx, rbx
call fcn.180346b70
mov edx, 2
mov rcx, r15
call fcn.1803483f0
mov rdx, r15
mov rcx, rbx
call fcn.180355be0
test eax, eax
jne 0x180356d58
mov rcx, qword [rbx + 0x1200]
mov byte [rbx + 0x1364], 1
call qword [case.0x18033accb.2]
mov rdx, r13
mov rcx, rbx
mov qword [rbx + 0x180], rax
call fcn.18034d9f0
jmp 0x180356ab2
cmp byte [rbx + 0xa87], 0
mov rcx, rbx
je 0x180356a6d
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.180346b70
cmp dword [rbx + 0x158], 0
jle 0x180356ab2
or dword [rbx + 0x144], 2
mov dword [rbx + 0x158], 0
jmp 0x180356ab2
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.180346b70
mov edx, 2
mov rcx, r15
call fcn.1803483f0
mov rdx, r13
mov rcx, rbx
call fcn.18034d9f0
test eax, eax
jne 0x180356d58
mov byte [rbx + 0x1bf], 1
cmp byte [rbx + 0x1363], al
je 0x180356ab2
mov dword [rbx + 0x158], 3
cmp byte [rbx + 0x136f], 0
je 0x180356adb
cmp qword [r15 + 0x2f0], 0xffffffffffffffff
je 0x180356adb
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rbx
call fcn.180346b70
or dword [rbx + 0x144], 2
cmp byte [r14], 0
je 0x180356c38
mov rcx, r12
call fcn.180339c20
test bpl, bpl
jne 0x180356d34
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x180356d42
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
jmp 0x180355e00
mov edx, 2
mov rcx, r15
call fcn.1803483f0
cmp byte [rbx + 0xaa9], 0
je 0x180356d25
lea r14, [rbx + 0x1bb]
mov al, 1
mov byte [r14], 0
jmp 0x180356d44
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rbx
call fcn.180346a80
mov eax, 1
jmp 0x180356d58
mov eax, 0x66666667
mov rcx, rbx
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov r8d, edx
lea eax, [rdx + rdx*4]
add eax, eax
lea rdx, str.Unsupported_HTTP_version___u._d__in_response
sub r9d, eax
call fcn.180346a80
mov eax, 1
jmp 0x180356d58
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rbx
call fcn.180346a80
mov eax, 1
jmp 0x180356d58
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rbx
call fcn.180346a80
mov eax, 1
jmp 0x180356d58
lea r14, [rbx + 0x1bb]
mov byte [r14], 0
jmp 0x180356d42
lea rdx, str.Header_without_colon
mov rcx, rbx
mov edi, 8
call fcn.180346a80
mov eax, edi
jmp 0x180356d58
lea rdx, str.Nul_byte_in_header
mov rcx, rbx
mov edi, 8
call fcn.180346a80
mov eax, edi
jmp 0x180356d58
lea rdx, str.unexpected_101_response_code
mov rcx, rbx
call fcn.180346a80
mov eax, 8
jmp 0x180356d58
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.180346a80
mov eax, 0x3f
jmp 0x180356d58
cmp byte [rbx + 0x1c7], 0
je 0x180356c48
mov byte [rbx + 0x1bd], 1
cmp qword [rbx + 0xf8], 0
jne 0x180356c59
mov byte [rbx + 0x1bd], 1
mov rcx, r12
call fcn.1801cf8d0
mov rcx, r12
mov rdi, rax
call fcn.1801ca4c0
mov r8, rax
mov r9, rdi
mov edx, 1
mov rcx, rbx
call fcn.1803469a0
jmp 0x180356d42
mov edi, reloc.WLDAP32.dll_Ordinal_27
mov eax, edi
jmp 0x180356d58
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.180346a80
mov eax, reloc.WS2_32.dll_shutdown
jmp 0x180356d58
lea rdx, str.Too_large_response_headers:__zu____u
mov rcx, rbx
call fcn.180346a80
mov eax, reloc.WS2_32.dll_getservbyport
jmp 0x180356d58
mov r8, rsi
call fcn.180339bc0
test eax, eax
jne 0x180356d58
add qword [r14], rsi
cmp dword [rbx + 0x134], eax
jne 0x180356d3b
mov rcx, r12
call fcn.1801cf8d0
mov rcx, r12
mov rdi, rax
call fcn.1801ca4c0
mov r8, rax
mov r9, rdi
mov rdx, r15
mov rcx, rbx
call fcn.180355b70
cmp eax, 2
jne 0x180356d3b
lea r14, [rbx + 0x1bb]
mov edx, eax
mov rcx, r15
mov byte [r14], 0
call fcn.1803483f0
cmp byte [rbx + 0xaa9], 0
je 0x180356d25
mov al, 1
jmp 0x180356d44
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rbx
call fcn.180346a80
mov eax, 1
jmp 0x180356d58
lea r14, [rbx + 0x1bb]
xor al, al
cmp byte [r14], 0
jne 0x180356d56
test al, al
jne 0x180356d56
mov rcx, r12
call fcn.180339bd0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret