Function at 0x1400039c0
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.140013070
sub rsp, rax
mov rax, qword [0x14001b008]
xor rax, rsp
mov qword [rbp + 0x13b0], rax
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x58], rdx
xor edi, edi
mov dword [rsp + 0x40], edi
mov ecx, 0x202
lea rdx, [rbp + 0x210]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140003a69
lea rdx, str.WSAStartup_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008f70
mov rcx, rax
lea rdx, [0x140009140]
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]
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], recv
mov byte [rbx], dil
xor r8d, r8d
lea rdx, [0x1400146c8]
mov rcx, rbx
call fcn.140008a70
jmp 0x140003fd6
mov edx, 1
lea ecx, [rdx + 1]
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140003aaf
lea rdx, str.Error_creating_socket
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008f70
mov rcx, rax
lea rdx, [0x140009140]
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]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140003a40
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], recv
mov byte [rbp - 0x78], dil
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], recv
mov byte [rsp + 0x68], 0
mov rsi, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140003ae7
mov rsi, qword [r14]
mov r15, qword [r14 + 0x10]
cmp r15, 3
jb 0x140003b54
lea r13, [r15 + rsi]
lea r8, [r13 - 2]
sub r8, rsi
mov edx, 0x3a
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x140003b52
cmp byte [rdi], 0x3a
jne 0x140003b26
cmp byte [rdi + 1], 0x2f
jne 0x140003b26
cmp byte [rdi + 2], 0x2f
jne 0x140003b26
xor eax, eax
jmp 0x140003b2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x140003bf1
inc rdi
lea r8, [r13 - 2]
sub r8, rdi
mov edx, 0x3a
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
jne 0x140003b11
xor edi, edi
lea rdx, str.Invalid_URL
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008f70
mov rcx, rax
lea rdx, [0x140009140]
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]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
xor r8d, r8d
lea rdx, [0x1400146c8]
mov rcx, rbx
call fcn.140008a70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14000448b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004486
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004486
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rdi, rsi
cmp rdi, 0xffffffffffffffff
je 0x140003b52
lea r13, [rdi + 3]
mov rdx, r14
mov qword [rsp + 0x48], rdx
mov r9, qword [r14 + 0x18]
mov rcx, r15
cmp r9, 0x10
jb 0x140003c1f
mov rdx, qword [r14]
mov qword [rsp + 0x48], rdx
lea rax, [rcx - 1]
cmp r13, rax
ja 0x140003e74
lea rax, [rcx + rdx]
mov qword [rsp + 0x50], rax
lea rcx, [rdx + r13]
mov r8, rax
sub r8, rcx
mov edx, 0x2f
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x140003c87
cmp byte [rsi], 0x2f
jne 0x140003c5a
xor eax, eax
jmp 0x140003c5f
sbb eax, eax
or eax, 1
test eax, eax
je 0x140003d1e
inc rsi
mov r8, qword [rsp + 0x50]
sub r8, rsi
mov edx, 0x2f
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
jne 0x140003c51
mov rax, r15
mov r9, qword [r14 + 0x18]
xor esi, esi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], recv
cmp rax, r13
jb 0x1400044e2
sub r15, r13
mov r8, 0xffffffffffffffff
cmp r15, r8
cmovb r8, r15
cmp r9, 0x10
jb 0x140003cc6
mov r14, qword [r14]
lea rdx, [r14 + r13]
lea rcx, [rsp + 0x20]
call fcn.140008a70
mov edi, 4
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140003e81
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rsi, qword [rsp + 0x48]
mov rax, r15
cmp rsi, 0xffffffffffffffff
je 0x140003c8a
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], recv
cmp rax, r13
jb 0x1400044e2
mov r8, rsi
sub r8, rdi
add r8, 0xfffffffffffffffd
sub r15, r13
cmp r15, r8
cmovb r8, r15
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140003d75
mov rax, qword [r14]
lea rdx, [rax + r13]
lea rcx, [rsp + 0x20]
call fcn.140008a70
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140003dbe
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d17
call fcn.1400124ac
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x68], xmm1
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], recv
mov rax, qword [r14 + 0x10]
cmp rax, rsi
jb 0x1400044e2
sub rax, rsi
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [r14 + 0x18], 0x10
jb 0x140003e0d
mov r14, qword [r14]
lea rdx, [r14 + rsi]
lea rcx, [rsp + 0x20]
call fcn.140008a70
mov edi, 0xa
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140003e5c
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d17
call fcn.1400124ac
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x78], xmm1
xor esi, esi
jmp 0x140003eaa
mov rax, r15
jmp 0x140003c8e
call fcn.1400124ac
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x68], xmm1
mov r8d, 1
lea rdx, [0x1400148a8]
lea rcx, [rsp + 0x68]
call fcn.140008a70
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
mov r14d, 2
mov dword [rbp - 0x24], r14d
mov dword [rbp - 0x20], 1
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x28]
lea rdx, str.http
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140004003
lea rdx, str.Error_resolving_hostname
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008f70
lea rdx, [0x140009140]
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]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
xor r8d, r8d
lea rdx, [0x1400146c8]
mov rcx, rbx
call fcn.140008a70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140003f89
inc rdx
mov rcx, qword [rsp + 0x68]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003f84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003bea
call fcn.1400124ac
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], recv
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140003fd6
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003fd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400044db
call fcn.1400124ac
mov rax, rbx
mov rcx, qword [rbp + 0x13b0]
xor rcx, rsp
call fcn.140012200
mov rbx, qword [rsp + 0x1500]
add rsp, 0x14c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov word [rbp - 0x38], r14w
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x20]
mov eax, dword [rcx + 4]
mov dword [rbp - 0x34], eax
mov ecx, 0x50
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x36], ax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x38]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140004055
lea rdx, str.Connection_error
jmp 0x140003efd
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x10]
call fcn.140006d60
nop
lea rdx, str.GET
lea rcx, [rbp + 0x20]
call fcn.140008f70
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.14000a930
mov rcx, rax
lea rdx, str._HTTP_1.1_r_n
call fcn.140008f70
lea rdx, str.Host:
lea rcx, [rbp + 0x20]
call fcn.140008f70
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.14000a930
mov rcx, rax
lea rdx, [0x140014914]
call fcn.140008f70
lea rdx, str.Connection:_close_r_n_r_n
lea rcx, [rbp + 0x20]
call fcn.140008f70
nop
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x48], rsi
mov r9d, recv
mov qword [rbp - 0x40], r9
mov byte [rbp - 0x58], 0
or edi, 0x20
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rbp + 0x98]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140004151
mov rax, qword [rbp + 0x68]
mov r8, qword [rax]
test r8, r8
je 0x140004151
mov rax, qword [rbp + 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x90]
cmovb r8, qword [rbp + 0x90]
sub r8, rdx
jmp 0x140004182
test cl, 4
jne 0x140004178
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x140004178
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x78]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140004182
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140004194
lea rcx, [rbp - 0x58]
call fcn.140008a70
mov r9, qword [rbp - 0x40]
and edi, 0xffffffdf
or edi, 0x10
lea rdx, [rbp - 0x58]
cmp r9, 0x10
cmovae rdx, qword [rbp - 0x58]
xor r9d, r9d
mov r8d, dword [rbp - 0x48]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400042ad
lea rdx, str.Send_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008f70
mov rcx, rax
lea rdx, [0x140009140]
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]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
xor r8d, r8d
lea rdx, [0x1400146c8]
mov rcx, rbx
call fcn.140008a70
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140004252
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000424d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004465
call fcn.1400124ac
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], recv
mov byte [rbp - 0x58], 0
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x28]
call fcn.140006ca0
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140003f4d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x110]
call fcn.140006d60
nop
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x3b0]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140004324
nop dword [rax + rax]
mov r8d, eax
lea rdx, [rbp + 0x3b0]
lea rcx, [rbp + 0x120]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x3b0]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x1400042f0
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
bts edi, 7
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rbp + 0x198]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140004392
mov rax, qword [rbp + 0x168]
mov r8, qword [rax]
test r8, r8
je 0x140004392
mov rax, qword [rbp + 0x148]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x190]
cmovb r8, qword [rbp + 0x190]
sub r8, rdx
jmp 0x1400043cc
test cl, 4
jne 0x1400043c2
mov rax, qword [rbp + 0x160]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400043c2
mov rax, qword [rbp + 0x140]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x178]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400043cc
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x1400043da
mov rcx, rbx
call fcn.140008a70
nop
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x110], rdi
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
call fcn.140006ca0
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140004471
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000446c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000446c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400124ac
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], recv
mov byte [rbp - 0x58], 0
jmp 0x140004269
call fcn.1400124ac
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], recv
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140003fd6
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003fd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003fd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140008e40
int3