Function at 0x14000c5e0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov r13, rdx
mov r14, rcx
mov rsi, qword [rdx + 0x138]
mov edi, dword [rdx + 0x140]
lea rcx, [rsp + 0x130]
mov r8d, 0x148
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp edi, 0x3b9aca00
jne 0x14000c636
lea rdx, [rsp + 0x130]
mov rcx, r14
call fcn.14000fa10
jmp 0x14000cf7e
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], edi
movzx eax, byte [0x140061030]
mov ecx, 0x280
call fcn.1400474f0
test rax, rax
je 0x14000d073
mov rbx, rax
and rbx, 0xffffffffffffff80
mov qword [rbx + 0x78], rax
xorps xmm0, xmm0
movaps xmmword [rbx + 0x80], xmm0
movaps xmmword [rbx + 0x100], xmm0
mov word [rbx + 0x180], 0
mov qword [rbx + 0x188], 0
mov qword [rbx + 0x190], 8
movups xmmword [rbx + 0x198], xmm0
mov qword [rbx + 0x1a8], 8
mov qword [rbx + 0x1b0], 0
mov byte [rbx + 0x1b8], 1
mov qword [rbx + 0x200], 1
mov qword [rbx + 0x208], 1
mov byte [rbx + 0x210], 0
mov rbp, qword [0x140061038]
test rbp, rbp
je 0x14000c6e9
dec rbp
jmp 0x14000c7ec
lea rdx, str.RUST_MIN_STACKfatal_runtime_error:_something_here_is_badly_broken__n
lea rcx, [rsp + 0x78]
call fcn.140045270
mov rdi, qword [rsp + 0x78]
movabs rax, 0x8000000000000001
dec rax
cmp rdi, rax
jne 0x14000c71b
mov ebp, 0x200000
jmp 0x14000c7e1
mov rsi, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x38]
mov rdx, rsi
call fcn.1400078c0
test byte [rsp + 0x38], 1
jne 0x14000c7c6
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x14000c7c6
mov rcx, qword [rsp + 0x40]
cmp r8, 1
jne 0x14000c770
movzx eax, byte [rcx]
cmp eax, 0x2b
je 0x14000c7c6
mov r8d, 1
cmp eax, 0x2d
je 0x14000c7c6
jmp 0x14000d036
cmp byte [rcx], 0x2b
jne 0x14000d02c
inc rcx
lea rax, [r8 - 1]
cmp r8, 0x12
mov r8, rax
jb 0x14000d036
xor r9d, r9d
mov r10d, 0xa
xor ebp, ebp
cmp r8, r9
je 0x14000c7cb
mov rax, rbp
mul r10
seto r11b
movzx edx, byte [rcx + r9]
add edx, 0xffffffd0
cmp edx, 9
ja 0x14000c7c6
test r11b, r11b
jne 0x14000c7c6
mov rbp, rax
mov eax, edx
inc r9
add rbp, rax
jae 0x14000c798
mov ebp, 0x200000
test rdi, rdi
je 0x14000c7e1
mov rcx, qword [0x140061108]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
lea rax, [rbp + 1]
mov qword [0x140061038], rax
lea rax, [rbx + 0x80]
mov qword [rsp + 0x30], rax
lea r12, [rbx + 0x100]
lea rdi, [rbx + 0x188]
add rbx, 0x208
mov rax, qword [0x1400610e8]
nop word cs:[rax + rax]
cmp rax, 0xffffffffffffffff
je 0x14000d06e
lea rsi, [rax + 1]
lock cmpxchg qword [0x1400610e8], rsi
jne 0x14000c820
movzx eax, byte [0x140061030]
mov ecx, 0x30
call fcn.1400474f0
test rax, rax
je 0x14000d082
mov r15, rax
mov qword [rsp + 0x60], r12
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x18], 0
mov qword [rax + 0x10], rsi
mov byte [rax + 0x28], 0
lock inc qword [rax]
jle 0x14000d227
movzx eax, byte [0x140061030]
mov ecx, 0xe8
call fcn.1400474f0
test rax, rax
je 0x14000d091
mov r12, rax
mov qword [rsp + 0x58], rdi
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 4
mov qword [rax + 0xe0], 0
lock inc qword [rax]
jle 0x14000d227
movzx eax, byte [0x140061050]
test al, al
je 0x14000c92d
mov byte [0x140061050], 1
call fcn.140046330
test rax, rax
je 0x14000d188
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x14000c92d
lock inc qword [rdi]
jle 0x14000d227
mov byte [0x140061050], 1
call fcn.140046330
test rax, rax
je 0x14000d17a
mov rcx, qword [rax]
mov qword [rax], rdi
test rcx, rcx
jne 0x14000c969
jmp 0x14000c974
movzx eax, byte [0x140061050]
test al, al
je 0x14000c960
mov byte [0x140061050], 1
call fcn.140046330
test rax, rax
je 0x14000d188
mov rcx, qword [rax]
mov qword [rax], 0
xor edi, edi
test rcx, rcx
jne 0x14000c969
jmp 0x14000c974
xor ecx, ecx
xor edi, edi
test rcx, rcx
je 0x14000c974
lock dec qword [rcx]
jne 0x14000c974
call fcn.140014560
mov rcx, qword [r12 + 0xe0]
test rcx, rcx
je 0x14000c98c
lock inc qword [rcx + 0x20]
jle 0x14000d165
movzx eax, byte [0x140061030]
mov ecx, 0x178
call fcn.1400474f0
test rax, rax
je 0x14000d0a0
mov rsi, rax
mov qword [rax], 1
mov qword [rax + 8], r15
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rdi
mov rcx, rax
add rcx, 0x20
mov r8d, 0x148
mov rdx, r13
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [rsi + 0x168], 1
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x170], rax
movzx eax, byte [0x140061030]
mov ecx, 0x10
call fcn.1400474f0
test rax, rax
je 0x14000d0af
mov rdi, rax
mov qword [rax], rsi
lea rax, [0x140055a00]
mov qword [rdi + 8], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140047210]
xor ecx, ecx
mov rdx, rbp
mov r9, rdi
call sub.KERNEL32.dll_CreateThread
test rax, rax
je 0x14000d0c3
mov r13, rax
call fcn.140023c20
mov r8d, edx
lea rcx, [rsp + 0x68]
mov rdx, rax
call fcn.140023db0
cmp edx, 0x3b9aca00
jne 0x14000ca83
lea rdx, str.the_timeout_of_the_request_was_reachedMINREQ_TIMEOUTsrc_index.crates.io_6f17d22bba15001f_minreq_2.12.0_src_connection.rs
mov r8d, 0x26
mov cl, 0x16
call fcn.14000bee0
mov qword [r14 + 8], 1
mov qword [r14 + 0x10], rax
jmp 0x14000cacc
mov rsi, rax
mov edi, edx
call fcn.140023c20
mov rcx, rax
add rcx, rsi
jae 0x14000cb27
mov rcx, qword [rsp + 0x30]
mov r8d, 0x3b9aca00
call fcn.1400146c0
cmp al, 2
je 0x14000cb6f
mov qword [r14 + 8], 0x13
lea rax, str.request_connection_panicednon_usize_chunk_length_with_transfer_encoding:_chunkedchunk_did_not_end_after_reading_the_expected_amount_of_bytesnon_usize_content_lengththe_headers_total_size_surpassed_max_headers_sizethe_status_line_length_surpassed_max_status_line_lengthcould_not_resolve_host_to_a_socket_addressredirection_location_header_missinginfinite_redirection_loop_detectedtoo_many_redirections__over_the_max_response_contained_invalid_utf_8_where_valid_utf_8_was_expectednon_ascii_url_conversion_to_punycode_failedrequest_url_contains_https:___but_the_https_feature_is_not_enablednon_ascii_urls_needs_to_be_converted_into_punycode__and_the_feature_is_missingthe_provided_proxy_information_is_malformedthe_provided_proxy_credentials_are_malformedcould_not_connect_to_the_proxy_serverthe_provided_proxy_credentials_are_invaliderror_in_minreq:_please_open_an_issue_in_the_minreq_repo__include_the_following:_
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 0x1a
mov qword [r14], 2
mov rcx, r13
call sub.KERNEL32.dll_CloseHandle
lock dec qword [r15]
je 0x14000cafc
lock dec qword [r12]
mov r13, qword [rsp + 0x30]
je 0x14000cb10
lock dec qword [rbx]
je 0x14000cc46
jmp 0x14000cf7e
mov rcx, r15
call fcn.140014660
lock dec qword [r12]
mov r13, qword [rsp + 0x30]
jne 0x14000caed
mov rcx, r12
call fcn.1400145b0
lock dec qword [rbx]
je 0x14000cc46
jmp 0x14000cf7e
mov r8d, edx
add rax, rsi
add r8d, edi
cmp r8d, 0x3b9aca00
jb 0x14000cb5a
cmp rax, 0xffffffffffffffff
je 0x14000ca99
add r8d, 0xc4653600
cmp r8d, 0x3b9aca00
je 0x14000ca99
inc rax
mov rcx, qword [rsp + 0x30]
mov rdx, rax
call fcn.1400146c0
cmp al, 2
jne 0x14000d01f
mov rcx, r13
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x14000d1b1
mov rcx, r13
call sub.KERNEL32.dll_CloseHandle
mov rcx, 0xffffffffffffffff
mov eax, 1
lock cmpxchg qword [r12 + 8], rcx
jne 0x14000d16e
mov rax, qword [r12]
mov qword [r12 + 8], 1
cmp rax, 1
jne 0x14000d16e
mov rsi, qword [r12 + 0x10]
mov qword [r12 + 0x10], 4
cmp rsi, 4
je 0x14000d229
mov r13, qword [r12 + 0x18]
mov rdi, qword [r12 + 0x20]
mov rdx, r12
add rdx, 0x28
lea rcx, [rsp + 0x78]
mov r8d, 0xb8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
lock dec qword [r15]
je 0x14000cfc7
lock dec qword [r12]
je 0x14000cfda
cmp rsi, 3
je 0x14000cfec
mov qword [r14], rsi
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], rdi
add r14, 0x18
lea rdx, [rsp + 0x78]
mov r8d, 0xb8
mov rcx, r14
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r13, qword [rsp + 0x30]
lock dec qword [rbx]
jne 0x14000cf7e
mov r14, qword [rsp + 0x60]
lock bts qword [r14], 0
jb 0x14000cf26
mov rsi, qword [r14]
mov eax, esi
not eax
xor r15d, r15d
test al, 0x3e
jne 0x14000ccd8
mov edi, 1
xor ebx, ebx
xor r15d, r15d
jmp 0x14000cc98
call sub.KERNEL32.dll_SwitchToThread
inc r15d
mov rsi, qword [r14]
mov eax, esi
not eax
add ebx, edi
add edi, 2
test al, 0x3e
jne 0x14000ccd8
cmp r15d, 7
jae 0x14000cc80
test r15d, r15d
je 0x14000cc85
lea eax, [rbx - 1]
cmp eax, 7
jb 0x14000ccc5
mov eax, ebx
and eax, 0xfffffff8
pause
pause
pause
pause
pause
pause
pause
pause
add eax, 0xfffffff8
jne 0x14000ccb0
test bl, 7
je 0x14000cc85
mov eax, ebx
and eax, 7
nop
pause
dec eax
jne 0x14000ccd0
jmp 0x14000cc85
shr rsi, 1
mov rdi, qword [r13]
xor ebx, ebx
xchg qword [r13 + 8], rbx
mov r14, rdi
shr r14, 1
cmp r14, rsi
setne al
test rbx, rbx
sete cl
and cl, al
cmp cl, 1
jne 0x14000cdcd
mov r12d, r15d
imul r12d, r12d
lea ebp, [r15*2 + 1]
jmp 0x14000cd3b
call sub.KERNEL32.dll_SwitchToThread
inc r15d
mov rbx, qword [r13 + 8]
add r12d, ebp
add ebp, 2
test rbx, rbx
jne 0x14000cdcd
cmp r15d, 7
jae 0x14000cd20
test r15d, r15d
je 0x14000cd25
lea eax, [r12 - 1]
cmp eax, 7
jb 0x14000cd75
mov eax, r12d
and eax, 0xfffffff8
nop word cs:[rax + rax]
pause
pause
pause
pause
pause
pause
pause
pause
add eax, 0xfffffff8
jne 0x14000cd60
test r12b, 7
je 0x14000cd25
mov eax, r12d
and eax, 7
nop word cs:[rax + rax]
pause
dec eax
jne 0x14000cd90
jmp 0x14000cd25
mov rax, qword [rbx]
test rax, rax
je 0x14000ce78
mov r14, qword [rbx]
mov rcx, qword [0x140061108]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov rbx, r14
add rdi, 2
mov r14, rdi
shr r14, 1
cmp r14, rsi
je 0x14000cf08
and r14d, 0x1f
cmp r14, 0x1f
je 0x14000cda0
mov rax, qword [rbx + r14*8 + 8]
test al, 1
jne 0x14000cdc3
mov ebp, 1
xor r15d, r15d
xor r12d, r12d
jmp 0x14000ce17
call sub.KERNEL32.dll_SwitchToThread
inc r12d
mov rax, qword [rbx + r14*8 + 8]
add r15d, ebp
add ebp, 2
test al, 1
jne 0x14000cdc3
cmp r12d, 7
jae 0x14000ce00
test r12d, r12d
je 0x14000ce05
lea eax, [r15 - 1]
cmp eax, 7
jb 0x14000ce55
mov eax, r15d
and eax, 0xfffffff8
nop word cs:[rax + rax]
pause
pause
pause
pause
pause
pause
pause
pause
add eax, 0xfffffff8
jne 0x14000ce40
test r15b, 7
je 0x14000ce05
mov eax, r15d
and eax, 7
nop word cs:[rax + rax]
pause
dec eax
jne 0x14000ce70
jmp 0x14000ce05
mov ebp, 1
xor r14d, r14d
xor r15d, r15d
jmp 0x14000ceaa
call sub.KERNEL32.dll_SwitchToThread
inc r15d
mov rax, qword [rbx]
add r14d, ebp
add ebp, 2
test rax, rax
jne 0x14000cdac
cmp r15d, 7
jae 0x14000ce90
test r15d, r15d
je 0x14000ce95
lea eax, [r14 - 1]
cmp eax, 7
jb 0x14000cee5
mov eax, r14d
and eax, 0xfffffff8
nop word cs:[rax + rax]
pause
pause
pause
pause
pause
pause
pause
pause
add eax, 0xfffffff8
jne 0x14000ced0
test r14b, 7
je 0x14000ce95
mov eax, r14d
and eax, 7
nop word cs:[rax + rax]
pause
dec eax
jne 0x14000cf00
jmp 0x14000ce95
test rbx, rbx
je 0x14000cf1e
mov rcx, qword [0x140061108]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
and rdi, 0xfffffffffffffffe
mov qword [r13], rdi
mov al, 1
xchg byte [r13 + 0x190], al
test al, al
je 0x14000cf7e
mov rsi, qword [r13]
mov rdi, qword [r13 + 0x80]
mov r8, qword [r13 + 8]
and rsi, 0xfffffffffffffffe
and rdi, 0xfffffffffffffffe
cmp rsi, rdi
jne 0x14000cfa9
test r8, r8
je 0x14000cf62
mov rcx, qword [0x140061108]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [rsp + 0x58]
call fcn.1400150d0
mov r8, qword [r13 - 8]
mov rcx, qword [0x140061108]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add rsi, 2
cmp rdi, rsi
je 0x14000cf4f
mov eax, esi
not eax
test al, 0x3e
jne 0x14000cfa0
mov rbx, qword [r8]
mov rcx, qword [0x140061108]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r8, rbx
jmp 0x14000cfa0
mov rcx, r15
call fcn.140014660
lock dec qword [r12]
jne 0x14000cc0b
mov rcx, r12
call fcn.1400145b0
cmp rsi, 3
jne 0x14000cc15
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], rdi
lea rax, [0x140055e08]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x140055bd0]
lea r8, [rsp + 0x38]
mov edx, 0x2b
call fcn.140007fc0
test al, 1
je 0x14000ca61
jmp 0x14000cab1
cmp r8, 0x11
jae 0x14000c78d
xor eax, eax
xor ebp, ebp
nop word [rax + rax]
movzx edx, byte [rcx + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x14000c7c6
lea r9, [rbp*4]
add r9, rbp
mov edx, edx
lea rbp, [rdx + r9*2]
inc rax
cmp r8, rax
jne 0x14000d040
jmp 0x14000c7cb
call fcn.1400238f0
mov ecx, pe_nt_image_headers64
mov edx, 0x200
call fcn.140005059
mov ecx, 8
mov edx, 0x30
call fcn.140005059
mov ecx, 8
mov edx, 0xe8
call fcn.140005059
mov ecx, 8
mov edx, 0x178
call fcn.140005059
mov ecx, 8
mov edx, 0x10
call fcn.140005059
jmp 0x14000d227
mov rbx, qword [rdi]
mov rsi, qword [rdi + 8]
mov rax, qword [rsi]
test rax, rax
je 0x14000d0d7
mov rcx, rbx
call rax
cmp qword [rsi + 8], 0
je 0x14000d0fa
cmp qword [rsi + 0x10], 0x11
jb 0x14000d0e9
mov rbx, qword [rbx - 8]
mov rcx, qword [0x140061108]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x140061108]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
call sub.KERNEL32.dll_GetLastError
mov esi, eax
lock dec qword [r12]
jne 0x14000d121
mov rcx, r12
call fcn.1400145b0
lock dec qword [r15]
jne 0x14000d12f
mov rcx, r15
call fcn.140014660
shl rsi, 0x20
or rsi, 2
mov qword [rsp + 0x78], rsi
lea rax, str._rustc_759e07f063fb8e6306ff1bdaeb70af56a878b415library_std_src_threadmod.rs
mov qword [rsp + 0x20], rax
lea rcx, str.failed_to_spawn_thread
lea r9, [0x140055b90]
lea r8, [rsp + 0x78]
mov edx, 0x16
call fcn.140007fc0
add rcx, 0x10
call fcn.140023b90
lea rcx, str._rustc_759e07f063fb8e6306ff1bdaeb70af56a878b415library_std_src_threadmod.rs
call fcn.140008960
lock dec qword [rdi]
jne 0x14000d188
mov rcx, rdi
call fcn.140046410
lea rax, str.std_srcio_stdio.rs
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction
lea r9, [0x140057320]
lea r8, [rsp + 0x78]
mov edx, 0x46
call fcn.140007fc0
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [0x140045dd0]
mov qword [rsp + 0x40], rax
lea rax, str.failed_to_join_on_thread:
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov qword [rsp + 0x98], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
lea rdx, str.std_src_syspalwindows_thread.rs
lea rcx, [rsp + 0x78]
call fcn.140006190
ud2
lea rcx, str._rustc_759e07f063fb8e6306ff1bdaeb70af56a878b415library_std_src_threadmod.rs
call fcn.140008960
mov r14, rax
lea rcx, [rsp + 0x50]
call fcn.140020d50
mov rcx, r13
call sub.KERNEL32.dll_CloseHandle
mov rcx, r14
call fcn.14004a850
call fcn.140008b91
mov r14, rax
cmp qword [rsi + 8], 0
je 0x14000d27d
cmp qword [rsi + 0x10], 0x11
jb 0x14000d26c
mov rbx, qword [rbx - 8]
mov rcx, qword [0x140061108]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x140061108]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov rcx, r14
call fcn.14004a850
mov r14, rax
lock dec qword [rdi]
jne 0x14000d2c1
mov rcx, rdi
call fcn.140046410
mov rcx, r14
call fcn.14004a850
mov r14, rax
lea rdx, [0x140055a00]
mov rcx, rsi
call fcn.140045f90
mov rcx, r14
call fcn.14004a850
call fcn.140008b91
int3