Function at 0x1400717f0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x9e8
mov qword [rsp + 0x998], 0xfffffffffffffffe
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x9d8], rax
mov eax, dword [rsp + 0x9f8]
and eax, 3
test eax, eax
je 0x140071875
mov eax, dword [rsp + 0xa18]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa08]
mov r8, qword [rsp + 0xa00]
mov edx, dword [rsp + 0x9f8]
mov ecx, dword [rsp + 0x9f0]
call fcn.140072340
jmp 0x14007231a
mov eax, dword [rsp + 0x9f8]
and eax, 0x80000000
test eax, eax
je 0x140071890
mov dword [rsp + 0x9f0], 0x800
cmp qword [rsp + 0xa08], 0
jne 0x1400718bf
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1003
mov ecx, dword [rsp + 0x9f0]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cdqe
mov qword [rsp + 0x9a0], rax
jmp 0x1400718cb
mov qword [rsp + 0x9a0], 0
mov rax, qword [rsp + 0x9a0]
inc rax
mov rdx, rax
lea rcx, [rsp + 0x500]
call fcn.1400724c0
nop
cmp qword [rsp + 0xa08], 0
jne 0x140071989
lea rcx, [rsp + 0x500]
call fcn.1400627e0
mov qword [rsp + 0x9a8], rax
xor edx, edx
lea rcx, [rsp + 0x500]
call fcn.140065ea0
mov rcx, qword [rsp + 0x9a8]
mov r9d, ecx
mov r8, rax
mov edx, 0x1003
mov ecx, 0x400
call fcn.140072390
cdqe
mov qword [rsp + 0x948], rax
xor edx, edx
lea rcx, [rsp + 0x500]
call fcn.140065ea0
mov qword [rsp + 0xa08], rax
lea rcx, [rsp + 0x500]
call fcn.1400627e0
cmp qword [rsp + 0x948], rax
jae 0x140071989
mov rdx, qword [rsp + 0x948]
lea rcx, [rsp + 0x500]
call fcn.140065ea0
xor ecx, ecx
mov word [rax], cx
mov rcx, qword [rsp + 0xa08]
call fcn.1400723d0
inc rax
mov qword [rsp + 0x4e0], rax
mov eax, 0x30
mov word [rsp + 0x4b8], ax
mov eax, 0x30
mov word [rsp + 0x4ba], ax
xor eax, eax
mov word [rsp + 0x4bc], ax
mov eax, 0x30
mov word [rsp + 0x4d8], ax
mov eax, 0x30
mov word [rsp + 0x4da], ax
xor eax, eax
mov word [rsp + 0x4dc], ax
mov eax, 0x30
mov word [rsp + 0x280], ax
mov eax, 0x30
mov word [rsp + 0x282], ax
xor eax, eax
mov word [rsp + 0x284], ax
mov eax, 0x30
mov word [rsp + 0x4e8], ax
mov eax, 0x30
mov word [rsp + 0x4ea], ax
mov eax, 0x2e
mov word [rsp + 0x4ec], ax
mov eax, 0x30
mov word [rsp + 0x4ee], ax
mov eax, 0x30
mov word [rsp + 0x4f0], ax
mov eax, 0x30
mov word [rsp + 0x4f2], ax
xor eax, eax
mov word [rsp + 0x4f4], ax
mov rax, qword [rsp + 0xa00]
movzx eax, word [rax + 8]
cmp eax, 0xc
jle 0x140071a8e
mov rax, qword [rsp + 0xa00]
movzx eax, word [rax + 8]
sub eax, 0xc
mov dword [rsp + 0x9b0], eax
jmp 0x140071aa1
mov rax, qword [rsp + 0xa00]
movzx eax, word [rax + 8]
mov dword [rsp + 0x9b0], eax
mov r8d, dword [rsp + 0x9b0]
mov edx, 3
lea rcx, [rsp + 0x4b8]
call fcn.140072420
mov qword [rsp + 0x940], rax
mov rax, qword [rsp + 0xa00]
movzx r8d, word [rax + 8]
mov edx, 3
lea rcx, [rsp + 0x4d8]
call fcn.140072910
mov qword [rsp + 0x4d0], rax
mov rax, qword [rsp + 0xa00]
movzx r8d, word [rax + 0xa]
mov edx, 3
lea rcx, [rsp + 0x280]
call fcn.140072910
mov qword [rsp + 0x4b0], rax
lea rax, [rsp + 0x4ee]
mov rcx, qword [rsp + 0xa00]
movzx r8d, word [rcx + 0xe]
mov edx, 4
mov rcx, rax
call fcn.140072910
mov rax, qword [rsp + 0xa00]
movzx r8d, word [rax + 0xc]
mov edx, 3
lea rcx, [rsp + 0x4e8]
call fcn.140072910
mov qword [rsp + 0x4c0], rax
mov eax, 0x2e
mov word [rsp + 0x4ec], ax
lea r8, [rsp + 0x40]
lea rdx, str.Control_PanelInternational
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [rsp + 0x38], eax
xor edx, edx
lea rcx, [rsp + 0x290]
call fcn.1400724c0
nop
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400724c0
nop
cmp dword [rsp + 0x38], 0
jne 0x140071d07
mov qword [rsp + 0x958], 0
mov qword [rsp + 0x950], 0
lea r9, [rsp + 0x958]
xor r8d, r8d
lea rdx, str.s1159
mov rcx, qword [rsp + 0x40]
call fcn.140072940
mov dword [rsp + 0x960], eax
cmp dword [rsp + 0x960], 0
jne 0x140071c57
mov rdx, qword [rsp + 0x958]
lea rcx, [rsp + 0x290]
call fcn.140072530
lea rcx, [rsp + 0x290]
call fcn.1400627e0
mov qword [rsp + 0x958], rax
xor edx, edx
lea rcx, [rsp + 0x290]
call fcn.140065ea0
lea r9, [rsp + 0x958]
mov r8, rax
lea rdx, str.s1159
mov rcx, qword [rsp + 0x40]
call fcn.140072940
mov dword [rsp + 0x960], eax
cmp dword [rsp + 0x960], 0
je 0x140071c67
mov eax, dword [rsp + 0x960]
mov dword [rsp + 0x38], eax
jmp 0x140071cfc
lea r9, [rsp + 0x950]
xor r8d, r8d
lea rdx, str.s2359
mov rcx, qword [rsp + 0x40]
call fcn.140072940
mov dword [rsp + 0x960], eax
cmp dword [rsp + 0x960], 0
jne 0x140071cf1
mov rdx, qword [rsp + 0x950]
lea rcx, [rsp + 0x60]
call fcn.140072530
lea rcx, [rsp + 0x60]
call fcn.1400627e0
mov qword [rsp + 0x950], rax
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140065ea0
lea r9, [rsp + 0x950]
mov r8, rax
lea rdx, str.s2359
mov rcx, qword [rsp + 0x40]
call fcn.140072940
mov dword [rsp + 0x960], eax
cmp dword [rsp + 0x960], 0
je 0x140071cfc
mov eax, dword [rsp + 0x960]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 0
je 0x140071d68
mov edx, 3
lea rcx, [rsp + 0x290]
call fcn.140072530
mov edx, 3
lea rcx, [rsp + 0x60]
call fcn.140072530
xor edx, edx
lea rcx, [rsp + 0x290]
call fcn.140065ea0
lea rdx, [0x140101d4c]
mov rcx, rax
call fcn.1400723f0
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140065ea0
lea rdx, [0x140101d44]
mov rcx, rax
call fcn.1400723f0
mov rax, qword [rsp + 0xa00]
movzx eax, word [rax + 8]
cmp eax, 0xc
jge 0x140071d92
xor edx, edx
lea rcx, [rsp + 0x290]
call fcn.140065ea0
mov qword [rsp + 0x9b8], rax
jmp 0x140071da6
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140065ea0
mov qword [rsp + 0x9b8], rax
mov rax, qword [rsp + 0x9b8]
mov qword [rsp + 0x4c8], rax
lea rcx, [rsp + 0x290]
call fcn.1400627e0
mov qword [rsp + 0x9c0], rax
lea rcx, [rsp + 0x60]
call fcn.1400627e0
mov rcx, qword [rsp + 0x9c0]
cmp rcx, rax
jae 0x140071df6
lea rcx, [rsp + 0x60]
call fcn.1400627e0
mov qword [rsp + 0x9c8], rax
jmp 0x140071e0b
lea rcx, [rsp + 0x290]
call fcn.1400627e0
mov qword [rsp + 0x9c8], rax
mov rax, qword [rsp + 0x9c8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x30]
lea rax, [rax + rcx + 7]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
inc rax
mov rdx, rax
lea rcx, [rsp + 0x720]
call fcn.1400724c0
nop
mov qword [rsp + 0x288], 0
lea rcx, [rsp + 0x720]
call fcn.14006a8f0
movzx eax, al
test eax, eax
jne 0x14007220e
xor edx, edx
lea rcx, [rsp + 0x720]
call fcn.140065ea0
mov qword [rsp + 0x968], rax
xor eax, eax
mov word [rsp + 0x974], ax
mov byte [rsp + 0x970], 1
mov rax, qword [rsp + 0xa08]
mov qword [rsp + 0x978], rax
jmp 0x140071ebb
mov rax, qword [rsp + 0x978]
add rax, 2
mov qword [rsp + 0x978], rax
mov rax, qword [rsp + 0xa08]
mov rcx, qword [rsp + 0x4e0]
lea rax, [rax + rcx*2]
cmp qword [rsp + 0x978], rax
je 0x14007220e
mov rax, qword [rsp + 0x978]
movzx eax, word [rax]
mov word [rsp + 0x980], ax
movzx eax, word [rsp + 0x980]
mov dword [rsp + 0x9d0], eax
cmp dword [rsp + 0x9d0], 0x48
je 0x140071f7a
cmp dword [rsp + 0x9d0], 0x68
je 0x140071f42
cmp dword [rsp + 0x9d0], 0x6d
je 0x140071fb2
cmp dword [rsp + 0x9d0], 0x73
je 0x140071fea
cmp dword [rsp + 0x9d0], 0x74
je 0x140072022
jmp 0x14007203c
movzx eax, word [rsp + 0x974]
cmp eax, 0x68
jne 0x140071f75
lea rax, [rsp + 0x4b8]
cmp qword [rsp + 0x940], rax
je 0x140071f75
mov rax, qword [rsp + 0x940]
sub rax, 2
mov qword [rsp + 0x940], rax
jmp 0x1400721eb
movzx eax, word [rsp + 0x974]
cmp eax, 0x48
jne 0x140071fad
lea rax, [rsp + 0x4d8]
cmp qword [rsp + 0x4d0], rax
je 0x140071fad
mov rax, qword [rsp + 0x4d0]
sub rax, 2
mov qword [rsp + 0x4d0], rax
jmp 0x1400721eb
movzx eax, word [rsp + 0x974]
cmp eax, 0x6d
jne 0x140071fe5
lea rax, [rsp + 0x280]
cmp qword [rsp + 0x4b0], rax
je 0x140071fe5
mov rax, qword [rsp + 0x4b0]
sub rax, 2
mov qword [rsp + 0x4b0], rax
jmp 0x1400721eb
movzx eax, word [rsp + 0x974]
cmp eax, 0x73
jne 0x14007201d
lea rax, [rsp + 0x4e8]
cmp qword [rsp + 0x4c0], rax
je 0x14007201d
mov rax, qword [rsp + 0x4c0]
sub rax, 2
mov qword [rsp + 0x4c0], rax
jmp 0x1400721eb
movzx eax, word [rsp + 0x974]
cmp eax, 0x74
jne 0x140072037
mov byte [rsp + 0x970], 0
jmp 0x1400721eb
movzx eax, word [rsp + 0x974]
mov dword [rsp + 0x9d4], eax
cmp dword [rsp + 0x9d4], 0x48
je 0x140072097
cmp dword [rsp + 0x9d4], 0x68
je 0x140072082
cmp dword [rsp + 0x9d4], 0x6d
je 0x1400720ac
cmp dword [rsp + 0x9d4], 0x73
je 0x1400720c1
cmp dword [rsp + 0x9d4], 0x74
je 0x1400720d3
jmp 0x14007213e
mov rax, qword [rsp + 0x940]
mov qword [rsp + 0x988], rax
jmp 0x14007214d
mov rax, qword [rsp + 0x4d0]
mov qword [rsp + 0x988], rax
jmp 0x14007214d
mov rax, qword [rsp + 0x4b0]
mov qword [rsp + 0x988], rax
jmp 0x14007214d
mov rax, qword [rsp + 0x4c0]
mov qword [rsp + 0x988], rax
jmp 0x14007214d
mov eax, dword [rsp + 0x9f8]
and eax, 4
test eax, eax
jne 0x14007213e
movzx eax, byte [rsp + 0x970]
test eax, eax
jne 0x140072101
mov rax, qword [rsp + 0x4c8]
mov qword [rsp + 0x988], rax
jmp 0x14007214d
mov rax, qword [rsp + 0x968]
mov rcx, qword [rsp + 0x4c8]
movzx ecx, word [rcx]
mov word [rax], cx
mov rax, qword [rsp + 0x968]
add rax, 2
mov qword [rsp + 0x968], rax
mov rax, qword [rsp + 0x288]
inc rax
mov qword [rsp + 0x288], rax
lea rax, [0x140101d40]
mov qword [rsp + 0x988], rax
jmp 0x1400721a0
mov rax, qword [rsp + 0x968]
mov rcx, qword [rsp + 0x988]
movzx ecx, word [rcx]
mov word [rax], cx
mov rax, qword [rsp + 0x968]
add rax, 2
mov qword [rsp + 0x968], rax
mov rax, qword [rsp + 0x988]
add rax, 2
mov qword [rsp + 0x988], rax
mov rax, qword [rsp + 0x288]
inc rax
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x988]
movzx eax, word [rax]
test eax, eax
je 0x1400721b1
jmp 0x14007214f
mov rax, qword [rsp + 0x968]
movzx ecx, word [rsp + 0x980]
mov word [rax], cx
mov rax, qword [rsp + 0x968]
add rax, 2
mov qword [rsp + 0x968], rax
mov rax, qword [rsp + 0x288]
inc rax
mov qword [rsp + 0x288], rax
movzx eax, word [rsp + 0x980]
test eax, eax
jne 0x1400721f9
jmp 0x14007220e
movzx eax, word [rsp + 0x980]
mov word [rsp + 0x974], ax
jmp 0x140071ea7
cmp dword [rsp + 0xa18], 0
je 0x14007222a
movsxd rax, dword [rsp + 0xa18]
cmp qword [rsp + 0x288], rax
ja 0x1400722a0
cmp dword [rsp + 0xa18], 0
je 0x140072253
xor edx, edx
lea rcx, [rsp + 0x720]
call fcn.140065ea0
mov rdx, rax
mov rcx, qword [rsp + 0xa10]
call fcn.1400723f0
mov eax, dword [rsp + 0x288]
mov dword [rsp + 0x990], eax
lea rcx, [rsp + 0x720]
call fcn.1400724a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400724a0
nop
lea rcx, [rsp + 0x290]
call fcn.1400724a0
nop
lea rcx, [rsp + 0x500]
call fcn.1400724a0
mov eax, dword [rsp + 0x990]
jmp 0x14007231a
mov dword [rsp + 0x994], 0
lea rcx, [rsp + 0x720]
call fcn.1400724a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400724a0
nop
lea rcx, [rsp + 0x290]
call fcn.1400724a0
nop
lea rcx, [rsp + 0x500]
call fcn.1400724a0
mov eax, dword [rsp + 0x994]
jmp 0x14007231a
mov rcx, qword [rsp + 0x9d8]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x9e8
ret