Function at 0x4ed620
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4edb66
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x70], r8
nop dword [rax]
test dil, dil
je 0x4ed64d
test rbx, rbx
setl dl
jmp 0x4ed64f
xor edx, edx
test dl, dl
je 0x4ed656
neg rbx
mov byte [rsp + 0x27], dl
mov qword [rsp + 0x50], rax
lea r10, [rax + 0x28]
cmp byte [rax + 8], 0
jne 0x4ed66f
cmp byte [rax + 9], 0
je 0x4ed6e8
mov r11, qword [rax + 0x18]
add r11, qword [rax + 0x20]
add r11, 3
nop dword [rax + rax]
cmp r11, 0x44
jg 0x4ed68d
mov edi, 0x44
jmp 0x4ed6ed
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x6c], esi
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x38], rbx
lea rax, [0x009ed580]
mov rbx, r11
mov rcx, rbx
call fcn.0044afc0
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rsp + 0x27]
mov rbx, qword [rsp + 0x38]
mov esi, dword [rsp + 0x6c]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x28]
mov r10, rax
mov rax, qword [rsp + 0x50]
jmp 0x4ed6ed
mov edi, 0x44
cmp byte [rax + 9], 0
je 0x4ed731
mov r11, qword [rax + 0x20]
test r11, r11
jne 0x4ed759
nop dword [rax]
test rbx, rbx
jne 0x4ed759
movzx ecx, byte [rax + 0xe]
mov byte [rsp + 0x25], cl
mov byte [rax + 0xe], 0
mov rbx, qword [rax + 0x18]
call fcn.004ecb40
movzx ecx, byte [rsp + 0x25]
mov rdx, qword [rsp + 0x50]
mov byte [rdx + 0xe], cl
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
cmp byte [rax + 0xe], 0
je 0x4ed756
cmp byte [rax + 8], 0
je 0x4ed756
mov r11, qword [rax + 0x18]
test dl, dl
jne 0x4ed751
cmp byte [rax + 0xb], 0
jne 0x4ed751
cmp byte [rax + 0xd], 0
je 0x4ed759
dec r11
jmp 0x4ed759
xor r11d, r11d
cmp rcx, 8
jg 0x4ed785
nop
cmp rcx, 2
jne 0x4ed76e
mov r12, rdi
jmp 0x4edb45
cmp rcx, 8
jne 0x4eda7c
mov r12, rdi
nop dword [rax + rax]
jmp 0x4edb06
cmp rcx, 0xa
jne 0x4ed793
mov r12, rdi
jmp 0x4edaaa
cmp rcx, 0x10
jne 0x4eda7c
mov r12, rdi
jmp 0x4ed7b6
mov byte [rdi + r10 - 1], dl
shr r13, 4
movzx edx, byte [rsp + 0x27]
mov rbx, r13
mov rdi, r15
cmp rbx, 0x10
jb 0x4ed7e0
mov r13, rbx
and rbx, 0xf
cmp r9, rbx
jbe 0x4eda71
lea r15, [rdi - 1]
movzx edx, byte [r8 + rbx]
cmp r12, r15
ja 0x4ed7a2
jmp 0x4eda66
cmp r9, rbx
jbe 0x4eda5b
lea r13, [rdi - 1]
movzx r15d, byte [rbx + r8]
cmp r12, r13
jbe 0x4eda50
mov byte [rdi + r10 - 1], r15b
jmp 0x4ed80e
mov byte [r13 + r10 - 1], 0x30
dec r13
mov r12, rdi
test r13, r13
jle 0x4ed822
mov rdi, r12
sub r12, r13
cmp r11, r12
jg 0x4ed802
nop
jmp 0x4ed825
mov rdi, r12
cmp byte [rax + 0xc], 0
je 0x4ed8e8
cmp rcx, 2
jne 0x4ed867
lea r8, [r13 - 1]
nop dword [rax]
cmp rdi, r8
jbe 0x4eda45
mov byte [r13 + r10 - 1], 0x62
lea r8, [r13 - 2]
cmp rdi, r8
jbe 0x4eda35
mov byte [r13 + r10 - 2], 0x30
jmp 0x4ed8eb
cmp rcx, 8
jne 0x4ed8a2
cmp r13, rdi
jae 0x4eda2a
movzx r8d, byte [r10 + r13]
nop dword [rax + rax]
cmp r8b, 0x30
je 0x4ed89b
lea r8, [r13 - 1]
cmp rdi, r8
jbe 0x4eda1f
mov byte [r13 + r10 - 1], 0x30
jmp 0x4ed8eb
mov r8, r13
nop
jmp 0x4ed8eb
cmp rcx, 0x10
jne 0x4ed8e3
cmp r9, 0x10
jbe 0x4eda12
lea r9, [r13 - 1]
movzx r8d, byte [r8 + 0x10]
nop dword [rax + rax]
cmp rdi, r9
jbe 0x4eda07
mov byte [r13 + r10 - 1], r8b
lea r8, [r13 - 2]
cmp rdi, r8
jbe 0x4ed9fc
mov byte [r13 + r10 - 2], 0x30
jmp 0x4ed8eb
mov r8, r13
jmp 0x4ed8eb
mov r8, r13
cmp esi, 0x4f
jne 0x4ed91a
lea rsi, [r8 - 1]
cmp rdi, rsi
jbe 0x4ed9f1
mov byte [r8 + r10 - 1], 0x6f
lea rsi, [r8 - 2]
cmp rdi, rsi
jbe 0x4ed9e6
mov byte [r8 + r10 - 2], 0x30
test dl, dl
jmp 0x4ed91f
test dl, dl
mov rsi, r8
nop
je 0x4ed937
lea rdx, [rsi - 1]
cmp rdi, rdx
jbe 0x4ed9db
mov byte [rsi + r10 - 1], 0x2d
jmp 0x4ed970
cmp byte [rax + 0xb], 0
je 0x4ed952
lea rdx, [rsi - 1]
cmp rdi, rdx
jbe 0x4ed9d0
mov byte [rsi + r10 - 1], 0x2b
jmp 0x4ed970
cmp byte [rax + 0xd], 0
je 0x4ed96d
lea rdx, [rsi - 1]
nop dword [rax]
cmp rdi, rdx
jbe 0x4ed9c5
mov byte [rsi + r10 - 1], 0x20
jmp 0x4ed970
mov rdx, rsi
movzx esi, byte [rax + 0xe]
mov byte [rax + 0xe], 0
cmp rdx, rdi
ja 0x4ed9b5
mov byte [rsp + 0x26], sil
sub rdi, rdx
mov rcx, rdi
neg rdi
sar rdi, 0x3f
and rdx, rdi
lea rbx, [r10 + rdx]
mov rdi, rcx
call fcn.004eccc0
movzx edx, byte [rsp + 0x26]
mov rsi, qword [rsp + 0x50]
mov byte [rsi + 0xe], dl
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rax, rdx
mov rcx, rdi
nop dword [rax + rax]
call fcn.00465c60
mov rax, rdx
mov rcx, rdi
call fcn.00465ba0
mov rax, rdx
mov rcx, rdi
call fcn.00465ba0
mov rax, rdx
mov rcx, rdi
call fcn.00465ba0
mov rax, rsi
mov rcx, rdi
call fcn.00465ba0
mov rax, rsi
mov rcx, rdi
call fcn.00465ba0
mov rax, r8
mov rcx, rdi
call fcn.00465ba0
mov rax, r9
mov rcx, rdi
call fcn.00465ba0
mov eax, 0x10
mov rcx, r9
call fcn.00465ba0
mov rax, r8
mov rcx, rdi
call fcn.00465ba0
mov rax, r13
mov rcx, rdi
call fcn.00465ba0
mov rax, r8
mov rcx, rdi
nop dword [rax + rax]
call fcn.00465ba0
mov rax, r8
mov rcx, rdi
call fcn.00465ba0
mov rax, r13
mov rcx, r12
call fcn.00465ba0
mov rax, rbx
mov rcx, r9
call fcn.00465bc0
mov rax, r15
mov rcx, r12
call fcn.00465ba0
mov rax, rbx
mov rcx, r9
call fcn.00465bc0
lea rax, [0x009ed380]
lea rbx, [0x00df3fa0]
call fcn.004373c0
lea r15, [rbx + 0x30]
mov byte [rdi + r10 - 1], r15b
mov esi, eax
mov rbx, rdx
mov rdi, r13
mov rax, qword [rsp + 0x50]
movzx edx, byte [rsp + 0x27]
cmp rbx, 0xa
jb 0x4ed7e0
lea r13, [rdi - 1]
movabs rax, 0xcccccccccccccccd
mul rbx
shr rdx, 3
mov eax, esi
lea rsi, [rdx + rdx*4]
shl rsi, 1
sub rbx, rsi
cmp r12, r13
ja 0x4eda8f
mov rax, r13
mov rcx, r12
call fcn.00465ba0
mov qword [rsp + 0x30], r13
mov r15, rbx
and rbx, 7
lea r13, [rbx + 0x30]
mov byte [rdi + r10 - 1], r13b
shr r15, 3
mov rdi, qword [rsp + 0x30]
mov rbx, r15
cmp rbx, 8
jb 0x4ed7e0
lea r13, [rdi - 1]
cmp r12, r13
ja 0x4edae5
mov rax, r13
mov rcx, r12
nop
call fcn.00465ba0
mov qword [rsp + 0x30], r13
mov r15, rbx
and rbx, 1
lea r13, [rbx + 0x30]
mov byte [rdi + r10 - 1], r13b
shr r15, 1
mov rdi, qword [rsp + 0x30]
mov rbx, r15
cmp rbx, 2
jb 0x4ed7e0
lea r13, [rdi - 1]
cmp r12, r13
ja 0x4edb25
mov rax, r13
mov rcx, r12
nop
call fcn.00465ba0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
mov dword [rsp + 0x24], esi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
call fcn.00463480
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
mov esi, dword [rsp + 0x24]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
jmp fcn.004ed620