Function at 0x140040fc0
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140041277
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x58], bl
mov byte [rsp + 0x59], cl
mov rdx, qword [r14 + 0x30]
nop
inc dword [rdx + 0xd8]
mov rdx, qword [r14 + 0x30]
mov qword [rsp + 0x28], rdx
test cl, cl
jne 0x140041019
mov qword [rsp + 0x50], rax
nop
nop
lea rax, [0x14076f158]
call fcn.14000cf80
mov rax, qword [rsp + 0x50]
movzx ecx, byte [rsp + 0x59]
mov rdx, qword [rsp + 0x28]
movzx ebx, byte [rsp + 0x58]
test rax, rax
jne 0x140041047
nop
test bl, bl
jne 0x140041265
xor eax, eax
call fcn.140049ee0
test rax, rax
je 0x140041164
movzx ecx, byte [rsp + 0x59]
mov rdx, qword [rsp + 0x28]
movzx ebx, byte [rsp + 0x58]
mov rsi, qword [0x14076f160]
nop
test rsi, rsi
je 0x14004106b
mov rdi, qword [rsi + 0x120]
mov qword [0x14076f160], rdi
dec dword [0x14076f168]
test rsi, rsi
mov qword [rsp + 0x30], rax
je 0x1400410cc
test cl, cl
jne 0x14004109d
mov qword [rsp + 0x38], rsi
nop
nop
lea rax, [0x14076f158]
call fcn.14000d1e0
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
movzx ebx, byte [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
cmp byte [rsi + 0xe4], 0
jne 0x14004124f
cmp qword [rsi + 0xa8], 0
jne 0x14004123e
test bl, bl
je 0x1400410c5
nop dword [rax]
jmp 0x1400411fd
xor ecx, ecx
jmp 0x1400411ad
call fcn.14003d7e0
mov qword [rsp + 0x18], rax
movzx ecx, byte [rsp + 0x58]
movzx ecx, cl
mov qword [rsp + 0x20], rcx
nop
nop
lea rax, [0x14076f158]
call fcn.14000d1e0
mov rax, qword [rsp + 0x20]
test rax, rax
mov eax, 0
lea rcx, [0x1404c7ee8]
cmovne rax, rcx
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
call fcn.140040a20
movzx eax, byte [rsp + 0x59]
nop dword [rax]
test al, al
je 0x140041132
nop
nop
lea rax, [0x14076f158]
call fcn.14000cf80
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0xd8]
lea edx, [rcx - 1]
nop
mov dword [rax + 0xd8], edx
cmp ecx, 1
jne 0x14004115e
cmp byte [r14 + 0xb1], 0
je 0x14004115e
mov qword [r14 + 0x10], 0xfffffffffffffade
add rsp, 0x40
pop rbp
ret
movzx ecx, byte [rsp + 0x59]
test cl, cl
jne 0x14004117b
nop
nop
lea rax, [0x14076f158]
call fcn.14000d1e0
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0xd8]
lea edx, [rcx - 1]
nop
mov dword [rax + 0xd8], edx
cmp ecx, 1
jne 0x1400411a7
cmp byte [r14 + 0xb1], 0
je 0x1400411a7
mov qword [r14 + 0x10], 0xfffffffffffffade
add rsp, 0x40
pop rbp
ret
mov byte [rsi + 0xe4], cl
lea rcx, [rsi + 0x110]
mov qword [rsi + 0xa8], rax
mov rax, rcx
call fcn.14000d2e0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
nop
mov dword [rcx + 0xd8], ebx
nop
cmp edx, 1
jne 0x1400411f7
cmp byte [r14 + 0xb1], 0
je 0x1400411f7
mov qword [r14 + 0x10], 0xfffffffffffffade
add rsp, 0x40
pop rbp
ret
mov ecx, dword [rax + 0x190]
mov edi, dword [rax + 0x194]
mov r8, qword [rax + 0x998]
mov r9d, dword [rax + 0x194]
cmp r9d, edi
jne 0x1400411fd
nop dword [rax]
cmp edi, ecx
jne 0x14004122d
test r8, r8
jne 0x14004122d
mov ecx, ebx
jmp 0x1400411ad
lea rax, [0x140498aee]
mov ebx, 0x19
call fcn.140039ca0
lea rax, [0x1404918a1]
mov ebx, 0xf
call fcn.140039ca0
lea rax, [0x140495d79]
mov ebx, 0x15
nop dword [rax + rax]
call fcn.140039ca0
lea rax, [0x14049f151]
mov ebx, 0x24
call fcn.140039ca0
nop
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov byte [rsp + 0x11], cl
call fcn.14006aec0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
movzx ecx, byte [rsp + 0x11]
jmp fcn.140040fc0