Function at 0x180077bc0
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 0x180078ada
sub rbx, rbp
inc rbx
mov r8, rbx
call fcn.180055510
test eax, eax
jne 0x1800789de
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 0x180077cbd
mov rcx, r12
call fcn.180055570
mov rcx, r12
mov rsi, rax
call fcn.180055580
mov rdx, rax
mov rax, qword [r13 + 0x2c8]
test dword [rax + 0x84], 0x40000
je 0x180077ca7
xor ebx, ebx
lea rcx, str.RTSP_
cmp rsi, 5
mov eax, 5
cmova rsi, rax
setae bl
mov r8, rsi
call fcn.18006f0d0
test eax, eax
mov ecx, 2
cmovne ecx, ebx
jmp 0x180077cb4
mov r8, rsi
mov rcx, rdi
call fcn.180077880
mov ecx, eax
cmp ecx, 2
je 0x180078917
mov rcx, r12
call fcn.180055580
mov r14, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x18007820a
cmp cl, 0xd
je 0x18007820a
mov ecx, dword [r15 + 0x44]
mov ebp, 4
mov rbx, r12
lea eax, [rcx + 1]
mov dword [r15 + 0x44], eax
test ecx, ecx
jne 0x1800780c7
mov rax, qword [r13 + 0x2c8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x180077f02
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x180077d33
nop dword [rax]
cmp al, 0x20
je 0x180077d28
cmp al, 9
jne 0x180077d33
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180077d20
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 0x180077dd5
movsx edx, byte [rbx + 5]
mov ecx, edx
sub ecx, 0x31
je 0x180077e1e
sub ecx, 1
je 0x180077d6e
cmp ecx, 1
jne 0x180078940
movzx eax, byte [rbx + 6]
cmp al, 0x20
je 0x180077d7a
cmp al, 9
jne 0x180077dd5
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 0x180077dd5
movsx edx, byte [rbx + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180077dd5
movsx r8d, byte [rbx + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180077dd5
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 0x180077ea7
sub al, 9
cmp al, bpl
jbe 0x180077ea7
lea rcx, [rdi + 0xc80]
call fcn.180055570
lea rcx, [rdi + 0xc80]
mov rbx, rax
call fcn.180055580
mov rdx, rax
mov r8, rbx
mov rcx, rdi
call fcn.180077880
cmp eax, 1
jne 0x1800789b8
lea rbx, [r13 + 0x6e4]
mov dword [r15 + 0x50], reloc.WLDAP32.dll_Ordinal_200
mov byte [rbx], 0xa
jmp 0x180077fe4
cmp byte [rbx + 6], 0x2e
jne 0x1800789a2
movsx ecx, byte [rbx + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x1800789a2
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x180077e47
cmp al, 9
jne 0x1800789a2
lea r9d, [rcx - 0x26]
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1800789a2
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1800789a2
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1800789a2
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 0x180077ea7
cmp al, 9
je 0x180077ea7
sub al, 0xa
cmp al, 3
ja 0x1800789a2
cmp ecx, 0x64
jl 0x18007898c
mov ecx, r9d
sub ecx, 0xa
je 0x180077ec1
cmp ecx, 1
jne 0x180078959
lea rbx, [r13 + 0x6e4]
mov byte [rbx], r9b
cmp dword [r15 + 0x6c], 3
jne 0x180077ee7
cmp r9b, 0x14
je 0x180077ee7
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rdi
call fcn.1800687e0
cmp byte [rbx], 0x14
jae 0x180077fe4
mov rax, qword [r13 + 0x6a8]
mov dword [rax], 0xffffffff
jmp 0x180077fe4
bt ecx, 0x12
jae 0x1800789b8
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x180077f2a
cmp al, 0x20
je 0x180077f1f
cmp al, 9
jne 0x180077f2a
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180077f17
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 0x1800789b8
movzx eax, byte [rbx + 5]
sub al, 0x30
cmp al, 9
ja 0x180078a32
cmp byte [rbx + 6], 0x2e
jne 0x180078a32
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 9
ja 0x180078a32
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x180077f7e
cmp al, 9
jne 0x180078a32
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180078a32
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180078a32
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180078a32
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 0x180077fda
cmp al, 9
je 0x180077fda
sub al, 0xa
cmp al, 3
ja 0x180078a32
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 0x180078009
cmp cl, al
jbe 0x18007800f
mov byte [rdi + 0x1359], al
cmp qword [rdi + 0x1168], 0
je 0x180078034
cmp byte [rdi + 0x135a], 0
jne 0x180078034
cmp dword [r15 + 0x50], 0x1a0
jne 0x180078034
mov byte [r15 + 0xd0], 1
movzx eax, byte [r13 + 0x6e4]
cmp al, 0xa
jne 0x18007805e
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, rdi
call fcn.1800687e0
mov edx, 1
mov rcx, r13
call fcn.18006a070
jmp 0x18007807d
cmp al, 0x14
je 0x180078070
cmp dword [r15 + 0x6c], 2
jne 0x18007807d
cmp dword [r15 + 0x50], 0x65
jne 0x18007807d
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 0x1800780ae
cmp ecx, 0x64
jne 0x1800780bf
cmp byte [rdi + 0x510], 0
je 0x1800780ae
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.180055580
mov rcx, rbx
mov rsi, rax
call fcn.180055570
mov r8, rax
xor edx, edx
mov rcx, rsi
mov rbx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x180078a0b
mov edx, dword [rdi + 0x134]
cmp edx, 2
jl 0x18007812d
movzx ecx, byte [rsi]
cmp cl, 0x20
je 0x18007810f
cmp cl, 9
jne 0x180078114
cmp edx, 2
jg 0x18007812d
mov r8, rbx
mov edx, Ordinal_60
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1800789f3
mov r8, r14
mov rdx, r13
mov rcx, rdi
call fcn.180076110
test eax, eax
jne 0x1800789de
mov eax, dword [r15 + 0x50]
sub eax, 0x64
cmp eax, 0x64
jae 0x180078152
or ebp, 0x20
lea rcx, [rdi + 0xc80]
call fcn.180055570
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rdi
call fcn.180068600
lea rcx, [rdi + 0xc80]
call fcn.180055570
mov r9, rax
mov r8, r14
mov edx, ebp
mov rcx, rdi
call fcn.180068d10
test eax, eax
jne 0x1800789de
lea rcx, [rdi + 0xc80]
call fcn.180055570
mov r8d, dword [rdi + 0x12c]
mov r9d, 0x4b000
mov rcx, rax
cmp rax, r9
jae 0x1800781ed
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 0x1800781e8
cmp edx, 0x5dc000
jbe 0x1800781f9
mov r9d, 0x5dc000
mov eax, edx
mov r8d, eax
jmp 0x1800781f0
add r8, rcx
test r8, r8
jne 0x180078ac1
lea rcx, [rdi + 0xc80]
call fcn.180055590
jmp 0x1800788fa
mov ecx, dword [r15 + 0x50]
xor r12b, r12b
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1800782b3
sub ecx, 0x64
je 0x18007827f
cmp ecx, 1
je 0x18007823c
mov byte [r15 + 0xcb], 1
mov dword [r15 + 0x44], 0
jmp 0x180078327
cmp byte [r13 + 0x6e4], 0xb
jne 0x180078a23
cmp dword [r15 + 0x6c], 2
jne 0x180078273
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rdi
call fcn.1800687e0
mov dword [r15 + 0x6c], 3
mov r12b, 1
mov dword [r15 + 0x44], 0
mov byte [r15 + 0xcb], r12b
jmp 0x180078327
cmp dword [r15 + 0x68], 0
mov byte [r15 + 0xcb], 1
mov dword [r15 + 0x44], 0
jle 0x180078327
or dword [r15 + 0x54], 2
xor edx, edx
mov rcx, rdi
mov dword [r15 + 0x68], 0
call fcn.180055c40
jmp 0x180078327
cmp dword [r15 + 0x6c], 2
jne 0x1800782c6
mov rcx, qword [rdi + 0xd8]
call fcn.180055d90
cmp qword [r15], 0xffffffffffffffff
mov byte [r15 + 0xcb], r12b
jne 0x180078327
cmp byte [r15 + 0xd2], r12b
jne 0x180078327
cmp byte [r13 + 0x2ae], r12b
jne 0x180078327
cmp byte [r13 + 0x6e4], 0xb
jne 0x180078327
mov rax, qword [r13 + 0x2c8]
test dword [rax + 0x84], 0x40000
jne 0x180078327
cmp byte [rdi + 0x135a], 5
je 0x180078327
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rdi
call fcn.1800687e0
mov edx, 2
mov rcx, r13
call fcn.18006a070
cmp byte [r15 + 0xcb], 0
jne 0x180078382
cmp byte [rdi + 0x1c3], 0
jne 0x180078373
cmp byte [r15 + 0xd2], 0
jne 0x180078373
mov rdx, qword [r15]
cmp rdx, 0xffffffffffffffff
je 0x180078382
mov rax, qword [rdi + 0x6d0]
test rax, rax
je 0x180078362
cmp rdx, rax
jg 0x180078a39
mov rcx, rdi
call fcn.18007a300
mov rax, qword [r15]
mov qword [r15 + 8], rax
jmp 0x180078382
mov qword [r15 + 8], 0xffffffffffffffff
mov qword [r15], 0xffffffffffffffff
cmp byte [r13 + 0x2ae], 0
je 0x18007841a
mov eax, dword [rdi + 0x140]
cmp eax, 0x191
jne 0x1800783a9
cmp dword [r13 + 0x390], 2
je 0x1800783ba
jmp 0x1800783d0
cmp eax, 0x197
jne 0x1800783d0
cmp dword [r13 + 0x394], 2
jne 0x1800783d0
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1800687e0
mov byte [rdi + 0x1361], 1
cmp byte [r13 + 0x2ae], 0
je 0x18007841a
mov eax, dword [rdi + 0x140]
cmp eax, 0x191
jne 0x1800783f3
cmp dword [r13 + 0x488], 1
je 0x180078404
jmp 0x18007841a
cmp eax, 0x197
jne 0x18007841a
cmp dword [r13 + 0x48c], 1
jne 0x18007841a
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1800687e0
mov byte [rdi + 0x1361], 1
cmp dword [r13 + 0x488], 3
jne 0x18007843b
cmp dword [rdi + 0x140], 0x191
je 0x18007843b
mov dword [r13 + 0x488], 4
cmp dword [r13 + 0x48c], 3
jne 0x18007845c
cmp dword [rdi + 0x140], 0x197
je 0x18007845c
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.180055570
lea rcx, [rdi + 0xc80]
mov rsi, rax
call fcn.180055580
mov r8, rax
mov r9, rsi
mov edx, ebx
mov rcx, rdi
call fcn.180068d10
test eax, eax
jne 0x1800789de
mov ecx, dword [rdi + 0x12c]
mov r9d, 0x4b000
cmp rsi, r9
jae 0x1800784ee
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 0x1800784f2
cmp edx, 0x5dc000
jbe 0x1800784fb
mov r9d, 0x5dc000
mov r8d, edx
jmp 0x1800784f2
lea r8, [rsi + rcx]
test r8, r8
jne 0x180078ac1
mov r8d, dword [r15 + 0x50]
mov rcx, rdi
call fcn.180078b60
test al, al
jne 0x180078aab
lea eax, [r8 - 0x64]
cmp eax, 0x63
ja 0x180078520
mov eax, dword [rdi + 0x128]
jmp 0x180078522
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 0x180078740
lea r8, [rdi + 0x1361]
cmp byte [r8], bl
je 0x18007857e
movzx eax, byte [rdi + 0xa86]
neg al
sbb ebx, ebx
and ebx, 0x16
jmp 0x180078738
mov rax, r8
cmp qword [rdi + 0x1338], rbx
jne 0x180078596
test rcx, rcx
je 0x180078600
lea rax, [rdi + 0x1361]
cmp edx, 0x191
je 0x1800785b1
cmp byte [rsi + 0x2b8], bl
je 0x180078600
mov r8, rax
cmp edx, 0x12c
jge 0x180078600
lea rcx, [rdi + 0xdd0]
mov edx, r9d
call fcn.180078f30
movzx ebp, al
test al, al
jne 0x1800785cb
mov byte [r8], 1
cmp dword [rdi + 0xdd4], 8
jne 0x180078600
cmp byte [rsi + 0x6e4], 0xb
jbe 0x180078600
lea rdx, str.Forcing_HTTP_1.1_for_NTLM
mov rcx, rdi
call fcn.1800687e0
mov edx, 1
mov rcx, rsi
call fcn.18006a070
mov byte [rdi + 0x1358], 2
cmp byte [rsi + 0x2aa], bl
je 0x180078644
mov eax, dword [rdi + 0x140]
cmp eax, 0x197
je 0x180078624
cmp byte [rsi + 0x2b8], bl
je 0x180078644
cmp eax, 0x12c
jge 0x180078644
lea rcx, [rdi + 0xde0]
mov edx, 0xffffffbf
call fcn.180078f30
movzx r14d, al
test al, al
jne 0x180078644
mov byte [rdi + 0x1361], 1
test bpl, bpl
jne 0x1800786b3
test r14b, r14b
jne 0x1800786b3
cmp dword [rdi + 0x140], 0x12c
jge 0x180078714
cmp byte [rdi + 0xddc], bl
jne 0x180078714
cmp byte [rsi + 0x2b8], bl
je 0x180078714
movzx eax, byte [rdi + 0x135a]
test al, al
je 0x180078714
cmp al, 5
je 0x180078714
mov rcx, qword [rdi + 0x1200]
call qword [case.0x18005c7cb.2]
mov qword [rdi + 0x180], rax
test rax, rax
je 0x180078a4f
mov byte [rdi + 0xddc], 1
jmp 0x180078714
movzx eax, byte [rdi + 0x135a]
test al, al
je 0x1800786df
cmp al, 5
je 0x1800786df
cmp byte [rdi + 0x136f], bl
jne 0x1800786df
mov rdx, rsi
mov rcx, rdi
call fcn.1800779c0
mov ebx, eax
test eax, eax
jne 0x180078a54
mov rcx, qword [rdi + 0x180]
call qword [fcn.1800ae5fa]
mov rcx, qword [rdi + 0x1200]
mov qword [rdi + 0x180], 0
call qword [case.0x18005c7cb.2]
mov qword [rdi + 0x180], rax
test rax, rax
je 0x180078a4f
mov rcx, rdi
call fcn.180078b60
test al, al
je 0x180078738
mov r8d, dword [rdi + 0x140]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1800686f0
mov ebx, reloc.WLDAP32.dll_Ordinal_22
test ebx, ebx
jne 0x180078a54
cmp dword [r15 + 0x50], 0x12c
jl 0x1800788d0
cmp byte [r13 + 0x2b8], 0
jne 0x1800788a9
cmp byte [r13 + 0x2ae], 0
jne 0x1800788a9
cmp byte [rdi + 0x136f], 0
jne 0x1800788b2
movzx ecx, byte [rdi + 0x135a]
sub ecx, 1
je 0x180078796
sub ecx, 1
je 0x180078796
sub ecx, 1
je 0x180078796
cmp ecx, 1
jne 0x1800788a9
xor edx, edx
mov rcx, rdi
call fcn.180055c40
cmp byte [r15 + 0xcf], 0
jne 0x1800788a9
cmp dword [r15 + 0x50], 0x1a1
jne 0x180078837
cmp byte [rdi + 0x1363], 0
je 0x180078837
cmp qword [r15 + 0x18], 0
jne 0x1800787e0
cmp dword [r15 + 0x68], 1
jne 0x1800787e0
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
mov rcx, rdi
call fcn.1800687e0
jmp 0x18007880f
lea rdx, str.Got_HTTP_failure_417_while_sending_data
mov rcx, rdi
call fcn.1800687e0
mov edx, 2
mov rcx, r13
call fcn.18006a070
mov rdx, r13
mov rcx, rdi
call fcn.1800779c0
test eax, eax
jne 0x1800789de
mov rcx, qword [rdi + 0x1200]
mov byte [rdi + 0x1364], 1
call qword [case.0x18005c7cb.2]
mov rdx, r15
mov rcx, rdi
mov qword [rdi + 0x180], rax
call fcn.18006f7a0
jmp 0x1800788a9
cmp byte [rdi + 0xa87], 0
mov rcx, rdi
je 0x180078865
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.1800687e0
cmp dword [r15 + 0x68], 0
jle 0x1800788a9
or dword [r15 + 0x54], 2
mov dword [r15 + 0x68], 0
jmp 0x1800788a9
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.1800687e0
mov edx, 2
mov rcx, r13
call fcn.18006a070
mov rdx, r15
mov rcx, rdi
call fcn.18006f7a0
test eax, eax
jne 0x1800789de
mov byte [r15 + 0xcf], 1
cmp byte [rdi + 0x1363], al
je 0x1800788a9
mov dword [r15 + 0x68], 3
cmp byte [rdi + 0x136f], 0
je 0x1800788d0
cmp qword [r13 + 0x2f0], 0xffffffffffffffff
je 0x1800788d0
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rdi
call fcn.1800687e0
or dword [r15 + 0x54], 2
cmp byte [r15 + 0xcb], 0
je 0x180078a58
lea rcx, [rdi + 0xc80]
call fcn.180055590
test r12b, r12b
jne 0x180078b55
lea r12, [rdi + 0xc80]
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x1800789c0
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
jmp 0x180077c00
mov edx, 2
mov rcx, r13
call fcn.18006a070
cmp byte [rdi + 0xaa9], 0
je 0x180078b46
mov byte [r15 + 0xcb], 0
mov al, 1
jmp 0x1800789c2
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rdi
call fcn.1800686f0
mov eax, 1
jmp 0x1800789de
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.1800686f0
mov eax, 1
jmp 0x1800789de
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rdi
call fcn.1800686f0
mov eax, 1
jmp 0x1800789de
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rdi
call fcn.1800686f0
mov eax, 1
jmp 0x1800789de
mov byte [r15 + 0xcb], 0
xor al, al
cmp byte [r15 + 0xcb], 0
jne 0x1800789dc
test al, al
jne 0x1800789dc
lea rcx, [rdi + 0xc80]
call fcn.180055520
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.1800686f0
mov eax, ebx
jmp 0x1800789de
lea rdx, str.Nul_byte_in_header
mov rcx, rdi
mov ebx, 8
call fcn.1800686f0
mov eax, ebx
jmp 0x1800789de
lea rdx, str.unexpected_101_response_code
mov rcx, rdi
call fcn.1800686f0
mov eax, 8
jmp 0x1800789de
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rdi
call fcn.1800686f0
mov eax, 0x3f
jmp 0x1800789de
mov ebx, reloc.WLDAP32.dll_Ordinal_27
mov eax, ebx
jmp 0x1800789de
cmp byte [rdi + 0x1c7], 0
je 0x180078a69
mov byte [r15 + 0xcd], 1
cmp qword [r15 + 8], 0
jne 0x180078a78
mov byte [r15 + 0xcd], 1
lea rcx, [rdi + 0xc80]
call fcn.180055570
lea rcx, [rdi + 0xc80]
mov rbx, rax
call fcn.180055580
mov r8, rax
mov r9, rbx
mov edx, 1
mov rcx, rdi
call fcn.180068600
jmp 0x1800789c0
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1800686f0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x1800789de
lea rdx, str.Too_large_response_headers:__zu____u
mov rcx, rdi
call fcn.1800686f0
mov eax, gethostname
jmp 0x1800789de
mov r8, rsi
call fcn.180055510
test eax, eax
jne 0x1800789de
add qword [r14], rsi
cmp dword [r15 + 0x44], eax
jne 0x1800789c0
mov rcx, r12
call fcn.180055570
mov rcx, r12
mov rbx, rax
call fcn.180055580
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, rdi
call fcn.180077950
cmp eax, 2
jne 0x1800789c0
mov edx, eax
mov byte [r15 + 0xcb], 0
mov rcx, r13
call fcn.18006a070
cmp byte [rdi + 0xaa9], 0
je 0x180078b46
mov al, 1
jmp 0x1800789c2
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rdi
call fcn.1800686f0
mov eax, 1
jmp 0x1800789de