Function at 0x14003ce5c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x290
mov rax, qword [0x14009e140]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, rcx
mov r12, rdx
lea rcx, [rsp + 0x72]
xor r13d, r13d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x70], r13w
call sub.msvcrt.dll_memset
xor eax, eax
mov edi, 0xf0
xor edx, edx
mov rcx, r12
mov r8, rdi
mov word [rsp + 0x38], r13w
mov qword [rsp + 0x3a], rax
mov qword [rsp + 0x42], rax
mov dword [rsp + 0x4a], eax
mov word [rsp + 0x4e], ax
call sub.msvcrt.dll_memset
mov dword [r12], edi
mov rcx, qword [rbp + 0x18]
call fcn.140077860
mov qword [r12 + 8], rax
mov rcx, qword [rbp + 0x20]
call fcn.140077860
mov qword [r12 + 0x10], rax
mov rcx, qword [rbp + 0xd8]
call fcn.140077860
mov qword [r12 + 0xc8], rax
mov rcx, qword [rbp + 0xd0]
call fcn.140077860
lea r8d, [r13 + 0xa]
lea rdx, [rsp + 0x38]
mov qword [r12 + 0xc0], rax
mov ecx, dword [rbp + 0xf0]
call qword [sym.imp.msvcrt.dll__itow]
mov rcx, rax
call fcn.140077860
mov qword [r12 + 0xd8], rax
mov rcx, qword [rbp + 0xf8]
call fcn.140077860
mov qword [r12 + 0xe0], rax
mov rcx, qword [rbp + 0x100]
call fcn.140077860
lea rdi, [r12 + 0x18]
lea rbx, [rbp + 0x28]
mov qword [r12 + 0xe8], rax
lea esi, [r13 + 0x15]
mov rcx, qword [rdi]
cmp rcx, r13
je 0x14003cf84
call fcn.140076afc
mov rcx, qword [rbx]
call fcn.140077860
add rbx, 8
mov qword [rdi], rax
add rdi, 8
sub rsi, 1
jne 0x14003cf77
lea rsi, [rbp + 0xe0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x14003cfe1
test byte [rcx + 0x1c], 2
je 0x14003cfe1
cmp byte [rcx + 0x19], 5
jb 0x14003cfe1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008e38]
mov edx, 0x1e
call fcn.14000ffa8
mov edi, 0x10
mov ebp, 0x400
lea r8, [rsp + 0x50]
lea edx, [rdi + 0x48]
mov r9d, edi
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r14d, [rdi + 0x10]
cmp eax, r13d
je 0x14003d053
mov eax, 0x800
test word [rsp + 0x5e], ax
je 0x14003d053
lea r9d, [rdi - 0xe]
lea r8, [rsp + 0x30]
mov edx, 0x20001009
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, r13d
je 0x14003d053
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x14003d050
cmp eax, 6
je 0x14003d050
cmp eax, 0x17
je 0x14003d050
cmp eax, 0xa
je 0x14003d050
cmp eax, 0xb
je 0x14003d050
cmp eax, 0xc
jne 0x14003d053
mov edi, r14d
lea rax, [rsp + 0x70]
mov ebx, 0x104
xor r9d, r9d
mov r8, rsi
mov edx, edi
mov ecx, ebp
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x70]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov edx, ecx
inc ecx
cmp ecx, ebx
jae 0x14003d0b7
mov word [rsp + rdx*2 + 0x70], r14w
lea rdx, [rsp + rdx*2 + 0x72]
sub ebx, ecx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor edx, edx
mov r8, rsi
mov ecx, ebp
call fcn.14007ebd4
lea rcx, [rsp + 0x70]
call fcn.140077860
mov qword [r12 + 0xd0], rax
mov eax, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14008c5b0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret