Function at 0x14002dfe0
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x14007a8d0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, r9
mov esi, r8d
mov rbx, rcx
test rcx, rcx
jne 0x14002e02c
lea rdx, str...CommonUtilsiPodResourceUtilities.cpp
lea rcx, str.thePath___NULL
xor r9d, r9d
mov r8d, 0xfd
call fcn.140027a80
jmp 0x14002e3a7
mov qword [rsp + 0x260], rbp
call fcn.14002e3d0
xor ebp, ebp
test esi, esi
je 0x14002e089
lea r8, [0x140062bb8]
lea rax, [rsp + 0x20]
mov edx, ebp
sub r8, rax
lea rcx, [rsp + 0x20]
cmp edx, 0xf
je 0x14002e070
movzx eax, word [r8 + rcx]
add rcx, 2
inc edx
mov word [rcx - 2], ax
cmp word [r8 + rcx], bp
jne 0x14002e055
mov word [rcx], bp
test rdi, rdi
je 0x14002e299
mov eax, 0x409
mov word [rdi], ax
jmp 0x14002e299
movzx eax, word [0x14007e23c]
test ax, ax
jne 0x14002e0f5
lea r9, [0x14007e23c]
lea r8, str.LangID
lea rdx, str.SOFTWAREApple_Computer__Inc.iTunes
mov rcx, 0xffffffff80000001
call fcn.14002ded0
test eax, eax
jne 0x14002e0ee
lea r9, [0x14007e23c]
lea r8, str.InstalledLangID
lea rdx, str.SOFTWAREApple_Computer__Inc.iTunes
mov rcx, 0xffffffff80000002
call fcn.14002ded0
test eax, eax
jne 0x14002e0ee
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [0x14007e23c], ax
jmp 0x14002e0f5
movzx eax, word [0x14007e23c]
test rdi, rdi
je 0x14002e0fd
mov word [rdi], ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea r8, [rsp + 0x20]
mov r9d, 0xff
mov ecx, eax
movzx eax, word [0x14007e23c]
mov edx, 0x59
shr ecx, 0x10
and ecx, 0xf
shl ecx, 0x10
or ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x14002e136
cmp rax, 2
jne 0x14002e299
movzx eax, word [rsp + 0x20]
movzx ecx, word [rsp + 0x22]
mov r8d, 0xffdf
sub ax, 0x5a
test r8w, ax
jne 0x14002e1db
lea eax, [rcx - 0x48]
test r8w, ax
jne 0x14002e1db
movzx eax, word [0x14007e23c]
mov ecx, 0x804
cmp ax, cx
jne 0x14002e199
lea rdx, [rsp + 0x20]
lea rcx, [0x140062bc0]
mov r8d, SafeArrayLock
call fcn.14002db70
jmp 0x14002e299
mov ecx, 0x404
cmp ax, cx
je 0x14002e1bf
lea rdx, str...CommonUtilsiPodResourceUtilities.cpp
lea rcx, str.sCurrentLanguage__MAKELANGID_LANG_CHINESE__SUBLANG_CHINESE_TRADITIONAL_
xor r9d, r9d
mov r8d, 0x14e
call fcn.140027a80
lea rdx, [rsp + 0x20]
lea rcx, [0x140062c20]
mov r8d, SafeArrayLock
call fcn.14002db70
jmp 0x14002e299
movzx eax, word [rsp + 0x20]
sub ax, 0x4e
test r8w, ax
jne 0x14002e230
lea eax, [rcx - 0x4e]
mov edx, 0xffde
test dx, ax
jne 0x14002e230
lea r8, [0x140062c28]
lea rax, [rsp + 0x20]
mov edx, ebp
sub r8, rax
lea rcx, [rsp + 0x20]
nop dword [rax]
cmp edx, 0xf
je 0x14002e22b
movzx eax, word [r8 + rcx]
add rcx, 2
inc edx
mov word [rcx - 2], ax
cmp word [r8 + rcx], bp
jne 0x14002e210
mov word [rcx], bp
jmp 0x14002e299
movzx eax, word [rsp + 0x20]
sub ax, 0x50
test r8w, ax
jne 0x14002e299
sub cx, 0x54
test r8w, cx
jne 0x14002e299
movzx eax, word [0x14007e23c]
mov ecx, 0x816
cmp ax, cx
jne 0x14002e273
lea rdx, [rsp + 0x20]
lea rcx, [0x140062c30]
mov r8d, SafeArrayLock
call fcn.14002db70
jmp 0x14002e299
mov ecx, 0x416
cmp ax, cx
je 0x14002e299
lea rdx, str...CommonUtilsiPodResourceUtilities.cpp
lea rcx, str.sCurrentLanguage__MAKELANGID_LANG_PORTUGUESE__SUBLANG_PORTUGUESE_BRAZILIAN_
xor r9d, r9d
mov r8d, 0x16a
call fcn.140027a80
mov ecx, ebp
mov rax, rbx
cmp word [rbx], cx
je 0x14002e2c3
nop dword [rax]
nop word [rax + rax]
inc ecx
add rax, 2
cmp ecx, 0x103
je 0x14002e2f1
cmp word [rax], bp
jne 0x14002e2b0
mov edx, 0x5c
lea r8, [0x1400613ea]
nop
inc ecx
mov word [rax], dx
lea rax, [rax + 2]
cmp ecx, 0x103
je 0x14002e2ee
movzx edx, word [r8]
add r8, 2
test dx, dx
jne 0x14002e2d0
mov word [rax], bp
mov ecx, ebp
mov rax, rbx
cmp word [rbx], cx
je 0x14002e313
nop dword [rax + rax]
inc ecx
add rax, 2
cmp ecx, 0x103
je 0x14002e351
cmp word [rax], bp
jne 0x14002e300
movzx edx, word [rsp + 0x20]
lea r8, [rsp + 0x22]
test dx, dx
je 0x14002e34e
nop dword [rax]
nop word [rax + rax]
inc ecx
mov word [rax], dx
add rax, 2
cmp ecx, 0x103
je 0x14002e34e
movzx edx, word [r8]
add r8, 2
test dx, dx
jne 0x14002e330
mov word [rax], bp
mov eax, ebp
cmp word [rbx], ax
je 0x14002e372
nop dword [rax + rax]
inc eax
add rbx, 2
cmp eax, 0x103
je 0x14002e39f
cmp word [rbx], bp
jne 0x14002e360
mov ecx, 0x2e
lea rdx, [0x140062c92]
nop
inc eax
mov word [rbx], cx
lea rbx, [rbx + 2]
cmp eax, 0x103
je 0x14002e39c
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
jne 0x14002e380
mov word [rbx], bp
mov rbp, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14003eed0
add rsp, 0x230
pop rdi
pop rsi
pop rbx
ret