Function at 0x1400fa1e0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, qword [rsp + 0x90]
xor r15d, r15d
mov r14, r9
mov rbx, r8
mov r12, rdx
mov rbp, rcx
lea esi, [r15 + 3]
nop word [rax + rax]
mov rcx, qword [rbx + 0x68]
mov edx, 0xa
mov qword [rbx + 0x70], rcx
mov r8, qword [r14]
call fcn.14025f2d8
mov rdx, rbx
mov rcx, rbp
mov rdi, rax
mov qword [rbx + 0x78], rax
test rax, rax
je 0x1400fad79
sub rdi, qword [rbx + 0x68]
inc rdi
sub qword [r14], rdi
mov r8, qword [rbx + 0x78]
inc r8
mov qword [rbx + 0x68], r8
sub r8, qword [rbx + 0x70]
call fcn.1400fa0e0
test eax, eax
jne 0x1400fadb2
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x78], rax
mov rax, qword [rbp + 0x628]
mov qword [rbx + 0x80], rax
cmp dword [rbx + 0x50], r15d
jne 0x1400fa2ab
cmp qword [rbx + 0x60], 5
jbe 0x1400fa2ab
mov rdx, qword [rbp + 0x628]
mov rcx, rbp
call fcn.1400f9ed0
test al, al
je 0x1400fac9f
mov rcx, qword [rbx + 0x80]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x1400faafb
cmp al, 0xd
je 0x1400faaff
mov edx, dword [rbx + 0x50]
lea eax, [rdx + 1]
mov dword [rbx + 0x50], eax
test edx, edx
jne 0x1400fa46f
lea rsi, [rbx + 0x98]
lea r9, [r12 + 0x10c]
lea r8, [rsp + 0x80]
lea rdx, str._HTTP__d._d__3d
mov qword [rsp + 0x20], rsi
call fcn.14025e304
cmp eax, 3
jne 0x1400fa319
mov eax, dword [rsp + 0x80]
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [r12 + 0x10c], ecx
jmp 0x1400fa368
mov rcx, qword [rbx + 0x80]
lea rdx, str._HTTP__3d
mov r8, rsi
call fcn.14025e304
mov dword [r12 + 0x10c], 0xa
test eax, eax
jne 0x1400fa368
mov rdx, qword [rbx + 0x80]
mov rcx, rbp
call fcn.1400f9ed0
test al, al
je 0x1400fadac
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_200
mov dword [r12 + 0x10c], 0xa
mov eax, dword [rsi]
mov dword [rbp + 0x87d0], eax
mov eax, dword [r12 + 0x10c]
mov dword [rbp + 0x87d8], eax
mov eax, dword [rbp + 0x877c]
test eax, eax
je 0x1400fa392
cmp eax, dword [r12 + 0x10c]
jle 0x1400fa3a0
mov eax, dword [r12 + 0x10c]
mov dword [rbp + 0x877c], eax
cmp byte [rbp + 0x380], r15b
je 0x1400fa3f9
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x1400fa3f9
cmp eax, 0x191
jne 0x1400fa3c3
cmp byte [r12 + 0x1ec], r15b
jne 0x1400fa3f9
cmp eax, 0x197
jne 0x1400fa3d4
cmp byte [r12 + 0x1ed], r15b
jne 0x1400fa3f9
cmp qword [rbp + 0x87b8], r15
je 0x1400fad5c
cmp dword [rbp + 0x2b8], 1
jne 0x1400fad5c
cmp eax, 0x1a0
jne 0x1400fad5c
mov eax, dword [r12 + 0x10c]
cmp eax, 0xa
jne 0x1400fa420
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, rbp
call fcn.1400fe360
mov byte [r12 + 0x1e8], 1
jmp 0x1400fa438
cmp eax, 0xb
jl 0x1400fa438
cmp byte [r12 + 0x1e8], r15b
jne 0x1400fa438
mov byte [r12 + 0x25e], 1
mov ecx, dword [rsi]
sub ecx, 0xcc
je 0x1400fa44c
sub ecx, 0x64
je 0x1400fa44c
cmp ecx, 0x70
jne 0x1400fa46a
cmp dword [rbp + 0x2a8], r15d
je 0x1400fa45c
mov byte [rbp + 0x87e0], 1
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov byte [rbx + 0xde], 1
mov esi, 3
cmp byte [rbx + 0xde], r15b
jne 0x1400fa50a
cmp byte [rbp + 0x3a7], r15b
jne 0x1400fa50a
mov rdx, qword [rbx + 0x80]
lea rcx, str.Content_Length:
mov r8d, reloc.WSOCK32.dll_ntohs
call fcn.1400ff440
test eax, eax
je 0x1400fa50a
mov rcx, qword [rbx + 0x80]
xor edx, edx
lea r8d, [rdx + 0xa]
add rcx, 0xf
call fcn.140263180
mov rcx, qword [rbp + 0x358]
test rcx, rcx
je 0x1400fa4d1
cmp rax, rcx
jg 0x1400facc3
mov rcx, rbp
test rax, rax
js 0x1400fa4ed
mov rdx, rax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
call fcn.140102ca0
jmp 0x1400faa95
lea rdx, str.Negative_content_length:__lld__closing_after_transfer_n
mov r8, rax
mov byte [r12 + 0x1e8], 1
call fcn.1400fe360
jmp 0x1400faa95
mov rdx, qword [rbx + 0x80]
lea rcx, str.Content_Type:
mov r8d, reloc.WSOCK32.dll_listen
call fcn.1400ff440
test eax, eax
je 0x1400fa56a
mov rcx, qword [rbx + 0x80]
call fcn.14010d270
mov rdi, rax
test rax, rax
je 0x1400facdc
cmp byte [rax], r15b
jne 0x1400fa552
mov rcx, rax
call qword [fcn.14025db40]
jmp 0x1400faa95
mov rcx, qword [rbp + 0x87f8]
call fcn.1400f52e0
mov qword [rbp + 0x87f8], rdi
jmp 0x1400faa95
cmp dword [r12 + 0x10c], 0xa
jne 0x1400fa5b9
cmp byte [r12 + 0x1eb], r15b
je 0x1400fa5b9
mov rcx, qword [rbx + 0x80]
lea r8, str.keep_alive
lea rdx, str.Proxy_Connection:
call fcn.14010dee0
test al, al
je 0x1400fa5b9
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbp
mov byte [r12 + 0x1e8], r15b
call fcn.1400fe360
jmp 0x1400faa95
cmp dword [r12 + 0x10c], 0xb
jne 0x1400fa609
cmp byte [r12 + 0x1eb], r15b
je 0x1400fa609
mov rcx, qword [rbx + 0x80]
lea r8, str.close
lea rdx, str.Proxy_Connection:
call fcn.14010dee0
test al, al
je 0x1400fa609
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbp
mov byte [r12 + 0x1e8], 1
call fcn.1400fe360
jmp 0x1400faa95
cmp dword [r12 + 0x10c], 0xa
jne 0x1400fa64e
mov rcx, qword [rbx + 0x80]
lea r8, str.keep_alive
lea rdx, str.Connection:
call fcn.14010dee0
test al, al
je 0x1400fa64e
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbp
mov byte [r12 + 0x1e8], r15b
call fcn.1400fe360
jmp 0x1400faa95
mov rcx, qword [rbx + 0x80]
lea r8, str.close
lea rdx, str.Connection:
call fcn.14010dee0
test al, al
je 0x1400fa67a
mov byte [r12 + 0x1e8], 1
jmp 0x1400faa95
mov rcx, qword [rbx + 0x80]
lea r8, str.chunked
lea rdx, str.Transfer_Encoding:
call fcn.14010dee0
test al, al
je 0x1400fa6ac
mov rcx, r12
mov byte [rbx + 0x100], 1
call fcn.140114900
jmp 0x1400faa95
mov rdx, qword [rbx + 0x80]
lea rcx, str.Trailer:
mov r8d, 8
call fcn.1400ff440
test eax, eax
jne 0x1400faa8e
mov rdx, qword [rbx + 0x80]
lea r8d, [rax + 9]
lea rcx, str.Trailers:
call fcn.1400ff440
test eax, eax
jne 0x1400faa8e
mov rdx, qword [rbx + 0x80]
lea r8d, [rax + 0x11]
lea rcx, str.Content_Encoding:
call fcn.1400ff440
test eax, eax
je 0x1400fa810
cmp qword [rbp + 0x3f0], r15
je 0x1400fa810
mov rdi, qword [rbx + 0x80]
movzx eax, byte [rdi + 0x11]
add rdi, 0x11
test al, al
je 0x1400fa747
nop dword [rax + rax]
movzx ecx, al
call fcn.14025f13c
test eax, eax
je 0x1400fa747
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1400fa730
lea rcx, str.identity
mov r8d, 8
mov rdx, rdi
call fcn.1400ff440
test eax, eax
je 0x1400fa76c
mov dword [rbx + 0xa8], r15d
jmp 0x1400faa95
lea rcx, str.deflate
mov r8d, 7
mov rdx, rdi
call fcn.1400ff440
test eax, eax
je 0x1400fa794
mov dword [rbx + 0xa8], 1
jmp 0x1400faa95
lea rcx, str.gzip
mov r8d, 4
mov rdx, rdi
call fcn.1400ff440
test eax, eax
jne 0x1400fa801
lea r8d, [rax + 6]
lea rcx, str.x_gzip
mov rdx, rdi
call fcn.1400ff440
test eax, eax
jne 0x1400fa801
lea r8d, [rax + 8]
lea rcx, str.compress
mov rdx, rdi
call fcn.1400ff440
test eax, eax
jne 0x1400fa7f6
lea r8d, [rax + 0xa]
lea rcx, str.x_compress
mov rdx, rdi
call fcn.1400ff440
test eax, eax
je 0x1400faa95
mov dword [rbx + 0xa8], esi
jmp 0x1400faa95
mov dword [rbx + 0xa8], 2
jmp 0x1400faa95
mov rdx, qword [rbx + 0x80]
lea rcx, str.Content_Range:
mov r8d, send
call fcn.1400ff440
test eax, eax
je 0x1400fa885
mov rdi, qword [rbx + 0x80]
movzx eax, byte [rdi + 0xe]
add rdi, 0xe
test al, al
je 0x1400fa857
movzx ecx, al
call fcn.14025f038
test eax, eax
jne 0x1400fa857
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1400fa840
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.140263180
mov qword [rbx + 0x90], rax
cmp qword [rbp + 0x87b8], rax
jne 0x1400faa95
mov byte [rbx + 0x88], 1
jmp 0x1400faa95
cmp qword [rbp + 0x500], r15
je 0x1400fa914
mov rdx, qword [rbx + 0x80]
lea rcx, str.Set_Cookie:
mov r8d, listen
call fcn.1400ff440
test eax, eax
je 0x1400fa914
mov edx, 2
mov rcx, rbp
mov r8d, edx
call fcn.1401033b0
mov r11, qword [r12 + 0x250]
test r11, r11
jne 0x1400fa8d4
mov r11, qword [r12 + 0xb0]
mov r9, qword [rbx + 0x80]
mov rax, qword [rbp + 0x87a0]
mov rdx, qword [rbp + 0x500]
mov qword [rsp + 0x28], rax
add r9, 0xb
mov r8b, 1
mov rcx, rbp
mov qword [rsp + 0x20], r11
call fcn.1400fceb0
mov edx, 2
mov rcx, rbp
call fcn.1401033f0
jmp 0x1400faa95
mov rdx, qword [rbx + 0x80]
lea rcx, str.Last_Modified:
mov r8d, send
call fcn.1400ff440
test eax, eax
je 0x1400fa983
cmp dword [rbp + 0x2a8], r15d
jne 0x1400fa943
cmp byte [rbp + 0x379], r15b
je 0x1400fa983
xor ecx, ecx
call fcn.14025f240
mov rcx, qword [rbx + 0x80]
lea rdx, [rsp + 0x30]
add rcx, 0xe
mov qword [rsp + 0x30], rax
call fcn.1401148a0
mov qword [rbx + 0xb0], rax
cmp byte [rbp + 0x379], r15b
je 0x1400faa95
mov dword [rbp + 0x87dc], eax
jmp 0x1400faa95
mov rdx, qword [rbx + 0x80]
lea rcx, str.WWW_Authenticate:
mov r8d, reloc.WSOCK32.dll_recvfrom
call fcn.1400ff440
test eax, eax
je 0x1400fa9ae
mov edx, dword [rbx + 0x98]
cmp edx, 0x191
je 0x1400fa9d9
mov rdx, qword [rbx + 0x80]
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WSOCK32.dll_send
call fcn.1400ff440
test eax, eax
je 0x1400fa9f5
mov edx, dword [rbx + 0x98]
cmp edx, 0x197
jne 0x1400fa9f5
mov r8, qword [rbx + 0x80]
mov rcx, r12
call fcn.14010d900
test eax, eax
jne 0x1400fadb2
jmp 0x1400faa95
mov eax, dword [rbx + 0x98]
cmp eax, 0x12c
jl 0x1400faa95
cmp eax, 0x190
jge 0x1400faa95
mov rdx, qword [rbx + 0x80]
lea rcx, str.Location:
mov r8d, 9
call fcn.1400ff440
test eax, eax
je 0x1400faa95
mov rcx, qword [rbx + 0x80]
call fcn.14010d270
test rax, rax
je 0x1400facdc
cmp byte [rax], r15b
jne 0x1400faa53
mov rcx, rax
call qword [fcn.14025db40]
jmp 0x1400faa95
mov qword [rbp + 0x108], rax
cmp byte [rbp + 0x381], r15b
je 0x1400faa95
mov rcx, rax
call qword [case.0x1400fca78.1]
mov qword [rbp + 0x110], rax
test rax, rax
je 0x1400facdc
mov rcx, r12
call fcn.14010d500
test eax, eax
jne 0x1400fadb2
jmp 0x1400faa95
mov byte [rbx + 0x104], 1
cmp byte [rbp + 0x383], r15b
mov edi, 2
cmovne edi, esi
cmp byte [rbp + 0x390], r15b
je 0x1400faaca
mov r9, qword [rbx + 0x60]
mov r8, qword [rbx + 0x80]
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x20], r12
call fcn.1400fe240
mov r9, qword [rbx + 0x60]
mov r8, qword [rbx + 0x80]
mov edx, edi
mov rcx, r12
call fcn.1400fe610
test eax, eax
jne 0x1400fadb2
mov eax, dword [rbx + 0x60]
add dword [rbp + 0x87e4], eax
mov eax, dword [rbx + 0x60]
add dword [rbp + 0x58], eax
jmp 0x1400fac74
cmp al, 0xd
jne 0x1400fab0a
lea rax, [rcx + 1]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x80]
cmp byte [rax], 0xa
jne 0x1400fab20
inc rax
mov qword [rbx + 0x80], rax
mov eax, dword [rbx + 0x98]
cmp eax, 0x64
jl 0x1400fab53
cmp eax, 0xc7
jg 0x1400fab53
mov byte [rbx + 0x48], 1
mov dword [rbx + 0x50], r15d
cmp dword [rbx + 0xa4], r15d
je 0x1400fab93
or dword [rbx + 0xd8], 2
mov dword [rbx + 0xa4], r15d
jmp 0x1400fab93
cmp qword [rbx], 0xffffffffffffffff
mov byte [rbx + 0x48], r15b
jne 0x1400fab93
cmp byte [rbx + 0x100], r15b
jne 0x1400fab93
cmp byte [r12 + 0x1e8], r15b
jne 0x1400fab93
cmp dword [r12 + 0x10c], 0xb
jl 0x1400fab93
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, rbp
call fcn.1400fe360
mov byte [r12 + 0x1e8], 1
cmp dword [rbx + 0x98], 0x1a1
jne 0x1400fabac
and dword [rbx + 0xd8], 0xfffffffd
mov dword [rbx + 0xa4], esi
mov rcx, r12
call fcn.14010da80
test eax, eax
jne 0x1400fad5c
cmp byte [rbp + 0x383], r15b
mov r8, qword [rbp + 0x628]
mov rdi, qword [rbx + 0x80]
mov edx, 2
mov rcx, r12
cmovne edx, esi
sub rdi, r8
mov r9, rdi
call fcn.1400fe610
test eax, eax
jne 0x1400fadb2
add dword [rbp + 0x58], edi
add dword [rbp + 0x87e4], edi
mov eax, dword [rbx + 0x98]
mov ecx, dword [rbp + 0x58]
cmp eax, 0x64
jl 0x1400fac0d
cmp eax, 0xc7
jle 0x1400fac10
mov ecx, r15d
mov dword [rbp + 0x5c], ecx
cmp qword [rbp + 0x87b8], r15
je 0x1400fac38
cmp dword [rbp + 0x2b8], 1
jne 0x1400fac38
cmp dword [rbx + 0x98], 0x1a0
jne 0x1400fac38
mov byte [r13], 1
jmp 0x1400fac6e
cmp byte [r13], r15b
jne 0x1400fac6e
mov rcx, r12
call fcn.14010e1d0
test eax, eax
jne 0x1400fadb2
cmp byte [r12 + 0x1f7], r15b
je 0x1400fac6e
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, rbp
call fcn.1400fe360
or dword [rbx + 0xd8], 2
cmp byte [rbx + 0x48], r15b
je 0x1400face6
mov rax, qword [rbp + 0x628]
mov qword [rbx + 0x60], r15
mov qword [rbx + 0x58], rax
cmp byte [r13], r15b
jne 0x1400fadb0
mov rax, qword [rbx + 0x68]
cmp byte [rax], r15b
jne 0x1400fa220
jmp 0x1400fadb0
mov byte [rbx + 0x48], r15b
cmp qword [r14], r15
je 0x1400facb4
mov dword [rbx + 0x4c], 1
jmp 0x1400fadb0
mov dword [rbx + 0x4c], 2
mov qword [r14], rdi
jmp 0x1400fadb0
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbp
call fcn.1400fe410
mov eax, 0x3f
jmp 0x1400fadb2
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400fadb2
cmp byte [rbp + 0x386], r15b
je 0x1400facf6
mov byte [r13], 1
jmp 0x1400fad06
cmp byte [rbx + 0x100], r15b
je 0x1400fad06
mov qword [rbx], 0xffffffffffffffff
mov rdx, qword [rbx]
cmp rdx, 0xffffffffffffffff
je 0x1400fad1e
mov rcx, rbp
call fcn.140102ca0
mov r11, qword [rbx]
mov qword [rbx + 0x10], r11
cmp qword [rbx + 0x10], r15
jne 0x1400fad2b
mov byte [r13], 1
jmp 0x1400fad31
cmp byte [r13], r15b
je 0x1400fad38
and dword [rbx + 0xd8], 0xfffffffe
cmp byte [rbp + 0x390], r15b
je 0x1400fadb0
mov r8, qword [rbx + 0x70]
mov r9, rdi
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x20], r12
call fcn.1400fe240
jmp 0x1400fadb0
mov r8d, dword [rbx + 0x98]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rbp
call fcn.1400fe410
mov eax, reloc.WSOCK32.dll_shutdown
jmp 0x1400fadb2
mov r8, qword [r14]
call fcn.1400fa0e0
test eax, eax
jne 0x1400fadb2
cmp dword [rbx + 0x50], r15d
jne 0x1400fadb0
cmp qword [rbx + 0x60], 5
jbe 0x1400fadb0
mov rdx, qword [rbp + 0x628]
mov rcx, rbp
call fcn.1400f9ed0
test al, al
jne 0x1400fadb0
mov dword [rbx + 0x4c], 2
mov byte [rbx + 0x48], r15b
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret