Function at 0x140036fc4
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rdi, rdx
mov rsi, rcx
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.140002e30
cmp byte [rbx], 0
je 0x140037009
mov rax, qword [rsp + 0x50]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400373e7
cmp byte [rsp + 0x49], 0
je 0x14003728d
movzx eax, byte [rsp + 0x4a]
cmp eax, 0x5b
je 0x1400371be
cmp eax, 0x7b
jne 0x1400372d7
dec byte [rdi + 0x30]
je 0x1400372be
inc qword [rdi + 0x28]
lea r14, [rdi + 0x18]
mov bpl, 1
mov qword [rsp + 0x58], 0
lea r15, [rsp + 0x48]
lea r12, [rsp + 0x28]
mov qword [rsp + 0x60], 0
mov rcx, r15
mov rdx, rdi
call fcn.140002e30
cmp byte [rsp + 0x48], 0
jne 0x14003722a
cmp byte [rsp + 0x49], 0
je 0x140037321
mov al, byte [rsp + 0x4a]
movzx ecx, al
cmp ecx, 0x2c
je 0x14003709c
cmp ecx, 0x7d
je 0x14003729b
test bpl, 1
jne 0x1400370a2
jmp 0x14003735e
test bpl, 1
je 0x1400370a6
xor ebp, ebp
jmp 0x1400370cf
inc qword [rdi + 0x28]
mov rcx, r12
mov rdx, rdi
call fcn.140002e30
cmp byte [rsp + 0x28], 0
jne 0x1400372f3
cmp byte [rsp + 0x29], 0
je 0x140037416
mov al, byte [rsp + 0x2a]
cmp al, 0x22
jne 0x1400372fd
inc qword [rdi + 0x28]
and qword [rdi + 0x10], 0
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.140111d47
cmp dword [rsp + 0x28], 2
mov rbx, qword [rsp + 0x30]
je 0x14003722f
mov r13, qword [rsp + 0x38]
mov r9d, 9
mov rcx, rbx
mov rdx, r13
lea r8, [0x1403b9921]
call fcn.140063a63
test al, al
jne 0x140037151
mov r9d, 8
mov rcx, rbx
mov rdx, r13
lea r8, [0x1403b992a]
call fcn.140063a63
test al, al
jne 0x14003718b
mov rcx, rdi
call fcn.140017a79
test rax, rax
je 0x14003705b
jmp 0x14003727f
test byte [rsp + 0x60], 1
jne 0x140037432
mov rcx, r12
mov rdx, rdi
call fcn.140017f5d
test byte [rsp + 0x28], 1
jne 0x14003733e
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov eax, 1
mov qword [rsp + 0x60], rax
jmp 0x14003705b
test byte [rsp + 0x58], 1
jne 0x140037440
mov rcx, r12
mov rdx, rdi
call fcn.140017f5d
test byte [rsp + 0x28], 1
jne 0x14003733e
movsd xmm6, qword [rsp + 0x30]
mov al, 1
mov qword [rsp + 0x58], rax
jmp 0x14003705b
dec byte [rdi + 0x30]
je 0x1400372be
inc qword [rdi + 0x28]
lea rdx, [rsp + 0x48]
mov qword [rdx], rdi
mov byte [rdx + 8], 1
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.140019d75
mov rax, qword [rbx]
cmp rax, 2
je 0x14003721e
test rax, rax
je 0x140037316
lea rbx, [rsp + 0x28]
mov r15, qword [rbx + 8]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140019d75
mov rax, qword [rbx]
cmp rax, 1
je 0x14003723d
cmp eax, 2
jne 0x140037345
mov r15, qword [rsp + 0x30]
mov ebx, 1
jmp 0x140037245
mov rbx, qword [rsp + 0x50]
mov r14d, 1
mov r15, rbx
jmp 0x140037397
movsd xmm6, qword [rsp + 0x30]
xor ebx, ebx
inc byte [rdi + 0x30]
mov rcx, rdi
call fcn.140003026
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r15
movsd qword [rsp + 0x38], xmm6
mov qword [rsp + 0x40], rax
test rbx, rbx
jne 0x1400373c0
xor ebx, ebx
test rax, rax
setne bl
cmovne r15, rax
jmp 0x1400373d4
mov r14d, 1
mov r15, rax
jmp 0x140037397
lea rdx, [rsp + 0x28]
mov qword [rdx], 5
jmp 0x1400372ca
test byte [rsp + 0x60], 1
je 0x14003736f
test byte [rsp + 0x58], 1
je 0x14003737d
xor r14d, r14d
mov r15, qword [rsp + 0x68]
jmp 0x140037397
lea rdx, [rsp + 0x28]
mov qword [rdx], 0x15
mov rcx, rdi
call fcn.1402e70a0
jmp 0x140036ff9
lea r8, [0x1402f3ae8]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1402e711e
mov r15, rax
jmp 0x140037400
mov rbx, qword [rsp + 0x30]
jmp 0x14003722f
movzx eax, al
lea rdx, [rsp + 0x28]
cmp eax, 0x7d
jne 0x140037332
mov qword [rdx], 0x12
jmp 0x140037422
lea rdx, str.struct_Location_with_2_elements
xor ecx, ecx
jmp 0x140037351
lea rdx, [rsp + 0x28]
mov qword [rdx], 3
jmp 0x140037422
mov qword [rdx], 0x10
jmp 0x140037422
mov r15, qword [rsp + 0x30]
jmp 0x140037391
lea rdx, str.struct_Location_with_2_elements
mov ecx, 1
call fcn.1402e786b
mov r15, rax
jmp 0x140037223
lea rdx, [rsp + 0x28]
mov qword [rdx], 8
jmp 0x140037422
lea rcx, [0x1403b9921]
mov edx, 9
jmp 0x140037389
lea rcx, [0x1403b992a]
mov edx, 8
call fcn.1402e7815
mov r15, rax
mov r14d, 1
inc byte [rdi + 0x30]
mov rcx, rdi
call fcn.140002fb1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r15
movsd qword [rsp + 0x38], xmm6
mov qword [rsp + 0x40], rax
test r14, r14
je 0x14003726e
mov ebx, 1
test rax, rax
je 0x1400373d4
lea rcx, [rsp + 0x40]
call fcn.140009e9b
test rbx, rbx
jne 0x140037400
mov qword [rsi + 8], r15
movsd qword [rsi + 0x10], xmm6
xor eax, eax
mov qword [rsi], rax
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
mov rdx, r15
call fcn.1402e70dc
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400373e4
lea rdx, [rsp + 0x28]
mov qword [rdx], 5
mov rcx, rdi
call fcn.1402e70a0
mov rbx, rax
jmp 0x14003722f
lea rcx, [0x1403b9921]
mov edx, 9
jmp 0x14003744c
lea rcx, [0x1403b992a]
mov edx, 8
call fcn.1402e7938
jmp 0x14003738e