Function at 0x14018c8d0
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, 0x6d8
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x6f8]
test eax, eax
je 0x14018c9da
lea rdx, str.Connection
lea rcx, [rsp + 0x188]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x188]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018c950
mov dword [rsp + 0x30], 1
jmp 0x14018c958
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x188]
call fcn.140012650
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14018c9da
lea rdx, str.close
lea rcx, [rsp + 0x1c8]
call fcn.14000f9b0
nop
lea rdx, str.Connection
lea rcx, [rsp + 0x1a8]
call fcn.14000f9b0
nop
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x1a8]
call fcn.140012650
nop
lea rcx, [rsp + 0x1c8]
call fcn.140012650
lea rdx, str.Host
lea rcx, [rsp + 0x1e8]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018ca15
mov dword [rsp + 0x34], 1
jmp 0x14018ca1d
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x25], al
lea rcx, [rsp + 0x1e8]
call fcn.140012650
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x14018cba5
mov rax, qword [rsp + 0x6e0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x6e0]
call qword [rax + Ordinal_41]
movzx eax, al
test eax, eax
je 0x14018cb07
mov rax, qword [rsp + 0x6e0]
cmp dword [rax + 0x28], 0x1bb
jne 0x14018cabb
lea rdx, str.Host
lea rcx, [rsp + 0x208]
call fcn.14000f9b0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 8
mov r8, rax
lea rdx, [rsp + 0x208]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x208]
call fcn.140012650
jmp 0x14018cb02
lea rdx, str.Host
lea rcx, [rsp + 0x228]
call fcn.14000f9b0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x228]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x228]
call fcn.140012650
jmp 0x14018cba5
mov rax, qword [rsp + 0x6e0]
cmp dword [rax + 0x28], 0x50
jne 0x14018cb5e
lea rdx, str.Host
lea rcx, [rsp + 0x248]
call fcn.14000f9b0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 8
mov r8, rax
lea rdx, [rsp + 0x248]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x248]
call fcn.140012650
jmp 0x14018cba5
lea rdx, str.Host
lea rcx, [rsp + 0x268]
call fcn.14000f9b0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x268]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x268]
call fcn.140012650
lea rdx, str.Accept
lea rcx, [rsp + 0x288]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x288]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018cbe0
mov dword [rsp + 0x38], 1
jmp 0x14018cbe8
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x26], al
lea rcx, [rsp + 0x288]
call fcn.140012650
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x14018cc6a
lea rdx, [0x1402954d8]
lea rcx, [rsp + 0x2c8]
call fcn.14000f9b0
nop
lea rdx, str.Accept
lea rcx, [rsp + 0x2a8]
call fcn.14000f9b0
nop
lea r8, [rsp + 0x2c8]
lea rdx, [rsp + 0x2a8]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x2a8]
call fcn.140012650
nop
lea rcx, [rsp + 0x2c8]
call fcn.140012650
lea rdx, str.User_Agent
lea rcx, [rsp + 0x2e8]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x2e8]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018cca5
mov dword [rsp + 0x3c], 1
jmp 0x14018ccad
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x27], al
lea rcx, [rsp + 0x2e8]
call fcn.140012650
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x14018cd68
lea rdx, str.cpp_httplib_
lea rcx, [rsp + 0x4a8]
call fcn.14000f9b0
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 + 0x660]
call fcn.1400088b0
nop
lea rcx, [rsp + 0x4a8]
call fcn.140012650
lea rdx, str.User_Agent
lea rcx, [rsp + 0x308]
call fcn.14000f9b0
nop
lea r8, [rsp + 0x660]
lea rdx, [rsp + 0x308]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x308]
call fcn.140012650
nop
lea rcx, [rsp + 0x660]
call fcn.140012650
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.1400b2940
movzx eax, al
test eax, eax
je 0x14018cf53
mov rax, qword [rsp + 0x6f0]
add rax, 0x2b8
mov rcx, rax
call fcn.14002e190
movzx eax, al
test eax, eax
je 0x14018ce91
mov rax, qword [rsp + 0x6f0]
movzx eax, byte [rax + 0x2f8]
test eax, eax
jne 0x14018ce8c
lea rdx, str.Content_Length
lea rcx, [rsp + 0x348]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x348]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018cdfa
mov dword [rsp + 0x40], 1
jmp 0x14018ce02
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x28], al
lea rcx, [rsp + 0x348]
call fcn.140012650
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x14018ce8c
mov rax, qword [rsp + 0x6f0]
mov rdx, qword [rax + 0x2b0]
lea rcx, [rsp + 0x680]
call fcn.1400b97e0
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x368]
call fcn.14000f9b0
nop
lea r8, [rsp + 0x680]
lea rdx, [rsp + 0x368]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x368]
call fcn.140012650
nop
lea rcx, [rsp + 0x680]
call fcn.140012650
jmp 0x14018cf4e
mov rax, qword [rsp + 0x6f0]
lea rdx, str.POST
mov rcx, rax
call fcn.140008650
movzx eax, al
test eax, eax
jne 0x14018ceeb
mov rax, qword [rsp + 0x6f0]
lea rdx, [0x140295368]
mov rcx, rax
call fcn.140008650
movzx eax, al
test eax, eax
jne 0x14018ceeb
mov rax, qword [rsp + 0x6f0]
lea rdx, str.PATCH
mov rcx, rax
call fcn.140008650
movzx eax, al
test eax, eax
je 0x14018cf4e
lea rdx, str.0123456789abcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x3c8]
call fcn.14000f9b0
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x3a8]
call fcn.14000f9b0
nop
lea r8, [rsp + 0x3c8]
lea rdx, [rsp + 0x3a8]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x3a8]
call fcn.140012650
nop
lea rcx, [rsp + 0x3c8]
call fcn.140012650
jmp 0x14018d0ed
lea rdx, str.Content_Type
lea rcx, [rsp + 0x3e8]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x3e8]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018cf8e
mov dword [rsp + 0x44], 1
jmp 0x14018cf96
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x29], al
lea rcx, [rsp + 0x3e8]
call fcn.140012650
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x14018d018
lea rdx, str.text_plain
lea rcx, [rsp + 0x388]
call fcn.14000f9b0
nop
lea rdx, str.Content_Type
lea rcx, [rsp + 0x408]
call fcn.14000f9b0
nop
lea r8, [rsp + 0x388]
lea rdx, [rsp + 0x408]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x408]
call fcn.140012650
nop
lea rcx, [rsp + 0x388]
call fcn.140012650
lea rdx, str.Content_Length
lea rcx, [rsp + 0x428]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x428]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018d053
mov dword [rsp + 0x48], 1
jmp 0x14018d05b
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2a], al
lea rcx, [rsp + 0x428]
call fcn.140012650
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x14018d0ed
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.1400232b0
mov rdx, rax
lea rcx, [rsp + 0x6a0]
call fcn.1400b97e0
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x448]
call fcn.14000f9b0
nop
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x448]
mov rcx, qword [rsp + 0x6f0]
call fcn.140188540
nop
lea rcx, [rsp + 0x448]
call fcn.140012650
nop
lea rcx, [rsp + 0x6a0]
call fcn.140012650
mov rax, qword [rsp + 0x6e0]
add rax, 0x1f8
mov rcx, rax
call fcn.1400b2940
movzx eax, al
test eax, eax
je 0x14018d12b
mov rax, qword [rsp + 0x6e0]
add rax, 0x1d8
mov rcx, rax
call fcn.1400b2940
movzx eax, al
test eax, eax
jne 0x14018d21b
lea rdx, str.Authorization
lea rcx, [rsp + 0x468]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x468]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018d166
mov dword [rsp + 0x4c], 1
jmp 0x14018d16e
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x2b], al
lea rcx, [rsp + 0x468]
call fcn.140012650
movzx eax, byte [rsp + 0x2b]
test eax, eax
je 0x14018d21b
mov rax, qword [rsp + 0x6f0]
add rax, 0x40
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x1f8
mov rcx, qword [rsp + 0x6e0]
add rcx, 0x1d8
xor r9d, r9d
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x510]
call fcn.140181be0
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.140150780
nop
lea rcx, [rsp + 0x510]
call fcn.140158a90
mov rax, qword [rsp + 0x6e0]
add rax, 0x2d8
mov rcx, rax
call fcn.1400b2940
movzx eax, al
test eax, eax
jne 0x14018d34d
mov rax, qword [rsp + 0x6e0]
add rax, 0x2f8
mov rcx, rax
call fcn.1400b2940
movzx eax, al
test eax, eax
jne 0x14018d34d
lea rdx, str.Proxy_Authorization
lea rcx, [rsp + 0x488]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x488]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018d298
mov dword [rsp + 0x50], 1
jmp 0x14018d2a0
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x2c], al
lea rcx, [rsp + 0x488]
call fcn.140012650
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x14018d34d
mov rax, qword [rsp + 0x6f0]
add rax, 0x40
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x2f8
mov rcx, qword [rsp + 0x6e0]
add rcx, 0x2d8
mov r9b, 1
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x550]
call fcn.140181be0
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.140150780
nop
lea rcx, [rsp + 0x550]
call fcn.140158a90
mov rax, qword [rsp + 0x6e0]
add rax, 0x218
mov rcx, rax
call fcn.1400b2940
movzx eax, al
test eax, eax
jne 0x14018d448
lea rdx, str.Authorization
lea rcx, [rsp + 0x168]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018d3a9
mov dword [rsp + 0x54], 1
jmp 0x14018d3b1
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x2d], al
lea rcx, [rsp + 0x168]
call fcn.140012650
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x14018d448
mov rax, qword [rsp + 0x6f0]
add rax, 0x40
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x218
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x590]
call fcn.140181d80
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.140150780
nop
lea rcx, [rsp + 0x590]
call fcn.140158a90
mov rax, qword [rsp + 0x6e0]
add rax, 0x318
mov rcx, rax
call fcn.1400b2940
movzx eax, al
test eax, eax
jne 0x14018d543
lea rdx, str.Proxy_Authorization
lea rcx, [rsp + 0x328]
call fcn.14000f9b0
nop
lea rdx, [rsp + 0x328]
mov rcx, qword [rsp + 0x6f0]
call fcn.14017eaf0
movzx eax, al
test eax, eax
jne 0x14018d4a4
mov dword [rsp + 0x58], 1
jmp 0x14018d4ac
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x2e], al
lea rcx, [rsp + 0x328]
call fcn.140012650
movzx eax, byte [rsp + 0x2e]
test eax, eax
je 0x14018d543
mov rax, qword [rsp + 0x6f0]
add rax, 0x40
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x318
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0x5d0]
call fcn.140181d80
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.140150780
nop
lea rcx, [rsp + 0x5d0]
call fcn.140158a90
lea rcx, [rsp + 0x630]
call fcn.140155d70
nop
mov rax, qword [rsp + 0x6e0]
movzx eax, byte [rax + 0x23a]
test eax, eax
je 0x14018d5b2
mov rax, qword [rsp + 0x6f0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x4e8]
call fcn.14017b3c0
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 0x14018d5fe
mov rax, qword [rsp + 0x6f0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x4c8]
call fcn.14000f910
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 + 0x610]
call fcn.14000f910
nop
lea rax, [rsp + 0x610]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x14018d64f
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x4c8]
call fcn.140012650
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14018d66c
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x4e8]
call fcn.140012650
mov rcx, qword [rsp + 0x108]
call fcn.14001d640
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x6f0]
mov rcx, rax
call fcn.14001d640
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 + 0x630]
call fcn.140153400
mov rax, qword [rsp + 0x6e0]
add rax, 0x128
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x6f0]
add rax, 0x40
mov r8, rax
lea rdx, [rsp + 0x630]
mov rcx, qword [rsp + 0x120]
call fcn.14015f0d0
lea rcx, [rsp + 0x630]
call fcn.14013b190
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400232b0
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x68]
call fcn.14001d640
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x6e8]
call fcn.14018c6d0
movzx eax, al
test eax, eax
jne 0x14018d789
mov rax, qword [rsp + 0x700]
mov dword [rax], 5
mov byte [rsp + 0x2f], 0
lea rcx, [rsp + 0x610]
call fcn.140012650
nop
lea rcx, [rsp + 0x630]
call fcn.140158c70
movzx eax, byte [rsp + 0x2f]
jmp 0x14018d856
lea rcx, [rsp + 0x610]
call fcn.140012650
nop
lea rcx, [rsp + 0x630]
call fcn.140158c70
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.1400b2940
movzx eax, al
test eax, eax
je 0x14018d7e6
mov r9, qword [rsp + 0x700]
mov r8, qword [rsp + 0x6f0]
mov rdx, qword [rsp + 0x6e8]
mov rcx, qword [rsp + 0x6e0]
call fcn.14018c5a0
jmp 0x14018d856
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.1400232b0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.14001d640
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x6e8]
call fcn.14018c6d0
movzx eax, al
test eax, eax
jne 0x14018d854
mov rax, qword [rsp + 0x700]
mov dword [rax], 5
xor al, al
jmp 0x14018d856
mov al, 1
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x6d8
ret