Function at 0x14003648a
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
movaps xmmword [rsp + 0x1d0], xmm7
movaps xmmword [rsp + 0x1c0], xmm6
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140101018]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov word [rcx + 0xd8], 0
movaps xmm6, xmmword [section..rdata]
lea r14, [rsp + 0x60]
movaps xmmword [r14], xmm6
mov rcx, rdx
mov rdx, r14
call fcn.140060990
lea r15, [rsp + 0x50]
movaps xmmword [r15], xmm6
mov rcx, rdi
mov rdx, r15
call fcn.1400609c2
mov rcx, r14
mov rdx, r15
call fcn.14005de9a
test al, al
jne 0x140036b1c
lea rdi, [rsp + 0x60]
xorps xmm7, xmm7
lea r13, [rsp + 0x160]
xor r15d, r15d
mov r12, rdi
mov rcx, rdi
call fcn.14005de8c
mov rbp, rax
movaps xmmword [rsp + 0x1a0], xmm6
movaps xmmword [rsp + 0x190], xmm6
mov rdx, qword [str.time]
mov rcx, rax
call fcn.140060162
mov rcx, rax
lea rdi, [rsp + 0x190]
mov rdx, rdi
call fcn.14005e9d2
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm7
mov dword [rsp + 0x40], 0xffffffff
mov r8d, 0xf0
lea r14, [rsp + 0x70]
mov rcx, r14
mov dl, 0xaa
call fcn.1400a3cc0
mov rcx, r14
mov rdx, rdi
mov r8d, 1
mov r9d, 1
call fcn.14001cb5c
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 4]
lea rdi, [rsp + rax]
add rdi, 0x70
xor ecx, ecx
xor edx, edx
call fcn.1400bc330
mov rcx, r13
mov rdx, rax
mov r8d, 0x3f
call fcn.140036bf0
mov rcx, rdi
lea rdx, [rsp + 0x180]
mov r8, r13
call fcn.140036b50
mov rcx, qword [rsp + 0x188]
test rcx, rcx
je 0x140036618
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140119008]
test rax, rax
je 0x140036618
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, r8
call qword [0x140119008]
mov rcx, qword [rsp + 0x168]
test rcx, rcx
lea rdi, [rsp + 0x20]
je 0x140036653
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140119008]
test rax, rax
je 0x140036653
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, r8
call qword [0x140119008]
mov qword [rsp + 0x160], rdi
lea rax, str._Y__m__dT_H:_M:_S
mov qword [rsp + 0x168], rax
lea rax, [0x1400dfe1a]
mov qword [rsp + 0x170], rax
mov rcx, r14
mov rdx, r13
call fcn.140036c94
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 4]
test byte [rsp + rax + 0x80], 6
je 0x14003669b
xor edi, edi
jmp 0x1400366b2
mov rcx, rdi
call fcn.1400b5d7c
mov rdi, rax
test rax, rax
mov eax, 0
cmovle rdi, rax
test bl, bl
je 0x1400366ca
test r15, r15
je 0x1400366ca
mov r14d, 3
cmp rdi, r15
jb 0x140036a9a
movzx eax, word [rsi + 0xd8]
lea rax, [rax + rax*8]
shl rax, 5
mov qword [rsi + rax + 0xe0], rdi
mov rdx, qword [str.t_r_]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
mov rdx, r13
call fcn.14005e9d2
cmp qword [rsp + 0x178], 0x10
mov r9, r13
jb 0x140036711
mov r9, qword [rsp + 0x160]
movzx eax, word [rsi + 0xd8]
lea rax, [rax + rax*8]
shl rax, 5
lea rcx, [rsi + rax]
add rcx, 0xe8
mov edx, 0xa
lea r14, [0x1400d5010]
mov r8, r14
call fcn.140001054
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x14003675d
mov rcx, qword [rsp + 0x160]
inc rdx
call fcn.14000154d
mov rdx, qword [str.city]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
mov rdx, r13
call fcn.14005e9d2
cmp qword [rsp + 0x178], 0x10
mov r9, r13
jb 0x14003678d
mov r9, qword [rsp + 0x160]
movzx eax, word [rsi + 0xd8]
lea rax, [rax + rax*8]
shl rax, 5
lea rcx, [rsi + rax]
add rcx, 0xf2
mov edx, setsockopt
mov r8, r14
call fcn.140001054
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x1400367d2
mov rcx, qword [rsp + 0x160]
inc rdx
call fcn.14000154d
mov rdx, qword [str.num_connections]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
call fcn.14005eb32
movzx ecx, word [rsi + 0xd8]
lea rcx, [rcx + rcx*8]
shl rcx, 5
mov word [rsi + rcx + 0x106], ax
mov rdx, qword [str.download]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
call fcn.14005f458
movzx eax, word [rsi + 0xd8]
lea rax, [rax + rax*8]
shl rax, 5
movsd qword [rsi + rax + 0x108], xmm0
mov rdx, qword [str.upload]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
call fcn.14005f458
movzx eax, word [rsi + 0xd8]
lea rax, [rax + rax*8]
shl rax, 5
movsd qword [rsi + rax + 0x110], xmm0
mov rdx, qword [str.latency]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
call fcn.14005ed96
movzx ecx, word [rsi + 0xd8]
lea rcx, [rcx + rcx*8]
shl rcx, 5
mov word [rsi + rcx + 0x1f2], ax
mov rdx, qword [str.type]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
call fcn.14005ed96
movzx ecx, word [rsi + 0xd8]
lea rcx, [rcx + rcx*8]
shl rcx, 5
add rcx, rsi
add rcx, 0x1e4
cmp eax, 2
jne 0x1400369cd
mov dword [rcx], 1
mov rdx, qword [str.resolution]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
mov rdx, r13
call fcn.14005e9d2
cmp qword [rsp + 0x178], 0x10
mov r9, r13
jb 0x1400368fb
mov r9, qword [rsp + 0x160]
movzx eax, word [rsi + 0xd8]
lea rax, [rax + rax*8]
shl rax, 5
lea rcx, [rsi + rax]
add rcx, 0x1e8
mov edx, 6
mov r8, r14
call fcn.140001054
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x140036940
mov rcx, qword [rsp + 0x160]
inc rdx
call fcn.14000154d
mov rdx, qword [0x1400e8c10]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
call fcn.14005ed96
movzx ecx, word [rsi + 0xd8]
lea rcx, [rcx + rcx*8]
shl rcx, 5
mov word [rsi + rcx + 0x1ee], ax
mov rdx, qword [str.jitter]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
call fcn.14005ed96
movzx ecx, word [rsi + 0xd8]
lea rcx, [rcx + rcx*8]
shl rcx, 5
mov word [rsi + rcx + 0x1f0], ax
mov rdx, qword [str.loss]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
call fcn.14005f458
movzx eax, word [rsi + 0xd8]
lea rax, [rax + rax*8]
shl rax, 5
movsd qword [rsi + rax + 0x1f8], xmm0
jmp 0x1400369d3
mov dword [rcx], 0
mov rdx, qword [str.te_r_]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
call fcn.14005f556
movzx ecx, word [rsi + 0xd8]
lea rcx, [rcx + rcx*8]
shl rcx, 5
mov byte [rsi + rcx + 0x118], al
mov rdx, qword [0x1400e7db8]
mov rcx, rbp
call fcn.140060162
mov rcx, rax
mov rdx, r13
call fcn.14005e9d2
cmp qword [rsp + 0x178], 0x10
mov r9, r13
jb 0x140036a30
mov r9, qword [rsp + 0x160]
movzx eax, word [rsi + 0xd8]
lea rax, [rax + rax*8]
shl rax, 5
lea rcx, [rsi + rax]
add rcx, 0x119
mov edx, 0xc8
mov r8, r14
call fcn.140001054
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x140036a75
mov rcx, qword [rsp + 0x160]
inc rdx
call fcn.14000154d
test bl, bl
jne 0x140036a94
mov eax, dword [rsi + 0xd8]
inc eax
mov word [rsi + 0xd8], ax
mov r14d, 2
cmp ax, 5
je 0x140036a97
xor r14d, r14d
mov r15, rdi
lea rdi, [rsp + 0x100]
mov rcx, rdi
call fcn.140037b90
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x100], rax
mov rcx, rdi
call fcn.140079e64
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 0x10
jb 0x140036adf
mov rcx, qword [rsp + 0x190]
inc rdx
call fcn.14000154d
cmp r14d, 3
mov rdi, r12
je 0x140036aed
test r14d, r14d
jne 0x140036b0a
mov rcx, rdi
call fcn.14005de94
mov rcx, rdi
lea rdx, [rsp + 0x50]
call fcn.14005de9a
test al, al
je 0x140036526
test bl, bl
je 0x140036b1c
test r15, r15
je 0x140036b1c
mov word [rsi + 0xd8], 1
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140079b60
movaps xmm6, xmmword [rsp + 0x1c0]
movaps xmm7, xmmword [rsp + 0x1d0]
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret