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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, qword [rsp + 0x80]
lea r15, [rcx + 0xf0]
mov rsi, r9
lea r12, [rcx + 0xc80]
mov rbp, r8
mov r13, rdx
mov rdi, rcx
mov qword [r14], 0
nop dword [rax]
mov r8, rsi
mov edx, 0xa
mov rcx, rbp
call fcn.1400b5140
mov rbx, rax
mov rdx, rbp
mov rcx, r12
test rax, rax
je 0x14005544b
sub rbx, rbp
inc rbx
mov r8, rbx
call fcn.140039550
test eax, eax
jne 0x140055290
add qword [r14], rbx
sub rsi, rbx
add rbp, rbx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rbp
cmp dword [r15 + 0x44], eax
jne 0x14005463d
mov rcx, r12
call fcn.1400395b0
mov rcx, r12
mov rsi, rax
call fcn.1400395c0
mov rdx, rax
mov rax, qword [r13 + 0x318]
test dword [rax + 0x84], 0x40000
je 0x140054627
xor ebx, ebx
lea rcx, str.RTSP_
cmp rsi, 5
mov eax, 5
cmova rsi, rax
setae bl
mov r8, rsi
call fcn.14004a9f0
test eax, eax
mov ecx, 2
cmovne ecx, ebx
jmp 0x140054634
mov r8, rsi
mov rcx, rdi
call fcn.140055a10
mov ecx, eax
cmp ecx, 2
je 0x14005526a
mov rcx, r12
call fcn.1400395c0
mov r14, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x140054b9c
cmp cl, 0xd
je 0x140054b9c
mov ecx, dword [r15 + 0x44]
mov ebp, 4
mov rbx, r12
lea eax, [rcx + 1]
mov dword [r15 + 0x44], eax
test ecx, ecx
jne 0x140054a4d
mov rax, qword [r13 + 0x318]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x140054881
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x1400546b3
nop dword [rax]
cmp al, 0x20
je 0x1400546a8
cmp al, 9
jne 0x1400546b3
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400546a0
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rbx
call fcn.140099540
test eax, eax
jne 0x140054754
movsx edx, byte [rbx + 5]
mov ecx, edx
sub ecx, 0x31
je 0x14005479d
sub ecx, 1
je 0x1400546ed
cmp ecx, 1
jne 0x1400552a5
movzx eax, byte [rbx + 6]
cmp al, 0x20
je 0x1400546f9
cmp al, 9
jne 0x140054754
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 0x140054754
movsx edx, byte [rbx + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140054754
movsx r8d, byte [rbx + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x140054754
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 0x140054826
sub al, 9
cmp al, bpl
jbe 0x140054826
lea rcx, [rdi + 0xc80]
call fcn.1400395b0
lea rcx, [rdi + 0xc80]
mov rbx, rax
call fcn.1400395c0
mov rdx, rax
mov r8, rbx
mov rcx, rdi
call fcn.140055a10
cmp eax, 1
jne 0x140055327
lea rbx, [r13 + 0x73d]
mov dword [r15 + 0x50], reloc.WLDAP32.dll_Ordinal_200
mov byte [rbx], 0xa
jmp 0x140054962
cmp byte [rbx + 6], 0x2e
jne 0x140055304
movsx ecx, byte [rbx + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x140055304
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x1400547c6
cmp al, 9
jne 0x140055304
lea r9d, [rcx - 0x26]
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140055304
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140055304
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x140055304
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 0x140054826
cmp al, 9
je 0x140054826
sub al, 0xa
cmp al, 3
ja 0x140055304
cmp ecx, 0x64
jl 0x1400552ee
mov ecx, r9d
sub ecx, 0xa
je 0x140054840
cmp ecx, 1
jne 0x1400552bb
lea rbx, [r13 + 0x73d]
mov byte [rbx], r9b
cmp dword [r15 + 0x6c], 3
jne 0x140054866
cmp r9b, 0x14
je 0x140054866
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rdi
call fcn.1400457b0
cmp byte [rbx], 0x14
jae 0x140054962
mov rax, qword [r13 + 0x700]
mov dword [rax], 0xffffffff
jmp 0x140054962
bt ecx, 0x12
jae 0x140055327
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x1400548a9
cmp al, 0x20
je 0x14005489e
cmp al, 9
jne 0x1400548a9
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140054896
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rbx
call fcn.140099540
test eax, eax
jne 0x140055327
movzx eax, byte [rbx + 5]
sub al, 0x30
cmp al, 9
ja 0x14005531d
cmp byte [rbx + 6], 0x2e
jne 0x14005531d
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 9
ja 0x14005531d
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x1400548fc
cmp al, 9
jne 0x14005531d
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14005531d
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x14005531d
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14005531d
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 0x140054958
cmp al, 9
je 0x140054958
sub al, 0xa
cmp al, 3
ja 0x14005531d
lea rbx, [r13 + 0x73d]
mov byte [rbx], listen
mov eax, dword [r15 + 0x50]
mov rcx, rbx
movzx edx, byte [rdi + 0x1329]
mov dword [rdi + 0x1350], eax
movzx eax, byte [rbx]
mov dword [rdi + 0x1358], eax
movzx eax, byte [rbx]
test dl, dl
je 0x140054991
cmp dl, al
jbe 0x140054997
lea rcx, [r13 + 0x73d]
mov byte [rdi + 0x1329], al
cmp qword [rdi + 0x1138], 0
je 0x1400549bf
cmp byte [rdi + 0x132a], 0
jne 0x1400549bf
cmp dword [r15 + 0x50], 0x1a0
mov rbx, rcx
jne 0x1400549bf
mov byte [r15 + 0xd1], 1
movzx eax, byte [rbx]
cmp al, 0xa
jne 0x1400549e4
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, rdi
call fcn.1400457b0
mov edx, 1
mov rcx, r13
call fcn.140047090
jmp 0x140054a03
cmp al, 0x14
je 0x1400549f6
cmp dword [r15 + 0x6c], 2
jne 0x140054a03
cmp dword [r15 + 0x50], 0x65
jne 0x140054a03
mov rax, qword [r13 + 0x700]
mov dword [rax], 2
mov ecx, dword [r15 + 0x50]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [r15 + 0xd2], al
sub ecx, 0xcc
je 0x140054a34
cmp ecx, 0x64
jne 0x140054a45
cmp byte [rdi + 0x518], 0
je 0x140054a34
mov byte [rdi + 0x142c], 1
xor eax, eax
mov byte [r15 + 0xd2], 1
mov qword [r15], rax
mov qword [r15 + 8], rax
mov ebp, ntohs
mov rbx, r12
lea rcx, [rdi + 0xc80]
call fcn.1400395c0
mov rcx, rbx
mov rsi, rax
call fcn.1400395b0
mov r8, rax
xor edx, edx
mov rcx, rsi
mov rbx, rax
call fcn.1400b5140
test rax, rax
jne 0x14005534f
mov edx, dword [rdi + 0x134]
cmp edx, 2
jl 0x140054ab3
movzx ecx, byte [rsi]
cmp cl, 0x20
je 0x140054a95
cmp cl, 9
jne 0x140054a9a
cmp edx, 2
jg 0x140054ab3
mov r8, rbx
mov edx, Ordinal_60
mov rcx, rsi
call fcn.1400b5140
test rax, rax
je 0x140055334
mov r8, r14
mov rdx, r13
mov rcx, rdi
call fcn.1400534b0
test eax, eax
jne 0x140055290
mov eax, dword [r15 + 0x50]
sub eax, 0x64
cmp eax, 0x64
jae 0x140054ad8
or ebp, 0x20
lea rcx, [rdi + 0xc80]
call fcn.1400395b0
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rdi
call fcn.1400455e0
lea rcx, [rdi + 0xc80]
call fcn.1400395b0
mov r9, rax
mov r8, r14
mov edx, ebp
mov rcx, rdi
call fcn.140045cf0
test eax, eax
jne 0x140055290
lea rcx, [rdi + 0xc80]
call fcn.1400395b0
mov r8d, dword [rdi + 0x12c]
mov r9d, 0x4b000
mov rcx, rax
cmp rax, r9
jae 0x140054b77
mov edx, dword [rdi + 0x1398]
add eax, r8d
add dword [rdi + 0x128], ecx
add edx, ecx
mov dword [rdi + 0x1398], edx
mov dword [rdi + 0x12c], eax
cmp eax, r9d
ja 0x140054b72
cmp edx, 0x5dc000
jbe 0x140055246
mov r9d, 0x5dc000
mov eax, edx
mov r8d, eax
jmp 0x140054b7a
add r8, rcx
test r8, r8
je 0x140055246
lea rdx, str.Too_large_response_headers:__zu____u
mov rcx, rdi
call fcn.1400456c0
mov eax, gethostname
jmp 0x140055290
mov ecx, dword [r15 + 0x50]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x140054c13
sub ecx, 0x64
je 0x140054bdf
cmp ecx, 1
je 0x140054bc7
mov byte [r15 + 0xcc], 1
mov dword [r15 + 0x44], 0
jmp 0x140054c8a
cmp dword [r15 + 0x6c], 2
je 0x14005536a
mov byte [r15 + 0xcc], 0
jmp 0x140054c8a
cmp dword [r15 + 0x68], 0
mov byte [r15 + 0xcc], 1
mov dword [r15 + 0x44], 0
jle 0x140054c8a
or dword [r15 + 0x54], 2
xor edx, edx
mov rcx, rdi
mov dword [r15 + 0x68], 0
call fcn.140032f60
jmp 0x140054c8a
cmp dword [r15 + 0x6c], 2
jne 0x140054c26
mov rcx, qword [rdi + 0xd8]
call fcn.1400330b0
cmp qword [r15], 0xffffffffffffffff
mov byte [r15 + 0xcc], 0
jne 0x140054c8a
cmp byte [r15 + 0xd3], 0
jne 0x140054c8a
cmp byte [r13 + 0x2fe], 0
jne 0x140054c8a
cmp byte [r13 + 0x73d], 0xb
jne 0x140054c8a
mov rax, qword [r13 + 0x318]
test dword [rax + 0x84], 0x40000
jne 0x140054c8a
cmp byte [rdi + 0x132a], 5
je 0x140054c8a
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rdi
call fcn.1400457b0
mov edx, 2
mov rcx, r13
call fcn.140047090
cmp byte [r15 + 0xcc], 0
jne 0x140054ce5
cmp byte [rdi + 0x1c4], 0
jne 0x140054cd6
cmp byte [r15 + 0xd3], 0
jne 0x140054cd6
mov rdx, qword [r15]
cmp rdx, 0xffffffffffffffff
je 0x140054ce5
mov rax, qword [rdi + 0x6d8]
test rax, rax
je 0x140054cc5
cmp rdx, rax
jg 0x14005539b
mov rcx, rdi
call fcn.1400574f0
mov rax, qword [r15]
mov qword [r15 + 8], rax
jmp 0x140054ce5
mov qword [r15 + 8], 0xffffffffffffffff
mov qword [r15], 0xffffffffffffffff
cmp byte [r13 + 0x2fe], 0
je 0x140054d7d
mov eax, dword [rdi + 0x140]
cmp eax, 0x191
jne 0x140054d0c
cmp dword [r13 + 0x3e0], 2
je 0x140054d1d
jmp 0x140054d33
cmp eax, 0x197
jne 0x140054d33
cmp dword [r13 + 0x3e4], 2
jne 0x140054d33
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1400457b0
mov byte [rdi + 0x1331], 1
cmp byte [r13 + 0x2fe], 0
je 0x140054d7d
mov eax, dword [rdi + 0x140]
cmp eax, 0x191
jne 0x140054d56
cmp dword [r13 + 0x4d8], 1
je 0x140054d67
jmp 0x140054d7d
cmp eax, 0x197
jne 0x140054d7d
cmp dword [r13 + 0x4dc], 1
jne 0x140054d7d
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1400457b0
mov byte [rdi + 0x1331], 1
cmp dword [r13 + 0x4d8], 3
jne 0x140054d9e
cmp dword [rdi + 0x140], 0x191
je 0x140054d9e
mov dword [r13 + 0x4d8], 4
cmp dword [r13 + 0x4dc], 3
jne 0x140054dbf
cmp dword [rdi + 0x140], 0x197
je 0x140054dbf
mov dword [r13 + 0x4dc], 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.1400395b0
lea rcx, [rdi + 0xc80]
mov rsi, rax
call fcn.1400395c0
mov r8, rax
mov r9, rsi
mov edx, ebx
mov rcx, rdi
call fcn.140045cf0
test eax, eax
jne 0x140055290
mov ecx, dword [rdi + 0x12c]
mov r9d, 0x4b000
cmp rsi, r9
jae 0x140054e56
mov r8d, dword [rdi + 0x1398]
lea edx, [rsi + rcx]
add dword [rdi + 0x128], esi
add r8d, esi
mov dword [rdi + 0x1398], r8d
mov dword [rdi + 0x12c], edx
cmp edx, r9d
ja 0x140054e51
cmp r8d, 0x5dc000
jbe 0x140054e63
mov r9d, 0x5dc000
mov edx, r8d
mov r8d, edx
jmp 0x140054e5a
lea r8, [rsi + rcx]
test r8, r8
jne 0x140054b83
mov r8d, dword [r15 + 0x50]
mov rcx, rdi
call fcn.140055d50
test al, al
jne 0x140055435
lea eax, [r8 - 0x64]
cmp eax, 0x63
ja 0x140054e88
mov eax, dword [rdi + 0x128]
jmp 0x140054e8a
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 + 0x908]
mov eax, 0xffffffff
test rcx, rcx
mov r9d, 0xffffffbf
cmovne r9d, eax
lea eax, [rdx - 0x64]
cmp eax, 0x63
jbe 0x1400550a8
lea r8, [rdi + 0x1331]
cmp byte [r8], bl
je 0x140054ee6
movzx eax, byte [rdi + 0xa8e]
neg al
sbb ebx, ebx
and ebx, 0x16
jmp 0x1400550a0
mov rax, r8
cmp qword [rdi + 0x1308], rbx
jne 0x140054efe
test rcx, rcx
je 0x140054f68
lea rax, [rdi + 0x1331]
cmp edx, 0x191
je 0x140054f19
cmp byte [rsi + 0x308], bl
je 0x140054f68
mov r8, rax
cmp edx, 0x12c
jge 0x140054f68
lea rcx, [rdi + 0xdd0]
mov edx, r9d
call fcn.140056120
movzx ebp, al
test al, al
jne 0x140054f33
mov byte [r8], 1
cmp dword [rdi + 0xdd4], 8
jne 0x140054f68
cmp byte [rsi + 0x73d], 0xb
jbe 0x140054f68
lea rdx, str.Forcing_HTTP_1.1_for_NTLM
mov rcx, rdi
call fcn.1400457b0
mov edx, 1
mov rcx, rsi
call fcn.140047090
mov byte [rdi + 0x1328], 2
cmp byte [rsi + 0x2fa], bl
je 0x140054fac
mov eax, dword [rdi + 0x140]
cmp eax, 0x197
je 0x140054f8c
cmp byte [rsi + 0x308], bl
je 0x140054fac
cmp eax, 0x12c
jge 0x140054fac
lea rcx, [rdi + 0xde0]
mov edx, 0xffffffbf
call fcn.140056120
movzx r14d, al
test al, al
jne 0x140054fac
mov byte [rdi + 0x1331], 1
test bpl, bpl
jne 0x14005501b
test r14b, r14b
jne 0x14005501b
cmp dword [rdi + 0x140], 0x12c
jge 0x14005507c
cmp byte [rdi + 0xddc], bl
jne 0x14005507c
cmp byte [rsi + 0x308], bl
je 0x14005507c
movzx eax, byte [rdi + 0x132a]
test al, al
je 0x14005507c
cmp al, 5
je 0x14005507c
mov rcx, qword [rdi + 0x11d0]
call qword [str.8I_n_]
mov qword [rdi + 0x180], rax
test rax, rax
je 0x1400553b4
mov byte [rdi + 0xddc], 1
jmp 0x14005507c
movzx eax, byte [rdi + 0x132a]
test al, al
je 0x140055047
cmp al, 5
je 0x140055047
cmp byte [rdi + 0x133f], bl
jne 0x140055047
mov rdx, rsi
mov rcx, rdi
call fcn.140055b50
mov ebx, eax
test eax, eax
jne 0x1400553b9
mov rcx, qword [rdi + 0x180]
call qword [fcn.1400985c0]
mov rcx, qword [rdi + 0x11d0]
mov qword [rdi + 0x180], 0
call qword [str.8I_n_]
mov qword [rdi + 0x180], rax
test rax, rax
je 0x1400553b4
mov rcx, rdi
call fcn.140055d50
test al, al
je 0x1400550a0
mov r8d, dword [rdi + 0x140]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1400456c0
mov ebx, reloc.WLDAP32.dll_Ordinal_22
test ebx, ebx
jne 0x1400553b9
cmp dword [r15 + 0x50], 0x12c
jl 0x140055238
cmp byte [r13 + 0x308], 0
jne 0x140055211
cmp byte [r13 + 0x2fe], 0
jne 0x140055211
cmp byte [rdi + 0x133f], 0
jne 0x14005521a
movzx ecx, byte [rdi + 0x132a]
sub ecx, 1
je 0x1400550fe
sub ecx, 1
je 0x1400550fe
sub ecx, 1
je 0x1400550fe
cmp ecx, 1
jne 0x140055211
xor edx, edx
mov rcx, rdi
call fcn.140032f60
cmp byte [r15 + 0xd0], 0
jne 0x140055211
cmp dword [r15 + 0x50], 0x1a1
jne 0x14005519f
cmp byte [rdi + 0x1333], 0
je 0x14005519f
cmp qword [r15 + 0x18], 0
jne 0x140055148
cmp dword [r15 + 0x68], 1
jne 0x140055148
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
mov rcx, rdi
call fcn.1400457b0
jmp 0x140055177
lea rdx, str.Got_HTTP_failure_417_while_sending_data
mov rcx, rdi
call fcn.1400457b0
mov edx, 2
mov rcx, r13
call fcn.140047090
mov rdx, r13
mov rcx, rdi
call fcn.140055b50
test eax, eax
jne 0x140055290
mov rcx, qword [rdi + 0x11d0]
mov byte [rdi + 0x1334], 1
call qword [str.8I_n_]
mov rdx, r15
mov rcx, rdi
mov qword [rdi + 0x180], rax
call fcn.14004b060
jmp 0x140055211
cmp byte [rdi + 0xa8f], 0
mov rcx, rdi
je 0x1400551cd
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.1400457b0
cmp dword [r15 + 0x68], 0
jle 0x140055211
or dword [r15 + 0x54], 2
mov dword [r15 + 0x68], 0
jmp 0x140055211
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.1400457b0
mov edx, 2
mov rcx, r13
call fcn.140047090
mov rdx, r15
mov rcx, rdi
call fcn.14004b060
test eax, eax
jne 0x140055290
mov byte [r15 + 0xd0], 1
cmp byte [rdi + 0x1333], al
je 0x140055211
mov dword [r15 + 0x68], 3
cmp byte [rdi + 0x133f], 0
je 0x140055238
cmp qword [r13 + 0x340], 0xffffffffffffffff
je 0x140055238
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rdi
call fcn.1400457b0
or dword [r15 + 0x54], 2
cmp byte [r15 + 0xcc], 0
je 0x1400553c0
mov rcx, r12
call fcn.1400395d0
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x14005528e
mov rbp, qword [rsp + 0x70]
mov r14, qword [rsp + 0x80]
jmp 0x140054580
mov edx, 2
mov rcx, r13
call fcn.140047090
cmp byte [rdi + 0xab1], 0
je 0x1400554b6
mov word [r15 + 0xcc], 0x100
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.Unsupported_HTTP_version_in_response
mov rcx, rdi
call fcn.1400456c0
mov eax, 1
jmp 0x140055290
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.1400456c0
mov eax, 1
jmp 0x140055290
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rdi
call fcn.1400456c0
mov eax, 1
jmp 0x140055290
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rdi
call fcn.1400456c0
mov eax, 1
jmp 0x140055290
mov eax, 8
jmp 0x140055290
mov byte [r15 + 0xcc], 0
jmp 0x14005528e
lea rdx, str.Header_without_colon
mov rcx, rdi
mov ebx, 8
call fcn.1400456c0
mov eax, ebx
jmp 0x140055290
lea rdx, str.Nul_byte_in_header
mov rcx, rdi
mov ebx, 8
call fcn.1400456c0
mov eax, ebx
jmp 0x140055290
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rdi
call fcn.1400457b0
mov eax, 1
mov dword [r15 + 0x6c], 3
mov byte [r15 + 0xcc], 1
mov dword [r15 + 0x44], 0
jmp 0x140055290
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rdi
call fcn.1400456c0
mov eax, 0x3f
jmp 0x140055290
mov ebx, reloc.WLDAP32.dll_Ordinal_27
mov eax, ebx
jmp 0x140055290
cmp byte [rdi + 0x1c8], 0
jne 0x1400553eb
mov rax, qword [r13 + 0x318]
test dword [rax + 0x84], 0x40000
je 0x1400553f3
cmp dword [rdi + 0x9e0], 2
jne 0x1400553f3
cmp qword [r15], 0xffffffffffffffff
jg 0x1400553f3
mov byte [r15 + 0xcf], 1
cmp qword [r15 + 8], 0
jne 0x140055402
mov byte [r15 + 0xcf], 1
lea rcx, [rdi + 0xc80]
call fcn.1400395b0
lea rcx, [rdi + 0xc80]
mov rbx, rax
call fcn.1400395c0
mov r8, rax
mov r9, rbx
mov edx, 1
mov rcx, rdi
call fcn.1400455e0
jmp 0x14005528e
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1400456c0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x140055290
mov r8, rsi
call fcn.140039550
test eax, eax
jne 0x140055290
add qword [r14], rsi
cmp dword [r15 + 0x44], eax
jne 0x14005528e
mov rcx, r12
call fcn.1400395b0
mov rcx, r12
mov rbx, rax
call fcn.1400395c0
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, rdi
call fcn.140055ae0
cmp eax, 2
jne 0x14005528e
mov edx, eax
mov word [r15 + 0xcc], 0x100
mov rcx, r13
call fcn.140047090
cmp byte [rdi + 0xab1], 0
jne 0x14005528e
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rdi
call fcn.1400456c0
mov eax, 1
jmp 0x140055290