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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rsi, rdx
mov rdi, rcx
mov r12b, byte [rdx + 0xb8]
movzx eax, byte [rdx + 0xd8]
lea ecx, [rax - 2]
cmp ecx, 2
jae 0x140048f65
movzx ebp, byte [rsi + 0x60]
test ebp, ebp
je 0x140048ff3
cmp ebp, 1
jne 0x140048ff5
mov r13b, byte [rsi + 0x61]
jmp 0x140048ff3
cmp eax, 1
jne 0x140048f91
cmp r12b, 7
jne 0x140048f47
mov cl, 1
mov dl, 4
call sym.hyper::error::Error::new::h5fd943fd5fed6250
lea rcx, [rsp + 0x160]
mov qword [rcx], 3
mov qword [rcx + 8], rax
jmp 0x1400491f3
mov cl, 1
mov dl, 3
call sym.hyper::error::Error::new::h5fd943fd5fed6250
mov rdi, rax
mov al, byte [0x140149110]
mov edx, 0xa0
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x14004985d
mov rbx, rax
mov qword [rax], 3
mov qword [rax + 8], rdi
mov al, byte [0x140149110]
mov edx, 8
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x14004986c
mov rdi, rax
mov qword [rax], rbx
lea rbx, sym._ZN4core3ptr215drop_in_place_LT_core..pin..Pin_LT_alloc..boxed..Box_LT_futures_util..future..ready..Ready_LT_core..result..Res
jmp 0x1400491fe
jmp 0x14004902b
call sym.alloc::boxed::Box_T_A_::new_uninit_in::hb9c1a090db0a81b2
mov rbx, rax
mov rax, qword [rsi + 0x68]
lea rdx, [rax + 0x18]
mov r10, qword [rax]
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
lea r14, [rsp + 0x70]
mov rcx, r14
call qword [r10]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
lea rdx, [rsi + 0x88]
mov rax, qword [rsi + 0x70]
mov r8, qword [rsi + 0x78]
mov r9, qword [rsi + 0x80]
lea r14, [rsp + 0x170]
mov rcx, r14
call qword [rax]
lea rdx, [rsi + 0xa8]
mov rax, qword [rsi + 0x90]
mov r8, qword [rsi + 0x98]
mov r9, qword [rsi + 0xa0]
lea r15, [rsp + 0x70]
mov rcx, r15
call qword [rax]
movzx eax, word [rsi + 0xb0]
mov word [r15 + 0x20], ax
mov byte [r14 - 0x10], bpl
mov byte [r14 - 0xf], r13b
mov qword [r14 - 8], rbx
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm1
mov rax, qword [r15 + 0x20]
mov qword [r14 + 0x40], rax
mov r9, qword [r14 + 0x10]
test bpl, bpl
je 0x140049168
test r9, r9
je 0x1400491c7
cmp bpl, 1
je 0x1400490fc
call sym.alloc::boxed::Box_T_A_::new_uninit_in::hb9c1a090db0a81b2
mov r14, rax
lea rdx, [rbx + 0x18]
mov rax, qword [rbx]
mov r8, qword [rbx + 8]
mov r9, qword [rbx + 0x10]
lea rbx, [rsp + 0x70]
mov rcx, rbx
call qword [rax]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
mov r9, qword [rsp + 0x180]
lea rdx, [rsp + 0x188]
mov rax, qword [rdx - 0x18]
mov r8, qword [rdx - 0x10]
lea rbx, [rsp + 0x140]
mov rcx, rbx
call qword [rax]
mov byte [rbx - 0x10], bpl
mov byte [rbx - 0xf], r13b
mov qword [rbx - 8], r14
lea rcx, [rsp + 0x160]
call sym.core::ptr::drop_in_place_http::uri::Uri_::h1cc507fecb03ec98
movzx ebp, word [rdi + 0x110]
movzx ebx, byte [rdi + 0x112]
mov rax, qword [rdi + 0x68]
test rax, rax
je 0x14004920b
lock inc qword [rax]
jle 0x14004984c
mov rcx, qword [rdi + 0x70]
mov qword [rsp + 0xb0], rcx
jmp 0x14004920b
test r9, r9
je 0x1400491c7
cmp r12b, 7
jne 0x1400491c7
lea rbx, [rsi + 0x60]
mov rdx, qword [rsp + 0x178]
lea r14, [rsp + 0x70]
mov rcx, r14
mov r8, r9
call sym.http::uri::authority::Authority::port::h1d7140131cb9b0ad
cmp qword [r14], 0
je 0x1400497e1
movzx eax, word [rsp + 0x80]
cmp eax, 0x1bb
jne 0x1400497e1
lea rdx, [0x14010c510]
mov rcx, rbx
call sym.hyper::client::client::set_scheme::h0ff775a6d36fad4b
movaps xmm0, xmmword [0x1400dc1b0]
jmp 0x1400497f7
mov cl, 1
mov dl, 5
call sym.hyper::error::Error::new::h5fd943fd5fed6250
mov rdi, rax
lea rcx, [rsp + 0x160]
call sym.core::ptr::drop_in_place_http::uri::Uri_::h1cc507fecb03ec98
lea rcx, [rsp + 0x160]
mov qword [rcx], 3
mov qword [rcx + 8], rdi
call sym.hyper::client::client::ResponseFuture::new::hb7a12d5b97910469
mov rdi, rax
mov rbx, rdx
mov rcx, rsi
call sym.core::ptr::drop_in_place_http::request::Request_reqwest::async_impl::body::ImplStream__::hf56cec3c21c256c8
jmp 0x1400497c7
mov r8b, byte [rdi + 0x78]
movzx ecx, word [rdi + 0x79]
mov word [rsp + 0x3e], cx
mov cl, byte [rdi + 0x7b]
mov byte [rsp + 0x3c], cl
mov r13d, dword [rdi + 0x7c]
mov r12b, byte [rdi + 0x83]
mov cl, byte [rdi + 0x80]
mov dl, byte [rdi + 0x81]
mov r9, qword [rdi]
mov qword [rsp + 0x128], r9
mov r9, qword [rdi + 8]
mov qword [rsp + 0x120], r9
mov r9, qword [rdi + 0x10]
mov qword [rsp + 0x118], r9
mov r9, qword [rdi + 0x18]
mov qword [rsp + 0x110], r9
mov r14b, byte [rdi + 0x64]
mov r15d, dword [rdi + 0x58]
mov r9d, dword [rdi + 0x5c]
mov dword [rsp + 0x5c], r9d
mov r9d, dword [rdi + 0x60]
mov dword [rsp + 0x58], r9d
mov r9d, dword [rdi + 0x48]
mov dword [rsp + 0x54], r9d
mov r9, qword [rdi + 0x40]
mov qword [rsp + 0x108], r9
mov r9b, byte [rdi + 0x65]
mov byte [rsp + 0x3d], r9b
mov r11b, byte [rdi + 0x82]
mov r9, qword [rdi + 0x30]
mov qword [rsp + 0x100], r9
mov r9d, dword [rdi + 0x38]
mov dword [rsp + 0x50], r9d
mov r9, qword [rdi + 0x20]
mov qword [rsp + 0xf0], r9
mov r9, qword [rdi + 0x28]
mov qword [rsp + 0xe8], r9
mov r9, qword [rdi + 0x50]
mov qword [rsp + 0xf8], r9
mov r9, qword [rdi + 0xa8]
lock inc qword [r9]
jle 0x14004984c
mov r10, qword [rdi + 0xb0]
lock inc qword [r10]
jle 0x14004984c
mov byte [rsp + 0x38], r11b
mov qword [rsp + 0xd0], r10
mov qword [rsp + 0xd8], r9
mov byte [rsp + 0x39], r8b
mov byte [rsp + 0x3a], dl
mov byte [rsp + 0x3b], cl
mov qword [rsp + 0xe0], rax
mov rax, qword [rdi + 0xb8]
mov qword [rsp + 0xc8], rax
cmp qword [rdi + 0x88], 0
mov byte [rsp + 0x37], r14b
je 0x14004936a
mov rcx, qword [rdi + 0x90]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov qword [rsp + 0xa8], rax
mov eax, 1
mov qword [rsp + 0xa0], rax
jmp 0x140049374
xor eax, eax
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x4c], r15d
mov rcx, qword [rdi + 0x98]
call sub.crypt32.dll_CertDuplicateStore
mov dl, byte [rdi + 0xa4]
mov cl, byte [rdi + 0xa5]
mov r8b, byte [rdi + 0xa0]
mov r9b, byte [rdi + 0xa1]
mov r10b, byte [rdi + 0xa2]
mov r11b, byte [rdi + 0xa3]
mov r14, qword [rdi + 0xf8]
lock inc qword [r14]
jle 0x14004984c
mov byte [rsp + 0x2e], r11b
mov byte [rsp + 0x2f], r10b
mov byte [rsp + 0x30], r9b
mov byte [rsp + 0x31], r8b
mov qword [rsp + 0xc0], rax
mov byte [rsp + 0x32], cl
mov byte [rsp + 0x33], dl
mov al, byte [rdi + 0x100]
mov byte [rsp + 0x36], al
mov eax, dword [rdi + 0xc8]
mov dword [rsp + 0x48], eax
mov rax, qword [rdi + 0xc0]
mov qword [rsp + 0xb8], rax
mov al, byte [rdi + 0x101]
mov byte [rsp + 0x35], al
mov al, byte [rdi + 0x102]
mov byte [rsp + 0x34], al
mov cl, 2
cmp byte [rdi + 0xf0], 2
je 0x140049479
lea rdx, [rdi + 0xe8]
mov rax, qword [rdi + 0xd0]
mov r8, qword [rdi + 0xd8]
mov r9, qword [rdi + 0xe0]
lea r15, [rsp + 0x160]
mov rcx, r15
call qword [rax]
mov cl, byte [rdi + 0xf0]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov eax, dword [r15 + 0x21]
mov dword [rsp + 0x60], eax
mov eax, dword [r15 + 0x24]
mov dword [rsp + 0x63], eax
mov byte [rsp + 0x2d], cl
xor eax, eax
test r12b, r12b
setne al
cmp r12b, 2
mov r12d, 2
cmovne r12d, eax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x174], xmm1
movups xmmword [rsp + 0x164], xmm0
mov r15, qword [rdi + 0x108]
test r15, r15
je 0x1400494c6
lock inc qword [r15]
jle 0x14004984c
lea rcx, [rsp + 0x165]
mov eax, dword [rcx + 0x1b]
mov dword [rsp + 0x90], eax
movups xmm0, xmmword [rcx - 5]
movups xmm1, xmmword [rcx + 0xb]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov eax, dword [rsp + 0x60]
mov edx, dword [rsp + 0x63]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x43], edx
mov r8d, 0x100
mov rdx, rsi
call sym.memcpy
mov al, byte [0x140149110]
mov edx, 0xbd8
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x14004984e
mov rdi, rax
shl ebx, 0x10
or ebp, ebx
movzx eax, byte [rsp + 0x3c]
shl eax, 0x10
movzx ecx, word [rsp + 0x3e]
or rcx, rax
shl r13, 0x18
or r13, rcx
mov rax, qword [rsp + 0x128]
mov qword [rdi], rax
mov rax, qword [rsp + 0x120]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x118]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x110]
mov qword [rdi + 0x18], rax
mov rax, qword [rsp + 0xf0]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0xe8]
mov qword [rdi + 0x28], rax
mov rax, qword [rsp + 0x100]
mov qword [rdi + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x38], eax
mov rax, qword [rsp + 0x108]
mov qword [rdi + 0x40], rax
mov eax, dword [rsp + 0x54]
mov dword [rdi + 0x48], eax
mov rax, qword [rsp + 0xf8]
mov qword [rdi + 0x50], rax
mov eax, dword [rsp + 0x4c]
mov dword [rdi + 0x58], eax
mov eax, dword [rsp + 0x5c]
mov dword [rdi + 0x5c], eax
mov eax, dword [rsp + 0x58]
mov dword [rdi + 0x60], eax
mov al, byte [rsp + 0x37]
mov byte [rdi + 0x64], al
mov al, byte [rsp + 0x3d]
mov byte [rdi + 0x65], al
mov rax, qword [rsp + 0xe0]
mov qword [rdi + 0x68], rax
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x70], rax
mov al, byte [rsp + 0x39]
mov byte [rdi + 0x78], al
mov rax, r13
shr rax, 0x30
mov byte [rdi + 0x7f], al
mov dword [rdi + 0x79], r13d
shr r13, 0x20
mov word [rdi + 0x7d], r13w
mov al, byte [rsp + 0x3b]
mov byte [rdi + 0x80], al
mov al, byte [rsp + 0x3a]
mov byte [rdi + 0x81], al
mov al, byte [rsp + 0x38]
mov byte [rdi + 0x82], al
mov byte [rdi + 0x83], r12b
mov rax, qword [rsp + 0xa0]
mov qword [rdi + 0x88], rax
mov rax, qword [rsp + 0xa8]
mov qword [rdi + 0x90], rax
mov rax, qword [rsp + 0xc0]
mov qword [rdi + 0x98], rax
mov al, byte [rsp + 0x31]
mov byte [rdi + 0xa0], al
mov al, byte [rsp + 0x30]
mov byte [rdi + 0xa1], al
mov al, byte [rsp + 0x2f]
mov byte [rdi + 0xa2], al
mov al, byte [rsp + 0x2e]
mov byte [rdi + 0xa3], al
mov al, byte [rsp + 0x33]
mov byte [rdi + 0xa4], al
mov al, byte [rsp + 0x32]
mov byte [rdi + 0xa5], al
mov rax, qword [rsp + 0xd8]
mov qword [rdi + 0xa8], rax
mov rax, qword [rsp + 0xd0]
mov qword [rdi + 0xb0], rax
mov rax, qword [rsp + 0xc8]
mov qword [rdi + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rdi + 0xc0], rax
mov eax, dword [rsp + 0x48]
mov dword [rdi + 0xc8], eax
mov eax, dword [rsp + 0x90]
mov dword [rdi + 0xec], eax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rdi + 0xdc], xmm1
movups xmmword [rdi + 0xcc], xmm0
mov al, byte [rsp + 0x2d]
mov byte [rdi + 0xf0], al
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x43]
mov dword [rdi + 0xf1], eax
mov dword [rdi + 0xf4], ecx
mov qword [rdi + 0xf8], r14
mov al, byte [rsp + 0x36]
mov byte [rdi + 0x100], al
mov al, byte [rsp + 0x35]
mov byte [rdi + 0x101], al
mov al, byte [rsp + 0x34]
mov byte [rdi + 0x102], al
mov qword [rdi + 0x108], r15
mov eax, ebp
shr eax, 0x10
mov byte [rdi + 0x112], al
mov word [rdi + 0x110], bp
mov rcx, rdi
add rcx, 0x113
lea rdx, [rsp + 0x160]
mov r8d, 0x105
call sym.memcpy
movaps xmm0, xmmword [rsp + 0x130]
movaps xmm1, xmmword [rsp + 0x140]
movaps xmm2, xmmword [rsp + 0x150]
movups xmmword [rdi + 0x218], xmm0
movups xmmword [rdi + 0x228], xmm1
movups xmmword [rdi + 0x238], xmm2
mov byte [rdi + 0xbd0], 0
lea rbx, sym._ZN4core3ptr178drop_in_place_LT_hyper..client..client..Client_LT_reqwest..connect..Connector_C_reqwest..async_impl..body..Impl
mov rax, rdi
mov rdx, rbx
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [0x14010c538]
mov rcx, rbx
call sym.hyper::client::client::set_scheme::h0ff775a6d36fad4b
movups xmm0, xmmword [0x14010c538]
movaps xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x188]
mov rax, qword [rdx - 0x18]
mov r8, qword [rdx - 0x10]
mov r9, qword [rdx - 8]
lea rbx, [rsp + 0x140]
mov rcx, rbx
call qword [rax]
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbx - 0x10], xmm0
mov bl, byte [rbx - 0x10]
lea rcx, [rsp + 0x160]
call sym.core::ptr::drop_in_place_http::uri::Uri_::h1cc507fecb03ec98
cmp bl, 3
jne 0x140049132
mov rdi, qword [rsp + 0x138]
jmp 0x1400491e0
ud2
mov ecx, 8
mov edx, 0xbd8
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
mov ecx, 8
mov edx, 0xa0
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
mov ecx, 8
mov edx, 8
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3