Function at 0x14000ae10
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x130
mov rax, qword [0x1400390f8]
xor rax, rsp
mov qword [rsp + 0x120], rax
call fcn.14000b0d0
mov ebp, 8
lea rdi, [0x14003bb78]
mov r9d, ebp
mov r8, rdi
mov ecx, eax
mov ebx, eax
lea edx, [rbp + 0x16]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
xor r14d, r14d
test eax, eax
je 0x14001a294
mov r9d, 0x80
lea r8, [rsp + 0x20]
mov ecx, ebx
lea edx, [r9 - 0x5d]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14000aeb6
movzx eax, word [rsp + 0x20]
cmp ax, word [0x1400301ec]
jne 0x14000b0c6
movzx eax, word [rsp + 0x22]
cmp ax, word [0x1400301ee]
jne 0x14000b0c6
mov eax, r14d
mov dword [0x14003911c], eax
mov r9d, 0x80
mov dword [0x140039830], r14d
lea r8, [rsp + 0x20]
mov ecx, ebx
lea edx, [r9 - 0x5f]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14000aefb
movzx ecx, word [rsp + 0x20]
sub ecx, 0x30
jne 0x14001a2d7
mov dword [0x140039830], r14d
lea rax, str.MM_dd_yy
mov qword [0x14003bb50], rax
mov r9d, 0x80
mov dword [0x14003b970], 2
lea r8, [rsp + 0x20]
mov ecx, ebx
lea edx, [r9 - 0x5c]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14000af32
cmp word [rsp + 0x20], 0x31
jne 0x14000af32
mov dword [0x14003b970], 4
lea rdi, [0x14003bb68]
mov r9d, ebp
mov r8, rdi
mov edx, 0x1d
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a311
mov edi, 0x20
lea rsi, [0x14003bb00]
mov r9d, edi
mov r8, rsi
mov ecx, ebx
lea edx, [rdi + 0x11]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a354
lea rsi, [0x14003bac0]
mov r9d, edi
mov r8, rsi
mov edx, 0x32
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a397
lea rsi, [0x14003ba80]
mov r9d, edi
mov r8, rsi
mov edx, 0x33
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a3da
lea rsi, [0x14003ba40]
mov r9d, edi
mov r8, rsi
mov edx, 0x34
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a41d
lea rsi, [0x14003ba00]
mov r9d, edi
mov r8, rsi
mov edx, 0x35
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a460
lea rsi, [0x14003b9c0]
mov r9d, edi
mov r8, rsi
mov edx, 0x36
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a4a3
lea rsi, [0x14003b980]
mov r9d, edi
mov r8, rsi
mov edx, 0x37
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a4e6
lea rdi, [0x14003bb58]
mov r9d, ebp
mov r8, rdi
mov edx, 0xe
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a526
lea rdi, [0x14003bb40]
mov r9d, ebp
mov r8, rdi
mov edx, 0xf
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x14001a569
lea rdx, str..OCP
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_setlocale]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400173b0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
sbb eax, eax
or eax, 1
jmp 0x14000aeb0
lea rdx, [0x140031b70]
mov rcx, rbp
sub rdx, rdi
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14001a2c3
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001a2c3
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001a2a1
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14000ae6e
sub ecx, 1
je 0x14001a2fb
cmp ecx, 1
jne 0x14000aefb
mov dword [0x140039830], 2
lea rax, str.yy_MM_dd
jmp 0x14000aef4
mov dword [0x140039830], 1
lea rax, str.dd_MM_yy
jmp 0x14000aef4
lea rdx, [0x140031414]
mov rcx, rbp
sub rdx, rdi
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14001a340
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001a340
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001a31e
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14000af54
lea rdx, [0x140031ba8]
mov rcx, rdi
sub rdx, rsi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001a383
movzx eax, word [rdx + rsi]
test ax, ax
je 0x14001a383
mov word [rsi], ax
add rsi, 2
sub rcx, 1
jne 0x14001a361
test rcx, rcx
lea rax, [rsi - 2]
cmovne rax, rsi
mov word [rax], r14w
jmp 0x14000af79
lea rdx, [0x140031bb0]
mov rcx, rdi
sub rdx, rsi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001a3c6
movzx eax, word [rdx + rsi]
test ax, ax
je 0x14001a3c6
mov word [rsi], ax
add rsi, 2
sub rcx, 1
jne 0x14001a3a4
test rcx, rcx
lea rax, [rsi - 2]
cmovne rax, rsi
mov word [rax], r14w
jmp 0x14000af9b
lea rdx, [0x140031bb8]
mov rcx, rdi
sub rdx, rsi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001a409
movzx eax, word [rdx + rsi]
test ax, ax
je 0x14001a409
mov word [rsi], ax
add rsi, 2
sub rcx, 1
jne 0x14001a3e7
test rcx, rcx
lea rax, [rsi - 2]
cmovne rax, rsi
mov word [rax], r14w
jmp 0x14000afbd
lea rdx, [0x140031bc0]
mov rcx, rdi
sub rdx, rsi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001a44c
movzx eax, word [rdx + rsi]
test ax, ax
je 0x14001a44c
mov word [rsi], ax
add rsi, 2
sub rcx, 1
jne 0x14001a42a
test rcx, rcx
lea rax, [rsi - 2]
cmovne rax, rsi
mov word [rax], r14w
jmp 0x14000afdf
lea rdx, [0x140031bc8]
mov rcx, rdi
sub rdx, rsi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001a48f
movzx eax, word [rdx + rsi]
test ax, ax
je 0x14001a48f
mov word [rsi], ax
add rsi, 2
sub rcx, 1
jne 0x14001a46d
test rcx, rcx
lea rax, [rsi - 2]
cmovne rax, rsi
mov word [rax], r14w
jmp 0x14000b001
lea rdx, [0x140031bd0]
mov rcx, rdi
sub rdx, rsi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001a4d2
movzx eax, word [rdx + rsi]
test ax, ax
je 0x14001a4d2
mov word [rsi], ax
add rsi, 2
sub rcx, 1
jne 0x14001a4b0
test rcx, rcx
lea rax, [rsi - 2]
cmovne rax, rsi
mov word [rax], r14w
jmp 0x14000b023
lea rcx, [0x140031bd8]
sub rcx, rsi
lea rax, [rdi + 0x7fffffde]
test rax, rax
je 0x14001a512
movzx eax, word [rcx + rsi]
test ax, ax
je 0x14001a512
mov word [rsi], ax
add rsi, 2
sub rdi, 1
jne 0x14001a4f0
test rdi, rdi
lea rax, [rsi - 2]
cmovne rax, rsi
mov word [rax], r14w
jmp 0x14000b045
lea rdx, [0x1400303c0]
mov rcx, rbp
sub rdx, rdi
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14001a555
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001a555
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001a533
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14000b067
lea rcx, [0x140031be0]
sub rcx, rdi
lea rax, [rbp + 0x7ffffff6]
test rax, rax
je 0x14001a595
movzx eax, word [rcx + rdi]
test ax, ax
je 0x14001a595
mov word [rdi], ax
add rdi, 2
sub rbp, 1
jne 0x14001a573
test rbp, rbp
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14000b089