Function at 0x14013d050
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 [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x6f8]
test eax, eax
je 0x14013d15a
lea rdx, str.Connection
lea rcx, [rsp + 0x188]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x188]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013d0d0
mov dword [rsp + 0x30], 1
jmp 0x14013d0d8
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x188]
call fcn.14000fe40
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14013d15a
lea rdx, str.close
lea rcx, [rsp + 0x1c8]
call fcn.14000e2e0
nop
lea rdx, str.Connection
lea rcx, [rsp + 0x1a8]
call fcn.14000e2e0
nop
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x1a8]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x1c8]
call fcn.14000fe40
lea rdx, str.Host
lea rcx, [rsp + 0x1e8]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013d195
mov dword [rsp + 0x34], 1
jmp 0x14013d19d
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x25], al
lea rcx, [rsp + 0x1e8]
call fcn.14000fe40
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x14013d325
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 0x14013d287
mov rax, qword [rsp + 0x6e0]
cmp dword [rax + 0x28], 0x1bb
jne 0x14013d23b
lea rdx, str.Host
lea rcx, [rsp + 0x208]
call fcn.14000e2e0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 8
mov r8, rax
lea rdx, [rsp + 0x208]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x208]
call fcn.14000fe40
jmp 0x14013d282
lea rdx, str.Host
lea rcx, [rsp + 0x228]
call fcn.14000e2e0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x228]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x228]
call fcn.14000fe40
jmp 0x14013d325
mov rax, qword [rsp + 0x6e0]
cmp dword [rax + 0x28], 0x50
jne 0x14013d2de
lea rdx, str.Host
lea rcx, [rsp + 0x248]
call fcn.14000e2e0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 8
mov r8, rax
lea rdx, [rsp + 0x248]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x248]
call fcn.14000fe40
jmp 0x14013d325
lea rdx, str.Host
lea rcx, [rsp + 0x268]
call fcn.14000e2e0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x268]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x268]
call fcn.14000fe40
lea rdx, str.Accept
lea rcx, [rsp + 0x288]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x288]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013d360
mov dword [rsp + 0x38], 1
jmp 0x14013d368
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x26], al
lea rcx, [rsp + 0x288]
call fcn.14000fe40
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x14013d3ea
lea rdx, [0x140210708]
lea rcx, [rsp + 0x2c8]
call fcn.14000e2e0
nop
lea rdx, str.Accept
lea rcx, [rsp + 0x2a8]
call fcn.14000e2e0
nop
lea r8, [rsp + 0x2c8]
lea rdx, [rsp + 0x2a8]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x2a8]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x2c8]
call fcn.14000fe40
lea rdx, str.User_Agent
lea rcx, [rsp + 0x2e8]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x2e8]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013d425
mov dword [rsp + 0x3c], 1
jmp 0x14013d42d
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x27], al
lea rcx, [rsp + 0x2e8]
call fcn.14000fe40
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x14013d4e8
lea rdx, str.cpp_httplib_
lea rcx, [rsp + 0x4a8]
call fcn.14000e2e0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r8, str.0.14.0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x660]
call fcn.14001d8c0
nop
lea rcx, [rsp + 0x4a8]
call fcn.14000fe40
lea rdx, str.User_Agent
lea rcx, [rsp + 0x308]
call fcn.14000e2e0
nop
lea r8, [rsp + 0x660]
lea rdx, [rsp + 0x308]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x308]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x660]
call fcn.14000fe40
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.140019610
movzx eax, al
test eax, eax
je 0x14013d6d3
mov rax, qword [rsp + 0x6f0]
add rax, 0x2b8
mov rcx, rax
call fcn.140025a90
movzx eax, al
test eax, eax
je 0x14013d611
mov rax, qword [rsp + 0x6f0]
movzx eax, byte [rax + 0x2f8]
test eax, eax
jne 0x14013d60c
lea rdx, str.Content_Length
lea rcx, [rsp + 0x348]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x348]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013d57a
mov dword [rsp + 0x40], 1
jmp 0x14013d582
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x28], al
lea rcx, [rsp + 0x348]
call fcn.14000fe40
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x14013d60c
mov rax, qword [rsp + 0x6f0]
mov rdx, qword [rax + 0x2b0]
lea rcx, [rsp + 0x680]
call fcn.140055010
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x368]
call fcn.14000e2e0
nop
lea r8, [rsp + 0x680]
lea rdx, [rsp + 0x368]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x368]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x680]
call fcn.14000fe40
jmp 0x14013d6ce
mov rax, qword [rsp + 0x6f0]
lea rdx, str.POST
mov rcx, rax
call fcn.1400075a0
movzx eax, al
test eax, eax
jne 0x14013d66b
mov rax, qword [rsp + 0x6f0]
lea rdx, [0x140210590]
mov rcx, rax
call fcn.1400075a0
movzx eax, al
test eax, eax
jne 0x14013d66b
mov rax, qword [rsp + 0x6f0]
lea rdx, str.PATCH
mov rcx, rax
call fcn.1400075a0
movzx eax, al
test eax, eax
je 0x14013d6ce
lea rdx, [0x140210530]
lea rcx, [rsp + 0x3c8]
call fcn.14000e2e0
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x3a8]
call fcn.14000e2e0
nop
lea r8, [rsp + 0x3c8]
lea rdx, [rsp + 0x3a8]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x3a8]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x3c8]
call fcn.14000fe40
jmp 0x14013d86d
lea rdx, str.Content_Type
lea rcx, [rsp + 0x3e8]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x3e8]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013d70e
mov dword [rsp + 0x44], 1
jmp 0x14013d716
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x29], al
lea rcx, [rsp + 0x3e8]
call fcn.14000fe40
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x14013d798
lea rdx, str.text_plain
lea rcx, [rsp + 0x388]
call fcn.14000e2e0
nop
lea rdx, str.Content_Type
lea rcx, [rsp + 0x408]
call fcn.14000e2e0
nop
lea r8, [rsp + 0x388]
lea rdx, [rsp + 0x408]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x408]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x388]
call fcn.14000fe40
lea rdx, str.Content_Length
lea rcx, [rsp + 0x428]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x428]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013d7d3
mov dword [rsp + 0x48], 1
jmp 0x14013d7db
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2a], al
lea rcx, [rsp + 0x428]
call fcn.14000fe40
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x14013d86d
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.14001a4d0
mov rdx, rax
lea rcx, [rsp + 0x6a0]
call fcn.140055010
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x448]
call fcn.14000e2e0
nop
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x448]
mov rcx, qword [rsp + 0x6f0]
call fcn.140137500
nop
lea rcx, [rsp + 0x448]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x6a0]
call fcn.14000fe40
mov rax, qword [rsp + 0x6e0]
add rax, 0x1f8
mov rcx, rax
call fcn.140019610
movzx eax, al
test eax, eax
je 0x14013d8ab
mov rax, qword [rsp + 0x6e0]
add rax, 0x1d8
mov rcx, rax
call fcn.140019610
movzx eax, al
test eax, eax
jne 0x14013d99b
lea rdx, str.Authorization
lea rcx, [rsp + 0x468]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x468]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013d8e6
mov dword [rsp + 0x4c], 1
jmp 0x14013d8ee
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x2b], al
lea rcx, [rsp + 0x468]
call fcn.14000fe40
movzx eax, byte [rsp + 0x2b]
test eax, eax
je 0x14013d99b
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.1401302e0
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.1400f48d0
nop
lea rcx, [rsp + 0x510]
call fcn.1400ff140
mov rax, qword [rsp + 0x6e0]
add rax, 0x2d8
mov rcx, rax
call fcn.140019610
movzx eax, al
test eax, eax
jne 0x14013dacd
mov rax, qword [rsp + 0x6e0]
add rax, 0x2f8
mov rcx, rax
call fcn.140019610
movzx eax, al
test eax, eax
jne 0x14013dacd
lea rdx, str.Proxy_Authorization
lea rcx, [rsp + 0x488]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x488]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013da18
mov dword [rsp + 0x50], 1
jmp 0x14013da20
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x2c], al
lea rcx, [rsp + 0x488]
call fcn.14000fe40
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x14013dacd
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.1401302e0
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.1400f48d0
nop
lea rcx, [rsp + 0x550]
call fcn.1400ff140
mov rax, qword [rsp + 0x6e0]
add rax, 0x218
mov rcx, rax
call fcn.140019610
movzx eax, al
test eax, eax
jne 0x14013dbc8
lea rdx, str.Authorization
lea rcx, [rsp + 0x168]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013db29
mov dword [rsp + 0x54], 1
jmp 0x14013db31
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x2d], al
lea rcx, [rsp + 0x168]
call fcn.14000fe40
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x14013dbc8
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.140130480
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.1400f48d0
nop
lea rcx, [rsp + 0x590]
call fcn.1400ff140
mov rax, qword [rsp + 0x6e0]
add rax, 0x318
mov rcx, rax
call fcn.140019610
movzx eax, al
test eax, eax
jne 0x14013dcc3
lea rdx, str.Proxy_Authorization
lea rcx, [rsp + 0x328]
call fcn.14000e2e0
nop
lea rdx, [rsp + 0x328]
mov rcx, qword [rsp + 0x6f0]
call fcn.14012eb20
movzx eax, al
test eax, eax
jne 0x14013dc24
mov dword [rsp + 0x58], 1
jmp 0x14013dc2c
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x2e], al
lea rcx, [rsp + 0x328]
call fcn.14000fe40
movzx eax, byte [rsp + 0x2e]
test eax, eax
je 0x14013dcc3
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.140130480
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.1400f48d0
nop
lea rcx, [rsp + 0x5d0]
call fcn.1400ff140
lea rcx, [rsp + 0x630]
call fcn.1400fc1e0
nop
mov rax, qword [rsp + 0x6e0]
movzx eax, byte [rax + 0x23a]
test eax, eax
je 0x14013dd32
mov rax, qword [rsp + 0x6f0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x4e8]
call fcn.140129970
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 0x14013dd7e
mov rax, qword [rsp + 0x6f0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x4c8]
call fcn.14000e240
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.14000e240
nop
lea rax, [rsp + 0x610]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x14013ddcf
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x4c8]
call fcn.14000fe40
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14013ddec
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x4e8]
call fcn.14000fe40
mov rcx, qword [rsp + 0x108]
call fcn.140016800
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x6f0]
mov rcx, rax
call fcn.140016800
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.1400f83c0
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.140107770
lea rcx, [rsp + 0x630]
call fcn.1400ca6c0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14001a4d0
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x68]
call fcn.140016800
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x6e8]
call fcn.14013ce50
movzx eax, al
test eax, eax
jne 0x14013df09
mov rax, qword [rsp + 0x700]
mov dword [rax], 5
mov byte [rsp + 0x2f], 0
lea rcx, [rsp + 0x610]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x630]
call fcn.1400ff360
movzx eax, byte [rsp + 0x2f]
jmp 0x14013dfd6
lea rcx, [rsp + 0x610]
call fcn.14000fe40
nop
lea rcx, [rsp + 0x630]
call fcn.1400ff360
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.140019610
movzx eax, al
test eax, eax
je 0x14013df66
mov r9, qword [rsp + 0x700]
mov r8, qword [rsp + 0x6f0]
mov rdx, qword [rsp + 0x6e8]
mov rcx, qword [rsp + 0x6e0]
call fcn.14013cd20
jmp 0x14013dfd6
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.14001a4d0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.140016800
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x6e8]
call fcn.14013ce50
movzx eax, al
test eax, eax
jne 0x14013dfd4
mov rax, qword [rsp + 0x700]
mov dword [rax], 5
xor al, al
jmp 0x14013dfd6
mov al, 1
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x6d8
ret