Function at 0x7ff7610781d0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rsi, qword [0x7ff76293ada0]
mov rbp, rcx
test rsi, rsi
jne 0x7ff761078207
mov r8d, 0x10d6
lea rdx, [0x7ff76117e620]
lea rcx, [0x7ff76117eb70]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rsi, qword [0x7ff76293ada0]
cmp qword [rsi + 0x90], 0
je 0x7ff76107822b
mov r8d, 0x8b
lea rdx, [0x7ff76118aac0]
lea rcx, [0x7ff76118ab80]
call qword [sym.imp.ucrtbase.dll__wassert]
lea rcx, [rsp + 0x80]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x7ff76107845e
lea rcx, [rsp + 0x88]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x7ff76107845e
mov qword [rsp + 0x70], rbx
mov ecx, 0x50
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ucrtbase.dll_malloc]
mov r8, qword [0x7ff76293ada0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x7ff7610782dc
movsx rdx, word [r8 + 0x6078]
lea rax, [r8 + 0x607c]
mov r9d, dword [r8 + reloc.ucrtbase.dll_free]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x7ff7610782d1
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rax, [rax*8 + 0x607c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + reloc.ucrtbase.dll_free]
test rdi, rdi
je 0x7ff7610782f9
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x7ff7610782fc
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x7ff76118ac28]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x7ff761078345
mov rsi, qword [r8 + 0x90]
jmp 0x7ff761078348
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.user32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.kernel32.dll_GetLocaleInfoA]
test eax, eax
jne 0x7ff761078373
mov dword [rsi + 0x2c], ebx
mov rsi, qword [0x7ff76293ada0]
cmp dword [rsi + reloc.ucrtbase.dll_free], ebx
jg 0x7ff76107839c
mov r8d, 0x76b
lea rdx, [0x7ff76117e400]
lea rcx, [0x7ff761183878]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rax, qword [rsi + 0x4b00]
mov rcx, qword [rax]
lea rax, [0x7ff76118ac40]
mov qword [rsp + 0x28], rax
lea rax, [0x7ff76118ac50]
mov qword [rsp + 0x30], rax
lea rax, [0x7ff76118ac60]
mov qword [rsp + 0x38], rax
lea rax, [0x7ff76118ac70]
mov qword [rsp + 0x40], rax
lea rax, [0x7ff76118ac80]
mov qword [rcx + 0x28], rbp
mov qword [rsp + 0x48], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x28]
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x7ff76107841f
inc rbx
cmp rbx, 5
jl 0x7ff7610783f0
mov rdi, qword [rsp + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
pop rsi
pop rbp
ret
lea rdx, [0x7ff76118ac90]
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [0x7ff76118aca8]
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x48], rax
mov al, 1
mov rdi, qword [rsp + 0x50]
add rsp, 0x58
pop rsi
pop rbp
ret
xor al, al
add rsp, 0x58
pop rsi
pop rbp
ret