Function at 0x14002d240
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.140029ed4
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 0x14002d2ca
lea rcx, [r14 + 8]
mov rdx, rax
call fcn.14000d0d4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rsi, [0x14004d560]
cmp qword [r14 + 8], 0
cmovne rsi, qword [r14 + 8]
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x14002d2e2
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 0x14002d45b
test rdi, rdi
je 0x14002d327
mov rdx, rax
sub rdx, rsi
mov cl, byte [rsi]
mov byte [rdx + rsi], cl
add rsi, r12
sub rdi, r12
jne 0x14002d31a
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 0x14002d35a
lea rcx, [r14 + 0x18]
mov rdx, rax
call fcn.14000d0d4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rdi, str.:Jan:January:Feb:February:Mar:March:Apr:April:May:May:Jun:June:Jul:July:Aug:August:Sep:September:Oct:October:Nov:November:Dec:December
cmp qword [r14 + 0x18], 0
cmovne rdi, qword [r14 + 0x18]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14002d36b
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 0x14002d45b
test rbx, rbx
je 0x14002d3aa
mov rdx, rax
sub rdx, rdi
mov cl, byte [rdi]
mov byte [rdx + rdi], cl
add rdi, r12
sub rbx, r12
jne 0x14002d39d
mov qword [rbp + 0x18], rax
lea rbx, [0x14004d830]
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 0x14002d45b
mov rdx, rax
sub rdx, rbx
mov cl, byte [rbx]
mov byte [rdx + rbx], cl
add rbx, r12
sub rdi, r12
jne 0x14002d3da
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 0x14002d443
cmp ax, 0x31
jne 0x14002d437
mov ebx, r12d
jmp 0x14002d443
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.14000b1dc
nop
int3