Function at 0x1400195c0
Capabilities:
Encode data using xor
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1400]
mov eax, 0x1500
call fcn.140163200
sub rsp, rax
mov rax, qword [0x1401cca00]
xor rax, rsp
mov qword [rbp + 0x13f0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
movabs rax, 0x5555555555555555
mov qword [rbp + 0x13e8], rax
mov qword [rbp + 0x68], rdx
lea eax, [r13 + 1]
movabs r8, 0x5851f42d4c957f2d
nop dword [rax]
nop dword [rax + rax]
mov rcx, rdx
shr rcx, 0x3e
xor rdx, rcx
imul rdx, r8
add rdx, rax
mov qword [rbp + rax*8 + 0x68], rdx
inc rax
cmp rax, 0x138
jb 0x140019640
mov dword [rbp + 0x60], 0x138
lea rcx, [rbp + 0x60]
call fcn.14002b0c0
mov rcx, rax
mov eax, 0x5cb7e4e1
mul rcx
cmp rax, 0x5cb7e4e1
jae 0x1400196ac
cmp rax, 0x431dd307
jae 0x1400196ac
nop dword [rax]
lea rcx, [rbp + 0x60]
call fcn.14002b0c0
mov rcx, rax
mov eax, 0x5cb7e4e1
mul rcx
cmp rax, 0x431dd307
jb 0x140019690
xor ecx, ecx
mov r12d, 0x40
mov qword [rsp + 0x38], rcx
mov ecx, r12d
and ecx, 0x3f
shr rdx, cl
movabs r15, 0x7fffffffd1a40d90
lea rcx, [rdx + r15]
movabs rdi, 0x8000000000000000
lea rax, [rcx + rdi]
lea r14, [rcx + rdi]
cmp rcx, rdi
cmovae r14, rax
lea rcx, [rbp + 0x60]
call fcn.14002b0c0
mov rcx, rax
mov eax, 0x5cb7e4e1
mul rcx
cmp rax, 0x5cb7e4e1
jae 0x14001972c
cmp rax, 0x431dd307
jae 0x14001972c
nop dword [rax]
lea rcx, [rbp + 0x60]
call fcn.14002b0c0
mov rcx, rax
mov eax, 0x5cb7e4e1
mul rcx
cmp rax, 0x431dd307
jb 0x140019710
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov ecx, r12d
and ecx, 0x3f
shr rdx, cl
lea rcx, [rdx + r15]
lea rax, [rcx + rdi]
lea r15, [rcx + rdi]
cmp rcx, rdi
cmovae r15, rax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1401a33c8]
mov qword [rsp + 0x60], rax
lea rax, [0x1401a0510]
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r12, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], r13d
cmp byte [0x14027277e], 0
jne 0x1400198b2
cmp qword [rbx + 0x98], 0
je 0x1400198b2
cmp qword [rbx + 0xb8], 0
je 0x1400198b2
lea rdi, [rbx + 0x88]
lea rdx, str.tankIDName
lea rcx, [rsp + 0x70]
call fcn.140027000
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140019836
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdi, [rbx + 0xa8]
lea rdx, str.tankIDPass
lea rcx, [rsp + 0x70]
call fcn.140027000
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140019876
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, str.requestedName
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rcx, rax
lea rdx, str.SmileZero
call fcn.140027000
jmp 0x1400198e3
lea rdi, [rbx + 0x88]
lea rdx, str.requestedName
lea rcx, [rsp + 0x70]
call fcn.140027000
cmp qword [rdi + 0x18], 0xf
mov r8, qword [rdi + 0x10]
jbe 0x1400198d8
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400297f0
lea rdx, [0x1401981bc]
mov rcx, rax
call fcn.140027000
lea rdx, [0x14019edcc]
lea rcx, [rsp + 0x70]
call fcn.140027000
movzx edx, byte [rbx + 0x118]
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___bool____ptr64]
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, str.protocol
lea rcx, [rsp + 0x70]
call fcn.140027000
mov edx, 0xcc
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, [0x1401981bc]
call fcn.140027000
lea rdx, str.game_version
lea rcx, [rsp + 0x70]
call fcn.140027000
lea rdx, str.4.48
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdx, qword [str.4.48]
mov r8, qword [reloc.WS2_32.dll_connect]
mov rcx, rax
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, [0x14019edf0]
lea rcx, [rsp + 0x70]
call fcn.140027000
mov edx, 0xfff228
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, [0x1401981bc]
call fcn.140027000
lea rdx, str.lmode
lea rcx, [rsp + 0x70]
call fcn.140027000
mov edx, dword [rbx + 0x114]
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, [0x1401981bc]
call fcn.140027000
lea rdx, str.cbits
lea rcx, [rsp + 0x70]
call fcn.140027000
mov r8, rax
movzx ecx, byte [rbx + 0x120]
add ecx, ecx
movzx eax, byte [rbx + 0x11f]
or ecx, eax
add ecx, ecx
movzx eax, byte [rbx + 0x11d]
or ecx, eax
add ecx, ecx
movzx eax, byte [rbx + 0x11c]
or ecx, eax
add ecx, ecx
movzx eax, byte [rbx + 0x11a]
or ecx, eax
shl ecx, 2
movzx eax, byte [rbx + 0x121]
or ecx, eax
add ecx, ecx
movzx eax, byte [rbx + 0x11e]
or ecx, eax
add ecx, ecx
movzx eax, byte [rbx + 0x11b]
or ecx, eax
add ecx, ecx
movzx edx, byte [rbx + 0x122]
shl edx, 4
or edx, ecx
mov rcx, r8
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, [0x1401981bc]
call fcn.140027000
lea rdx, str.player_age
lea rcx, [rsp + 0x70]
call fcn.140027000
mov edx, Ordinal_26
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, [0x1401981bc]
call fcn.140027000
lea rdx, str.GDPR
lea rcx, [rsp + 0x70]
call fcn.140027000
mov edx, 1
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, [0x1401981bc]
call fcn.140027000
lea rdx, str.category
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rcx, rax
lea rdx, str.wotd_world
call fcn.140027000
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, str.totalPlaytime
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rcx, rax
lea rdx, [0x1401981e8]
call fcn.140027000
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, str.hash2
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rdx, r15
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdi, [rbx + 0x128]
lea rdx, str.meta
lea rcx, [rsp + 0x70]
call fcn.140027000
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140019b8e
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, [0x14019ee60]
lea rcx, [rsp + 0x70]
call fcn.140027000
mov edx, 0x14cb
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, [0x1401981bc]
call fcn.140027000
lea rdx, str.fhash
lea rcx, [rsp + 0x70]
call fcn.140027000
mov edx, 0xd5448bfc
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, [0x1401981bc]
call fcn.140027000
lea rdi, [rbx + 0x148]
lea rdx, str.rid
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140019c29
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, str.platformID
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rcx, rax
lea rdx, str.0_1_1
call fcn.140027000
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, str.deviceVersion
lea rcx, [rsp + 0x70]
call fcn.140027000
xor edx, edx
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, [0x1401981bc]
call fcn.140027000
lea rdx, [0x14019eea8]
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rcx, rax
lea rdx, [0x14019eea0]
call fcn.140027000
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, str.hash
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rdx, r14
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea r14, [rbx + 0x168]
lea rdx, str.mac
lea rcx, [rsp + 0x70]
call fcn.140027000
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x140019d1f
mov r14, qword [r14]
mov rdx, r14
mov rcx, rax
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, [0x14019eec4]
lea rcx, [rsp + 0x70]
call fcn.140027000
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140019d58
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, [0x14019eed4]
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rcx, rax
lea rdx, str.1439718481
call fcn.140027000
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
lea rdx, str.klv
lea rcx, [rsp + 0x70]
call fcn.140027000
mov rdi, rax
lea r9, [rbx + 0x148]
lea rcx, [rsp + 0x30]
call fcn.140018d00
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140019dd5
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
nop
lea rcx, [rsp + 0x30]
call fcn.140003a10
cmp dword [rbx + 0x188], 0
je 0x140019e6a
cmp dword [rbx + 0x18c], 0
je 0x140019e6a
lea rdx, [0x14019eee0]
lea rcx, [rsp + 0x70]
call fcn.140027000
mov edx, dword [rbx + 0x188]
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, [0x1401981bc]
call fcn.140027000
lea rdx, str.token
lea rcx, [rsp + 0x70]
call fcn.140027000
mov edx, dword [rbx + 0x18c]
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, [0x1401981bc]
call fcn.140027000
lea rdi, [rbx + 0x198]
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140019e82
mov rcx, qword [rdi]
test r8, r8
jne 0x140019e97
lea rdx, [0x1401980f9]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140019ed0
lea rdx, str.UUIDToken
lea rcx, [rsp + 0x70]
call fcn.140027000
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140019eb6
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
add rbx, 0x1b8
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140019ee8
mov rcx, qword [rbx]
test r8, r8
jne 0x140019efd
lea rdx, [0x1401980f9]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140019f37
lea rdx, str.doorID
lea rcx, [rsp + 0x70]
call fcn.140027000
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140019f1c
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400297f0
mov rcx, rax
lea rdx, [0x1401981bc]
call fcn.140027000
nop
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x20], 0xa
movups xmmword [rsp + 0x30], xmm0
mov ecx, dword [rbp - 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140019f85
mov rax, qword [rbp - 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140019f85
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x20]
cmovb r8, qword [rbp - 0x20]
sub r8, rdx
jmp 0x140019fb6
test cl, 4
jne 0x140019fac
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x140019fac
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140019fb6
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140019fc4
mov rcx, rsi
call fcn.140003a70
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x5c], r8d
mov qword [rsp + 0x78], r12
lea rcx, [rsp + 0x78]
call fcn.1400252d0
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x80]
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 - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rsi
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.140162570
mov rbx, qword [rsp + 0x1550]
add rsp, 0x1500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret