Function at 0x180057790
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1800577bc
mov rax, qword [rcx + 0x10]
mov byte [rax + 8], dl
add qword [rcx + 0x10], 0x10
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.180044df0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
mov byte [rcx + 8], 0x45
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], 0
jle 0x1800577e4
mov rcx, rbx
call fcn.18002c200
lea rdx, str.name
mov rcx, rbx
call fcn.18003e480
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], 0
jle 0x18005781b
mov rcx, rbx
call fcn.18002c200
cmp qword [rdi + 0x40], 0xf
lea rdx, [rdi + 0x28]
jbe 0x180057829
mov rdx, qword [rdx]
test rdx, rdx
jne 0x180057837
mov rax, qword [rbx + 0x10]
mov byte [rax + 8], dl
jmp 0x18005784f
mov rcx, rbx
call fcn.18003e480
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], 0
jle 0x180057867
mov rcx, rbx
call fcn.18002c200
mov edx, 0xfffffffd
mov rcx, rbx
call fcn.180019960
lea rdx, str.pos_x
mov rcx, rbx
call fcn.18003e480
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], 0
jle 0x1800578ab
mov rcx, rbx
call fcn.18002c200
movss xmm0, dword [rdi + 8]
mov edx, 0xfffffffd
mov rax, qword [rbx + 0x10]
mov rcx, rbx
cvtps2pd xmm0, xmm0
mov byte [rax + 8], 0x13
movsd qword [rax], xmm0
add qword [rbx + 0x10], 0x10
call fcn.180019960
lea rdx, str.pos_y
mov rcx, rbx
call fcn.18003e480
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], 0
jle 0x180057908
mov rcx, rbx
call fcn.18002c200
movss xmm0, dword [rdi + 0xc]
mov edx, 0xfffffffd
mov rax, qword [rbx + 0x10]
mov rcx, rbx
cvtps2pd xmm0, xmm0
mov byte [rax + 8], 0x13
movsd qword [rax], xmm0
add qword [rbx + 0x10], 0x10
call fcn.180019960
lea rdx, str.userid
mov rcx, rbx
call fcn.18003e480
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], 0
jle 0x180057965
mov rcx, rbx
call fcn.18002c200
mov rcx, qword [rbx + 0x10]
mov edx, 0xfffffffd
movsxd rax, dword [rdi + 0x13c]
mov qword [rcx], rax
mov byte [rcx + 8], 3
mov rcx, rbx
add qword [rbx + 0x10], 0x10
call fcn.180019960
lea rdx, [0x18018ed68]
mov rcx, rbx
call fcn.18003e480
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], 0
jle 0x1800579c0
mov rcx, rbx
call fcn.18002c200
mov rcx, qword [rbx + 0x10]
mov edx, 0xfffffffd
movsxd rax, dword [rdi + 0x48]
mov qword [rcx], rax
mov byte [rcx + 8], 3
mov rcx, rbx
add qword [rbx + 0x10], 0x10
call fcn.180019960
lea rdx, str.country
mov rcx, rbx
call fcn.18003e480
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], 0
jle 0x180057a18
mov rcx, rbx
call fcn.18002c200
lea rdx, [rdi + 0x150]
cmp qword [rdx + 0x18], 0xf
jbe 0x180057a29
mov rdx, qword [rdx]
test rdx, rdx
jne 0x180057a37
mov rax, qword [rbx + 0x10]
mov byte [rax + 8], dl
jmp 0x180057a4f
mov rcx, rbx
call fcn.18003e480
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rbx + 0x18]
add qword [rbx + 0x10], 0x10
cmp qword [rax + 0x18], 0
jle 0x180057a67
mov rcx, rbx
call fcn.18002c200
mov edx, 0xfffffffd
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180019960