Function at 0x180084210
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x18016f040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
mov ebx, esi
xor eax, eax
mov r14d, 1
lock cmpxchg dword [0x180174948], r14d
je 0x180084279
cmp rbx, 0x20
jae 0x180084260
xor ecx, ecx
jmp 0x180084263
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180174948], r14d
jne 0x180084256
cmp qword [0x180174950], rsi
jne 0x1800842a3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x180174950], rax
mov ecx, 9
test rax, rax
cmovne ecx, esi
jmp 0x1800842a6
mov ecx, r14d
mov eax, esi
xchg dword [0x180174948], eax
test ecx, ecx
jne 0x18008490c
mov rbx, qword [0x1801ab238]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x1800827b0]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x18008492d
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x18008494e
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab238], rax
mov rbx, qword [0x1801ab270]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083bd0]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x18008496f
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084990
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab270], rax
mov rbx, qword [0x1801ab280]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083d70]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x1800849b1
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x1800849d2
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab280], rax
mov rbx, qword [0x1801ab288]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083c70]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x1800849f3
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084a14
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab288], rax
mov rbx, qword [0x1801ab2a0]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083c90]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084a35
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084a56
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab2a0], rax
mov rbx, qword [0x1801ab340]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083e40]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084a77
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084a98
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab340], rax
mov rbx, qword [0x1801ab250]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083cb0]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084ab9
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084ada
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab250], rax
mov rbx, qword [0x1801ab268]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083d10]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084afb
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084b1c
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab268], rax
mov rbx, qword [0x1801ab2c8]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083e60]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084b3d
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084b5e
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab2c8], rax
mov rbx, qword [0x1801ab2f0]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083fe0]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084b7f
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084ba0
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab2f0], rax
mov rbx, qword [0x1801ab228]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180084110]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084bc1
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084be2
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab228], rax
mov rbx, qword [0x1801ab298]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x1800808c0]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084c03
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084c24
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab298], rax
mov rbx, qword [0x1801ab308]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180082cd0]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084c45
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084c66
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab308], rax
mov rbx, qword [0x1801ab300]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083de0]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084c87
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084ca8
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab300], rax
mov rbx, qword [0x1801ab290]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [method.httplib::ClientImpl.virtual_40]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084cc9
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084cea
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab290], rax
mov rbx, qword [0x1801ab2f8]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083e00]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084d0b
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x180084d2c
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab2f8], rax
mov rbx, qword [0x1801ab2b8]
mov qword [rbp + 0x27], rsi
lea r8, [rbp + 0x27]
lea rdx, [0x180083e20]
mov rcx, rbx
call fcn.180049590
test eax, eax
jne 0x180084d4d
mov rcx, rbx
call fcn.180049820
test eax, eax
jne 0x1800848eb
mov rax, qword [rbp + 0x27]
mov qword [0x1801ab2b8], rax
lea r8, [0x180084130]
mov edx, 0xfffffffc
mov rcx, qword [0x1801ab2e0]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x1801ab368], rax
lea rax, str.Hooks_established_n
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], reloc.WS2_32.dll_select
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rsi
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
movaps xmm1, xmmword [rbp + 0x27]
movdqa xmmword [rbp + 0x27], xmm1
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 1]
call fcn.180006d40
lea rax, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rax, qword [rbp - 1]
lea rcx, [0x1800ff3b4]
mov qword [rbp + 0x27], rcx
mov qword [rbp + 0x2f], 3
mov qword [rbp - 0x49], rax
mov rax, qword [rbp + 0xf]
mov qword [rbp - 0x41], rax
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 0x61], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x39], r14
lea rax, [rbp - 0x69]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
movaps xmm1, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x49], xmm1
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x21]
call fcn.180006d40
lea rdi, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rdi, qword [rbp - 0x21]
mov rbx, qword [rbp - 0x11]
lea rdx, [0x1800ff300]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800039b0
mov edx, 0x5e
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1800ff2fc]
call fcn.1800039b0
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.1800059d0
mov rcx, rax
lea rdx, str.e_0m
call fcn.1800039b0
nop
lea rcx, [rbp - 0x21]
call fcn.1800038a0
nop
lea rcx, [rbp - 1]
call fcn.1800038a0
mov ecx, 8
call fcn.1800da790
lea rcx, [0x1800841f0]
mov qword [rax], rcx
mov qword [rbp + 0x27], rax
lea rcx, [rbp + 0x3f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x18007d0f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x37], rax
test rax, rax
je 0x1800848dc
cmp dword [rbp + 0x3f], 0
je 0x1800848d2
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x39]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1800848d2
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800da770
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x3f], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.cry_hook
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.HOOK_FAILED_n
lea rcx, [rbp - 0x69]
call fcn.1800018b0
lea rdx, [0x18016ac28]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
int3