Function at 0x1400d0c40
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12d, edx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x20], 1
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov r9d, 0xff
lea r8, [rsp + 0x70]
mov edx, 1
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, 0xffffffffffffffff
test eax, eax
je 0x1400d0d5e
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140017720
nop
mov rsi, qword [rax]
mov r14, qword [rax + 8]
mov r15, qword [rax + 0x10]
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov dword [rsp + 0x20], 9
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400d0d2a
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d0d2a
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.140030bb0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
test rcx, rcx
je 0x1400d0d5e
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d0d5e
mov edx, 2
mov r8d, 8
call fcn.140030bb0
cmp qword [rsp + 0x50], 0
je 0x1400d0e31
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14001ce20
or dword [rsp + 0x20], 0x10
lea rdx, [0x1401e4f90]
mov rax, qword [rsp + 0x30]
test rax, rax
cmovne rdx, rax
mov r9d, 0x10
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140062bf0
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
cmp rcx, qword [rsp + 0x38]
jge 0x1400d0dc4
test rcx, rcx
jle 0x1400d0e07
mov rax, qword [rsp + 0x30]
cmp byte [rax + rcx], 0
jne 0x1400d0e07
cmp rdx, 0x814
jne 0x1400d0e07
mov rcx, qword [rdi]
mov qword [rdi], r13
lea rax, [0x140222cc4]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], 2
test rcx, rcx
je 0x1400d0e07
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d0e07
mov edx, 2
mov r8d, 8
call fcn.140030bb0
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400d0e31
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d0e31
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.140030bb0
cmp qword [rdi + 0x10], 0
jne 0x1400d0f22
mov r9d, 0xff
lea r8, [rsp + 0x70]
mov edx, 0x59
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400d0f22
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140017720
nop
mov rsi, qword [rax]
mov r14, qword [rax + 8]
mov r15, qword [rax + 0x10]
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov eax, dword [rsp + 0x20]
or eax, 0xa0
mov dword [rsp + 0x20], eax
test al, 0x40
je 0x1400d0ec2
and dword [rsp + 0x20], 0xffffffbf
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400d0ec2
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d0ec2
mov edx, 2
mov r8d, 8
call fcn.140030bb0
nop
test byte [rsp + 0x20], 0x20
je 0x1400d0ef3
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400d0ef3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d0ef3
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.140030bb0
mov rcx, qword [rdi]
mov qword [rdi], rsi
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r15
test rcx, rcx
je 0x1400d0f22
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d0f22
mov edx, 2
mov r8d, 8
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400d0f4b
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1400d0f4b
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x40]
call fcn.140030bb0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14016c210
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret