Function at 0x140036640
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x60
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, rdx
mov rbp, rcx
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
mov qword [rax + 0x10], rcx
lea rcx, [rax - 0x60]
call fcn.1400332d4
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2c], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3c], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rbp + 0x4c], xmm0
mov eax, dword [rax + 0x28]
mov dword [rbp + 0x54], eax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__Getdays]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400366ca
lea rcx, [r14 + 8]
mov rdx, rax
call fcn.14000d084
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rsi, str.:Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday
cmp qword [r14 + 8], 0
cmovne rsi, qword [r14 + 8]
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x1400366e2
mov r12d, 1
add rdi, r12
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_calloc]
nop dword [rax + rax]
test rax, rax
je 0x14003685b
test rdi, rdi
je 0x140036727
mov rdx, rax
sub rdx, rsi
mov cl, byte [rsi]
mov byte [rdx + rsi], cl
add rsi, r12
sub rdi, r12
jne 0x14003671a
mov qword [rbp + 0x10], rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__Getmonths]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14003675a
lea rcx, [r14 + 0x18]
mov rdx, rax
call fcn.14000d084
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rdi, [0x140059ca0]
cmp qword [r14 + 0x18], 0
cmovne rdi, qword [r14 + 0x18]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14003676b
add rbx, r12
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_calloc]
nop dword [rax + rax]
test rax, rax
je 0x14003685b
test rbx, rbx
je 0x1400367aa
mov rdx, rax
sub rdx, rdi
mov cl, byte [rdi]
mov byte [rdx + rdi], cl
add rdi, r12
sub rbx, r12
jne 0x14003679d
mov qword [rbp + 0x18], rax
lea rbx, [0x140059f00]
mov edi, 0xd
mov rdx, r12
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_calloc]
nop dword [rax + rax]
test rax, rax
je 0x14003685b
mov rdx, rax
sub rdx, rbx
mov cl, byte [rbx]
mov byte [rdx + rbx], cl
add rbx, r12
sub rdi, r12
jne 0x1400367da
mov qword [rbp + 0x20], rax
and dword [rsp + 0x90], edi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o____lc_locale_name_func]
nop dword [rax + rax]
lea ebx, [rdi + 2]
mov r9d, ebx
lea r8, [rsp + 0x90]
lea edx, [rdi + 0x22]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
nop dword [rax + rax]
mov eax, dword [rsp + 0x90]
cmp ax, 0x30
je 0x140036843
cmp ax, 0x31
jne 0x140036837
mov ebx, r12d
jmp 0x140036843
xor ebx, ebx
lea ecx, [rbx + 3]
cmp ax, 0x32
cmove ebx, ecx
mov dword [rbp + 0x28], ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000b18c
nop
int3