Function at 0x1400151ec
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 [0x14003d0f8]
xor rax, rsp
mov qword [rsp + 0x120], rax
call fcn.140015508
mov ebp, 8
lea rbx, [0x14004bdf0]
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 0x14001eee2
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 0x140015295
cmp word [rsp + 0x20], r13w
jne 0x1400154f7
cmp word [rsp + 0x22], r14w
jne 0x1400154f7
mov eax, r14d
mov dword [0x14003d114], eax
mov r9d, ebx
mov dword [0x14003d908], 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 0x1400152de
movzx ecx, word [rsp + 0x20]
sub ecx, 0x30
jne 0x14001ef25
mov dword [0x14003d908], r14d
lea rax, str.MM_dd_yy
mov qword [0x14003d900], rax
mov r9d, ebx
mov dword [0x14003d8fc], 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 0x140015321
mov eax, dword [0x14003d8fc]
mov ecx, 4
cmp word [rsp + 0x20], r13w
cmove eax, ecx
mov dword [0x14003d8fc], eax
lea rbx, [0x14004bde0]
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 0x14001ef5f
mov ebx, 0x20
lea rdi, [0x14004bd80]
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 0x14001efa2
lea rdi, [0x14004bd40]
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 0x14001efe5
lea rdi, [0x14004bd00]
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 0x14001f028
lea rdi, [0x14004bcc0]
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 0x14001f06b
lea rdi, [0x14004bc80]
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 0x14001f0ae
lea rdi, [0x14004bc40]
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 0x14001f0f1
lea rdi, [0x14004bc00]
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 0x14001f134
lea rbx, [0x14004bdd0]
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 0x14001f174
lea rbx, [0x14004bdc0]
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 0x14001f1b7
lea rdx, str..OCP
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_setlocale]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140018f90
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 0x14001528f
lea rdx, [0x140035ec8]
mov rcx, rbp
sub rdx, rbx
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14001ef11
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14001ef11
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14001eeef
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x14001524e
sub ecx, 1
je 0x14001ef49
cmp ecx, 1
jne 0x1400152de
mov dword [0x14003d908], 2
lea rax, str.yy_MM_dd
jmp 0x1400152d7
mov dword [0x14003d908], 1
lea rax, str.dd_MM_yy
jmp 0x1400152d7
lea rdx, [0x140035ca0]
mov rcx, rbp
sub rdx, rbx
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14001ef8e
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14001ef8e
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14001ef6c
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x140015349
lea rdx, [0x140035f00]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001efd1
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001efd1
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001efaf
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x140015374
lea rdx, [0x140035f08]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f014
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f014
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001eff2
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001539c
lea rdx, [0x140035f10]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f057
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f057
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001f035
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x1400153c4
lea rdx, [0x140035f18]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f09a
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f09a
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001f078
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x1400153ec
lea rdx, [0x140035f20]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f0dd
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f0dd
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001f0bb
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x140015414
lea rdx, [0x140035f28]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f120
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f120
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001f0fe
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001543c
lea rcx, [0x140035f30]
sub rcx, rdi
lea rax, [rbx + 0x7fffffde]
test rax, rax
je 0x14001f160
movzx eax, word [rcx + rdi]
test ax, ax
je 0x14001f160
mov word [rdi], ax
add rdi, 2
sub rbx, 1
jne 0x14001f13e
test rbx, rbx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x140015464
lea rdx, [0x1400344e4]
mov rcx, rbp
sub rdx, rbx
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14001f1a3
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14001f1a3
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14001f181
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x14001548c
lea rcx, [0x140035f38]
sub rcx, rbx
lea rax, [rbp + 0x7ffffff6]
test rax, rax
je 0x14001f1e3
movzx eax, word [rcx + rbx]
test ax, ax
je 0x14001f1e3
mov word [rbx], ax
add rbx, 2
sub rbp, 1
jne 0x14001f1c1
test rbp, rbp
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x1400154b4