Function at 0x14001aa1c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r13
push r14
sub rsp, 0x130
mov rax, qword [0x1400400b0]
xor rax, rsp
mov qword [rsp + 0x120], rax
call fcn.14001ad38
mov ebp, 8
lea rbx, [0x140052fc0]
mov r9d, ebp
mov r8, rbx
mov ecx, eax
mov esi, eax
lea edx, [rbp + 0x16]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
je 0x140027890
mov ebx, 0x80
lea r8, [rsp + 0x20]
mov r9d, ebx
mov ecx, esi
lea edx, [rbx - 0x5d]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
lea r13d, [rbx - 0x4f]
test eax, eax
je 0x14001aac5
cmp word [rsp + 0x20], r13w
jne 0x14001ad27
cmp word [rsp + 0x22], r14w
jne 0x14001ad27
mov eax, r14d
mov dword [0x1400400e4], eax
mov r9d, ebx
mov dword [0x140040998], r14d
lea r8, [rsp + 0x20]
mov edx, 0x21
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x14001ab0e
movzx ecx, word [rsp + 0x20]
sub ecx, 0x30
jne 0x1400278d3
mov dword [0x140040998], r14d
lea rax, str.MM_dd_yy
mov qword [0x140040990], rax
mov r9d, ebx
mov dword [0x14004098c], 2
lea r8, [rsp + 0x20]
mov edx, 0x24
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x14001ab51
mov eax, dword [0x14004098c]
mov ecx, 4
cmp word [rsp + 0x20], r13w
cmove eax, ecx
mov dword [0x14004098c], eax
lea rbx, [0x140052fb0]
mov r9d, ebp
mov r8, rbx
mov edx, 0x1d
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x14002790d
mov ebx, 0x20
lea rdi, [0x140052f50]
mov r9d, ebx
mov r8, rdi
mov edx, r13d
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140027950
lea rdi, [0x140052f10]
mov r9d, ebx
mov r8, rdi
mov edx, 0x32
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140027993
lea rdi, [0x140052ed0]
mov r9d, ebx
mov r8, rdi
mov edx, 0x33
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x1400279d6
lea rdi, [0x140052e90]
mov r9d, ebx
mov r8, rdi
mov edx, 0x34
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140027a19
lea rdi, [0x140052e50]
mov r9d, ebx
mov r8, rdi
mov edx, 0x35
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140027a5c
lea rdi, [0x140052e10]
mov r9d, ebx
mov r8, rdi
mov edx, 0x36
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140027a9f
lea rdi, [0x140052dd0]
mov r9d, ebx
mov r8, rdi
mov edx, 0x37
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140027ae2
lea rbx, [0x140052fa0]
mov r9d, ebp
mov r8, rbx
mov edx, 0xe
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140027b22
lea rbx, [0x140052f90]
mov r9d, ebp
mov r8, rbx
mov edx, 0xf
mov ecx, esi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x140027b65
lea rdx, str..OCP
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_setlocale]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14001f920
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop rdi
ret
sbb eax, eax
or eax, 1
jmp 0x14001aabf
lea rdx, [0x1400395a0]
mov rcx, rbp
sub rdx, rbx
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x1400278bf
movzx eax, word [rdx + rbx]
test ax, ax
je 0x1400278bf
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14002789d
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x14001aa7e
sub ecx, 1
je 0x1400278f7
cmp ecx, 1
jne 0x14001ab0e
mov dword [0x140040998], 2
lea rax, str.yy_MM_dd
jmp 0x14001ab07
mov dword [0x140040998], 1
lea rax, str.dd_MM_yy
jmp 0x14001ab07
lea rdx, [0x140038140]
mov rcx, rbp
sub rdx, rbx
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14002793c
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14002793c
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14002791a
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x14001ab79
lea rdx, [0x1400395d8]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14002797f
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14002797f
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14002795d
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001aba4
lea rdx, [0x1400395e0]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x1400279c2
movzx eax, word [rdx + rdi]
test ax, ax
je 0x1400279c2
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x1400279a0
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001abcc
lea rdx, [0x1400395e8]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x140027a05
movzx eax, word [rdx + rdi]
test ax, ax
je 0x140027a05
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x1400279e3
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001abf4
lea rdx, [0x1400395f0]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x140027a48
movzx eax, word [rdx + rdi]
test ax, ax
je 0x140027a48
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x140027a26
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001ac1c
lea rdx, [0x1400395f8]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x140027a8b
movzx eax, word [rdx + rdi]
test ax, ax
je 0x140027a8b
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x140027a69
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001ac44
lea rdx, [0x140039600]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x140027ace
movzx eax, word [rdx + rdi]
test ax, ax
je 0x140027ace
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x140027aac
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001ac6c
lea rcx, [0x140039608]
sub rcx, rdi
lea rax, [rbx + 0x7fffffde]
test rax, rax
je 0x140027b0e
movzx eax, word [rcx + rdi]
test ax, ax
je 0x140027b0e
mov word [rdi], ax
add rdi, 2
sub rbx, 1
jne 0x140027aec
test rbx, rbx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001ac94
lea rdx, [0x1400379e0]
mov rcx, rbp
sub rdx, rbx
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x140027b51
movzx eax, word [rdx + rbx]
test ax, ax
je 0x140027b51
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140027b2f
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x14001acbc
lea rcx, [0x140039644]
sub rcx, rbx
lea rax, [rbp + 0x7ffffff6]
test rax, rax
je 0x140027b91
movzx eax, word [rcx + rbx]
test ax, ax
je 0x140027b91
mov word [rbx], ax
add rbx, 2
sub rbp, 1
jne 0x140027b6f
test rbp, rbp
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x14001ace4