Function at 0x180065cb0
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 r13, qword [rcx + 0x20]
lea r15, [rcx + 0xf0]
mov qword [r9], 0
lea r12, [rcx + 0xc80]
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
nop
mov r8, rsi
mov edx, 0xa
mov rcx, rbp
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
mov rdx, rbp
mov rcx, r12
test rax, rax
je 0x180066bca
sub rbx, rbp
inc rbx
mov r8, rbx
call fcn.180043600
test eax, eax
jne 0x180066ace
add qword [r14], rbx
sub rsi, rbx
add rbp, rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rbp
cmp dword [r15 + 0x44], eax
jne 0x180065dad
mov rcx, r12
call fcn.180043660
mov rcx, r12
mov rsi, rax
call fcn.180043670
mov rdx, rax
mov rax, qword [r13 + 0x2c8]
test dword [rax + 0x84], 0x40000
je 0x180065d97
xor ebx, ebx
lea rcx, str.RTSP_
cmp rsi, 5
mov eax, 5
cmova rsi, rax
setae bl
mov r8, rsi
call fcn.18005d1c0
test eax, eax
mov ecx, 2
cmovne ecx, ebx
jmp 0x180065da4
mov r8, rsi
mov rcx, rdi
call fcn.180065970
mov ecx, eax
cmp ecx, 2
je 0x180066a07
mov rcx, r12
call fcn.180043670
mov r14, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1800662fa
cmp cl, 0xd
je 0x1800662fa
mov ecx, dword [r15 + 0x44]
mov ebp, 4
mov rbx, r12
lea eax, [rcx + 1]
mov dword [r15 + 0x44], eax
test ecx, ecx
jne 0x1800661b7
mov rax, qword [r13 + 0x2c8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x180065ff2
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x180065e23
nop dword [rax]
cmp al, 0x20
je 0x180065e18
cmp al, 9
jne 0x180065e23
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180065e10
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x180065ec5
movsx edx, byte [rbx + 5]
mov ecx, edx
sub ecx, 0x31
je 0x180065f0e
sub ecx, 1
je 0x180065e5e
cmp ecx, 1
jne 0x180066a30
movzx eax, byte [rbx + 6]
cmp al, 0x20
je 0x180065e6a
cmp al, 9
jne 0x180065ec5
movsx ecx, byte [rbx + 7]
lea eax, [rdx - 0x30]
lea r9d, [rax + rax*4]
add r9d, r9d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180065ec5
movsx edx, byte [rbx + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180065ec5
movsx r8d, byte [rbx + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180065ec5
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 [r15 + 0x50], ecx
movzx eax, byte [rbx + 0xa]
cmp al, 0x20
je 0x180065f97
sub al, 9
cmp al, bpl
jbe 0x180065f97
lea rcx, [rdi + 0xc80]
call fcn.180043660
lea rcx, [rdi + 0xc80]
mov rbx, rax
call fcn.180043670
mov rdx, rax
mov r8, rbx
mov rcx, rdi
call fcn.180065970
cmp eax, 1
jne 0x180066aa8
lea rbx, [r13 + 0x6e4]
mov dword [r15 + 0x50], reloc.WLDAP32.dll_Ordinal_200
mov byte [rbx], 0xa
jmp 0x1800660d4
cmp byte [rbx + 6], 0x2e
jne 0x180066a92
movsx ecx, byte [rbx + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x180066a92
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x180065f37
cmp al, 9
jne 0x180066a92
lea r9d, [rcx - 0x26]
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180066a92
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180066a92
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180066a92
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 [r15 + 0x50], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x180065f97
cmp al, 9
je 0x180065f97
sub al, 0xa
cmp al, 3
ja 0x180066a92
cmp ecx, 0x64
jl 0x180066a7c
mov ecx, r9d
sub ecx, 0xa
je 0x180065fb1
cmp ecx, 1
jne 0x180066a49
lea rbx, [r13 + 0x6e4]
mov byte [rbx], r9b
cmp dword [r15 + 0x6c], 3
jne 0x180065fd7
cmp r9b, 0x14
je 0x180065fd7
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rdi
call fcn.1800568d0
cmp byte [rbx], 0x14
jae 0x1800660d4
mov rax, qword [r13 + 0x6a8]
mov dword [rax], 0xffffffff
jmp 0x1800660d4
bt ecx, 0x12
jae 0x180066aa8
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x18006601a
cmp al, 0x20
je 0x18006600f
cmp al, 9
jne 0x18006601a
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180066007
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x180066aa8
movzx eax, byte [rbx + 5]
sub al, 0x30
cmp al, 9
ja 0x180066b22
cmp byte [rbx + 6], 0x2e
jne 0x180066b22
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 9
ja 0x180066b22
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x18006606e
cmp al, 9
jne 0x180066b22
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180066b22
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180066b22
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180066b22
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 [r15 + 0x50], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x1800660ca
cmp al, 9
je 0x1800660ca
sub al, 0xa
cmp al, 3
ja 0x180066b22
lea rbx, [r13 + 0x6e4]
mov byte [rbx], listen
mov eax, dword [r15 + 0x50]
movzx ecx, byte [rdi + 0x1359]
mov dword [rdi + 0x1380], eax
movzx eax, byte [rbx]
mov dword [rdi + 0x1388], eax
movzx eax, byte [rbx]
test cl, cl
je 0x1800660f9
cmp cl, al
jbe 0x1800660ff
mov byte [rdi + 0x1359], al
cmp qword [rdi + 0x1168], 0
je 0x180066124
cmp byte [rdi + 0x135a], 0
jne 0x180066124
cmp dword [r15 + 0x50], 0x1a0
jne 0x180066124
mov byte [r15 + 0xd0], 1
movzx eax, byte [r13 + 0x6e4]
cmp al, 0xa
jne 0x18006614e
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, rdi
call fcn.1800568d0
mov edx, 1
mov rcx, r13
call fcn.180058160
jmp 0x18006616d
cmp al, 0x14
je 0x180066160
cmp dword [r15 + 0x6c], 2
jne 0x18006616d
cmp dword [r15 + 0x50], 0x65
jne 0x18006616d
mov rax, qword [r13 + 0x6a8]
mov dword [rax], 2
mov ecx, dword [r15 + 0x50]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [r15 + 0xd1], al
sub ecx, 0xcc
je 0x18006619e
cmp ecx, 0x64
jne 0x1800661af
cmp byte [rdi + 0x510], 0
je 0x18006619e
mov byte [rdi + 0x145c], 1
xor eax, eax
mov byte [r15 + 0xd1], 1
mov qword [r15], rax
mov qword [r15 + 8], rax
mov ebp, ntohs
mov rbx, r12
lea rcx, [rdi + 0xc80]
call fcn.180043670
mov rcx, rbx
mov rsi, rax
call fcn.180043660
mov r8, rax
xor edx, edx
mov rcx, rsi
mov rbx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180066afb
mov edx, dword [rdi + 0x134]
cmp edx, 2
jl 0x18006621d
movzx ecx, byte [rsi]
cmp cl, 0x20
je 0x1800661ff
cmp cl, 9
jne 0x180066204
cmp edx, 2
jg 0x18006621d
mov r8, rbx
mov edx, Ordinal_60
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180066ae3
mov r8, r14
mov rdx, r13
mov rcx, rdi
call fcn.180064200
test eax, eax
jne 0x180066ace
mov eax, dword [r15 + 0x50]
sub eax, 0x64
cmp eax, 0x64
jae 0x180066242
or ebp, 0x20
lea rcx, [rdi + 0xc80]
call fcn.180043660
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rdi
call fcn.1800566f0
lea rcx, [rdi + 0xc80]
call fcn.180043660
mov r9, rax
mov r8, r14
mov edx, ebp
mov rcx, rdi
call fcn.180056e00
test eax, eax
jne 0x180066ace
lea rcx, [rdi + 0xc80]
call fcn.180043660
mov r8d, dword [rdi + 0x12c]
mov r9d, 0x4b000
mov rcx, rax
cmp rax, r9
jae 0x1800662dd
mov edx, dword [rdi + 0x13c8]
add eax, r8d
add dword [rdi + 0x128], ecx
add edx, ecx
mov dword [rdi + 0x13c8], edx
mov dword [rdi + 0x12c], eax
cmp eax, r9d
ja 0x1800662d8
cmp edx, 0x5dc000
jbe 0x1800662e9
mov r9d, 0x5dc000
mov eax, edx
mov r8d, eax
jmp 0x1800662e0
add r8, rcx
test r8, r8
jne 0x180066bb1
lea rcx, [rdi + 0xc80]
call fcn.180043680
jmp 0x1800669ea
mov ecx, dword [r15 + 0x50]
xor r12b, r12b
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1800663a3
sub ecx, 0x64
je 0x18006636f
cmp ecx, 1
je 0x18006632c
mov byte [r15 + 0xcb], 1
mov dword [r15 + 0x44], 0
jmp 0x180066417
cmp byte [r13 + 0x6e4], 0xb
jne 0x180066b13
cmp dword [r15 + 0x6c], 2
jne 0x180066363
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rdi
call fcn.1800568d0
mov dword [r15 + 0x6c], 3
mov r12b, 1
mov dword [r15 + 0x44], 0
mov byte [r15 + 0xcb], r12b
jmp 0x180066417
cmp dword [r15 + 0x68], 0
mov byte [r15 + 0xcb], 1
mov dword [r15 + 0x44], 0
jle 0x180066417
or dword [r15 + 0x54], 2
xor edx, edx
mov rcx, rdi
mov dword [r15 + 0x68], 0
call fcn.180043d30
jmp 0x180066417
cmp dword [r15 + 0x6c], 2
jne 0x1800663b6
mov rcx, qword [rdi + 0xd8]
call fcn.180043e80
cmp qword [r15], 0xffffffffffffffff
mov byte [r15 + 0xcb], r12b
jne 0x180066417
cmp byte [r15 + 0xd2], r12b
jne 0x180066417
cmp byte [r13 + 0x2ae], r12b
jne 0x180066417
cmp byte [r13 + 0x6e4], 0xb
jne 0x180066417
mov rax, qword [r13 + 0x2c8]
test dword [rax + 0x84], 0x40000
jne 0x180066417
cmp byte [rdi + 0x135a], 5
je 0x180066417
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rdi
call fcn.1800568d0
mov edx, 2
mov rcx, r13
call fcn.180058160
cmp byte [r15 + 0xcb], 0
jne 0x180066472
cmp byte [rdi + 0x1c3], 0
jne 0x180066463
cmp byte [r15 + 0xd2], 0
jne 0x180066463
mov rdx, qword [r15]
cmp rdx, 0xffffffffffffffff
je 0x180066472
mov rax, qword [rdi + 0x6d0]
test rax, rax
je 0x180066452
cmp rdx, rax
jg 0x180066b29
mov rcx, rdi
call fcn.1800683f0
mov rax, qword [r15]
mov qword [r15 + 8], rax
jmp 0x180066472
mov qword [r15 + 8], 0xffffffffffffffff
mov qword [r15], 0xffffffffffffffff
cmp byte [r13 + 0x2ae], 0
je 0x18006650a
mov eax, dword [rdi + 0x140]
cmp eax, 0x191
jne 0x180066499
cmp dword [r13 + 0x390], 2
je 0x1800664aa
jmp 0x1800664c0
cmp eax, 0x197
jne 0x1800664c0
cmp dword [r13 + 0x394], 2
jne 0x1800664c0
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1800568d0
mov byte [rdi + 0x1361], 1
cmp byte [r13 + 0x2ae], 0
je 0x18006650a
mov eax, dword [rdi + 0x140]
cmp eax, 0x191
jne 0x1800664e3
cmp dword [r13 + 0x488], 1
je 0x1800664f4
jmp 0x18006650a
cmp eax, 0x197
jne 0x18006650a
cmp dword [r13 + 0x48c], 1
jne 0x18006650a
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1800568d0
mov byte [rdi + 0x1361], 1
cmp dword [r13 + 0x488], 3
jne 0x18006652b
cmp dword [rdi + 0x140], 0x191
je 0x18006652b
mov dword [r13 + 0x488], 4
cmp dword [r13 + 0x48c], 3
jne 0x18006654c
cmp dword [rdi + 0x140], 0x197
je 0x18006654c
mov dword [r13 + 0x48c], 4
mov eax, dword [r15 + 0x50]
lea rcx, [rdi + 0xc80]
sub eax, 0x64
mov ebx, 4
cmp eax, 0x64
mov eax, 0x24
cmovb ebx, eax
call fcn.180043660
lea rcx, [rdi + 0xc80]
mov rsi, rax
call fcn.180043670
mov r8, rax
mov r9, rsi
mov edx, ebx
mov rcx, rdi
call fcn.180056e00
test eax, eax
jne 0x180066ace
mov ecx, dword [rdi + 0x12c]
mov r9d, 0x4b000
cmp rsi, r9
jae 0x1800665de
mov edx, dword [rdi + 0x13c8]
lea r8d, [rsi + rcx]
add dword [rdi + 0x128], esi
add edx, esi
mov dword [rdi + 0x13c8], edx
mov dword [rdi + 0x12c], r8d
cmp r8d, r9d
ja 0x1800665e2
cmp edx, 0x5dc000
jbe 0x1800665eb
mov r9d, 0x5dc000
mov r8d, edx
jmp 0x1800665e2
lea r8, [rsi + rcx]
test r8, r8
jne 0x180066bb1
mov r8d, dword [r15 + 0x50]
mov rcx, rdi
call fcn.180066c50
test al, al
jne 0x180066b9b
lea eax, [r8 - 0x64]
cmp eax, 0x63
ja 0x180066610
mov eax, dword [rdi + 0x128]
jmp 0x180066612
xor eax, eax
mov edx, dword [rdi + 0x140]
xor bpl, bpl
mov rsi, qword [rdi + 0x20]
xor r14b, r14b
mov dword [rdi + 0x130], eax
xor ebx, ebx
mov rcx, qword [rdi + 0x900]
mov eax, 0xffffffff
test rcx, rcx
mov r9d, 0xffffffbf
cmovne r9d, eax
lea eax, [rdx - 0x64]
cmp eax, 0x63
jbe 0x180066830
lea r8, [rdi + 0x1361]
cmp byte [r8], bl
je 0x18006666e
movzx eax, byte [rdi + 0xa86]
neg al
sbb ebx, ebx
and ebx, 0x16
jmp 0x180066828
mov rax, r8
cmp qword [rdi + 0x1338], rbx
jne 0x180066686
test rcx, rcx
je 0x1800666f0
lea rax, [rdi + 0x1361]
cmp edx, 0x191
je 0x1800666a1
cmp byte [rsi + 0x2b8], bl
je 0x1800666f0
mov r8, rax
cmp edx, 0x12c
jge 0x1800666f0
lea rcx, [rdi + 0xdd0]
mov edx, r9d
call fcn.180067020
movzx ebp, al
test al, al
jne 0x1800666bb
mov byte [r8], 1
cmp dword [rdi + 0xdd4], 8
jne 0x1800666f0
cmp byte [rsi + 0x6e4], 0xb
jbe 0x1800666f0
lea rdx, str.Forcing_HTTP_1.1_for_NTLM
mov rcx, rdi
call fcn.1800568d0
mov edx, 1
mov rcx, rsi
call fcn.180058160
mov byte [rdi + 0x1358], 2
cmp byte [rsi + 0x2aa], bl
je 0x180066734
mov eax, dword [rdi + 0x140]
cmp eax, 0x197
je 0x180066714
cmp byte [rsi + 0x2b8], bl
je 0x180066734
cmp eax, 0x12c
jge 0x180066734
lea rcx, [rdi + 0xde0]
mov edx, 0xffffffbf
call fcn.180067020
movzx r14d, al
test al, al
jne 0x180066734
mov byte [rdi + 0x1361], 1
test bpl, bpl
jne 0x1800667a3
test r14b, r14b
jne 0x1800667a3
cmp dword [rdi + 0x140], 0x12c
jge 0x180066804
cmp byte [rdi + 0xddc], bl
jne 0x180066804
cmp byte [rsi + 0x2b8], bl
je 0x180066804
movzx eax, byte [rdi + 0x135a]
test al, al
je 0x180066804
cmp al, 5
je 0x180066804
mov rcx, qword [rdi + 0x1200]
call qword [case.0x18004a8bb.2]
mov qword [rdi + 0x180], rax
test rax, rax
je 0x180066b3f
mov byte [rdi + 0xddc], 1
jmp 0x180066804
movzx eax, byte [rdi + 0x135a]
test al, al
je 0x1800667cf
cmp al, 5
je 0x1800667cf
cmp byte [rdi + 0x136f], bl
jne 0x1800667cf
mov rdx, rsi
mov rcx, rdi
call fcn.180065ab0
mov ebx, eax
test eax, eax
jne 0x180066b44
mov rcx, qword [rdi + 0x180]
call qword [fcn.18009c6ea]
mov rcx, qword [rdi + 0x1200]
mov qword [rdi + 0x180], 0
call qword [case.0x18004a8bb.2]
mov qword [rdi + 0x180], rax
test rax, rax
je 0x180066b3f
mov rcx, rdi
call fcn.180066c50
test al, al
je 0x180066828
mov r8d, dword [rdi + 0x140]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1800567e0
mov ebx, reloc.WLDAP32.dll_Ordinal_22
test ebx, ebx
jne 0x180066b44
cmp dword [r15 + 0x50], 0x12c
jl 0x1800669c0
cmp byte [r13 + 0x2b8], 0
jne 0x180066999
cmp byte [r13 + 0x2ae], 0
jne 0x180066999
cmp byte [rdi + 0x136f], 0
jne 0x1800669a2
movzx ecx, byte [rdi + 0x135a]
sub ecx, 1
je 0x180066886
sub ecx, 1
je 0x180066886
sub ecx, 1
je 0x180066886
cmp ecx, 1
jne 0x180066999
xor edx, edx
mov rcx, rdi
call fcn.180043d30
cmp byte [r15 + 0xcf], 0
jne 0x180066999
cmp dword [r15 + 0x50], 0x1a1
jne 0x180066927
cmp byte [rdi + 0x1363], 0
je 0x180066927
cmp qword [r15 + 0x18], 0
jne 0x1800668d0
cmp dword [r15 + 0x68], 1
jne 0x1800668d0
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
mov rcx, rdi
call fcn.1800568d0
jmp 0x1800668ff
lea rdx, str.Got_HTTP_failure_417_while_sending_data
mov rcx, rdi
call fcn.1800568d0
mov edx, 2
mov rcx, r13
call fcn.180058160
mov rdx, r13
mov rcx, rdi
call fcn.180065ab0
test eax, eax
jne 0x180066ace
mov rcx, qword [rdi + 0x1200]
mov byte [rdi + 0x1364], 1
call qword [case.0x18004a8bb.2]
mov rdx, r15
mov rcx, rdi
mov qword [rdi + 0x180], rax
call fcn.18005d890
jmp 0x180066999
cmp byte [rdi + 0xa87], 0
mov rcx, rdi
je 0x180066955
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.1800568d0
cmp dword [r15 + 0x68], 0
jle 0x180066999
or dword [r15 + 0x54], 2
mov dword [r15 + 0x68], 0
jmp 0x180066999
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.1800568d0
mov edx, 2
mov rcx, r13
call fcn.180058160
mov rdx, r15
mov rcx, rdi
call fcn.18005d890
test eax, eax
jne 0x180066ace
mov byte [r15 + 0xcf], 1
cmp byte [rdi + 0x1363], al
je 0x180066999
mov dword [r15 + 0x68], 3
cmp byte [rdi + 0x136f], 0
je 0x1800669c0
cmp qword [r13 + 0x2f0], 0xffffffffffffffff
je 0x1800669c0
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rdi
call fcn.1800568d0
or dword [r15 + 0x54], 2
cmp byte [r15 + 0xcb], 0
je 0x180066b48
lea rcx, [rdi + 0xc80]
call fcn.180043680
test r12b, r12b
jne 0x180066c45
lea r12, [rdi + 0xc80]
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x180066ab0
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
jmp 0x180065cf0
mov edx, 2
mov rcx, r13
call fcn.180058160
cmp byte [rdi + 0xaa9], 0
je 0x180066c36
mov byte [r15 + 0xcb], 0
mov al, 1
jmp 0x180066ab2
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rdi
call fcn.1800567e0
mov eax, 1
jmp 0x180066ace
mov eax, 0x66666667
mov rcx, rdi
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.1800567e0
mov eax, 1
jmp 0x180066ace
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rdi
call fcn.1800567e0
mov eax, 1
jmp 0x180066ace
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rdi
call fcn.1800567e0
mov eax, 1
jmp 0x180066ace
mov byte [r15 + 0xcb], 0
xor al, al
cmp byte [r15 + 0xcb], 0
jne 0x180066acc
test al, al
jne 0x180066acc
lea rcx, [rdi + 0xc80]
call fcn.180043610
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
lea rdx, str.Header_without_colon
mov rcx, rdi
mov ebx, 8
call fcn.1800567e0
mov eax, ebx
jmp 0x180066ace
lea rdx, str.Nul_byte_in_header
mov rcx, rdi
mov ebx, 8
call fcn.1800567e0
mov eax, ebx
jmp 0x180066ace
lea rdx, str.unexpected_101_response_code
mov rcx, rdi
call fcn.1800567e0
mov eax, 8
jmp 0x180066ace
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rdi
call fcn.1800567e0
mov eax, 0x3f
jmp 0x180066ace
mov ebx, reloc.WLDAP32.dll_Ordinal_27
mov eax, ebx
jmp 0x180066ace
cmp byte [rdi + 0x1c7], 0
je 0x180066b59
mov byte [r15 + 0xcd], 1
cmp qword [r15 + 8], 0
jne 0x180066b68
mov byte [r15 + 0xcd], 1
lea rcx, [rdi + 0xc80]
call fcn.180043660
lea rcx, [rdi + 0xc80]
mov rbx, rax
call fcn.180043670
mov r8, rax
mov r9, rbx
mov edx, 1
mov rcx, rdi
call fcn.1800566f0
jmp 0x180066ab0
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1800567e0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x180066ace
lea rdx, str.Too_large_response_headers:__zu____u
mov rcx, rdi
call fcn.1800567e0
mov eax, gethostname
jmp 0x180066ace
mov r8, rsi
call fcn.180043600
test eax, eax
jne 0x180066ace
add qword [r14], rsi
cmp dword [r15 + 0x44], eax
jne 0x180066ab0
mov rcx, r12
call fcn.180043660
mov rcx, r12
mov rbx, rax
call fcn.180043670
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, rdi
call fcn.180065a40
cmp eax, 2
jne 0x180066ab0
mov edx, eax
mov byte [r15 + 0xcb], 0
mov rcx, r13
call fcn.180058160
cmp byte [rdi + 0xaa9], 0
je 0x180066c36
mov al, 1
jmp 0x180066ab2
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rdi
call fcn.1800567e0
mov eax, 1
jmp 0x180066ace