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 0x14001ef32
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 0x14001ef75
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 0x14001efaf
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 0x14001eff2
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 0x14001f035
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 0x14001f078
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 0x14001f0bb
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 0x14001f0fe
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 0x14001f141
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 0x14001f184
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 0x14001f1c4
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 0x14001f207
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.140018f80
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, [0x140035f28]
mov rcx, rbp
sub rdx, rbx
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14001ef61
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14001ef61
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14001ef3f
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x14001524e
sub ecx, 1
je 0x14001ef99
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, [0x140035d00]
mov rcx, rbp
sub rdx, rbx
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14001efde
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14001efde
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14001efbc
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x140015349
lea rdx, [0x140035f60]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f021
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f021
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001efff
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x140015374
lea rdx, [0x140035f68]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f064
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f064
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001f042
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001539c
lea rdx, [0x140035f70]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f0a7
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f0a7
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001f085
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x1400153c4
lea rdx, [0x140035f78]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f0ea
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f0ea
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001f0c8
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x1400153ec
lea rdx, [0x140035f80]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f12d
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f12d
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001f10b
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x140015414
lea rdx, [0x140035f88]
mov rcx, rbx
sub rdx, rdi
lea rax, [rcx + 0x7fffffde]
test rax, rax
je 0x14001f170
movzx eax, word [rdx + rdi]
test ax, ax
je 0x14001f170
mov word [rdi], ax
add rdi, 2
sub rcx, 1
jne 0x14001f14e
test rcx, rcx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x14001543c
lea rcx, [0x140035f90]
sub rcx, rdi
lea rax, [rbx + 0x7fffffde]
test rax, rax
je 0x14001f1b0
movzx eax, word [rcx + rdi]
test ax, ax
je 0x14001f1b0
mov word [rdi], ax
add rdi, 2
sub rbx, 1
jne 0x14001f18e
test rbx, rbx
lea rax, [rdi - 2]
cmovne rax, rdi
mov word [rax], r14w
jmp 0x140015464
lea rdx, [0x140034544]
mov rcx, rbp
sub rdx, rbx
lea rax, [rcx + 0x7ffffff6]
test rax, rax
je 0x14001f1f3
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14001f1f3
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14001f1d1
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x14001548c
lea rcx, [0x140035f98]
sub rcx, rbx
lea rax, [rbp + 0x7ffffff6]
test rax, rax
je 0x14001f233
movzx eax, word [rcx + rbx]
test ax, ax
je 0x14001f233
mov word [rbx], ax
add rbx, 2
sub rbp, 1
jne 0x14001f211
test rbp, rbp
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jmp 0x1400154b4