Function at 0x14019a0b0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov ebx, 0x31c
test rcx, rcx
je 0x14019a0f8
cmp edx, ebx
cmovae edx, ebx
mov ebx, edx
mov r8d, edx
lea rdx, [0x14068c3b0]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi], ebx
jmp 0x14019a6b7
mov qword [rsp + 0x120], rsi
lea rcx, [0x14068c3b0]
mov qword [rsp + 0xe8], r14
mov r8, rbx
xor edx, edx
mov qword [rsp + 0xe0], r15
call sub.VCRUNTIME140.dll_memset
mov dword [0x14068c3b0], ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov r9d, 8
lea r8, [rbp - 0x69]
mov ecx, 0x400
mov dword [0x14068c3b4], eax
lea edx, [r9 - 7]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp - 0x69]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov r9d, 0x40
lea r8, [0x14068c3bc]
mov ecx, 0x400
mov dword [0x14068c3b8], eax
lea edx, [r9 - 0x3e]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 0x40
lea r8, [0x14068c440]
dec eax
mov edx, 0x1001
mov ecx, 0x400
mov dword [0x14068c43c], eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 8
lea r8, [rbp - 0x69]
dec eax
mov ecx, 0x400
mov dword [0x14068c4c0], eax
lea edx, [r9 - 3]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp - 0x69]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov r9d, 0x40
lea r8, [0x14068c4c8]
mov ecx, 0x400
mov dword [0x14068c4c4], eax
lea edx, [r9 - 0x3a]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 0x40
lea r8, [0x14068c54c]
dec eax
mov edx, 0x1002
mov ecx, 0x400
mov dword [0x14068c548], eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 8
lea r8, [0x14068c5d0]
dec eax
mov ecx, 0x400
mov dword [0x14068c5cc], eax
lea edx, [r9 + 0x49]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, 0xffffffffffffffff
mov dword [0x14068c5f4], 1
dec eax
lea r8, [0x140450ae8]
mov r9, rbx
mov dword [0x14068c5e0], eax
lea rcx, [0x14068c5e4]
lea edx, [rbx + 9]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r9d, [rbx + 9]
mov ecx, 0x400
lea r8, [0x14068c5f8]
lea edx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r9d, [rbx + 9]
mov ecx, 0x400
dec eax
lea r8, [0x14068c60c]
lea edx, [rbx + 0xf]
mov dword [0x14068c608], eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
dec eax
mov r8d, dword [0x14068c608]
lea rdx, [0x14068c60c]
lea rcx, [0x14068c5f8]
mov dword [0x14068c61c], eax
call fcn.14019ee40
test eax, eax
jne 0x14019a2f3
mov eax, 0x2e
mov dword [0x14068c61c], 1
cmp ax, word [0x14068c5f8]
jne 0x14019a2e3
mov eax, 0x2c
mov word [0x14068c60c], ax
xor eax, eax
mov word [0x14068c60e], ax
mov r9d, 8
lea r8, [rbp - 0x69]
mov ecx, 0x400
lea edx, [r9 + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp - 0x69]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov r9d, 8
lea r8, [rbp - 0x69]
mov ecx, 0x400
mov dword [0x14068c620], eax
lea edx, [r9 + 9]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp - 0x69]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov r9d, 8
lea r8, [rbp - 0x69]
mov ecx, 0x400
mov dword [0x14068c624], eax
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp - 0x69]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov r9d, 8
lea r8, [0x14068c62c]
mov ecx, 0x400
mov dword [0x14068c628], eax
lea edx, [r9 + 0x16]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 8
lea r8, [0x14068c640]
dec eax
mov ecx, 0x400
mov dword [0x14068c63c], eax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 8
lea r8, [rbp - 0x69]
dec eax
mov ecx, 0x400
mov dword [0x14068c650], eax
lea edx, [r9 + 5]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp - 0x69]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
lea rsi, [0x14068c658]
mov r9, rbx
lea r8, [0x140450aec]
mov dword [0x14068c654], eax
mov rcx, rsi
mov edx, 8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rax, rbx
inc rax
cmp word [rsi + rax*2], 0
jne 0x14019a401
mov rdx, rsi
mov dword [0x14068c668], eax
lea rcx, [0x140450af0]
call sym.ErrorReportClient.exe_SfPrintF_AddToken
lea r14, [0x14068c66c]
mov r9, rbx
mov rcx, r14
lea r8, [0x140450b08]
mov edx, 8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rax, rbx
inc rax
cmp word [r14 + rax*2], 0
jne 0x14019a442
mov rdx, r14
mov dword [0x14068c67c], eax
lea rcx, str.SMPTE.NonDrop
call sym.ErrorReportClient.exe_SfPrintF_AddToken
lea r15, [0x14068c680]
mov r9, rbx
mov rcx, r15
lea r8, [0x140450b2c]
mov edx, 8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rax, rbx
inc rax
cmp word [r15 + rax*2], 0
jne 0x14019a484
mov rdx, r15
mov dword [0x14068c690], eax
lea rcx, [0x140450b30]
call sym.ErrorReportClient.exe_SfPrintF_AddToken
mov rdx, qword [0x1404502e0]
mov rcx, qword [0x14068c270]
call sym.ErrorReportClient.exe_wchar_t_const____ptr64___cdecl_SfGetString_struct_HSFLANG______ptr64__wchar_t_const__const___ptr64_const____ptr64_
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
lea rcx, [rbp - 0x59]
mov r9, rax
mov qword [rsp + 0x20], rsi
mov rdi, rax
lea edx, [r8 + 0x40]
call sym.ErrorReportClient.exe_SfCchPrintF
lea rdx, [rbp - 0x59]
lea rcx, str.SMPTE.Label.NonDrop
call sym.ErrorReportClient.exe_SfPrintF_AddToken
xor r8d, r8d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rsi
lea rcx, [rbp - 0x59]
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea edx, [r8 + 0x40]
call sym.ErrorReportClient.exe_SfCchPrintF
lea rdx, [rbp - 0x59]
lea rcx, str.SMPTE.Label.Drop
call sym.ErrorReportClient.exe_SfPrintF_AddToken
mov rdx, qword [0x1404502e8]
mov rcx, qword [0x14068c270]
call sym.ErrorReportClient.exe_wchar_t_const____ptr64___cdecl_SfGetString_struct_HSFLANG______ptr64__wchar_t_const__const___ptr64_const____ptr64_
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
lea rcx, [rbp - 0x59]
mov r9, rax
mov qword [rsp + 0x20], rsi
mov rdi, rax
lea edx, [r8 + 0x40]
call sym.ErrorReportClient.exe_SfCchPrintF
lea rdx, [rbp - 0x59]
lea rcx, str.SMPTE.Label.NonDrop.Full
call sym.ErrorReportClient.exe_SfPrintF_AddToken
xor r8d, r8d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rsi
lea rcx, [rbp - 0x59]
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea edx, [r8 + 0x40]
call sym.ErrorReportClient.exe_SfCchPrintF
lea rdx, [rbp - 0x59]
lea rcx, str.SMPTE.Label.Drop.Full
call sym.ErrorReportClient.exe_SfPrintF_AddToken
lea rsi, [0x14068c6a4]
mov r9, rbx
mov rcx, rsi
lea r8, [0x140450b08]
mov edx, 8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov r15, qword [rsp + 0xe0]
mov rax, rbx
mov r14, qword [rsp + 0xe8]
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x14019a5d0
mov rdx, rsi
mov dword [0x14068c6b4], eax
lea rcx, [0x140450c00]
call sym.ErrorReportClient.exe_SfPrintF_AddToken
lea rdi, [0x14068c6b8]
mov r9, rbx
mov rcx, rdi
lea r8, [0x140450b08]
mov edx, 8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14019a610
mov rdx, rdi
mov dword [0x14068c6c8], ebx
lea rcx, [0x140450c08]
call sym.ErrorReportClient.exe_SfPrintF_AddToken
mov rdx, qword [0x1404502f0]
mov rcx, qword [0x14068c270]
call sym.ErrorReportClient.exe_wchar_t_const____ptr64___cdecl_SfGetString_struct_HSFLANG______ptr64__wchar_t_const__const___ptr64_const____ptr64_
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov r9, rax
mov qword [rsp + 0x20], rsi
lea rcx, [rbp - 0x59]
lea edx, [r8 + 0x40]
call sym.ErrorReportClient.exe_SfCchPrintF
lea rdx, [rbp - 0x59]
lea rcx, str.MusicTime.Label
call sym.ErrorReportClient.exe_SfPrintF_AddToken
mov rdx, qword [0x1404502f8]
mov rcx, qword [0x14068c270]
call sym.ErrorReportClient.exe_wchar_t_const____ptr64___cdecl_SfGetString_struct_HSFLANG______ptr64__wchar_t_const__const___ptr64_const____ptr64_
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov r9, rax
mov qword [rsp + 0x20], rsi
lea rcx, [rbp - 0x59]
lea edx, [r8 + 0x40]
call sym.ErrorReportClient.exe_SfCchPrintF
lea rdx, [rbp - 0x59]
lea rcx, str.MusicTime.Label.Full
call sym.ErrorReportClient.exe_SfPrintF_AddToken
mov rsi, qword [rsp + 0x120]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0xf0
pop rdi
pop rbx
pop rbp
ret