Function at 0x180067ec0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x36f0
call fcn.1800ae580
sub rsp, rax
mov rax, qword [0x180407040]
xor rax, rsp
mov qword [rsp + 0x36e0], rax
mov r13, rcx
xor edi, edi
mov dword [rsp + 0x70], edi
lea r9, str.Checking_Key
lea edx, [rdi + 4]
lea r8d, [rdi + 0x64]
lea rcx, [rsp + 0xa0]
call fcn.180066d30
nop
mov rax, qword [0x18041f6f0]
cmp rax, qword [0x18041f6f8]
je 0x180067f44
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18006c260
add qword [0x18041f6f0], 0x3058
jmp 0x180067f55
lea r8, [rsp + 0xa0]
mov rdx, rax
call fcn.18006bdb0
nop
mov rcx, qword [rsp + 0x20f0]
test rcx, rcx
je 0x180067f76
mov rax, qword [rcx]
lea rdx, [rsp + 0x20b8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
cmp qword [r13 + 0x10], 0
je 0x1800695fb
mov r8, qword [0x18041f6d8]
test r8, r8
je 0x1800695ec
lea rbx, [0x18041f6c8]
mov rcx, rbx
cmp qword [0x18041f6e0], 0x10
cmovae rcx, qword [0x18041f6c8]
cmp r8, 1
jne 0x180067fc5
lea rdx, [0x1802cb8d4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800695ec
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.KeyChecker
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1800680ad
lea rdx, str.InternetOpen_failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180005350
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, [0x180065f80]
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]
lea r9, str.InternetOpen_failed
lea edx, [r15 + 3]
mov r8d, 0x1f4
lea rcx, [rsp + 0xa0]
call fcn.180066d30
nop
mov rax, qword [0x18041f6f0]
cmp rax, qword [0x18041f6f8]
je 0x180068074
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18006c260
add qword [0x18041f6f0], 0x3058
jmp 0x180068085
lea r8, [rsp + 0xa0]
mov rdx, rax
call fcn.18006bdb0
nop
mov rcx, qword [rsp + 0x20f0]
test rcx, rcx
je 0x1800680a6
mov rax, qword [rcx]
lea rdx, [rsp + 0x20b8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xor al, al
jmp 0x180069601
lea rdx, str.tassamai_0eb2bce07b49.herokuapp.com
lea rcx, [rsp + 0x31a8]
call fcn.18006abe0
nop
lea rdx, [rsp + 0x31a8]
cmp qword [rsp + 0x31c0], 8
cmovae rdx, qword [rsp + 0x31a8]
mov r8d, 0x50
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r12, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x180068224
lea rdx, str.InternetConnect_failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180005350
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, [0x180065f80]
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]
lea r9, str.InternetConnect_failed
lea edx, [r12 + 3]
mov r8d, 0x1f4
lea rcx, [rsp + 0xa0]
call fcn.180066d30
nop
mov rax, qword [0x18041f6f0]
cmp rax, qword [0x18041f6f8]
je 0x180068199
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18006c260
add qword [0x18041f6f0], 0x3058
jmp 0x1800681aa
lea r8, [rsp + 0xa0]
mov rdx, rax
call fcn.18006bdb0
nop
mov rcx, qword [rsp + 0x20f0]
test rcx, rcx
je 0x1800681cb
mov rax, qword [rcx]
lea rdx, [rsp + 0x20b8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x31c0]
cmp rdx, 8
jb 0x18006821d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x31a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068218
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800695dc
call fcn.1800ad85c
xor al, al
jmp 0x180069601
lea rdx, str._check_key
lea rcx, [rsp + 0x3160]
call fcn.18006abe0
nop
lea r8, [rsp + 0x3160]
cmp qword [rsp + 0x3178], 8
cmovae r8, qword [rsp + 0x3160]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x84000000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.POST
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x180068404
lea rdx, str.HttpOpenRequest_failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180005350
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, [0x180065f80]
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]
lea r9, str.HttpOpenRequest_failed
mov edx, 3
mov r8d, 0x1f4
lea rcx, [rsp + 0xa0]
call fcn.180066d30
nop
mov rax, qword [0x18041f6f0]
cmp rax, qword [0x18041f6f8]
je 0x18006830f
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18006c260
add qword [0x18041f6f0], 0x3058
jmp 0x180068320
lea r8, [rsp + 0xa0]
mov rdx, rax
call fcn.18006bdb0
nop
mov rcx, qword [rsp + 0x20f0]
test rcx, rcx
je 0x180068341
mov rax, qword [rcx]
lea rdx, [rsp + 0x20b8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x3178]
cmp rdx, 8
jb 0x18006839c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068397
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069578
call fcn.1800ad85c
movdqa xmm0, xmmword [0x1803f50c0]
movdqu xmmword [rsp + 0x3170], xmm0
mov word [rsp + 0x3160], di
mov rdx, qword [rsp + 0x31c0]
cmp rdx, 8
jb 0x1800683fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x31a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800683f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800695dc
call fcn.1800ad85c
xor al, al
jmp 0x180069601
mov rdx, rbx
lea rcx, [rsp + 0x3140]
call fcn.18006ad20
nop
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x31f0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x31f0]
call fcn.18006ab30
nop
lea rdx, str.key:
lea rcx, [rsp + 0x31f0]
call fcn.180005350
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x18006845a
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.180065fc0
lea rdx, str._r_nhwid:
mov rcx, rax
call fcn.180005350
lea rdx, [rsp + 0x3140]
cmp qword [rsp + 0x3158], 0x10
cmovae rdx, qword [rsp + 0x3140]
mov r8, qword [rsp + 0x3150]
mov rcx, rax
call fcn.180065fc0
lea rdx, [0x1802cc470]
mov rcx, rax
call fcn.180005350
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x3120], xmm0
movdqa xmm1, xmmword [0x1803f50e0]
movdqu xmmword [rsp + 0x3130], xmm1
mov byte [rsp + 0x3120], 0
mov dword [rsp + 0x70], 2
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x3268]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x18006852b
mov rax, qword [rsp + 0x3238]
mov r8, qword [rax]
test r8, r8
je 0x18006852b
mov rax, qword [rsp + 0x3218]
mov rdx, qword [rax]
cmp r8, qword [rsp + 0x3260]
cmovb r8, qword [rsp + 0x3260]
sub r8, rdx
jmp 0x18006856b
test cl, 4
jne 0x18006855e
mov rax, qword [rsp + 0x3230]
mov rcx, qword [rax]
test rcx, rcx
je 0x18006855e
mov rax, qword [rsp + 0x3210]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x3248]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x18006856b
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x18006857e
lea rcx, [rsp + 0x3120]
call fcn.18006b3d0
nop
lea rdx, [rsp + 0x3120]
cmp qword [rsp + 0x3138], 0x10
cmovae rdx, qword [rsp + 0x3120]
mov r14, qword [rsp + 0x3130]
add r14, rdx
lea rsi, [rsp + 0x3120]
cmp qword [rsp + 0x3138], 0x10
cmovae rsi, qword [rsp + 0x3120]
xorps xmm0, xmm0
movups xmmword [rsp + 0x3100], xmm0
cmp rsi, r14
jne 0x1800685f5
mov qword [rsp + 0x3110], rdi
mov eax, 7
mov qword [rsp + 0x3118], rax
mov word [rsp + 0x3100], di
lea rdi, [rax - 8]
xor esi, esi
jmp 0x18006876d
mov rax, r14
sub rax, rsi
mov rdx, rdi
mov qword [rsp + 0x3110], rdx
mov ebx, 7
mov qword [rsp + 0x3118], rbx
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x18006962e
cmp rax, 8
jb 0x1800686fd
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x180068641
mov rbx, rcx
jmp 0x18006864d
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rdi, 0xffffffffffffffff
cmovb rcx, rdi
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180069633
add rcx, rcx
cmp rcx, 0x1000
jb 0x1800686c5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180069638
mov rcx, rax
call fcn.1800ad3c8
mov rcx, rax
test rax, rax
je 0x1800693f2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0x3110]
mov qword [rsp + 0x3100], rax
mov qword [rsp + 0x3118], rbx
jmp 0x180068704
test rcx, rcx
je 0x1800686e9
call fcn.1800ad3c8
mov rdx, qword [rsp + 0x3110]
mov qword [rsp + 0x3100], rax
mov qword [rsp + 0x3118], rbx
jmp 0x180068704
xor eax, eax
mov qword [rsp + 0x3100], rax
mov qword [rsp + 0x3118], rbx
jmp 0x180068704
mov rdi, 0xffffffffffffffff
lea rcx, [rsp + 0x3100]
cmp rbx, 8
cmovae rcx, qword [rsp + 0x3100]
movsx eax, byte [rsi]
mov word [rcx + rdx*2], ax
mov rdx, qword [rsp + 0x3110]
inc rdx
mov qword [rsp + 0x3110], rdx
inc rsi
cmp rsi, r14
je 0x180068745
mov rbx, qword [rsp + 0x3118]
jmp 0x180068704
lea rax, [rsp + 0x3100]
cmp qword [rsp + 0x3118], 8
cmovae rax, qword [rsp + 0x3100]
xor esi, esi
mov word [rax + rdx*2], si
mov rax, qword [rsp + 0x3118]
lea rdx, [rsp + 0x3100]
cmp rax, 8
cmovae rdx, qword [rsp + 0x3100]
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, dword [rsp + 0x3110]
mov r14, qword [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x180068aa6
lea rdx, str.HttpSendRequest_failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180005350
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, [0x180065f80]
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]
lea r9, str.HttpSendRequest_failed
mov edx, 3
mov r8d, 0x1f4
lea rcx, [rsp + 0xa0]
call fcn.180066d30
nop
mov rax, qword [0x18041f6f0]
cmp rax, qword [0x18041f6f8]
je 0x18006882b
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18006c260
add qword [0x18041f6f0], 0x3058
jmp 0x18006883c
lea r8, [rsp + 0xa0]
mov rdx, rax
call fcn.18006bdb0
nop
mov rcx, qword [rsp + 0x20f0]
test rcx, rcx
je 0x18006885d
mov rax, qword [rcx]
lea rdx, [rsp + 0x20b8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x3118]
cmp rdx, 8
jb 0x1800688c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800688bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800693f2
call fcn.1800ad85c
mov qword [rsp + 0x3110], rsi
mov qword [rsp + 0x3118], 7
mov word [rsp + 0x3100], si
mov rdx, qword [rsp + 0x3138]
cmp rdx, 0x10
jb 0x180068920
inc rdx
mov rcx, qword [rsp + 0x3120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006891b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069454
call fcn.1800ad85c
movdqa xmm0, xmmword [0x1803f50e0]
movdqu xmmword [rsp + 0x3130], xmm0
mov byte [rsp + 0x3120], 0
mov rax, qword [rsp + 0x31f0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x31f0], rax
mov rax, qword [rsp + 0x31f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x31ec], edx
lea rcx, [rsp + 0x31f8]
call fcn.18006aa70
lea rcx, [rsp + 0x3200]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x3278]
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 [rsp + 0x3158]
cmp rdx, 0x10
jb 0x1800689da
inc rdx
mov rcx, qword [rsp + 0x3140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800689d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069511
call fcn.1800ad85c
mov qword [rsp + 0x3150], rsi
mov qword [rsp + 0x3158], 0xf
mov byte [rsp + 0x3140], 0
mov rdx, qword [rsp + 0x3178]
cmp rdx, 8
jb 0x180068a3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069578
call fcn.1800ad85c
movdqa xmm0, xmmword [0x1803f50c0]
movdqu xmmword [rsp + 0x3170], xmm0
mov word [rsp + 0x3160], si
mov rdx, qword [rsp + 0x31c0]
cmp rdx, 8
jb 0x180068a9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x31a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068a9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800695dc
call fcn.1800ad85c
xor al, al
jmp 0x180069601
lea r9, [rsp + 0x31a0]
mov r8d, 0x3ff
lea rdx, [rsp + 0x32e0]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800692e1
mov eax, dword [rsp + 0x31a0]
test eax, eax
je 0x1800692e1
cmp rax, 0x400
jae 0x18006963e
mov byte [rsp + rax + 0x32e0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x3180], xmm0
mov qword [rsp + 0x3190], rsi
mov qword [rsp + 0x3198], rsi
lea rax, [rsp + 0x32e0]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180068b13
mov r8, rdi
lea rdx, [rsp + 0x32e0]
lea rcx, [rsp + 0x3180]
call fcn.180003f70
nop
lea rdx, str.Response:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180005350
lea rdx, [rsp + 0x3180]
cmp qword [rsp + 0x3198], 0x10
cmovae rdx, qword [rsp + 0x3180]
mov r8, qword [rsp + 0x3190]
mov rcx, rax
call fcn.180065fc0
lea rdx, [0x180065f80]
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]
lea rsi, [rsp + 0x3180]
mov r15, qword [rsp + 0x3180]
mov r12, qword [rsp + 0x3198]
cmp r12, 0x10
cmovae rsi, r15
mov rbx, qword [rsp + 0x3190]
cmp rbx, 9
jb 0x180068f22
lea r14, [rbx + rsi]
lea r8, [r14 - 8]
sub r8, rsi
mov edx, 0x22
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x180068c18
nop dword [rax]
nop dword [rax + rax]
mov r8d, 9
lea rdx, str._result_:
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180068c20
inc rdi
lea r8, [r14 - 8]
sub r8, rdi
mov edx, 0x22
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
jne 0x180068be0
xor sil, sil
jmp 0x180068f2c
sub rdi, rsi
cmp rdi, 0xffffffffffffffff
setne byte [rsp + 0x40]
je 0x180068f27
lea rsi, [rsp + 0x3180]
cmp r12, 0x10
cmovae rsi, r15
cmp rbx, 0x15
jb 0x180068cac
lea r14, [rbx + rsi]
lea r8, [r14 - 0x14]
sub r8, rsi
mov edx, 0x48
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180068cac
nop dword [rax + rax]
mov r8d, 0x15
lea rdx, str.HWID_set_successfully
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180068d67
inc rbx
lea r8, [r14 - 0x14]
sub r8, rbx
mov edx, 0x48
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180068c70
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x78]
call fcn.180067840
nop
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x180068ce5
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
call fcn.1800acca0
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x31c8]
call fcn.18006c120
nop
mov rdx, qword [rsp + 0x90]
cmp rdx, 8
jb 0x180068e7d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068e78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180068e78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x180068df8
lea r9, str.HWID_set_successfully
mov edx, 1
mov r8d, 0x1f4
lea rcx, [rsp + 0xa0]
call fcn.180066d30
nop
mov rax, qword [0x18041f6f0]
cmp rax, qword [0x18041f6f8]
je 0x180068dc1
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18006c260
add qword [0x18041f6f0], 0x3058
jmp 0x180068dd2
lea r8, [rsp + 0xa0]
mov rdx, rax
call fcn.18006bdb0
nop
mov rcx, qword [rsp + 0x20f0]
test rcx, rcx
je 0x180068df8
mov rax, qword [rcx]
lea rdx, [rsp + 0x20b8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x180068cac
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp rdi, 0xffffffffffffffff
jne 0x180068ccd
xor r15d, r15d
movzx esi, byte [rsp + 0x40]
mov rdx, qword [rsp + 0x3198]
cmp rdx, 0x10
jb 0x180069094
inc rdx
mov rcx, qword [rsp + 0x3180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006908f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006908f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800ad85c
movdqa xmm0, xmmword [0x1803f50c0]
movdqu xmmword [rsp + 0x88], xmm0
xor r15d, r15d
mov word [rsp + 0x78], r15w
cmp qword [0x18041f6e0], 0x10
lea rdx, [0x18041f6c8]
cmovae rdx, qword [0x18041f6c8]
mov r8, qword [0x18041f6d8]
lea rcx, [rsp + 0x31c8]
call fcn.180004e70
mov rdx, r13
lea rcx, [rsp + 0x31c8]
call fcn.180067990
nop
mov rdx, qword [rsp + 0x31e0]
cmp rdx, 0x10
jb 0x180068e26
inc rdx
mov rcx, qword [rsp + 0x31c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068f18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180068f18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ad85c
jmp 0x180068e26
xor sil, sil
jmp 0x180068f31
movzx esi, byte [rsp + 0x40]
mov r14, qword [rsp + 0x48]
lea rdi, [rsp + 0x3180]
cmp r12, 0x10
cmovae rdi, r15
cmp rbx, 4
jb 0x180069068
lea r8, [rbx - 3]
add r8, rdi
sub r8, rdi
mov edx, 0x48
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
xor r15d, r15d
test rax, rax
je 0x18006906b
lea r12, str.HWID
nop dword [rax + rax]
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [r12 + rcx - 1]
jne 0x180068faa
cmp rcx, 4
jne 0x180068f90
mov eax, r15d
jmp 0x180068faf
sbb eax, eax
or eax, 1
test eax, eax
je 0x180068fda
inc r9
lea r8, [rbx - 3]
add r8, rdi
sub r8, r9
mov edx, 0x48
mov rcx, r9
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
test rax, rax
jne 0x180068f80
jmp 0x18006906b
sub r9, rdi
cmp r9, 0xffffffffffffffff
je 0x18006906b
lea r9, str.HWID_does_not_match
mov edx, 3
mov r8d, 0x1f4
lea rcx, [rsp + 0xa0]
call fcn.180066d30
nop
mov rax, qword [0x18041f6f0]
cmp rax, qword [0x18041f6f8]
je 0x180069034
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18006c260
add qword [0x18041f6f0], 0x3058
jmp 0x180069045
lea r8, [rsp + 0xa0]
mov rdx, rax
call fcn.18006bdb0
nop
mov rcx, qword [rsp + 0x20f0]
test rcx, rcx
je 0x18006906b
mov rax, qword [rcx]
lea rdx, [rsp + 0x20b8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x18006906b
xor r15d, r15d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x180068e2b
call fcn.1800ad85c
mov qword [rsp + 0x3190], r15
mov qword [rsp + 0x3198], 0xf
mov byte [rsp + 0x3180], 0
mov rdx, qword [rsp + 0x3118]
cmp rdx, 8
jb 0x1800690f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800690f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800693f2
call fcn.1800ad85c
mov qword [rsp + 0x3110], r15
mov qword [rsp + 0x3118], 7
mov word [rsp + 0x3100], r15w
mov rdx, qword [rsp + 0x3138]
cmp rdx, 0x10
jb 0x180069158
inc rdx
mov rcx, qword [rsp + 0x3120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069153
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069454
call fcn.1800ad85c
movdqa xmm0, xmmword [0x1803f50e0]
movdqu xmmword [rsp + 0x3130], xmm0
mov byte [rsp + 0x3120], 0
mov rax, qword [rsp + 0x31f0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x31f0], rax
mov rax, qword [rsp + 0x31f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x31ec], edx
lea rcx, [rsp + 0x31f8]
call fcn.18006aa70
lea rcx, [rsp + 0x3200]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x3278]
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 [rsp + 0x3158]
cmp rdx, 0x10
jb 0x180069212
inc rdx
mov rcx, qword [rsp + 0x3140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006920d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069511
call fcn.1800ad85c
mov qword [rsp + 0x3150], r15
mov qword [rsp + 0x3158], 0xf
mov byte [rsp + 0x3140], 0
mov rdx, qword [rsp + 0x3178]
cmp rdx, 8
jb 0x180069276
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069271
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069578
call fcn.1800ad85c
movdqa xmm0, xmmword [0x1803f50c0]
movdqu xmmword [rsp + 0x3170], xmm0
mov word [rsp + 0x3160], r15w
mov rdx, qword [rsp + 0x31c0]
cmp rdx, 8
jb 0x1800692d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x31a8]
mov r8, rcx
cmp rdx, 0x1000
jb 0x1800692d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x1800695dc
call fcn.1800ad85c
movzx eax, sil
jmp 0x180069601
lea rdx, str.InternetReadFile_failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180005350
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, [0x180065f80]
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]
lea r9, str.InternetReadFile_failed
mov edx, 3
mov r8d, 0x1f4
lea rcx, [rsp + 0xa0]
call fcn.180066d30
nop
mov rax, qword [0x18041f6f0]
cmp rax, qword [0x18041f6f8]
je 0x180069365
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.18006c260
add qword [0x18041f6f0], 0x3058
jmp 0x180069376
lea r8, [rsp + 0xa0]
mov rdx, rax
call fcn.18006bdb0
nop
mov rcx, qword [rsp + 0x20f0]
test rcx, rcx
je 0x180069397
mov rax, qword [rcx]
lea rdx, [rsp + 0x20b8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x3118]
cmp rdx, 8
jb 0x1800693fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800693f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800693f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ad85c
mov qword [rsp + 0x3110], rsi
mov qword [rsp + 0x3118], 7
mov word [rsp + 0x3100], si
mov rdx, qword [rsp + 0x3138]
cmp rdx, 0x10
jb 0x180069460
inc rdx
mov rcx, qword [rsp + 0x3120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006945b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006945b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ad85c
movdqa xmm0, xmmword [0x1803f50e0]
movdqu xmmword [rsp + 0x3130], xmm0
mov byte [rsp + 0x3120], 0
mov rax, qword [rsp + 0x31f0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x31f0], rax
mov rax, qword [rsp + 0x31f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x31ec], edx
lea rcx, [rsp + 0x31f8]
call fcn.18006aa70
lea rcx, [rsp + 0x3200]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x3278]
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 [rsp + 0x3158]
cmp rdx, 0x10
jb 0x18006951d
inc rdx
mov rcx, qword [rsp + 0x3140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180069518
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ad85c
mov qword [rsp + 0x3150], rsi
mov qword [rsp + 0x3158], 0xf
mov byte [rsp + 0x3140], 0
mov rdx, qword [rsp + 0x3178]
cmp rdx, 8
jb 0x180069584
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006957f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006957f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ad85c
movdqa xmm0, xmmword [0x1803f50c0]
movdqu xmmword [rsp + 0x3170], xmm0
mov word [rsp + 0x3160], si
mov rdx, qword [rsp + 0x31c0]
cmp rdx, 8
jb 0x1800695e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x31a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800695e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800695e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ad85c
xor al, al
jmp 0x180069601
call fcn.18006c630
mov rcx, r13
call fcn.180067ec0
jmp 0x180069601
xor al, al
jmp 0x180069601
mov rcx, qword [rsp + 0x36e0]
xor rcx, rsp
call fcn.1800ad110
lea r11, [rsp + 0x36f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.180003b90
call fcn.180003af0
call fcn.180003af0
nop
call fcn.1800ad998
int3