Function at 0x100017a98
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x10001f110]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r13, rdx
mov rsi, rcx
mov ebx, r8d
mov ebp, 1
lea rdx, [0x100007110]
lea rcx, [rsp + 0x38]
mov r9d, ebp
mov r8d, 0x348
call fcn.100018110
xor r14d, r14d
or eax, 0xffffffff
lea r11, [0x100005940]
lea rcx, [rsp + 0x92]
xor edx, edx
mov r8d, 0x9e
mov qword [rsp + 0x80], r14
mov edi, eax
mov qword [rsp + 0x78], r11
mov dword [rsp + 0x70], r14d
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x30], eax
mov word [rsp + 0x90], r14w
call sub.msvcrt.dll_memset
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, 3
jne 0x100017d48
lea r9d, [rbp + 1]
lea r8, [rsp + 0x30]
mov edx, 0x2000100c
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, r14d
jne 0x100017b88
call fcn.100019734
mov ebx, eax
mov dword [rsp + 0x38], eax
mov eax, 0x359
mov word [rsp + 0x3e], ax
jmp 0x100017cf4
cmp dword [rsp + 0x30], 7
mov eax, 0x359
mov word [rsp + 0x3c], ax
mov eax, 0x35c
jb 0x100017ba9
mov ebx, 0x80004005
mov dword [rsp + 0x38], ebx
jmp 0x100017b7e
lea r8, [rsp + 0x74]
mov edx, 0x400
mov rcx, rsi
mov dword [rsp + 0x38], r14d
mov word [rsp + 0x3c], ax
call fcn.1000179e8
mov ebx, eax
mov dword [rsp + 0x38], eax
cmp eax, r14d
mov eax, 0x35f
jl 0x100017b7e
mov r15d, r14d
mov r14d, dword [rsp + 0x30]
mov word [rsp + 0x3c], ax
lea ebp, [rax + 9]
mov edx, dword [rsp + 0x74]
xor ebx, ebx
lea r8d, [r14 + 7]
lea r9, [rsp + 0x90]
mov ecx, 0x400
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x90], bx
mov dword [rsp + 0x20], 0x50
call qword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
cmp eax, ebx
je 0x100017d36
lea r9, [rsp + 0x90]
or r8, 0xffffffffffffffff
mov edx, 0x14a
mov rcx, r13
mov dword [rsp + 0x38], ebx
mov word [rsp + 0x3c], bp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
mov eax, 0x36b
je 0x100017b9e
mov ecx, r14d
mov word [rsp + 0x3c], ax
lea rax, [0x100005ae0]
lea rdx, [rcx + rcx*2]
mov dword [rsp + 0x38], ebx
mov r8, rbp
lea rbx, [rax + rdx*4]
mov edx, 0x151
mov rcx, r13
mov r9, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsi + 0x54]
cmp dword [rbx], r11d
jne 0x100017c93
cmp dword [rsi + 0x50], 3
cmove edi, ebp
inc r14d
mov eax, 0x24924925
inc r15d
mov ebp, 0x368
mul r14d
mov eax, r14d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 2
imul eax, eax, 7
sub r14d, eax
cmp r15d, 7
jb 0x100017be5
mov r8d, edi
xor r9d, r9d
mov edx, 0x14e
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
cmp edi, 0xffffffff
jne 0x100017cf0
mov eax, dword [rsp + 0x30]
lea rcx, [rax + rax*2]
lea rax, [0x100005ae0]
mov eax, dword [rax + rcx*4]
mov dword [rsi + 0x68], eax
mov ebx, dword [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.10001ae2c
lea rcx, [rsp + 0x38]
call fcn.100018228
mov eax, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.10001c400
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
call fcn.100019734
mov word [rsp + 0x3e], bp
mov ebx, eax
mov dword [rsp + 0x38], eax
jmp 0x100017cf4
cmp ebx, 4
jne 0x100017cf0
mov edi, r14d
mov r15d, 0x38b
lea rdx, [0x1000067cc]
lea rcx, [rsp + 0x78]
mov r8d, ebp
call fcn.10001b3a4
mov ebx, eax
mov dword [rsp + 0x38], eax
cmp eax, r14d
mov eax, 0x389
jl 0x100017b7e
mov r9, qword [rsp + 0x78]
or r8, 0xffffffffffffffff
mov edx, 0x14a
mov rcx, r13
mov word [rsp + 0x3c], ax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x100017e96
inc ebp
mov dword [rsp + 0x38], r14d
mov word [rsp + 0x3c], r15w
cmp ebp, 0x1f
jbe 0x100017d56
mov rdx, qword [0x1000209c8]
lea rcx, [rsp + 0x78]
mov r8d, 0x43d
call fcn.10001b768
mov ebx, eax
mov dword [rsp + 0x38], eax
cmp eax, r14d
mov eax, 0x38e
jl 0x100017b7e
mov r9, qword [rsp + 0x78]
or r8, 0xffffffffffffffff
mov edx, 0x14a
mov rcx, r13
mov word [rsp + 0x3c], ax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
mov eax, 0x390
je 0x100017b9e
cmp dword [rsi + 0x50], 4
mov dword [rsp + 0x38], r14d
mov word [rsp + 0x3c], ax
jne 0x100017e6d
cmp dword [rsi + 0x70], r14d
je 0x100017e29
mov edi, 0x1f
jmp 0x100017e6d
mov ecx, dword [rsi + 0x54]
lea rdx, [rsp + 0x70]
call fcn.100008ba8
mov ebx, eax
mov dword [rsp + 0x38], eax
cmp eax, r14d
mov eax, 0x39a
jl 0x100017b7e
mov edi, dword [rsp + 0x70]
mov word [rsp + 0x3c], ax
mov eax, 0x39b
dec edi
cmp edi, 0x1e
ja 0x100017b9e
mov dword [rsp + 0x38], r14d
mov word [rsp + 0x3c], ax
mov r8d, edi
xor r9d, r9d
mov edx, 0x14e
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
cmp edi, r14d
jne 0x100017cf0
mov dword [rsi + 0x68], 1
jmp 0x100017cf0
mov ebx, 0x80004005
mov word [rsp + 0x3e], r15w
mov dword [rsp + 0x38], ebx
jmp 0x100017cf4