Function at 0x180356300
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.1803c9aa0
mov rdi, rax
mov rdx, rbp
mov rcx, r12
test rax, rax
je 0x1803571ff
sub rdi, rbp
inc rdi
mov r8, rdi
call fcn.18033a100
test eax, eax
jne 0x180357298
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 0x180356400
mov rcx, r12
call fcn.1801cfe10
mov rcx, r12
mov rsi, rax
call fcn.1801caa00
mov rdx, rax
mov rax, qword [r15 + 0x2c8]
test dword [rax + 0x84], 0x40000
je 0x1803563ea
xor edi, edi
lea rcx, str.RTSP_
cmp rsi, 5
mov eax, 5
cmova rsi, rax
setae dil
mov r8, rsi
call fcn.18034d860
test eax, eax
mov ecx, 2
cmovne ecx, edi
jmp 0x1803563f7
mov r8, rsi
mov rcx, rbx
call fcn.180355fe0
mov ecx, eax
cmp ecx, 2
je 0x180357053
mov rcx, r12
call fcn.1801caa00
mov r14, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x18035693a
cmp cl, 0xd
je 0x18035693a
mov ecx, dword [rbx + 0x134]
mov esi, 4
lea eax, [rcx + 1]
mov dword [rbx + 0x134], eax
test ecx, ecx
jne 0x180356802
mov rax, qword [r15 + 0x2c8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x180356641
movzx eax, byte [r14]
mov rdi, r14
test al, al
je 0x180356473
nop dword [rax]
cmp al, 0x20
je 0x180356468
cmp al, 9
jne 0x180356473
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180356460
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rdi
call fcn.1803a3bb0
test eax, eax
jne 0x180356516
movsx edx, byte [rdi + 5]
mov ecx, edx
sub ecx, 0x31
je 0x180356559
sub ecx, 1
je 0x1803564ad
cmp ecx, 1
jne 0x18035707f
movzx eax, byte [rdi + 6]
cmp al, 0x20
je 0x1803564b9
cmp al, 9
jne 0x180356516
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 0x180356516
movsx edx, byte [rdi + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180356516
movsx r8d, byte [rdi + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180356516
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 0x1803565e4
sub al, 9
cmp al, sil
jbe 0x1803565e4
mov rcx, r12
call fcn.1801cfe10
mov rcx, r12
mov rdi, rax
call fcn.1801caa00
mov rdx, rax
mov r8, rdi
mov rcx, rbx
call fcn.180355fe0
cmp eax, 1
jne 0x180357100
lea rdi, [r15 + 0x6e4]
mov dword [rbx + 0x140], reloc.WLDAP32.dll_Ordinal_200
mov byte [rdi], 0xa
jmp 0x180356724
cmp byte [rdi + 6], 0x2e
jne 0x1803570e7
movsx ecx, byte [rdi + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x1803570e7
movzx eax, byte [rdi + 8]
cmp al, 0x20
je 0x180356582
cmp al, 9
jne 0x1803570e7
lea r9d, [rcx - 0x26]
movsx ecx, byte [rdi + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1803570e7
movsx edx, byte [rdi + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1803570e7
movsx r8d, byte [rdi + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1803570e7
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 0x1803565e4
cmp al, 9
je 0x1803565e4
sub al, 0xa
cmp al, 3
ja 0x1803570e7
cmp ecx, 0x64
jl 0x1803570ce
mov ecx, r9d
sub ecx, 0xa
je 0x1803565fe
cmp ecx, 1
jne 0x180357098
lea rdi, [r15 + 0x6e4]
mov byte [rdi], r9b
cmp dword [rbx + 0x15c], 3
jne 0x180356626
cmp r9b, 0x14
je 0x180356626
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rbx
call fcn.1803470b0
cmp byte [rdi], 0x14
jae 0x180356724
mov rax, qword [r15 + 0x6a8]
mov dword [rax], 0xffffffff
jmp 0x180356724
bt ecx, 0x12
jae 0x180357100
movzx eax, byte [r14]
mov rdi, r14
test al, al
je 0x180356669
cmp al, 0x20
je 0x18035665e
cmp al, 9
jne 0x180356669
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180356656
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rdi
call fcn.1803a3bb0
test eax, eax
jne 0x180357100
movzx eax, byte [rdi + 5]
sub al, 0x30
cmp al, 9
ja 0x180357155
cmp byte [rdi + 6], 0x2e
jne 0x180357155
movzx eax, byte [rdi + 7]
sub al, 0x30
cmp al, 9
ja 0x180357155
movzx eax, byte [rdi + 8]
cmp al, 0x20
je 0x1803566bc
cmp al, 9
jne 0x180357155
movsx ecx, byte [rdi + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180357155
movsx edx, byte [rdi + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180357155
movsx r8d, byte [rdi + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180357155
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 0x18035671a
cmp al, 9
je 0x18035671a
sub al, 0xa
cmp al, 3
ja 0x180357155
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 0x18035674b
cmp cl, al
jbe 0x180356751
mov byte [rbx + 0x1359], al
cmp qword [rbx + 0x1168], 0
je 0x180356773
cmp byte [rbx + 0x135a], 0
jne 0x180356773
cmp edx, 0x1a0
jne 0x180356773
mov byte [rbx + 0x1c0], 1
movzx eax, byte [rdi]
cmp al, 0xa
jne 0x180356798
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, rbx
call fcn.1803470b0
mov edx, 1
mov rcx, r15
call fcn.180348930
jmp 0x1803567b7
cmp al, 0x14
je 0x1803567aa
cmp dword [rbx + 0x15c], 2
jne 0x1803567b7
cmp edx, 0x65
jne 0x1803567b7
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 0x1803567e9
cmp ecx, 0x64
jne 0x1803567fd
cmp byte [rbx + 0x510], 0
je 0x1803567e9
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.1801caa00
mov rcx, r12
mov rdi, rax
call fcn.1801cfe10
mov r8, rax
xor edx, edx
mov rcx, rdi
mov rbp, rax
call fcn.1803c9aa0
test rax, rax
jne 0x18035712b
mov edx, dword [rbx + 0x134]
cmp edx, 2
jl 0x180356864
movzx ecx, byte [rdi]
cmp cl, 0x20
je 0x180356846
cmp cl, 9
jne 0x18035684b
cmp edx, 2
jg 0x180356864
mov r8, rbp
mov edx, Ordinal_60
mov rcx, rdi
call fcn.1803c9aa0
test rax, rax
je 0x180357110
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1803548b0
test eax, eax
jne 0x180357298
mov eax, dword [rbx + 0x140]
sub eax, 0x64
cmp eax, 0x64
jae 0x18035688b
or esi, 0x20
mov rcx, r12
call fcn.1801cfe10
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rbx
call fcn.180346ee0
mov rcx, r12
call fcn.1801cfe10
mov r9, rax
mov r8, r14
mov edx, esi
mov rcx, rbx
call fcn.1803475e0
test eax, eax
jne 0x180357298
mov rcx, r12
call fcn.1801cfe10
mov r8d, dword [rbx + 0x12c]
mov r9d, 0x4b000
mov rcx, rax
cmp rax, r9
jae 0x18035691a
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 0x180356915
cmp edx, 0x5dc000
jbe 0x180356926
mov r9d, 0x5dc000
mov eax, edx
mov r8d, eax
jmp 0x18035691d
add r8, rcx
test r8, r8
jne 0x1803571e6
mov rcx, r12
call fcn.18033a160
lea r14, [rbx + 0x1bb]
jmp 0x180357036
mov ecx, dword [rbx + 0x140]
xor bpl, bpl
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1803569f5
sub ecx, 0x64
je 0x1803569bd
cmp ecx, 1
je 0x180356971
lea r14, [rbx + 0x1bb]
xor eax, eax
mov byte [r14], 1
mov dword [rbx + 0x134], eax
jmp 0x180356a72
cmp byte [r15 + 0x6e4], 0xb
jne 0x180357146
cmp dword [rbx + 0x15c], 2
jne 0x1803569ae
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rbx
call fcn.1803470b0
mov dword [rbx + 0x15c], 3
mov bpl, 1
mov dword [rbx + 0x134], 0
lea r14, [rbx + 0x1bb]
mov byte [r14], bpl
jmp 0x180356a72
xor eax, eax
lea r14, [rbx + 0x1bb]
mov byte [r14], 1
mov dword [rbx + 0x134], eax
cmp dword [rbx + 0x158], eax
jle 0x180356a72
or dword [rbx + 0x144], 2
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x158], eax
call fcn.180334300
jmp 0x180356a72
cmp dword [rbx + 0x15c], 2
jne 0x180356a0a
mov rcx, qword [rbx + 0xd8]
call fcn.180334450
cmp qword [r13], 0xffffffffffffffff
lea rdi, [rbx + 0x1bb]
mov byte [rdi], bpl
mov r14, rdi
jne 0x180356a72
cmp byte [rbx + 0x1c2], bpl
jne 0x180356a72
cmp byte [r15 + 0x2ae], bpl
jne 0x180356a72
cmp byte [r15 + 0x6e4], 0xb
jne 0x180356a72
mov rax, qword [r15 + 0x2c8]
test dword [rax + 0x84], 0x40000
jne 0x180356a72
cmp byte [rbx + 0x135a], 5
je 0x180356a72
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rbx
call fcn.1803470b0
mov edx, 2
mov rcx, r15
call fcn.180348930
cmp byte [r14], 0
jne 0x180356acc
cmp byte [rbx + 0x1c3], 0
jne 0x180356abc
cmp byte [r13 + 0xd2], 0
jne 0x180356abc
mov rdx, qword [r13]
cmp rdx, 0xffffffffffffffff
je 0x180356acc
mov rax, qword [rbx + 0x6d0]
test rax, rax
je 0x180356aaa
cmp rdx, rax
jg 0x18035715f
mov rcx, rbx
call fcn.180358a00
mov rax, qword [r13]
mov qword [r13 + 8], rax
jmp 0x180356acc
mov qword [r13 + 8], 0xffffffffffffffff
mov qword [r13], 0xffffffffffffffff
cmp byte [r15 + 0x2ae], 0
je 0x180356b64
mov eax, dword [rbx + 0x140]
cmp eax, 0x191
jne 0x180356af3
cmp dword [r15 + 0x390], 2
je 0x180356b04
jmp 0x180356b1a
cmp eax, 0x197
jne 0x180356b1a
cmp dword [r15 + 0x394], 2
jne 0x180356b1a
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rbx
call fcn.1803470b0
mov byte [rbx + 0x1361], 1
cmp byte [r15 + 0x2ae], 0
je 0x180356b64
mov eax, dword [rbx + 0x140]
cmp eax, 0x191
jne 0x180356b3d
cmp dword [r15 + 0x488], 1
je 0x180356b4e
jmp 0x180356b64
cmp eax, 0x197
jne 0x180356b64
cmp dword [r15 + 0x48c], 1
jne 0x180356b64
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rbx
call fcn.1803470b0
mov byte [rbx + 0x1361], 1
cmp dword [r15 + 0x488], 3
jne 0x180356b85
cmp dword [rbx + 0x140], 0x191
je 0x180356b85
mov dword [r15 + 0x488], 4
cmp dword [r15 + 0x48c], 3
jne 0x180356ba6
cmp dword [rbx + 0x140], 0x197
je 0x180356ba6
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.1801cfe10
mov rcx, r12
mov rsi, rax
call fcn.1801caa00
mov r8, rax
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.1803475e0
test eax, eax
jne 0x180357298
mov ecx, dword [rbx + 0x12c]
mov r9d, 0x4b000
cmp rsi, r9
jae 0x180356c32
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 0x180356c36
cmp edx, 0x5dc000
jbe 0x180356c3f
mov r9d, 0x5dc000
mov r8d, edx
jmp 0x180356c36
lea r8, [rsi + rcx]
test r8, r8
jne 0x1803571e6
mov r8d, dword [rbx + 0x140]
mov rcx, rbx
call fcn.1803572b0
test al, al
jne 0x1803571d0
lea eax, [r8 - 0x64]
cmp eax, 0x63
ja 0x180356c70
mov eax, dword [rbx + 0x128]
mov dword [rbx + 0x130], eax
jmp 0x180356e76
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 0x180356cb1
movzx eax, byte [rbx + 0xa86]
neg al
sbb edi, edi
and edi, 0x16
jmp 0x180356e6e
cmp qword [rbx + 0x1338], 0
jne 0x180356cc3
xor dil, dil
test rax, rax
je 0x180356d30
cmp r8d, 0x191
je 0x180356ce1
xor dil, dil
cmp byte [rsi + 0x2b8], dil
je 0x180356d30
cmp r8d, 0x12c
jge 0x180356d30
lea rcx, [rbx + 0xdd0]
call fcn.180357680
movzx edi, al
test al, al
jne 0x180356cfb
mov byte [rbx + 0x1361], 1
cmp dword [rbx + 0xdd4], 8
jne 0x180356d30
cmp byte [rsi + 0x6e4], 0xb
jbe 0x180356d30
lea rdx, str.Forcing_HTTP_1.1_for_NTLM
mov rcx, rbx
call fcn.1803470b0
mov edx, 1
mov rcx, rsi
call fcn.180348930
mov byte [rbx + 0x1358], 2
xor al, al
cmp byte [rsi + 0x2aa], al
je 0x180356d74
mov ecx, dword [rbx + 0x140]
cmp ecx, 0x197
je 0x180356d58
cmp byte [rsi + 0x2b8], al
je 0x180356d74
cmp ecx, 0x12c
jge 0x180356d74
lea rcx, [rbx + 0xde0]
mov edx, 0xffffffbf
call fcn.180357680
test al, al
jne 0x180356d74
mov byte [rbx + 0x1361], 1
test dil, dil
jne 0x180356de6
test al, al
jne 0x180356de6
xor edi, edi
cmp dword [rbx + 0x140], 0x12c
jge 0x180356e4a
cmp byte [rbx + 0xddc], dil
jne 0x180356e4a
cmp byte [rsi + 0x2b8], dil
je 0x180356e4a
movzx eax, byte [rbx + 0x135a]
test al, al
je 0x180356e4a
cmp al, 5
je 0x180356e4a
mov rcx, qword [rbx + 0x1200]
call qword [case.0x18033b20b.2]
mov qword [rbx + 0x180], rax
test rax, rax
je 0x1803571c4
mov byte [rbx + 0xddc], 1
jmp 0x180356e4a
movzx eax, byte [rbx + 0x135a]
xor edi, edi
test al, al
je 0x180356e15
cmp al, 5
je 0x180356e15
cmp byte [rbx + 0x136f], dil
jne 0x180356e15
mov rdx, rsi
mov rcx, rbx
call fcn.180356120
mov edi, eax
test eax, eax
jne 0x1803571c9
mov rcx, qword [rbx + 0x180]
call qword [fcn.18039da98]
mov rcx, qword [rbx + 0x1200]
mov qword [rbx + 0x180], 0
call qword [case.0x18033b20b.2]
mov qword [rbx + 0x180], rax
test rax, rax
je 0x1803571c4
mov rcx, rbx
call fcn.1803572b0
test al, al
je 0x180356e6e
mov r8d, dword [rbx + 0x140]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.180346fc0
mov edi, reloc.WS2_32.dll_shutdown
test edi, edi
jne 0x1803571c9
cmp dword [rbx + 0x140], 0x12c
jl 0x18035701b
cmp byte [r15 + 0x2b8], 0
jne 0x180356ff2
cmp byte [r15 + 0x2ae], 0
jne 0x180356ff2
cmp byte [rbx + 0x136f], 0
jne 0x180356ffb
movzx ecx, byte [rbx + 0x135a]
sub ecx, 1
je 0x180356ece
sub ecx, 1
je 0x180356ece
sub ecx, 1
je 0x180356ece
cmp ecx, 1
jne 0x180356ff2
xor edx, edx
mov rcx, rbx
call fcn.180334300
cmp byte [rbx + 0x1bf], 0
jne 0x180356ff2
cmp dword [rbx + 0x140], 0x1a1
jne 0x180356f79
cmp byte [rbx + 0x1363], 0
je 0x180356f79
cmp qword [rbx + 0x108], 0
jne 0x180356f22
cmp dword [rbx + 0x158], 1
jne 0x180356f22
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
mov rcx, rbx
call fcn.1803470b0
jmp 0x180356f51
lea rdx, str.Got_HTTP_failure_417_while_sending_data
mov rcx, rbx
call fcn.1803470b0
mov edx, 2
mov rcx, r15
call fcn.180348930
mov rdx, r15
mov rcx, rbx
call fcn.180356120
test eax, eax
jne 0x180357298
mov rcx, qword [rbx + 0x1200]
mov byte [rbx + 0x1364], 1
call qword [case.0x18033b20b.2]
mov rdx, r13
mov rcx, rbx
mov qword [rbx + 0x180], rax
call fcn.18034df30
jmp 0x180356ff2
cmp byte [rbx + 0xa87], 0
mov rcx, rbx
je 0x180356fad
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.1803470b0
cmp dword [rbx + 0x158], 0
jle 0x180356ff2
or dword [rbx + 0x144], 2
mov dword [rbx + 0x158], 0
jmp 0x180356ff2
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.1803470b0
mov edx, 2
mov rcx, r15
call fcn.180348930
mov rdx, r13
mov rcx, rbx
call fcn.18034df30
test eax, eax
jne 0x180357298
mov byte [rbx + 0x1bf], 1
cmp byte [rbx + 0x1363], al
je 0x180356ff2
mov dword [rbx + 0x158], 3
cmp byte [rbx + 0x136f], 0
je 0x18035701b
cmp qword [r15 + 0x2f0], 0xffffffffffffffff
je 0x18035701b
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rbx
call fcn.1803470b0
or dword [rbx + 0x144], 2
cmp byte [r14], 0
je 0x180357178
mov rcx, r12
call fcn.18033a160
test bpl, bpl
jne 0x180357274
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x180357282
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
jmp 0x180356340
mov edx, 2
mov rcx, r15
call fcn.180348930
cmp byte [rbx + 0xaa9], 0
je 0x180357265
lea r14, [rbx + 0x1bb]
mov al, 1
mov byte [r14], 0
jmp 0x180357284
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rbx
call fcn.180346fc0
mov eax, 1
jmp 0x180357298
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.180346fc0
mov eax, 1
jmp 0x180357298
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rbx
call fcn.180346fc0
mov eax, 1
jmp 0x180357298
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rbx
call fcn.180346fc0
mov eax, 1
jmp 0x180357298
lea r14, [rbx + 0x1bb]
mov byte [r14], 0
jmp 0x180357282
lea rdx, str.Header_without_colon
mov rcx, rbx
mov edi, 8
call fcn.180346fc0
mov eax, edi
jmp 0x180357298
lea rdx, str.Nul_byte_in_header
mov rcx, rbx
mov edi, 8
call fcn.180346fc0
mov eax, edi
jmp 0x180357298
lea rdx, str.unexpected_101_response_code
mov rcx, rbx
call fcn.180346fc0
mov eax, 8
jmp 0x180357298
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.180346fc0
mov eax, 0x3f
jmp 0x180357298
cmp byte [rbx + 0x1c7], 0
je 0x180357188
mov byte [rbx + 0x1bd], 1
cmp qword [rbx + 0xf8], 0
jne 0x180357199
mov byte [rbx + 0x1bd], 1
mov rcx, r12
call fcn.1801cfe10
mov rcx, r12
mov rdi, rax
call fcn.1801caa00
mov r8, rax
mov r9, rdi
mov edx, 1
mov rcx, rbx
call fcn.180346ee0
jmp 0x180357282
mov edi, reloc.WLDAP32.dll_Ordinal_27
mov eax, edi
jmp 0x180357298
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.180346fc0
mov eax, reloc.WS2_32.dll_shutdown
jmp 0x180357298
lea rdx, str.Too_large_response_headers:__zu____u
mov rcx, rbx
call fcn.180346fc0
mov eax, reloc.WS2_32.dll_getservbyport
jmp 0x180357298
mov r8, rsi
call fcn.18033a100
test eax, eax
jne 0x180357298
add qword [r14], rsi
cmp dword [rbx + 0x134], eax
jne 0x18035727b
mov rcx, r12
call fcn.1801cfe10
mov rcx, r12
mov rdi, rax
call fcn.1801caa00
mov r8, rax
mov r9, rdi
mov rdx, r15
mov rcx, rbx
call fcn.1803560b0
cmp eax, 2
jne 0x18035727b
lea r14, [rbx + 0x1bb]
mov edx, eax
mov rcx, r15
mov byte [r14], 0
call fcn.180348930
cmp byte [rbx + 0xaa9], 0
je 0x180357265
mov al, 1
jmp 0x180357284
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rbx
call fcn.180346fc0
mov eax, 1
jmp 0x180357298
lea r14, [rbx + 0x1bb]
xor al, al
cmp byte [r14], 0
jne 0x180357296
test al, al
jne 0x180357296
mov rcx, r12
call fcn.18033a110
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