Function at 0x1400a5bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x6c8
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x6e8]
test eax, eax
je 0x1400a5ce8
lea rdx, str.Connection
lea rcx, [rsp + 0x538]
call fcn.140052440
nop
lea rdx, [rsp + 0x538]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a5c5e
mov dword [rsp + 0x30], 1
jmp 0x1400a5c66
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x538]
call fcn.140054020
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1400a5ce8
lea rdx, str.close
lea rcx, [rsp + 0x1d8]
call fcn.140052440
nop
lea rdx, str.Connection
lea rcx, [rsp + 0x1b8]
call fcn.140052440
nop
lea r8, [rsp + 0x1d8]
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x1b8]
call fcn.140054020
nop
lea rcx, [rsp + 0x1d8]
call fcn.140054020
lea rdx, str.Host
lea rcx, [rsp + 0x1f8]
call fcn.140052440
nop
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a5d23
mov dword [rsp + 0x34], 1
jmp 0x1400a5d2b
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x25], al
lea rcx, [rsp + 0x1f8]
call fcn.140054020
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400a5eb3
mov rax, qword [rsp + 0x6d0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x6d0]
call qword [rax + Ordinal_41]
movzx eax, al
test eax, eax
je 0x1400a5e15
mov rax, qword [rsp + 0x6d0]
cmp dword [rax + 0x28], 0x1bb
jne 0x1400a5dc9
lea rdx, str.Host
lea rcx, [rsp + 0x218]
call fcn.140052440
nop
mov rax, qword [rsp + 0x6d0]
add rax, 8
mov r8, rax
lea rdx, [rsp + 0x218]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x218]
call fcn.140054020
jmp 0x1400a5e10
lea rdx, str.Host
lea rcx, [rsp + 0x238]
call fcn.140052440
nop
mov rax, qword [rsp + 0x6d0]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x238]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x238]
call fcn.140054020
jmp 0x1400a5eb3
mov rax, qword [rsp + 0x6d0]
cmp dword [rax + 0x28], 0x50
jne 0x1400a5e6c
lea rdx, str.Host
lea rcx, [rsp + 0x258]
call fcn.140052440
nop
mov rax, qword [rsp + 0x6d0]
add rax, 8
mov r8, rax
lea rdx, [rsp + 0x258]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x258]
call fcn.140054020
jmp 0x1400a5eb3
lea rdx, str.Host
lea rcx, [rsp + 0x278]
call fcn.140052440
nop
mov rax, qword [rsp + 0x6d0]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x278]
call fcn.140054020
lea rdx, str.Accept
lea rcx, [rsp + 0x298]
call fcn.140052440
nop
lea rdx, [rsp + 0x298]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a5eee
mov dword [rsp + 0x38], 1
jmp 0x1400a5ef6
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x26], al
lea rcx, [rsp + 0x298]
call fcn.140054020
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x1400a5f78
lea rdx, [0x140139e48]
lea rcx, [rsp + 0x2d8]
call fcn.140052440
nop
lea rdx, str.Accept
lea rcx, [rsp + 0x2b8]
call fcn.140052440
nop
lea r8, [rsp + 0x2d8]
lea rdx, [rsp + 0x2b8]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x2b8]
call fcn.140054020
nop
lea rcx, [rsp + 0x2d8]
call fcn.140054020
lea rdx, str.User_Agent
lea rcx, [rsp + 0x2f8]
call fcn.140052440
nop
lea rdx, [rsp + 0x2f8]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a5fb3
mov dword [rsp + 0x3c], 1
jmp 0x1400a5fbb
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x27], al
lea rcx, [rsp + 0x2f8]
call fcn.140054020
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x1400a6076
lea rdx, str.cpp_httplib_
lea rcx, [rsp + 0x598]
call fcn.140052440
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r8, str.0.14.1
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x338]
call fcn.1400500c0
nop
lea rcx, [rsp + 0x598]
call fcn.140054020
lea rdx, str.User_Agent
lea rcx, [rsp + 0x318]
call fcn.140052440
nop
lea r8, [rsp + 0x338]
lea rdx, [rsp + 0x318]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x318]
call fcn.140054020
nop
lea rcx, [rsp + 0x338]
call fcn.140054020
mov rax, qword [rsp + 0x6e0]
add rax, 0x50
mov rcx, rax
call fcn.14009eea0
movzx eax, al
test eax, eax
je 0x1400a6261
mov rax, qword [rsp + 0x6e0]
add rax, 0x2b8
mov rcx, rax
call fcn.140071870
movzx eax, al
test eax, eax
je 0x1400a619f
mov rax, qword [rsp + 0x6e0]
movzx eax, byte [rax + 0x2f8]
test eax, eax
jne 0x1400a619a
lea rdx, str.Content_Length
lea rcx, [rsp + 0x358]
call fcn.140052440
nop
lea rdx, [rsp + 0x358]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a6108
mov dword [rsp + 0x40], 1
jmp 0x1400a6110
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x28], al
lea rcx, [rsp + 0x358]
call fcn.140054020
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1400a619a
mov rax, qword [rsp + 0x6e0]
mov rdx, qword [rax + 0x2b0]
lea rcx, [rsp + 0x398]
call fcn.1400a4d90
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x378]
call fcn.140052440
nop
lea r8, [rsp + 0x398]
lea rdx, [rsp + 0x378]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x378]
call fcn.140054020
nop
lea rcx, [rsp + 0x398]
call fcn.140054020
jmp 0x1400a625c
mov rax, qword [rsp + 0x6e0]
lea rdx, str.POST
mov rcx, rax
call fcn.140059f90
movzx eax, al
test eax, eax
jne 0x1400a61f9
mov rax, qword [rsp + 0x6e0]
lea rdx, [0x140139b38]
mov rcx, rax
call fcn.140059f90
movzx eax, al
test eax, eax
jne 0x1400a61f9
mov rax, qword [rsp + 0x6e0]
lea rdx, str.PATCH
mov rcx, rax
call fcn.140059f90
movzx eax, al
test eax, eax
je 0x1400a625c
lea rdx, [0x140139ad8]
lea rcx, [rsp + 0x3d8]
call fcn.140052440
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x3b8]
call fcn.140052440
nop
lea r8, [rsp + 0x3d8]
lea rdx, [rsp + 0x3b8]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x3b8]
call fcn.140054020
nop
lea rcx, [rsp + 0x3d8]
call fcn.140054020
jmp 0x1400a63fb
lea rdx, str.Content_Type
lea rcx, [rsp + 0x3f8]
call fcn.140052440
nop
lea rdx, [rsp + 0x3f8]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a629c
mov dword [rsp + 0x44], 1
jmp 0x1400a62a4
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x29], al
lea rcx, [rsp + 0x3f8]
call fcn.140054020
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x1400a6326
lea rdx, str.text_plain
lea rcx, [rsp + 0x438]
call fcn.140052440
nop
lea rdx, str.Content_Type
lea rcx, [rsp + 0x418]
call fcn.140052440
nop
lea r8, [rsp + 0x438]
lea rdx, [rsp + 0x418]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x418]
call fcn.140054020
nop
lea rcx, [rsp + 0x438]
call fcn.140054020
lea rdx, str.Content_Length
lea rcx, [rsp + 0x458]
call fcn.140052440
nop
lea rdx, [rsp + 0x458]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a6361
mov dword [rsp + 0x48], 1
jmp 0x1400a6369
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2a], al
lea rcx, [rsp + 0x458]
call fcn.140054020
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x1400a63fb
mov rax, qword [rsp + 0x6e0]
add rax, 0x50
mov rcx, rax
call fcn.14004ac60
mov rdx, rax
lea rcx, [rsp + 0x498]
call fcn.1400a4d90
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x478]
call fcn.140052440
nop
lea r8, [rsp + 0x498]
lea rdx, [rsp + 0x478]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a4640
nop
lea rcx, [rsp + 0x478]
call fcn.140054020
nop
lea rcx, [rsp + 0x498]
call fcn.140054020
mov rax, qword [rsp + 0x6d0]
add rax, 0x1f8
mov rcx, rax
call fcn.14009eea0
movzx eax, al
test eax, eax
je 0x1400a6439
mov rax, qword [rsp + 0x6d0]
add rax, 0x1d8
mov rcx, rax
call fcn.14009eea0
movzx eax, al
test eax, eax
jne 0x1400a6529
lea rdx, str.Authorization
lea rcx, [rsp + 0x4b8]
call fcn.140052440
nop
lea rdx, [rsp + 0x4b8]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a6474
mov dword [rsp + 0x4c], 1
jmp 0x1400a647c
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x2b], al
lea rcx, [rsp + 0x4b8]
call fcn.140054020
movzx eax, byte [rsp + 0x2b]
test eax, eax
je 0x1400a6529
mov rax, qword [rsp + 0x6e0]
add rax, 0x40
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x6d0]
add rax, 0x1f8
mov rcx, qword [rsp + 0x6d0]
add rcx, 0x1d8
xor r9d, r9d
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x5b8]
call fcn.1400a0d70
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x90]
call fcn.1400661f0
nop
lea rcx, [rsp + 0x5b8]
call fcn.14006f950
mov rax, qword [rsp + 0x6d0]
add rax, 0x2d8
mov rcx, rax
call fcn.14009eea0
movzx eax, al
test eax, eax
jne 0x1400a665b
mov rax, qword [rsp + 0x6d0]
add rax, 0x2f8
mov rcx, rax
call fcn.14009eea0
movzx eax, al
test eax, eax
jne 0x1400a665b
lea rdx, str.Proxy_Authorization
lea rcx, [rsp + 0x4d8]
call fcn.140052440
nop
lea rdx, [rsp + 0x4d8]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a65a6
mov dword [rsp + 0x50], 1
jmp 0x1400a65ae
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x2c], al
lea rcx, [rsp + 0x4d8]
call fcn.140054020
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x1400a665b
mov rax, qword [rsp + 0x6e0]
add rax, 0x40
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x6d0]
add rax, 0x2f8
mov rcx, qword [rsp + 0x6d0]
add rcx, 0x2d8
mov r9b, 1
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x5f8]
call fcn.1400a0d70
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0xa8]
call fcn.1400661f0
nop
lea rcx, [rsp + 0x5f8]
call fcn.14006f950
mov rax, qword [rsp + 0x6d0]
add rax, 0x218
mov rcx, rax
call fcn.14009eea0
movzx eax, al
test eax, eax
jne 0x1400a6756
lea rdx, str.Authorization
lea rcx, [rsp + 0x4f8]
call fcn.140052440
nop
lea rdx, [rsp + 0x4f8]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a66b7
mov dword [rsp + 0x54], 1
jmp 0x1400a66bf
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x2d], al
lea rcx, [rsp + 0x4f8]
call fcn.140054020
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x1400a6756
mov rax, qword [rsp + 0x6e0]
add rax, 0x40
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x6d0]
add rax, 0x218
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x638]
call fcn.1400a0ef0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xb8]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0xc0]
call fcn.1400661f0
nop
lea rcx, [rsp + 0x638]
call fcn.14006f950
mov rax, qword [rsp + 0x6d0]
add rax, 0x318
mov rcx, rax
call fcn.14009eea0
movzx eax, al
test eax, eax
jne 0x1400a6851
lea rdx, str.Proxy_Authorization
lea rcx, [rsp + 0x518]
call fcn.140052440
nop
lea rdx, [rsp + 0x518]
mov rcx, qword [rsp + 0x6e0]
call fcn.1400a05b0
movzx eax, al
test eax, eax
jne 0x1400a67b2
mov dword [rsp + 0x58], 1
jmp 0x1400a67ba
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x2e], al
lea rcx, [rsp + 0x518]
call fcn.140054020
movzx eax, byte [rsp + 0x2e]
test eax, eax
je 0x1400a6851
mov rax, qword [rsp + 0x6e0]
add rax, 0x40
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x6d0]
add rax, 0x318
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0x678]
call fcn.1400a0ef0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0xd0]
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0xd8]
call fcn.1400661f0
nop
lea rcx, [rsp + 0x678]
call fcn.14006f950
lea rcx, [rsp + 0x188]
call fcn.14006cd20
nop
mov rax, qword [rsp + 0x6d0]
movzx eax, byte [rax + 0x23a]
test eax, eax
je 0x1400a68c0
mov rax, qword [rsp + 0x6e0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x578]
call fcn.14009ef00
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x60], rax
jmp 0x1400a690c
mov rax, qword [rsp + 0x6e0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x558]
call fcn.1400523a0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x168]
call fcn.1400523a0
nop
lea rax, [rsp + 0x168]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x1400a695d
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x558]
call fcn.140054020
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1400a697a
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x578]
call fcn.140054020
mov rcx, qword [rsp + 0x108]
call fcn.14004a8c0
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x6e0]
mov rcx, rax
call fcn.14004a8c0
mov qword [rsp + 0x118], rax
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x118]
lea rdx, str._s__s_HTTP_1.1_r_n
lea rcx, [rsp + 0x188]
call fcn.140069890
mov rax, qword [rsp + 0x6d0]
add rax, 0x128
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x40
mov r8, rax
lea rdx, [rsp + 0x188]
mov rcx, qword [rsp + 0x120]
call fcn.140073850
lea rcx, [rsp + 0x188]
call fcn.140055d40
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14004ac60
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x68]
call fcn.14004a8c0
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x6d8]
call fcn.1400a5a10
movzx eax, al
test eax, eax
jne 0x1400a6a97
mov rax, qword [rsp + 0x6f0]
mov dword [rax], 5
mov byte [rsp + 0x2f], 0
lea rcx, [rsp + 0x168]
call fcn.140054020
nop
lea rcx, [rsp + 0x188]
call fcn.14006fb60
movzx eax, byte [rsp + 0x2f]
jmp 0x1400a6b64
lea rcx, [rsp + 0x168]
call fcn.140054020
nop
lea rcx, [rsp + 0x188]
call fcn.14006fb60
mov rax, qword [rsp + 0x6e0]
add rax, 0x50
mov rcx, rax
call fcn.14009eea0
movzx eax, al
test eax, eax
je 0x1400a6af4
mov r9, qword [rsp + 0x6f0]
mov r8, qword [rsp + 0x6e0]
mov rdx, qword [rsp + 0x6d8]
mov rcx, qword [rsp + 0x6d0]
call fcn.1400a5920
jmp 0x1400a6b64
mov rax, qword [rsp + 0x6e0]
add rax, 0x50
mov rcx, rax
call fcn.14004ac60
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x50
mov rcx, rax
call fcn.14004a8c0
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x6d8]
call fcn.1400a5a10
movzx eax, al
test eax, eax
jne 0x1400a6b62
mov rax, qword [rsp + 0x6f0]
mov dword [rax], 5
xor al, al
jmp 0x1400a6b64
mov al, 1
add rsp, 0x6c8
ret