Function at 0x140146e00
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 [0x140376800]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x6f8]
test eax, eax
je 0x140146f0a
lea rdx, str.Connection
lea rcx, [rsp + 0x188]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x188]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x140146e80
mov dword [rsp + 0x30], 1
jmp 0x140146e88
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x188]
call fcn.14000da40
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140146f0a
lea rdx, str.close
lea rcx, [rsp + 0x1c8]
call fcn.14000bbc0
nop
lea rdx, str.Connection
lea rcx, [rsp + 0x1a8]
call fcn.14000bbc0
nop
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x1a8]
call fcn.14000da40
nop
lea rcx, [rsp + 0x1c8]
call fcn.14000da40
lea rdx, str.Host
lea rcx, [rsp + 0x1e8]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x140146f45
mov dword [rsp + 0x34], 1
jmp 0x140146f4d
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x25], al
lea rcx, [rsp + 0x1e8]
call fcn.14000da40
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1401470d5
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 0x140147037
mov rax, qword [rsp + 0x6e0]
cmp dword [rax + 0x28], 0x1bb
jne 0x140146feb
lea rdx, str.Host
lea rcx, [rsp + 0x208]
call fcn.14000bbc0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 8
mov r8, rax
lea rdx, [rsp + 0x208]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x208]
call fcn.14000da40
jmp 0x140147032
lea rdx, str.Host
lea rcx, [rsp + 0x228]
call fcn.14000bbc0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x228]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x228]
call fcn.14000da40
jmp 0x1401470d5
mov rax, qword [rsp + 0x6e0]
cmp dword [rax + 0x28], 0x50
jne 0x14014708e
lea rdx, str.Host
lea rcx, [rsp + 0x248]
call fcn.14000bbc0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 8
mov r8, rax
lea rdx, [rsp + 0x248]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x248]
call fcn.14000da40
jmp 0x1401470d5
lea rdx, str.Host
lea rcx, [rsp + 0x268]
call fcn.14000bbc0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 0x30
mov r8, rax
lea rdx, [rsp + 0x268]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x268]
call fcn.14000da40
lea rdx, str.Accept
lea rcx, [rsp + 0x288]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x288]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x140147110
mov dword [rsp + 0x38], 1
jmp 0x140147118
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x26], al
lea rcx, [rsp + 0x288]
call fcn.14000da40
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x14014719a
lea rdx, [0x14023cd78]
lea rcx, [rsp + 0x2c8]
call fcn.14000bbc0
nop
lea rdx, str.Accept
lea rcx, [rsp + 0x2a8]
call fcn.14000bbc0
nop
lea r8, [rsp + 0x2c8]
lea rdx, [rsp + 0x2a8]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x2a8]
call fcn.14000da40
nop
lea rcx, [rsp + 0x2c8]
call fcn.14000da40
lea rdx, str.User_Agent
lea rcx, [rsp + 0x2e8]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x2e8]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x1401471d5
mov dword [rsp + 0x3c], 1
jmp 0x1401471dd
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x27], al
lea rcx, [rsp + 0x2e8]
call fcn.14000da40
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140147298
lea rdx, str.cpp_httplib_
lea rcx, [rsp + 0x4a8]
call fcn.14000bbc0
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.140007340
nop
lea rcx, [rsp + 0x4a8]
call fcn.14000da40
lea rdx, str.User_Agent
lea rcx, [rsp + 0x308]
call fcn.14000bbc0
nop
lea r8, [rsp + 0x660]
lea rdx, [rsp + 0x308]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x308]
call fcn.14000da40
nop
lea rcx, [rsp + 0x660]
call fcn.14000da40
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.140075160
movzx eax, al
test eax, eax
je 0x140147483
mov rax, qword [rsp + 0x6f0]
add rax, 0x2b8
mov rcx, rax
call fcn.1400295e0
movzx eax, al
test eax, eax
je 0x1401473c1
mov rax, qword [rsp + 0x6f0]
movzx eax, byte [rax + 0x2f8]
test eax, eax
jne 0x1401473bc
lea rdx, str.Content_Length
lea rcx, [rsp + 0x348]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x348]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x14014732a
mov dword [rsp + 0x40], 1
jmp 0x140147332
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x28], al
lea rcx, [rsp + 0x348]
call fcn.14000da40
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1401473bc
mov rax, qword [rsp + 0x6f0]
mov rdx, qword [rax + 0x2b0]
lea rcx, [rsp + 0x680]
call fcn.14007c2b0
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x368]
call fcn.14000bbc0
nop
lea r8, [rsp + 0x680]
lea rdx, [rsp + 0x368]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x368]
call fcn.14000da40
nop
lea rcx, [rsp + 0x680]
call fcn.14000da40
jmp 0x14014747e
mov rax, qword [rsp + 0x6f0]
lea rdx, str.POST
mov rcx, rax
call fcn.140102310
movzx eax, al
test eax, eax
jne 0x14014741b
mov rax, qword [rsp + 0x6f0]
lea rdx, [0x14023cc08]
mov rcx, rax
call fcn.140102310
movzx eax, al
test eax, eax
jne 0x14014741b
mov rax, qword [rsp + 0x6f0]
lea rdx, str.PATCH
mov rcx, rax
call fcn.140102310
movzx eax, al
test eax, eax
je 0x14014747e
lea rdx, str.0123456789abcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x3c8]
call fcn.14000bbc0
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x3a8]
call fcn.14000bbc0
nop
lea r8, [rsp + 0x3c8]
lea rdx, [rsp + 0x3a8]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x3a8]
call fcn.14000da40
nop
lea rcx, [rsp + 0x3c8]
call fcn.14000da40
jmp 0x14014761d
lea rdx, str.Content_Type
lea rcx, [rsp + 0x3e8]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x3e8]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x1401474be
mov dword [rsp + 0x44], 1
jmp 0x1401474c6
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x29], al
lea rcx, [rsp + 0x3e8]
call fcn.14000da40
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x140147548
lea rdx, str.text_plain
lea rcx, [rsp + 0x388]
call fcn.14000bbc0
nop
lea rdx, str.Content_Type
lea rcx, [rsp + 0x408]
call fcn.14000bbc0
nop
lea r8, [rsp + 0x388]
lea rdx, [rsp + 0x408]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x408]
call fcn.14000da40
nop
lea rcx, [rsp + 0x388]
call fcn.14000da40
lea rdx, str.Content_Length
lea rcx, [rsp + 0x428]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x428]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x140147583
mov dword [rsp + 0x48], 1
jmp 0x14014758b
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2a], al
lea rcx, [rsp + 0x428]
call fcn.14000da40
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x14014761d
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.14001fa90
mov rdx, rax
lea rcx, [rsp + 0x6a0]
call fcn.14007c2b0
nop
lea rdx, str.Content_Length
lea rcx, [rsp + 0x448]
call fcn.14000bbc0
nop
lea r8, [rsp + 0x6a0]
lea rdx, [rsp + 0x448]
mov rcx, qword [rsp + 0x6f0]
call fcn.1401422c0
nop
lea rcx, [rsp + 0x448]
call fcn.14000da40
nop
lea rcx, [rsp + 0x6a0]
call fcn.14000da40
mov rax, qword [rsp + 0x6e0]
add rax, 0x1f8
mov rcx, rax
call fcn.140075160
movzx eax, al
test eax, eax
je 0x14014765b
mov rax, qword [rsp + 0x6e0]
add rax, 0x1d8
mov rcx, rax
call fcn.140075160
movzx eax, al
test eax, eax
jne 0x14014774b
lea rdx, str.Authorization
lea rcx, [rsp + 0x468]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x468]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x140147696
mov dword [rsp + 0x4c], 1
jmp 0x14014769e
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x2b], al
lea rcx, [rsp + 0x468]
call fcn.14000da40
movzx eax, byte [rsp + 0x2b]
test eax, eax
je 0x14014774b
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.14013bc10
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.1401101d0
nop
lea rcx, [rsp + 0x510]
call fcn.1401180b0
mov rax, qword [rsp + 0x6e0]
add rax, 0x2d8
mov rcx, rax
call fcn.140075160
movzx eax, al
test eax, eax
jne 0x14014787d
mov rax, qword [rsp + 0x6e0]
add rax, 0x2f8
mov rcx, rax
call fcn.140075160
movzx eax, al
test eax, eax
jne 0x14014787d
lea rdx, str.Proxy_Authorization
lea rcx, [rsp + 0x488]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x488]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x1401477c8
mov dword [rsp + 0x50], 1
jmp 0x1401477d0
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x2c], al
lea rcx, [rsp + 0x488]
call fcn.14000da40
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x14014787d
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.14013bc10
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.1401101d0
nop
lea rcx, [rsp + 0x550]
call fcn.1401180b0
mov rax, qword [rsp + 0x6e0]
add rax, 0x218
mov rcx, rax
call fcn.140075160
movzx eax, al
test eax, eax
jne 0x140147978
lea rdx, str.Authorization
lea rcx, [rsp + 0x168]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x1401478d9
mov dword [rsp + 0x54], 1
jmp 0x1401478e1
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x2d], al
lea rcx, [rsp + 0x168]
call fcn.14000da40
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x140147978
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.14013bdb0
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.1401101d0
nop
lea rcx, [rsp + 0x590]
call fcn.1401180b0
mov rax, qword [rsp + 0x6e0]
add rax, 0x318
mov rcx, rax
call fcn.140075160
movzx eax, al
test eax, eax
jne 0x140147a73
lea rdx, str.Proxy_Authorization
lea rcx, [rsp + 0x328]
call fcn.14000bbc0
nop
lea rdx, [rsp + 0x328]
mov rcx, qword [rsp + 0x6f0]
call fcn.14013ace0
movzx eax, al
test eax, eax
jne 0x1401479d4
mov dword [rsp + 0x58], 1
jmp 0x1401479dc
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x2e], al
lea rcx, [rsp + 0x328]
call fcn.14000da40
movzx eax, byte [rsp + 0x2e]
test eax, eax
je 0x140147a73
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.14013bdb0
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.1401101d0
nop
lea rcx, [rsp + 0x5d0]
call fcn.1401180b0
lea rcx, [rsp + 0x630]
call fcn.1401154d0
nop
mov rax, qword [rsp + 0x6e0]
movzx eax, byte [rax + 0x23a]
test eax, eax
je 0x140147ae2
mov rax, qword [rsp + 0x6f0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x4e8]
call fcn.140137080
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 0x140147b2e
mov rax, qword [rsp + 0x6f0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x4c8]
call fcn.14000bb20
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.14000bb20
nop
lea rax, [rsp + 0x610]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x140147b7f
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x4c8]
call fcn.14000da40
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140147b9c
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x4e8]
call fcn.14000da40
mov rcx, qword [rsp + 0x108]
call fcn.140013110
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x6f0]
mov rcx, rax
call fcn.140013110
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.140112d10
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.14011de80
lea rcx, [rsp + 0x630]
call fcn.1400fd600
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14001fa90
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x68]
call fcn.140013110
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x6e8]
call fcn.140146c00
movzx eax, al
test eax, eax
jne 0x140147cb9
mov rax, qword [rsp + 0x700]
mov dword [rax], 5
mov byte [rsp + 0x2f], 0
lea rcx, [rsp + 0x610]
call fcn.14000da40
nop
lea rcx, [rsp + 0x630]
call fcn.1401182d0
movzx eax, byte [rsp + 0x2f]
jmp 0x140147d86
lea rcx, [rsp + 0x610]
call fcn.14000da40
nop
lea rcx, [rsp + 0x630]
call fcn.1401182d0
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.140075160
movzx eax, al
test eax, eax
je 0x140147d16
mov r9, qword [rsp + 0x700]
mov r8, qword [rsp + 0x6f0]
mov rdx, qword [rsp + 0x6e8]
mov rcx, qword [rsp + 0x6e0]
call fcn.140146ad0
jmp 0x140147d86
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.14001fa90
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x6f0]
add rax, 0x50
mov rcx, rax
call fcn.140013110
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x6e8]
call fcn.140146c00
movzx eax, al
test eax, eax
jne 0x140147d84
mov rax, qword [rsp + 0x700]
mov dword [rax], 5
xor al, al
jmp 0x140147d86
mov al, 1
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x6d8
ret