Function at 0x14007ff60
Capabilities:
Create thread
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x920]
sub rsp, 0xa20
mov rax, qword [0x1402d9040]
xor rax, rsp
mov qword [rbp + 0x910], rax
mov r14, r9
mov r15, r8
mov r13, rdx
mov qword [rbp + 0x1c0], rdx
mov qword [rbp + 0x298], r8
mov qword [rbp + 0x290], r9
mov rsi, qword [rbp + 0x988]
mov qword [rbp + 0x228], rsi
mov rdi, qword [rbp + 0x990]
mov qword [rbp + 0x220], rdi
mov rax, qword [rbp + 0x998]
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x288], rax
xor r12d, r12d
lea rdx, [0x1402db998]
cmp qword [0x1402db9b0], 0xf
cmova rdx, qword [0x1402db998]
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rdx + r9], 0
jne 0x140080000
lea rax, [rdx + r9]
xorps xmm0, xmm0
movups xmmword [rbp + 0x368], xmm0
mov qword [rbp + 0x378], r12
mov qword [rbp + 0x380], r12
mov ebx, 7
cmp rdx, rax
jne 0x140080048
mov qword [rbp + 0x378], r12
mov qword [rbp + 0x380], rbx
mov word [rbp + 0x368], r12w
jmp 0x140080055
lea rcx, [rbp + 0x368]
call fcn.1400820c0
nop
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
lea rcx, str.Cherax_Loader_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r12, rax
test rax, rax
jne 0x1400801c7
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rsp + 0x58], 0xe5b46775
mov dword [rsp + 0x5c], 0x2fff8e04
mov dword [rsp + 0x60], 0x8639c743
mov dword [rsp + 0x64], 0xb6b856b7
mov dword [rsp + 0x68], 0x5d9fbeb8
mov dword [rsp + 0x6c], 0x46fe1ea7
mov dword [rsp + 0x70], 0x8f1a909d
mov dword [rsp + 0x74], 0xcb62d3e0
mov dword [rsp + 0x78], 0x4ff55166
mov dword [rsp + 0x7c], 0x655a534a
mov word [rbp - 0x80], 0xa73d
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rsp + rcx + 0x58]
sub dl, byte [rsp + rax + 0x6d]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x3d0], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x15
jb 0x1400800f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x2a0]
call fcn.1400614c0
mov qword [r13], r12
mov byte [r13 + 8], 0
jmp 0x140081515
mov r9, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x1400801da
add r9, qword [r15]
mov rdx, qword [r15]
jmp 0x1400801e0
add r9, r15
mov rdx, r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x2e8], xmm0
xor ecx, ecx
mov qword [rbp + 0x2f8], rcx
mov qword [rbp + 0x300], rcx
cmp rdx, r9
jne 0x140080219
mov qword [rbp + 0x2f8], rcx
mov rax, rbx
mov qword [rbp + 0x300], rbx
mov word [rbp + 0x2e8], cx
jmp 0x14008022f
sub r9, rdx
lea rcx, [rbp + 0x2e8]
call fcn.1400820c0
mov rax, qword [rbp + 0x300]
lea rdx, [rbp + 0x2e8]
cmp rax, 7
cmova rdx, qword [rbp + 0x2e8]
mov r8d, 0x1bb
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
test rax, rax
jne 0x1400803a7
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp - 0x78], 0x2df8757c
mov dword [rbp - 0x74], 0x9602cee9
mov dword [rbp - 0x70], 0xf8aaba0f
mov dword [rbp - 0x6c], 0x807278
mov dword [rbp - 0x68], 0x84fed20c
mov dword [rbp - 0x64], 0x9f516aaf
mov dword [rbp - 0x60], 0xe58a0c25
mov dword [rbp - 0x5c], 0x53925a75
mov dword [rbp - 0x58], 0x933c4ca0
mov dword [rbp - 0x54], 0x9a60fe15
mov dword [rbp - 0x50], 0x1f9269ab
mov dword [rbp - 0x4c], 0x9f31304b
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rbp + rcx - 0x78]
sub dl, byte [rbp + rax - 0x60]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x3e8], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x18
jb 0x1400802d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [rbp + 0x3e8]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x2a0]
call fcn.1400614c0
mov qword [r13], r12
mov byte [r13 + 8], 0
jmp 0x140081508
mov dword [rsp + 0x50], 0x5b915cb0
mov dword [rsp + 0x54], 0x5b3d1769
xor r8d, r8d
mov qword [rsp + 0x48], r8
mov rax, qword [rsp + 0x48]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rsp + rcx + 0x50]
sub dl, byte [rsp + rax + 0x54]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x388], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 4
jb 0x1400803d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x308], xmm0
mov qword [rbp + 0x318], r8
mov qword [rbp + 0x320], r8
mov r8d, 3
lea rdx, [rbp + 0x388]
lea rcx, [rbp + 0x308]
call fcn.14004a1a0
nop
lea rcx, [rbp + 0x308]
mov r9, qword [rbp + 0x318]
cmp qword [rbp + 0x320], 0xf
jbe 0x140080466
mov rdx, qword [rbp + 0x308]
add r9, rdx
jmp 0x140080470
add r9, rcx
lea rdx, [rbp + 0x308]
xorps xmm0, xmm0
movups xmmword [rbp + 0x328], xmm0
xor r10d, r10d
mov qword [rbp + 0x338], r10
mov qword [rbp + 0x340], r10
cmp rdx, r9
jne 0x1400804a8
mov qword [rbp + 0x338], r10
mov qword [rbp + 0x340], rbx
mov word [rbp + 0x328], r10w
jmp 0x1400804ba
sub r9, rdx
lea rcx, [rbp + 0x328]
call fcn.1400820c0
xor r10d, r10d
mov r9, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x1400804cd
add r9, qword [r14]
mov rdx, qword [r14]
jmp 0x1400804d3
add r9, r14
mov rdx, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x348], xmm0
mov qword [rbp + 0x358], r10
mov qword [rbp + 0x360], r10
cmp rdx, r9
jne 0x140080508
mov qword [rbp + 0x358], r10
mov qword [rbp + 0x360], rbx
mov word [rbp + 0x348], r10w
jmp 0x140080521
sub r9, rdx
lea rcx, [rbp + 0x348]
call fcn.1400820c0
mov rbx, qword [rbp + 0x360]
xor r10d, r10d
lea r8, [rbp + 0x348]
cmp rbx, 7
cmova r8, qword [rbp + 0x348]
lea rdx, [rbp + 0x328]
cmp qword [rbp + 0x340], 7
cmova rdx, qword [rbp + 0x328]
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r10
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
test rax, rax
jne 0x1400806f2
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp + 0x98], 0x83278c66
mov dword [rbp + 0x9c], 0xbee8b59f
mov dword [rbp + 0xa0], 0x2e23cefd
mov dword [rbp + 0xa4], 0xc1b13fb9
mov dword [rbp + 0xa8], 0x74ba142c
mov dword [rbp + 0xac], 0x83233d98
mov dword [rbp + 0xb0], 0xcf8ea3c8
mov dword [rbp + 0xb4], 0x3bb9230f
mov dword [rbp + 0xb8], 0x6f78412b
mov dword [rbp + 0xbc], 0xdcb5698d
mov dword [rbp + 0xc0], 0x5c3cce54
mov dword [rbp + 0xc4], 0xe9aa0b9
mov dword [rbp + 0xc8], 0x1eb7d437
mov dword [rbp + 0xcc], 0xcf6e6964
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rbp + rcx + 0x98]
sub dl, byte [rbp + rax + 0xb4]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x4a0], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x1c
jb 0x140080615
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, [rbp + 0x4a0]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x2a0]
call fcn.1400614c0
mov qword [r13], r12
mov byte [r13 + 8], 0
jmp 0x1400814e1
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x72]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xor r12d, r12d
test eax, eax
jne 0x140080842
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp - 0x10], 0xf9da97ab
mov dword [rbp - 0xc], 0x592be4cb
mov dword [rbp - 8], 0x6ed94c4c
mov dword [rbp - 4], 0x8638be5b
mov dword [rbp], 0x209dd11a
mov dword [rbp + 4], 0xce45995f
mov dword [rbp + 8], 0x2e5426b8
mov dword [rbp + 0xc], 0x7057b16c
mov dword [rbp + 0x10], 0xd8e706bb
mov dword [rbp + 0x14], 0x55e7fe8a
mov dword [rbp + 0x18], 0x6bfa18c9
mov dword [rbp + 0x1c], 0x34f3b73c
mov dword [rbp + 0x20], 0x269894e1
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
nop dword [rax]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rbp + rcx - 0x10]
sub dl, byte [rbp + rax + 0xa]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x420], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x1a
jb 0x140080780
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, Ordinal_26
lea rdx, [rbp + 0x420]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x1400806d8
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1400809d8
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp + 0xd0], 0x6c5a08e
mov dword [rbp + 0xd4], 0x20d8c9b
mov dword [rbp + 0xd8], 0x6cf5796c
mov dword [rbp + 0xdc], 0xef098cc7
mov dword [rbp + 0xe0], 0x2a380824
mov dword [rbp + 0xe4], 0xdb45179b
mov dword [rbp + 0xe8], 0xde5828a8
mov dword [rbp + 0xec], 0xbe573737
mov dword [rbp + 0xf0], 0xaf9d1827
mov dword [rbp + 0xf4], 0x1a910b07
mov dword [rbp + 0xf8], 0x8a941b62
mov dword [rbp + 0xfc], 0xc41894b1
mov dword [rbp + 0x100], 0x76d9ae3a
mov dword [rbp + 0x104], 0xde38ee44
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rbp + rcx + 0xd0]
sub dl, byte [rbp + rax + 0xec]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x480], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x1c
jb 0x140080910
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x1400806d8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140080b68
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp + 0x108], 0x13b0a872
mov dword [rbp + 0x10c], 0xa9f0336a
mov dword [rbp + 0x110], 0x9ffda08d
mov dword [rbp + 0x114], 0x61b14652
mov dword [rbp + 0x118], 0x445832d9
mov dword [rbp + 0x11c], 0xba3849f5
mov dword [rbp + 0x120], 0x329b2358
mov dword [rbp + 0x124], 0x1b278cd5
mov dword [rbp + 0x128], 0xf6cb423f
mov dword [rbp + 0x12c], 0x285780bf
mov dword [rbp + 0x130], 0xdc36983d
mov dword [rbp + 0x134], 0x68fc5fe1
mov dword [rbp + 0x138], 0x81d1f3bd
mov dword [rbp + 0x13c], 0xef59d229
mov dword [rbp + 0x140], 0x9bce36b7
mov word [rbp + 0x144], 0x276c
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
nop dword [rax + rax]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rbp + rcx + 0x108]
sub dl, byte [rbp + rax + 0x127]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x4c0], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x1f
jb 0x140080aa0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, 0x1e
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x1400806d8
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2c0], xmm1
mov qword [rbp + 0x2d0], r12
mov dword [rbp + 0x2d8], r12d
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0x2d8]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400810cf
mov r8d, dword [rbp + 0x2d8]
test r8d, r8d
je 0x1400810cf
mov dword [rbp + 0x280], r12d
mov eax, 0x400
mov dword [rbp + 0x1b8], eax
cmp r8d, eax
cmova r8d, eax
lea r9, [rbp + 0x280]
lea rdx, [rbp + 0x510]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140080e68
mov r9d, dword [rbp + 0x280]
lea r8, [rbp + 0x510]
mov rdx, qword [rbp + 0x2c8]
lea rcx, [rbp + 0x2c0]
call fcn.140082200
mov r8, qword [rbp + 0x2c8]
mov rax, r8
mov rdx, qword [rbp + 0x2c0]
sub rax, rdx
cmp rax, 0x989680
ja 0x140080c3f
cmp dword [rbp + 0x2d8], 0
ja 0x140080b90
jmp 0x1400810dd
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp + 0x28], 0xaab9cd1f
mov dword [rbp + 0x2c], 0x299d64ba
mov dword [rbp + 0x30], 0x278e3375
mov dword [rbp + 0x34], 0x1532a931
mov dword [rbp + 0x38], 0xfae1ac4a
mov dword [rbp + 0x3c], 0x2c22b4d
mov dword [rbp + 0x40], 0xcd95d771
mov dword [rbp + 0x44], 0x4b3a4668
mov dword [rbp + 0x48], 0x55c42af6
mov dword [rbp + 0x4c], 0x11b81fbf
mov dword [rbp + 0x50], 0xe3a3d13d
mov dword [rbp + 0x54], 0xfadab347
mov dword [rbp + 0x58], 0x379d48c2
mov word [rbp + 0x5c], 0x95b7
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rbp + rcx + 0x28]
sub dl, byte [rbp + rax + 0x43]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x440], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x1b
jb 0x140080cb1
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, [rbp + 0x440]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov rdx, qword [rbp + 0x2c8]
sub rdx, qword [rbp + 0x2c0]
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___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x2a0]
call fcn.1400614c0
mov qword [r13], r12
mov byte [r13 + 8], 0
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x140080dd8
mov rdx, qword [rbp + 0x2d0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080dc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080fe9
call fcn.14016b9c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2c0], xmm0
mov qword [rbp + 0x2d0], r12
lea rcx, [rbp + 0x348]
call fcn.140061450
nop
lea rcx, [rbp + 0x328]
call fcn.140061450
nop
lea rcx, [rbp + 0x308]
call fcn.1400614c0
nop
lea rcx, [rbp + 0x2e8]
call fcn.140061450
nop
lea rcx, [rbp + 0x368]
call fcn.140061450
nop
mov rcx, r15
call fcn.1400614c0
nop
mov rcx, r14
call fcn.1400614c0
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140080e47
mov rax, qword [rcx]
cmp rcx, rsi
sete dl
xor dl, 1
call qword [rax + 0x20]
mov qword [rsi + 0x38], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140081096
mov rax, qword [rcx]
cmp rcx, rdi
sete dl
xor dl, 1
call qword [rax + 0x20]
jmp 0x140081092
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp - 0x48], 0xa338c57f
mov dword [rbp - 0x44], 0x91f7b236
mov dword [rbp - 0x40], 0xd4e07327
mov dword [rbp - 0x3c], 0xbde369c6
mov dword [rbp - 0x38], 0x1b53b7d
mov dword [rbp - 0x34], 0xb326e12f
mov dword [rbp - 0x30], 0xca5c287a
mov dword [rbp - 0x2c], 0x873ec25b
mov dword [rbp - 0x28], 0x7c12c23f
mov dword [rbp - 0x24], 0x82f56590
mov dword [rbp - 0x20], 0x4cda179d
mov dword [rbp - 0x1c], 0xec7dca95
mov word [rbp - 0x18], 0x7a93
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rbp + rcx - 0x48]
sub dl, byte [rbp + rax - 0x2f]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x400], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x19
jb 0x140080ee0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, Ordinal_26
lea rdx, [rbp + 0x400]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x2a0]
call fcn.1400614c0
mov qword [r13], r12
mov byte [r13 + 8], 0
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x140081007
mov rdx, qword [rbp + 0x2d0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080ff0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140080ff0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016b9c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2c0], xmm0
mov qword [rbp + 0x2d0], r12
lea rcx, [rbp + 0x348]
call fcn.140061450
nop
lea rcx, [rbp + 0x328]
call fcn.140061450
nop
lea rcx, [rbp + 0x308]
call fcn.1400614c0
nop
lea rcx, [rbp + 0x2e8]
call fcn.140061450
nop
lea rcx, [rbp + 0x368]
call fcn.140061450
nop
mov rcx, r15
call fcn.1400614c0
nop
mov rcx, r14
call fcn.1400614c0
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140081076
mov rax, qword [rcx]
cmp rcx, rsi
sete dl
xor dl, 1
call qword [rax + 0x20]
mov qword [rsi + 0x38], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140081096
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
cmp rcx, rdi
sete dl
xor dl, 1
call r8
mov qword [rdi + 0x38], r12
mov rcx, qword [rbp + 0x1b0]
call fcn.14005d9f0
mov rax, r13
mov rcx, qword [rbp + 0x910]
xor rcx, rsp
call fcn.14016b380
mov rbx, qword [rsp + 0xa60]
add rsp, 0xa20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rbp + 0x2c8]
mov rdx, qword [rbp + 0x2c0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3b0], xmm0
mov qword [rbp + 0x3c0], r12
mov qword [rbp + 0x3c8], r12
cmp rdx, r8
jne 0x140081115
mov qword [rbp + 0x3c0], r12
mov qword [rbp + 0x3c8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x3b0], 0
jmp 0x140081125
sub r8, rdx
lea rcx, [rbp + 0x3b0]
call fcn.14004a1a0
nop
mov dword [rbp + 0x2dc], r12d
mov dword [rbp + 0x2e0], 4
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0x2e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2dc]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [rbp + 0x2dc], 0x65
je 0x140081313
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp + 0x150], 0xe463f1b0
mov dword [rbp + 0x154], 0xc9d406ef
mov dword [rbp + 0x158], 0x965bed3f
mov dword [rbp + 0x15c], 0xde1cc96a
mov dword [rbp + 0x160], 0x72975535
mov dword [rbp + 0x164], 0x9899cb7e
mov dword [rbp + 0x168], 0x3cfe4d54
mov dword [rbp + 0x16c], 0x506c787
mov dword [rbp + 0x170], 0xd900a461
mov dword [rbp + 0x174], 0x2b76f342
mov dword [rbp + 0x178], 0x8c5d3c58
mov dword [rbp + 0x17c], 0x948a6ef1
mov dword [rbp + 0x180], 0x89d665b4
mov dword [rbp + 0x184], 0x55fb283b
mov dword [rbp + 0x188], 0xecbe6bfc
mov dword [rbp + 0x18c], 0xab160f23
mov dword [rbp + 0x190], 0xd9e52629
mov dword [rbp + 0x194], 0x5b18d98f
mov dword [rbp + 0x198], 0x5141d793
mov dword [rbp + 0x19c], 0x7ece788c
mov dword [rbp + 0x1a0], 0x3c38f103
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
nop
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rbp + rcx + 0x150]
sub dl, byte [rbp + rax + 0x17a]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x4e0], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x2a
jb 0x140081250
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov edx, dword [rbp + 0x2dc]
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___unsigned_long_int____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x14008146d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpWebSocketCompleteUpgrade]
mov r12, rax
test rax, rax
jne 0x140081571
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp + 0x60], 0x3706fcf9
mov dword [rbp + 0x64], 0x61612625
mov dword [rbp + 0x68], 0xba8518a4
mov dword [rbp + 0x6c], 0x8bea4ff6
mov dword [rbp + 0x70], 0x192ad765
mov dword [rbp + 0x74], 0xffb8773b
mov dword [rbp + 0x78], 0xa25ab653
mov dword [rbp + 0x7c], 0xb6e4a497
mov dword [rbp + 0x80], 0x30fcf6c3
mov dword [rbp + 0x84], 0x8f4a10f8
mov dword [rbp + 0x88], 0x2789dd
mov dword [rbp + 0x8c], 0xd2b8c4b7
mov dword [rbp + 0x90], 0x199b530b
mov word [rbp + 0x94], 0x5a96
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
nop
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rbp + rcx + 0x60]
sub dl, byte [rbp + rax + 0x7b]
mov byte [rsp + 0x40], dl
movzx ecx, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax + 0x460], cl
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x1b
jb 0x1400813b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], r12
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x2a0]
call fcn.14004a1a0
nop
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
mov rcx, rbx
call fcn.14006c4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x140064c40]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x2a0]
call fcn.1400614c0
mov byte [r13 + 8], 0
mov qword [r13], r12
lea rcx, [rbp + 0x3b0]
call fcn.1400614c0
nop
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x1400814e1
mov rdx, qword [rbp + 0x2d0]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400814ca
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081813
call fcn.14016b9c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2c0], xmm0
mov qword [rbp + 0x2d0], r12
lea rcx, [rbp + 0x348]
call fcn.140061450
nop
lea rcx, [rbp + 0x328]
call fcn.140061450
nop
lea rcx, [rbp + 0x308]
call fcn.1400614c0
nop
lea rcx, [rbp + 0x2e8]
call fcn.140061450
nop
lea rcx, [rbp + 0x368]
call fcn.140061450
nop
mov rcx, r15
call fcn.1400614c0
nop
mov rcx, r14
call fcn.1400614c0
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140081550
cmp rcx, rsi
sete dl
mov rax, qword [rcx]
xor dl, 1
call qword [rax + 0x20]
mov qword [rsi + 0x38], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140081096
cmp rcx, rdi
sete dl
mov rax, qword [rcx]
xor dl, 1
call qword [rax + 0x20]
jmp 0x140081092
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbp + 0x230], r12
lea rax, [rbp + 0x238]
mov qword [rsp + 0x48], rax
mov qword [rbp + 0x270], 0
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400815b4
mov rax, qword [rcx]
lea rdx, [rbp + 0x238]
call qword [rax]
mov qword [rbp + 0x270], rax
mov ecx, Ordinal_73
call fcn.14016b4c0
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rcx, qword [rbp + 0x230]
mov qword [rax], rcx
lea r13, [rax + 8]
mov qword [rsp + 0x50], r13
mov qword [r13 + 0x38], 0
mov rcx, qword [rbp + 0x270]
test rcx, rcx
je 0x1400815f9
mov rax, qword [rcx]
mov rdx, r13
call qword [rax]
mov qword [r13 + 0x38], rax
mov qword [rbp + 0x2a0], rbx
lea rax, [rbp + 0x398]
mov qword [rsp + 0x28], rax
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x140082450]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x390], rax
test rax, rax
je 0x1400818ef
mov rcx, qword [rbp + 0x270]
test rcx, rcx
je 0x140081657
mov rax, qword [rcx]
lea rdx, [rbp + 0x238]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1d0], r12
lea rax, [rbp + 0x1d8]
mov qword [rbp + 0x2a0], rax
mov qword [rbp + 0x210], r13
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14008168f
mov rax, qword [rcx]
lea rdx, [rbp + 0x1d8]
call qword [rax]
mov qword [rbp + 0x210], rax
mov ecx, Ordinal_73
call fcn.14016b4c0
mov rbx, rax
mov qword [rbp + 0x2a0], rax
mov rcx, qword [rbp + 0x1d0]
mov qword [rax], rcx
lea r13, [rax + 8]
mov qword [rsp + 0x48], r13
mov qword [r13 + 0x38], 0
mov rcx, qword [rbp + 0x210]
test rcx, rcx
je 0x1400816d6
mov rax, qword [rcx]
mov rdx, r13
call qword [rax]
mov qword [r13 + 0x38], rax
mov qword [rbp + 0x2a0], rbx
lea rax, [rbp + 0x3a8]
mov qword [rsp + 0x28], rax
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x1400824b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x3a0], rax
test rax, rax
je 0x1400818dc
mov rcx, qword [rbp + 0x210]
test rcx, rcx
je 0x14008173b
mov rax, qword [rcx]
lea rdx, [rbp + 0x1d8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x210], r13
cmp dword [rbp + 0x398], 0
je 0x1400818d0
movaps xmm0, xmmword [rbp + 0x390]
movdqa xmmword [rbp + 0x2a0], xmm0
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400818d0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x390], xmm0
cmp dword [rbp + 0x3a8], eax
je 0x1400818d0
movaps xmm0, xmmword [rbp + 0x3a0]
movdqa xmmword [rbp + 0x2a0], xmm0
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400818d0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x3a0], xmm0
mov rbx, qword [rbp + 0x1c0]
mov qword [rbx], r12
mov byte [rbx + 8], 1
cmp dword [rbp + 0x398], eax
je 0x1400817cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
lea rcx, [rbp + 0x3b0]
call fcn.1400614c0
nop
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x140081831
mov rdx, qword [rbp + 0x2d0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008181a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008181a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016b9c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2c0], xmm0
mov qword [rbp + 0x2d0], r13
lea rcx, [rbp + 0x348]
call fcn.140061450
nop
lea rcx, [rbp + 0x328]
call fcn.140061450
nop
lea rcx, [rbp + 0x308]
call fcn.1400614c0
nop
lea rcx, [rbp + 0x2e8]
call fcn.140061450
nop
lea rcx, [rbp + 0x368]
call fcn.140061450
nop
mov rcx, r15
call fcn.1400614c0
nop
mov rcx, r14
call fcn.1400614c0
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400818a0
mov rax, qword [rcx]
cmp rcx, rsi
sete dl
xor dl, 1
call qword [rax + 0x20]
mov qword [rsi + 0x38], r13
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400818bc
mov rax, qword [rcx]
cmp rcx, rdi
sete dl
xor dl, 1
call qword [rax + 0x20]
mov qword [rdi + 0x38], r13
mov rcx, qword [rbp + 0x1b0]
call fcn.14005d9f0
mov rax, rbx
jmp 0x1400810a5
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x3a8], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x398], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3