Function at 0x180061ab0
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, 0x40
xor r15d, r15d
mov r13, r9
mov r14, r8
mov r12, rdx
mov rbp, rcx
lea esi, [r15 + 3]
nop
mov rcx, qword [rbp + 0xf8]
mov edx, 0xa
mov qword [rbp + 0x100], rcx
mov r8, qword [r14]
call fcn.1800712f4
lea rdx, [rbp + 0x90]
mov rcx, rbp
mov rbx, rax
mov qword [rbp + 0x108], rax
test rax, rax
je 0x180062a53
sub rbx, qword [rbp + 0xf8]
inc rbx
sub qword [r14], rbx
mov r8, qword [rbp + 0x108]
inc r8
mov qword [rbp + 0xf8], r8
sub r8, qword [rbp + 0x100]
call fcn.18005fbf0
test eax, eax
jne 0x180062a9b
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x850]
mov qword [rbp + 0x110], rax
cmp dword [rbp + 0xe0], r15d
jne 0x180061b93
cmp qword [rbp + 0xf0], 5
jbe 0x180061b93
mov r8, qword [rbp + 0x850]
mov rdx, r12
mov rcx, rbp
call fcn.18005fbd0
test eax, eax
je 0x1800628ff
mov r10, qword [rbp + 0x110]
movzx eax, byte [r10]
cmp al, 0xa
je 0x18006264b
cmp al, 0xd
je 0x18006264f
mov ecx, dword [rbp + 0xe0]
lea eax, [rcx + 1]
mov dword [rbp + 0xe0], eax
test ecx, ecx
jne 0x180061e18
mov rax, qword [r12 + 0x2f8]
mov edx, dword [rax + 0x74]
test dl, 3
je 0x180061c83
lea rbx, [r12 + 0x18c]
lea rsi, [rbp + 0x128]
lea r8, [rsp + 0x70]
lea rdx, str._HTTP__d._d__d
mov rcx, r10
mov r9, rbx
mov qword [rsp + 0x20], rsi
call fcn.180070780
cmp eax, 3
jne 0x180061c3e
mov eax, dword [rsp + 0x70]
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rbx], ecx
cmp dword [rbp + 0x138], 2
jne 0x180061cdd
cmp dword [rbx], 0x14
je 0x180061cdd
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, rbp
call fcn.180046d60
jmp 0x180061cdd
mov rcx, qword [rbp + 0x110]
lea rdx, str._HTTP__3d
mov r8, rsi
call fcn.180070780
mov dword [rbx], 0xa
test eax, eax
jne 0x180061cdd
mov rdx, qword [rbp + 0x110]
mov rcx, rbp
call fcn.18005fb00
test eax, eax
je 0x180062a92
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_200
mov dword [rbx], 0xa
jmp 0x180061cdd
bt edx, 0x12
jae 0x180062a92
lea rsi, [rbp + 0x128]
lea r9, [r12 + 0x190]
lea r8, [rsp + 0x30]
lea rdx, str._RTSP__d._d__3d
mov rcx, r10
mov qword [rsp + 0x20], rsi
call fcn.180070780
cmp eax, 3
jne 0x180062a92
mov eax, dword [rsp + 0x30]
lea rbx, [r12 + 0x18c]
lea ecx, [rax + rax*4]
mov dword [rbx], reloc.WS2_32.dll_inet_addr
add ecx, ecx
add dword [r12 + 0x190], ecx
mov eax, dword [rsi]
mov dword [rbp + 0x8a78], eax
mov eax, dword [rbx]
mov dword [rbp + 0x8a80], eax
mov eax, dword [rbp + 0x89c4]
test eax, eax
je 0x180061cfb
cmp eax, dword [rbx]
jle 0x180061d03
mov eax, dword [rbx]
mov dword [rbp + 0x89c4], eax
cmp dword [rbp + 0x478], r15d
je 0x180061d5c
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x180061d5c
cmp eax, 0x191
jne 0x180061d26
cmp dword [r12 + 0x290], r15d
jne 0x180061d5c
cmp eax, 0x197
jne 0x180061d37
cmp dword [r12 + 0x294], r15d
jne 0x180061d5c
cmp qword [rbp + 0x89f8], r15
je 0x18006292c
cmp dword [rbp + 0x390], 1
jne 0x18006292c
cmp eax, 0x1a0
jne 0x18006292c
mov eax, dword [rbx]
cmp eax, 0xa
jne 0x180061d80
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, rbp
call fcn.180046d60
mov dword [r12 + 0x280], 1
jmp 0x180061dd9
cmp eax, 0x14
je 0x180061dcb
cmp dword [rbp + 0x138], 1
jne 0x180061d93
cmp dword [rsi], 0x65
je 0x180061dcb
cmp eax, 0xb
jl 0x180061dd9
cmp dword [r12 + 0x280], r15d
jne 0x180061dd9
cmp qword [r12 + 0x638], r15
je 0x180061dd9
mov rdx, r12
mov rcx, rbp
call fcn.1800632b0
test eax, eax
jne 0x180061dd9
mov rax, qword [r12 + 0x638]
mov dword [rax], 1
jmp 0x180061dd9
mov rax, qword [r12 + 0x638]
mov dword [rax], 2
mov ecx, dword [rsi]
sub ecx, 0xcc
je 0x180061de8
cmp ecx, 0x64
jne 0x180061e13
cmp dword [rbp + 0x380], r15d
je 0x180061dfb
mov dword [rbp + 0x8a88], 1
mov qword [rbp + 0x90], r15
mov qword [rbp + 0xa0], r15
mov dword [rbp + 0x174], 1
mov esi, 3
cmp dword [rbp + 0x174], r15d
jne 0x180061ebd
cmp dword [rbp + 0x4d8], r15d
jne 0x180061ebd
mov rdx, qword [rbp + 0x110]
lea rcx, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.1800650e0
test eax, eax
je 0x180061ebd
mov rcx, qword [rbp + 0x110]
xor edx, edx
lea r8d, [rdx + 0xa]
add rcx, 0xf
call fcn.18003ae9c
mov rcx, qword [rbp + 0x438]
test rcx, rcx
je 0x180061e7a
cmp rax, rcx
jg 0x18006293e
mov rcx, rbp
test rax, rax
js 0x180061e9d
mov rdx, rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa0], rax
call fcn.180065b70
jmp 0x1800625d6
lea rdx, str.Negative_content_length:__I64d__closing_after_transfer_n
mov r8, rax
mov dword [r12 + 0x280], 1
call fcn.180046d60
jmp 0x1800625d6
mov rdx, qword [rbp + 0x110]
lea rcx, str.Content_Type:
mov r8d, reloc.WS2_32.dll_listen
call fcn.1800650e0
test eax, eax
je 0x180061f1e
mov rcx, qword [rbp + 0x110]
call fcn.18005eb10
mov rbx, rax
test rax, rax
je 0x180062957
cmp byte [rax], r15b
jne 0x180061f05
mov rcx, rax
call qword [fcn.18002d284]
jmp 0x1800625d6
mov rcx, qword [rbp + 0x8aa0]
call qword [fcn.18002d284]
mov qword [rbp + 0x8aa0], rbx
jmp 0x1800625d6
mov rdx, qword [rbp + 0x110]
lea rcx, str.Server:
mov r8d, 7
call fcn.1800650e0
test eax, eax
je 0x180061f96
cmp dword [r12 + 0x18c], 0x14
jge 0x1800625d6
mov rcx, qword [rbp + 0x110]
call fcn.18005eb10
mov rcx, qword [r12 + 0x638]
mov rbx, rax
test rcx, rcx
je 0x180061f88
cmp dword [rcx], 1
jne 0x180061f88
mov rdx, rax
mov rcx, rbp
call fcn.1800634a0
test eax, eax
je 0x180061f88
mov rax, qword [r12 + 0x638]
mov dword [rax], 0xffffffff
mov rcx, rbx
call qword [fcn.18002d284]
jmp 0x1800625d6
cmp dword [r12 + 0x18c], 0xa
jne 0x180061fe5
cmp dword [r12 + 0x28c], r15d
je 0x180061fe5
mov rcx, qword [rbp + 0x110]
lea r8, str.keep_alive
lea rdx, str.Proxy_Connection:
call fcn.18005f830
test eax, eax
je 0x180061fe5
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbp
mov dword [r12 + 0x280], r15d
call fcn.180046d60
jmp 0x1800625d6
cmp dword [r12 + 0x18c], 0xb
jne 0x180062038
cmp dword [r12 + 0x28c], r15d
je 0x180062038
mov rcx, qword [rbp + 0x110]
lea r8, str.close
lea rdx, str.Proxy_Connection:
call fcn.18005f830
test eax, eax
je 0x180062038
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbp
mov dword [r12 + 0x280], 1
call fcn.180046d60
jmp 0x1800625d6
cmp dword [r12 + 0x18c], 0xa
jne 0x18006207d
mov rcx, qword [rbp + 0x110]
lea r8, str.keep_alive
lea rdx, str.Connection:
call fcn.18005f830
test eax, eax
je 0x18006207d
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbp
mov dword [r12 + 0x280], r15d
call fcn.180046d60
jmp 0x1800625d6
mov rcx, qword [rbp + 0x110]
lea r8, str.close
lea rdx, str.Connection:
call fcn.18005f830
test eax, eax
je 0x1800620ac
mov dword [r12 + 0x280], 1
jmp 0x1800625d6
mov rdx, qword [rbp + 0x110]
lea rcx, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
call fcn.1800650e0
test eax, eax
je 0x1800621e9
mov rbx, qword [rbp + 0x110]
add rbx, 0x12
movzx eax, byte [rbx]
test al, al
je 0x1800620fc
nop
movzx ecx, al
call fcn.180037f28
test eax, eax
jne 0x1800620f1
cmp byte [rbx], 0x2c
jne 0x1800620fc
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1800620e0
lea rcx, str.chunked
mov r8d, 7
mov rdx, rbx
call fcn.1800650e0
test eax, eax
je 0x18006212b
mov rcx, r12
mov dword [rbp + 0x198], 1
call fcn.18006ed90
add rbx, 7
cmp dword [rbp + 0x13c], r15d
jne 0x1800625d6
lea rcx, str.identity
mov r8d, 8
mov rdx, rbx
call fcn.1800650e0
test eax, eax
je 0x180062161
mov dword [rbp + 0x13c], r15d
add rbx, 8
jmp 0x1800620d8
lea rcx, str.deflate
mov r8d, 7
mov rdx, rbx
call fcn.1800650e0
test eax, eax
je 0x18006218d
mov dword [rbp + 0x13c], 1
add rbx, 7
jmp 0x1800620d8
lea rcx, str.gzip
mov r8d, 4
mov rdx, rbx
call fcn.1800650e0
test eax, eax
je 0x1800621b9
mov dword [rbp + 0x13c], 2
add rbx, 4
jmp 0x1800620d8
lea rcx, str.x_gzip
mov r8d, 6
mov rdx, rbx
call fcn.1800650e0
test eax, eax
je 0x1800625d6
mov dword [rbp + 0x13c], 2
add rbx, 6
jmp 0x1800620d8
mov rdx, qword [rbp + 0x110]
lea rcx, str.Content_Encoding:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1800650e0
test eax, eax
je 0x1800622dc
cmp qword [rbp + 0x540], r15
jne 0x180062222
cmp dword [r12 + 0x18c], 0x14
jne 0x1800622dc
mov rbx, qword [rbp + 0x110]
movzx eax, byte [rbx + 0x11]
add rbx, 0x11
test al, al
je 0x18006224c
movzx ecx, al
call fcn.180037f28
test eax, eax
je 0x18006224c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180062235
lea rcx, str.identity
mov r8d, 8
mov rdx, rbx
call fcn.1800650e0
test eax, eax
je 0x180062271
mov dword [rbp + 0x13c], r15d
jmp 0x1800625d6
lea rcx, str.deflate
mov r8d, 7
mov rdx, rbx
call fcn.1800650e0
test eax, eax
je 0x180062299
mov dword [rbp + 0x13c], 1
jmp 0x1800625d6
lea rcx, str.gzip
mov r8d, 4
mov rdx, rbx
call fcn.1800650e0
test eax, eax
jne 0x1800622cd
lea r8d, [rax + 6]
lea rcx, str.x_gzip
mov rdx, rbx
call fcn.1800650e0
test eax, eax
je 0x1800625d6
mov dword [rbp + 0x13c], 2
jmp 0x1800625d6
mov rdx, qword [rbp + 0x110]
lea rcx, str.Content_Range:
mov r8d, recv
call fcn.1800650e0
test eax, eax
je 0x180062375
mov rbx, qword [rbp + 0x110]
movzx eax, byte [rbx + 0xe]
add rbx, 0xe
test al, al
je 0x18006232c
nop dword [rax]
movzx ecx, al
call fcn.180037e24
test eax, eax
jne 0x18006232c
cmp byte [rbx], 0x2a
je 0x18006232c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180062310
movzx ecx, byte [rbx]
call fcn.180037e24
test eax, eax
je 0x180062369
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0xa]
call fcn.18003ae9c
mov qword [rbp + 0x120], rax
cmp qword [rbp + 0x89f8], rax
jne 0x1800625d6
mov dword [rbp + 0x118], 1
jmp 0x1800625d6
mov qword [rbp + 0x89f8], r15
jmp 0x1800625d6
cmp qword [rbp + 0x718], r15
je 0x180062407
mov rdx, qword [rbp + 0x110]
lea rcx, str.Set_Cookie:
mov r8d, reloc.WS2_32.dll_inet_addr
call fcn.1800650e0
test eax, eax
je 0x180062407
mov edx, 2
mov rcx, rbp
mov r8d, edx
call fcn.18004d760
mov r11, qword [r12 + 0x358]
test r11, r11
jne 0x1800623c4
mov r11, qword [r12 + 0xb8]
mov r9, qword [rbp + 0x110]
mov rax, qword [rbp + 0x89d8]
mov rdx, qword [rbp + 0x718]
mov qword [rsp + 0x28], rax
add r9, 0xb
mov r8d, 1
mov rcx, rbp
mov qword [rsp + 0x20], r11
call fcn.180048060
mov edx, 2
mov rcx, rbp
call fcn.18004d7a0
jmp 0x1800625d6
mov rdx, qword [rbp + 0x110]
lea rcx, str.Last_Modified:
mov r8d, recv
call fcn.1800650e0
test eax, eax
je 0x180062476
cmp dword [rbp + 0x380], r15d
jne 0x180062436
cmp dword [rbp + 0x45c], r15d
je 0x180062476
xor ecx, ecx
call fcn.18002d520
mov rcx, qword [rbp + 0x110]
lea rdx, [rsp + 0x38]
add rcx, 0xe
mov qword [rsp + 0x38], rax
call fcn.180069a80
mov qword [rbp + 0x140], rax
cmp dword [rbp + 0x45c], r15d
je 0x1800625d6
mov dword [rbp + 0x8a84], eax
jmp 0x1800625d6
mov rdx, qword [rbp + 0x110]
lea rcx, str.WWW_Authenticate:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1800650e0
test eax, eax
je 0x1800624a0
mov eax, dword [rbp + 0x128]
cmp eax, 0x191
je 0x1800624ca
mov rdx, qword [rbp + 0x110]
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
call fcn.1800650e0
test eax, eax
je 0x180062518
mov eax, dword [rbp + 0x128]
cmp eax, 0x197
jne 0x180062518
mov rcx, qword [rbp + 0x110]
cmp eax, 0x197
mov esi, r15d
sete sil
call fcn.18005eb10
mov rbx, rax
test rax, rax
je 0x180062957
mov r8, rax
mov edx, esi
mov rcx, r12
call fcn.18005f1f0
mov rcx, rbx
mov esi, eax
call qword [fcn.18002d284]
test esi, esi
jne 0x180062961
mov esi, 3
jmp 0x1800625d6
mov eax, dword [rbp + 0x128]
cmp eax, 0x12c
jl 0x1800625ae
cmp eax, 0x190
jge 0x1800625ae
mov rdx, qword [rbp + 0x110]
lea rcx, str.Location:
mov r8d, 9
call fcn.1800650e0
test eax, eax
je 0x1800625ae
cmp qword [rbp + 0x178], r15
jne 0x1800625ae
mov rcx, qword [rbp + 0x110]
call fcn.18005eb10
test rax, rax
je 0x180062957
cmp byte [rax], r15b
jne 0x18006257b
mov rcx, rax
call qword [fcn.18002d284]
jmp 0x1800625d6
mov qword [rbp + 0x178], rax
cmp dword [rbp + 0x47c], r15d
je 0x1800625d6
mov rcx, rax
call qword [fcn.18003bf38]
mov qword [rbp + 0x180], rax
test rax, rax
je 0x180062957
mov rcx, r12
call fcn.18005edc0
jmp 0x1800625ce
mov rax, qword [r12 + 0x2f8]
test dword [rax + 0x74], 0x40000
je 0x1800625d6
mov rdx, qword [rbp + 0x110]
mov rcx, r12
call fcn.18004e530
test eax, eax
jne 0x180062a9b
cmp dword [rbp + 0x488], r15d
mov ebx, 2
cmovne ebx, esi
cmp dword [rbp + 0x4a4], r15d
je 0x18006260e
mov r9, qword [rbp + 0xf0]
mov r8, qword [rbp + 0x110]
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x20], r12
call fcn.180046c40
mov r9, qword [rbp + 0xf0]
mov r8, qword [rbp + 0x110]
mov edx, ebx
mov rcx, r12
call fcn.1800473b0
test eax, eax
jne 0x180062a9b
mov eax, dword [rbp + 0xf0]
add dword [rbp + 0x8a8c], eax
mov eax, dword [rbp + 0xf0]
add dword [rbp + 0xc0], eax
jmp 0x1800628cb
cmp al, 0xd
jne 0x18006265a
lea rax, [r10 + 1]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
cmp byte [rax], 0xa
jne 0x180062670
inc rax
mov qword [rbp + 0x110], rax
mov ecx, dword [rbp + 0x128]
cmp ecx, 0x64
jl 0x1800626ea
cmp ecx, 0xc7
jg 0x1800626ea
sub ecx, 0x64
mov dword [rbp + 0xd8], 1
mov dword [rbp + 0xe0], r15d
je 0x1800626d1
dec ecx
jne 0x18006274e
cmp dword [rbp + 0x138], 1
jne 0x18006274e
lea rdx, str.Received_101_n
mov rcx, rbp
call fcn.180046d60
mov dword [rbp + 0x138], 2
mov eax, 1
jmp 0x180062a9b
cmp dword [rbp + 0x134], r15d
je 0x18006274e
or dword [rbp + 0x168], 2
mov dword [rbp + 0x134], r15d
jmp 0x18006274e
cmp qword [rbp + 0x90], 0xffffffffffffffff
mov dword [rbp + 0xd8], r15d
jne 0x18006274e
cmp dword [rbp + 0x198], r15d
jne 0x18006274e
cmp dword [r12 + 0x280], r15d
jne 0x180062758
cmp dword [r12 + 0x18c], 0xb
jne 0x18006274e
mov rax, qword [r12 + 0x2f8]
test dword [rax + 0x74], 0x40000
jne 0x18006274e
cmp dword [rbp + 0x390], 5
je 0x18006274e
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, rbp
call fcn.180046d60
mov dword [r12 + 0x280], 1
cmp dword [r12 + 0x280], r15d
je 0x18006279b
mov eax, dword [rbp + 0x128]
cmp eax, 0x191
jne 0x180062770
cmp dword [r12 + 0x3b0], 2
je 0x180062782
cmp eax, 0x197
jne 0x18006279b
cmp dword [r12 + 0x3d0], 2
jne 0x18006279b
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, rbp
call fcn.180046d60
mov dword [rbp + 0x8970], 1
mov rcx, r12
call fcn.18005f3b0
test eax, eax
jne 0x180062a36
cmp dword [rbp + 0x488], r15d
mov r8, qword [rbp + 0x850]
mov rbx, qword [rbp + 0x110]
mov edx, 2
cmovne edx, esi
sub rbx, r8
mov r9, rbx
call fcn.1800473b0
test eax, eax
jne 0x180062a9b
add dword [rbp + 0xc0], ebx
add dword [rbp + 0x8a8c], ebx
mov eax, dword [rbp + 0x128]
mov ecx, dword [rbp + 0xc0]
cmp eax, 0x64
jl 0x1800627ff
cmp eax, 0xc7
jle 0x180062802
mov ecx, r15d
mov dword [rbp + 0xc4], ecx
cmp dword [r13], r15d
jne 0x1800628be
mov rcx, r12
call fcn.18005fdc0
test eax, eax
jne 0x180062a9b
cmp dword [rbp + 0x128], 0x12c
jl 0x18006289e
cmp dword [r12 + 0x2b8], r15d
jne 0x18006289e
cmp dword [r12 + 0x280], r15d
jne 0x18006289e
cmp dword [r12 + 0x2bc], r15d
jne 0x1800628a8
mov eax, dword [rbp + 0x390]
add eax, 0xfffffffe
cmp eax, 2
ja 0x18006289e
cmp dword [rbp + 0x16c], r15d
jne 0x18006289e
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
mov rcx, rbp
call fcn.180046d60
mov dword [r12 + 0x280], 1
and dword [rbp + 0x168], 0xfffffffd
mov dword [rbp + 0x16c], 1
cmp dword [rbp + 0x89c8], r15d
je 0x18006289e
mov dword [rbp + 0x134], esi
cmp dword [r12 + 0x2bc], r15d
je 0x1800628be
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, rbp
call fcn.180046d60
or dword [rbp + 0x168], 2
cmp dword [rbp + 0xd8], r15d
je 0x180062968
mov rax, qword [rbp + 0x850]
mov qword [rbp + 0xf0], r15
mov qword [rbp + 0xe8], rax
cmp dword [r13], r15d
jne 0x180062a99
mov rax, qword [rbp + 0xf8]
cmp byte [rax], r15b
jne 0x180061ae0
jmp 0x180062a99
mov dword [rbp + 0xd8], r15d
cmp qword [r14], r15
je 0x18006291a
mov dword [rbp + 0xdc], 1
jmp 0x180062a99
mov dword [rbp + 0xdc], 2
mov qword [r14], rbx
jmp 0x180062a99
mov rcx, rbp
call fcn.18005fcf0
mov eax, reloc.WS2_32.dll_shutdown
jmp 0x180062a9b
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbp
call fcn.180046e10
mov eax, 0x3f
jmp 0x180062a9b
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x180062a9b
mov eax, esi
jmp 0x180062a9b
cmp dword [rbp + 0x494], r15d
je 0x18006297b
mov dword [r13], 1
jmp 0x1800629c8
mov rax, qword [r12 + 0x2f8]
test dword [rax + 0x74], 0x40000
je 0x1800629a9
cmp dword [rbp + 0x67c], 2
jne 0x1800629a9
cmp qword [rbp + 0x90], 0xffffffffffffffff
jg 0x1800629a9
mov dword [r13], 1
jmp 0x1800629c8
cmp dword [rbp + 0x198], r15d
je 0x1800629c8
mov qword [rbp + 0x90], 0xffffffffffffffff
mov qword [rbp + 0xa0], 0xffffffffffffffff
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xffffffffffffffff
je 0x1800629eb
mov rcx, rbp
call fcn.180065b70
mov r11, qword [rbp + 0x90]
mov qword [rbp + 0xa0], r11
cmp qword [rbp + 0xa0], r15
jne 0x1800629fe
mov dword [r13], 1
jmp 0x180062a04
cmp dword [r13], r15d
je 0x180062a0b
and dword [rbp + 0x168], 0xfffffffe
cmp dword [rbp + 0x4a4], r15d
je 0x180062a99
mov r8, qword [rbp + 0x100]
mov r9, rbx
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x20], r12
call fcn.180046c40
jmp 0x180062a99
mov r8d, dword [rbp + 0x128]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rbp
call fcn.180046e10
mov eax, reloc.WS2_32.dll_shutdown
jmp 0x180062a9b
mov r8, qword [r14]
call fcn.18005fbf0
test eax, eax
jne 0x180062a9b
cmp dword [rbp + 0xe0], r15d
jne 0x180062a99
cmp qword [rbp + 0xf0], 5
jbe 0x180062a99
mov r8, qword [rbp + 0x850]
mov rdx, r12
mov rcx, rbp
call fcn.18005fbd0
test eax, eax
jne 0x180062a99
mov dword [rbp + 0xdc], 2
mov dword [rbp + 0xd8], r15d
xor eax, eax
lea r11, [rsp + 0x40]
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