Function at 0x140022330
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor ebp, ebp
mov r13, r9
mov r12, r8
mov r15, rdx
mov rsi, rcx
lea rbx, [rcx + 0xd8]
lea r14d, [rbp + 3]
nop word [rax + rax]
mov rcx, qword [rbx + 0x78]
mov edx, 0xa
mov qword [rbx + 0x80], rcx
mov r8, qword [r12]
call fcn.14004b074
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
mov qword [rbx + 0x88], rax
test rax, rax
je 0x1400231f3
sub rdi, qword [rbx + 0x78]
inc rdi
sub qword [r12], rdi
mov r8, qword [rbx + 0x88]
inc r8
mov qword [rbx + 0x78], r8
sub r8, qword [rbx + 0x80]
call fcn.140023400
test eax, eax
jne 0x14002322e
cmp dword [rbx + 0x60], 0
mov rax, qword [rbx + 0x68]
mov qword [rbx + 0x88], rax
mov rax, qword [rsi + 0xc78]
mov qword [rbx + 0x90], rax
jne 0x140022439
cmp qword [rbx + 0x70], 5
jbe 0x140022439
mov rax, qword [r15 + 0x460]
mov rdx, qword [rsi + 0xc78]
test dword [rax + 0x7c], 0x40000
je 0x140022427
lea rcx, str.RTSP_
mov r8d, 5
call fcn.140019470
mov ecx, ebp
test eax, eax
setne cl
jmp 0x140022431
mov rcx, rsi
call fcn.140023250
mov ecx, eax
test ecx, ecx
je 0x14002307c
mov r10, qword [rbx + 0x90]
movzx eax, byte [r10]
cmp al, 0xa
je 0x140022dc6
cmp al, 0xd
je 0x140022dca
mov ecx, dword [rbx + 0x60]
lea eax, [rcx + 1]
mov dword [rbx + 0x60], eax
test ecx, ecx
jne 0x140022729
mov rax, qword [r15 + 0x460]
mov edx, dword [rax + 0x7c]
test dl, 3
je 0x140022584
lea rax, [rsp + 0x80]
lea rdi, [r15 + 0x210]
lea r14, [rbx + 0xa8]
lea r8, [rsp + 0x34]
lea rdx, str._HTTP__1d._1d_c_3d
mov rcx, r10
mov r9, rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.14004d930
cmp eax, 1
jne 0x1400224ea
cmp dword [rsp + 0x34], 2
jne 0x1400230a2
mov rcx, qword [rbx + 0x90]
lea rdx, str._HTTP_2__d
mov r8, r14
call fcn.14004d930
cmp eax, 1
jne 0x1400230a2
mov dword [rdi], ebp
mov byte [rsp + 0x80], reloc.WLDAP32.dll_Ordinal_32
jmp 0x1400224fd
cmp eax, 4
jne 0x140022532
cmp byte [rsp + 0x80], 0x20
jne 0x1400230a2
mov eax, dword [rsp + 0x34]
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rdi], ecx
cmp dword [rbx + 0xc4], 2
jne 0x1400225f0
cmp dword [rdi], 0x14
je 0x1400225f0
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, rsi
call fcn.140016ce0
jmp 0x1400225f0
test eax, eax
jne 0x1400230a2
mov rcx, qword [rbx + 0x90]
lea rdx, str._HTTP__3d
mov r8, r14
call fcn.14004d930
mov dword [rdi], 0xa
test eax, eax
jne 0x1400225f0
mov rdx, qword [rbx + 0x90]
mov rcx, rsi
call fcn.140023250
test eax, eax
je 0x140023229
mov dword [r14], reloc.WLDAP32.dll_Ordinal_200
mov dword [rdi], 0xa
jmp 0x1400225f0
bt edx, 0x12
jae 0x140023229
lea rax, [rsp + 0x30]
lea r14, [rbx + 0xa8]
lea r9, [r15 + 0x214]
lea r8, [rsp + 0x38]
lea rdx, str._RTSP__1d._1d_c_3d
mov rcx, r10
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.14004d930
cmp eax, 4
jne 0x140023229
cmp byte [rsp + 0x30], 0x20
jne 0x140023229
mov eax, dword [rsp + 0x38]
lea rdi, [r15 + 0x210]
lea ecx, [rax + rax*4]
mov dword [rdi], ntohs
add ecx, ecx
add dword [r15 + 0x214], ecx
mov eax, dword [r14]
mov dword [rsi + 0x51c8], eax
mov eax, dword [rdi]
mov dword [rsi + 0x51d0], eax
mov eax, dword [rsi + 0x50f0]
test eax, eax
je 0x14002260f
cmp eax, dword [rdi]
jle 0x140022617
mov eax, dword [rdi]
mov dword [rsi + 0x50f0], eax
cmp dword [rsi + 0x78c], 0
je 0x140022672
mov eax, dword [r14]
cmp eax, 0x190
jl 0x140022672
cmp eax, 0x191
jne 0x14002263b
cmp dword [r15 + 0x3d0], 0
jne 0x140022672
cmp eax, 0x197
jne 0x14002264c
cmp dword [r15 + 0x3d4], 0
jne 0x140022672
cmp qword [rsi + 0x5128], 0
je 0x1400230bb
cmp dword [rsi + 0x5b8], 1
jne 0x1400230bb
cmp eax, 0x1a0
jne 0x1400230bb
mov eax, dword [rdi]
cmp eax, 0xa
jne 0x140022697
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, rsi
call fcn.140016ce0
mov edx, 1
mov rcx, r15
call fcn.1400177e0
jmp 0x1400226ef
cmp eax, 0x14
je 0x1400226e2
cmp dword [rbx + 0xc4], 1
jne 0x1400226ab
cmp dword [r14], 0x65
je 0x1400226e2
cmp eax, 0xb
jl 0x1400226ef
cmp dword [r15 + 0x3b4], 0
jne 0x1400226ef
cmp qword [r15 + 0x8e0], 0
je 0x1400226ef
mov rdx, r15
mov rcx, rsi
call fcn.1400258f0
test eax, eax
jne 0x1400226ef
mov rax, qword [r15 + 0x8e0]
mov dword [rax], 1
jmp 0x1400226ef
mov rax, qword [r15 + 0x8e0]
mov dword [rax], 2
mov ecx, dword [r14]
sub ecx, 0xcc
je 0x1400226ff
cmp ecx, 0x64
jne 0x140022723
cmp dword [rsi + 0x5a8], 0
je 0x140022712
mov dword [rsi + 0x51d8], 1
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov dword [rbx + 0xfc], 1
mov r14d, 3
cmp dword [rbx + 0xfc], 0
jne 0x1400227f0
cmp dword [rsi + 0x7ec], 0
jne 0x1400227f0
mov rdx, qword [rbx + 0x90]
lea rcx, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.140019470
test eax, eax
je 0x1400227f0
mov rcx, qword [rbx + 0x90]
xor edx, edx
lea r9, [rsp + 0x40]
lea r8d, [rdx + 0xa]
add rcx, 0xf
call fcn.1400261d0
test eax, eax
jne 0x1400227dc
mov rax, qword [rsi + 0x748]
mov rdx, qword [rsp + 0x40]
test rax, rax
je 0x14002279d
cmp rdx, rax
jg 0x1400230cd
test rdx, rdx
js 0x1400227b6
mov rcx, rsi
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
call fcn.1400246b0
jmp 0x140022d5c
mov edx, 2
mov rcx, r15
call fcn.1400177e0
mov r8, qword [rsp + 0x40]
lea rdx, str.Negative_content_length:__I64d__closing_after_transfer_n
mov rcx, rsi
call fcn.140016ce0
jmp 0x140022d5c
lea rdx, str.Illegal_Content_Length:_header_n
mov rcx, rsi
call fcn.140016ce0
jmp 0x140022d5c
mov rdx, qword [rbx + 0x90]
lea rcx, str.Content_Type:
mov r8d, reloc.WS2_32.dll_listen
call fcn.140019470
test eax, eax
je 0x140022851
mov rcx, qword [rbx + 0x90]
call fcn.140021c90
mov rdi, rax
test rax, rax
je 0x1400230e6
cmp byte [rax], 0
jne 0x140022838
mov rcx, rax
call qword [fcn.140049fdc]
jmp 0x140022d5c
mov rcx, qword [rsi + 0x51f0]
call qword [fcn.140049fdc]
mov qword [rsi + 0x51f0], rdi
jmp 0x140022d5c
mov rdx, qword [rbx + 0x90]
lea rcx, str.Server:
mov r8d, 7
call fcn.140019470
test eax, eax
je 0x1400228c6
cmp dword [r15 + 0x210], 0x14
jge 0x140022d5c
mov rcx, qword [rbx + 0x90]
call fcn.140021c90
mov rcx, qword [r15 + 0x8e0]
mov rdi, rax
test rcx, rcx
je 0x1400228b8
cmp dword [rcx], 1
jne 0x1400228b8
mov rdx, rax
mov rcx, rsi
call fcn.140025650
test eax, eax
je 0x1400228b8
mov rax, qword [r15 + 0x8e0]
mov dword [rax], 0xffffffff
mov rcx, rdi
call qword [fcn.140049fdc]
jmp 0x140022d5c
cmp dword [r15 + 0x210], 0xa
jne 0x140022916
cmp dword [r15 + 0x3c8], 0
je 0x140022916
mov rcx, qword [rbx + 0x90]
lea r8, str.keep_alive
lea rdx, str.Proxy_Connection:
call fcn.140021bb0
test eax, eax
je 0x140022916
xor edx, edx
mov rcx, r15
call fcn.1400177e0
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rsi
call fcn.140016ce0
jmp 0x140022d5c
cmp dword [r15 + 0x210], 0xb
jne 0x140022969
cmp dword [r15 + 0x3c8], 0
je 0x140022969
mov rcx, qword [rbx + 0x90]
lea r8, str.close
lea rdx, str.Proxy_Connection:
call fcn.140021bb0
test eax, eax
je 0x140022969
mov edx, 1
mov rcx, r15
call fcn.1400177e0
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rsi
call fcn.140016ce0
jmp 0x140022d5c
cmp dword [r15 + 0x210], 0xa
jne 0x1400229af
mov rcx, qword [rbx + 0x90]
lea r8, str.keep_alive
lea rdx, str.Connection:
call fcn.140021bb0
test eax, eax
je 0x1400229af
xor edx, edx
mov rcx, r15
call fcn.1400177e0
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rsi
call fcn.140016ce0
jmp 0x140022d5c
mov rcx, qword [rbx + 0x90]
lea r8, str.close
lea rdx, str.Connection:
call fcn.140021bb0
test eax, eax
je 0x1400229df
mov edx, 2
mov rcx, r15
call fcn.1400177e0
jmp 0x140022d5c
mov rdx, qword [rbx + 0x90]
lea rcx, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
call fcn.140019470
mov rdx, qword [rbx + 0x90]
test eax, eax
je 0x140022a1a
add rdx, 0x12
mov r8d, 1
mov rcx, r15
call fcn.14001bac0
jmp 0x140022d54
lea rcx, str.Content_Encoding:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.140019470
test eax, eax
je 0x140022a55
cmp qword [rsi + 0x858], 0
je 0x140022a55
mov rdx, qword [rbx + 0x90]
xor r8d, r8d
mov rcx, r15
add rdx, 0x11
call fcn.14001bac0
jmp 0x140022d54
mov rdx, qword [rbx + 0x90]
lea rcx, str.Content_Range:
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.140019470
test eax, eax
je 0x140022b0a
mov rdi, qword [rbx + 0x90]
movzx eax, byte [rdi + 0xe]
add rdi, 0xe
test al, al
je 0x140022aac
nop dword [rax]
movzx ecx, al
call fcn.14004b238
test eax, eax
jne 0x140022aac
cmp byte [rdi], 0x2a
je 0x140022aac
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140022a90
movzx ecx, byte [rdi]
call fcn.14004b238
test eax, eax
je 0x140022afe
xor edx, edx
lea r9, [rbx + 0xa0]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.1400261d0
mov r14d, 3
test eax, eax
jne 0x140022d5c
mov rax, qword [rbx + 0xa0]
cmp qword [rsi + 0x5128], rax
jne 0x140022d5c
mov dword [rbx + 0x98], 1
jmp 0x140022d5c
mov qword [rsi + 0x5128], rbp
jmp 0x140022d5c
cmp qword [rsi + 0xab0], 0
je 0x140022b9b
mov rdx, qword [rbx + 0x90]
lea rcx, str.Set_Cookie:
mov r8d, ntohs
call fcn.140019470
test eax, eax
je 0x140022b9b
mov edx, 2
mov rcx, rsi
mov r8d, edx
call fcn.14001bd30
mov rcx, qword [r15 + 0x4c0]
test rcx, rcx
jne 0x140022b58
mov rcx, qword [r15 + 0xd0]
mov rax, qword [rsi + 0x5108]
mov r9, qword [rbx + 0x90]
mov rdx, qword [rsi + 0xab0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
add r9, 0xb
mov rcx, rsi
mov r8d, 1
call fcn.14000c0b0
mov edx, 2
mov rcx, rsi
call fcn.14001bd70
jmp 0x140022d5c
mov rdx, qword [rbx + 0x90]
lea rcx, str.Last_Modified:
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.140019470
test eax, eax
je 0x140022c0a
cmp dword [rsi + 0x5a8], 0
jne 0x140022bca
cmp dword [rsi + 0x770], 0
je 0x140022c0a
xor ecx, ecx
call fcn.14004a4d4
mov rcx, qword [rbx + 0x90]
lea rdx, [rsp + 0x48]
add rcx, 0xe
mov qword [rsp + 0x48], rax
call fcn.140025a60
mov qword [rbx + 0xd0], rax
cmp dword [rsi + 0x770], 0
je 0x140022d5c
mov dword [rsi + 0x51d4], eax
jmp 0x140022d5c
mov rdx, qword [rbx + 0x90]
lea rcx, str.WWW_Authenticate:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.140019470
test eax, eax
je 0x140022c34
mov eax, dword [rbx + 0xa8]
cmp eax, 0x191
je 0x140022c5e
mov rdx, qword [rbx + 0x90]
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
call fcn.140019470
test eax, eax
je 0x140022ca6
mov eax, dword [rbx + 0xa8]
cmp eax, 0x197
jne 0x140022ca6
mov rcx, qword [rbx + 0x90]
cmp eax, 0x197
sete bpl
call fcn.140021c90
mov rdi, rax
test rax, rax
je 0x1400230e6
mov r8, rax
mov edx, ebp
mov rcx, r15
call fcn.140021f80
mov rcx, rdi
mov ebp, eax
call qword [fcn.140049fdc]
test ebp, ebp
jne 0x1400230f0
xor ebp, ebp
jmp 0x140022d5c
mov eax, dword [rbx + 0xa8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x140022d35
mov rdx, qword [rbx + 0x90]
lea rcx, str.Location:
mov r8d, 9
call fcn.140019470
test eax, eax
je 0x140022d35
cmp qword [rsi + 0x1d8], 0
jne 0x140022d35
mov rcx, qword [rbx + 0x90]
call fcn.140021c90
test rax, rax
je 0x1400230e6
cmp byte [rax], 0
jne 0x140022d02
mov rcx, rax
call qword [fcn.140049fdc]
jmp 0x140022d5c
cmp dword [rsi + 0x794], 0
mov qword [rsi + 0x1d8], rax
je 0x140022d5c
mov rcx, rax
call qword [case.0x14000dcb6.0]
mov qword [rsi + 0x1e0], rax
test rax, rax
je 0x1400230e6
mov rcx, r15
call fcn.140023610
jmp 0x140022d54
mov rax, qword [r15 + 0x460]
test dword [rax + 0x7c], 0x40000
je 0x140022d5c
mov rdx, qword [rbx + 0x90]
mov rcx, r15
call fcn.14003c4f0
test eax, eax
jne 0x14002322e
cmp dword [rsi + 0x7a0], 0
mov edi, 2
cmovne edi, r14d
cmp dword [rsi + 0x7b8], 0
je 0x140022d92
mov r9, qword [rbx + 0x70]
mov r8, qword [rbx + 0x90]
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x20], r15
call fcn.140016a70
mov r9, qword [rbx + 0x70]
mov r8, qword [rbx + 0x90]
mov edx, edi
mov rcx, r15
call fcn.140016a50
test eax, eax
jne 0x14002322e
mov eax, dword [rbx + 0x70]
add dword [rsi + 0x51dc], eax
mov eax, dword [rbx + 0x70]
add dword [rsi + 0x108], eax
jmp 0x14002305b
cmp al, 0xd
jne 0x140022dd5
lea rax, [r10 + 1]
mov qword [rbx + 0x90], rax
mov rax, qword [rbx + 0x90]
cmp byte [rax], 0xa
jne 0x140022deb
inc rax
mov qword [rbx + 0x90], rax
mov ecx, dword [rbx + 0xa8]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x140022e52
sub ecx, 0x64
je 0x140022e26
dec ecx
je 0x140022e11
mov dword [rbx + 0x58], 1
mov dword [rbx + 0x60], ebp
jmp 0x140022ead
cmp dword [rbx + 0xc4], 1
je 0x1400230f7
mov dword [rbx + 0x58], ebp
jmp 0x140022ead
cmp dword [rbx + 0xc0], 0
mov dword [rbx + 0x58], 1
mov dword [rbx + 0x60], ebp
jle 0x140022ead
or dword [rbx + 0xf0], 2
xor edx, edx
mov rcx, rsi
mov dword [rbx + 0xc0], ebp
call fcn.140009370
jmp 0x140022ead
cmp qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x58], ebp
jne 0x140022ead
cmp dword [rbx + 0x120], 0
jne 0x140022ead
cmp dword [r15 + 0x3b4], 0
jne 0x140022eb7
cmp dword [r15 + 0x210], 0xb
jne 0x140022ead
mov rax, qword [r15 + 0x460]
test dword [rax + 0x7c], 0x40000
jne 0x140022ead
cmp dword [rsi + 0x5b8], 6
je 0x140022ead
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, rsi
call fcn.140016ce0
mov edx, 2
mov rcx, r15
call fcn.1400177e0
cmp dword [r15 + 0x3b4], 0
je 0x140022ef8
mov eax, dword [rsi + 0x180]
cmp eax, 0x191
jne 0x140022ece
cmp dword [r15 + 0x5a8], 2
je 0x140022edf
cmp eax, 0x197
jne 0x140022ef8
cmp dword [r15 + 0x618], 2
jne 0x140022ef8
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, rsi
call fcn.140016ce0
mov dword [rsi + 0x4e88], 1
mov rcx, r15
call fcn.140023780
test eax, eax
jne 0x1400231d6
cmp dword [rsi + 0x7a0], eax
mov r8, qword [rsi + 0xc78]
mov rdi, qword [rbx + 0x90]
mov edx, 2
cmovne edx, r14d
sub rdi, r8
mov r9, rdi
call fcn.140016a50
test eax, eax
jne 0x14002322e
add dword [rsi + 0x108], edi
add dword [rsi + 0x51dc], edi
mov eax, dword [rbx + 0xa8]
sub eax, 0x64
mov ecx, ebp
cmp eax, 0x63
cmovbe ecx, dword [rsi + 0x108]
mov dword [rsi + 0x10c], ecx
mov rcx, r15
call fcn.140021d90
test eax, eax
jne 0x14002322e
cmp dword [rbx + 0xa8], 0x12c
jl 0x140023051
cmp dword [r15 + 0x3f8], eax
jne 0x140023031
cmp dword [r15 + 0x3b4], eax
jne 0x140023031
cmp dword [r15 + 0x3fc], eax
jne 0x14002303b
mov eax, dword [rsi + 0x5b8]
add eax, 0xfffffffe
cmp eax, 3
ja 0x140023031
xor edx, edx
mov rcx, rsi
call fcn.140009370
cmp dword [rbx + 0xf4], 0
jne 0x140023031
cmp dword [rsi + 0x790], 0
mov rcx, rsi
je 0x140022ff7
lea rdx, str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.140016ce0
cmp dword [rbx + 0xc0], 0
jle 0x140023031
or dword [rbx + 0xf0], 2
mov dword [rbx + 0xc0], ebp
jmp 0x140023031
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.140016ce0
mov edx, 2
mov rcx, r15
call fcn.1400177e0
and dword [rbx + 0xf0], 0xfffffffd
mov dword [rbx + 0xf4], 1
cmp dword [rsi + 0x50f4], 0
je 0x140023031
mov dword [rbx + 0xc0], r14d
cmp dword [r15 + 0x3fc], 0
je 0x140023051
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, rsi
call fcn.140016ce0
or dword [rbx + 0xf0], 2
cmp dword [rbx + 0x58], 0
je 0x140023124
mov rax, qword [rsi + 0xc78]
mov qword [rbx + 0x70], rbp
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x78]
cmp byte [rax], 0
jne 0x140022370
jmp 0x14002322c
mov dword [rbx + 0x58], ebp
cmp qword [r12], 0
je 0x140023092
mov dword [rbx + 0x5c], 1
jmp 0x14002322c
mov dword [rbx + 0x5c], 2
mov qword [r12], rdi
jmp 0x14002322c
lea rdx, str.Unsupported_HTTP_version_in_response_n
mov rcx, rsi
call fcn.140016bd0
mov eax, 1
jmp 0x14002322e
mov rcx, rsi
call fcn.1400239f0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x14002322e
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rsi
call fcn.140016bd0
mov eax, 0x3f
jmp 0x14002322e
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14002322e
mov eax, ebp
jmp 0x14002322e
lea rdx, str.Received_101_n
mov rcx, rsi
call fcn.140016ce0
mov dword [rbx + 0xc4], 2
mov dword [rbx + 0x58], 1
mov dword [rbx + 0x60], ebp
mov eax, 1
jmp 0x14002322e
cmp dword [rsi + 0x7ac], 0
je 0x140023137
mov dword [r13], 1
jmp 0x140023178
mov rax, qword [r15 + 0x460]
test dword [rax + 0x7c], 0x40000
je 0x140023160
cmp dword [rsi + 0x9fc], 2
jne 0x140023160
cmp qword [rbx], 0xffffffffffffffff
jg 0x140023160
mov dword [r13], 1
jmp 0x140023178
cmp dword [rbx + 0x120], 0
je 0x140023178
mov qword [rbx], 0xffffffffffffffff
mov qword [rbx + 0x10], 0xffffffffffffffff
mov rdx, qword [rbx]
cmp rdx, 0xffffffffffffffff
je 0x140023190
mov rcx, rsi
call fcn.1400246b0
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x10], 0
jne 0x1400231a1
mov dword [r13], 1
jmp 0x1400231a8
cmp dword [r13], 0
je 0x1400231af
and dword [rbx + 0xf0], 0xfffffffe
cmp dword [rsi + 0x7b8], 0
je 0x14002322c
mov r8, qword [rbx + 0x80]
mov r9, rdi
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x20], r15
call fcn.140016a70
jmp 0x14002322c
mov r8d, dword [rbx + 0xa8]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rsi
call fcn.140016bd0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x14002322e
mov r8, qword [r12]
call fcn.140023400
test eax, eax
jne 0x14002322e
cmp dword [rbx + 0x60], eax
jne 0x14002322c
cmp qword [rbx + 0x70], 5
jbe 0x14002322c
mov r8, qword [rsi + 0xc78]
mov rdx, r15
mov rcx, rsi
call fcn.1400232e0
test eax, eax
jne 0x14002322c
mov dword [rbx + 0x5c], 2
mov dword [rbx + 0x58], ebp
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret