Function at 0x2100f9a20
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov r14, qword [rsp + 0xd0]
mov rdi, rdx
mov rbx, r8
mov rsi, r9
call sym.__get_lcid_from_locale_char_const_
mov r12d, eax
cmp eax, 0xffffffff
je 0x2100f9d50
test eax, eax
jne 0x2100f9b88
mov rcx, qword [rsp + 0xd8]
lea rdx, [0x21029d5de]
call sym.msys_2.0.dll_strcmp
test eax, eax
je 0x2100f9b74
mov ecx, 0x200
call sym.malloc_1
mov r13, rax
test rax, rax
je 0x2100f9d50
movdqu xmm0, xmmword [rdi]
mov rdx, qword [rsp + 0xd8]
mov rcx, r13
movups xmmword [rbx], xmm0
movdqu xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movdqu xmm2, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm2
movdqu xmm3, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm3
movdqu xmm4, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm4
movdqu xmm5, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm5
movdqu xmm0, xmmword [rdi + 0x60]
movups xmmword [rbx + 0x60], xmm0
movdqu xmm1, xmmword [rdi + 0x70]
movups xmmword [rbx + 0x70], xmm1
movdqu xmm2, xmmword [rdi + 0x80]
movups xmmword [rbx + 0x80], xmm2
movdqu xmm3, xmmword [rdi + 0x90]
movups xmmword [rbx + 0x90], xmm3
movdqu xmm4, xmmword [rdi + 0xa0]
movups xmmword [rbx + 0xa0], xmm4
movdqu xmm5, xmmword [rdi + 0xb0]
movups xmmword [rbx + 0xb0], xmm5
movdqu xmm0, xmmword [rdi + 0xc0]
movups xmmword [rbx + 0xc0], xmm0
movdqu xmm1, xmmword [rdi + 0xd0]
mov qword [rbx + 0xa8], r13
movups xmmword [rbx + 0xd0], xmm1
call sym.msys_2.0.dll_stpcpy
mov rcx, r13
lea rdi, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x48], rdi
sub rdx, r13
call sym.realloc_1
test rax, rax
je 0x2100f9d3e
cmp rax, r13
jne 0x2100fa1d8
mov qword [rsi], rax
mov eax, 1
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x200
call sym.malloc_1
mov r13, rax
lea rbp, [rax + 0x200]
test rax, rax
je 0x2100f9d50
mov r8, r13
mov edx, 0x15
mov ecx, r12d
mov qword [rsp + 0x48], r13
mov r9d, 0x100
call sym.GetLocaleInfoW
cmp word [r13 + 6], 0
mov qword [rbx + 0xb0], r13
cdqe
lea rdi, [r13 + rax*2]
mov qword [rsp + 0x48], rdi
je 0x2100f9d60
mov r9, rbp
mov rdx, rdi
mov r8, r13
mov rcx, r14
mov dword [rsp + 0x20], 0
sub r9, rdi
call sym.lc_wcstombs_int_____reent__char__wchar_t___mbstate_t___char__wchar_t_const__unsigned_long__bool_
mov rdx, qword [rsp + 0x48]
mov qword [rbx], rdi
mov r9, rbp
mov ecx, r12d
lea rdi, [rsp + 0x58]
lea r15, [rdx + rax + 1]
mov edx, 0x14
sub r9, r15
mov r8, r15
mov qword [rsp + 0x48], r15
shr r9, 1
call sym.GetLocaleInfoW
mov qword [rbx + 0xb8], r15
mov qword [rsp + 0x50], 0
cdqe
movzx r8d, word [r15]
lea rdx, [r15 + rax*2]
mov qword [rsp + 0x48], rdx
test r8w, r8w
je 0x2100f9cbb
mov qword [rsp + 0x38], 0
lea r9, [rsp + 0x50]
lea rdi, [rsp + 0x58]
mov rcx, qword gs:[8]
mov rdx, rdi
mov qword [rsp + 0x30], r9
sub rcx, 0x2980
call r14
movsxd rdx, eax
cmp eax, 0xffffffff
je 0x2100f9d80
movzx r8d, word [r15 + 2]
add r15, 2
add qword [rsp + 0x38], rdx
mov r9, qword [rsp + 0x30]
test r8w, r8w
jne 0x2100f9c63
cmp qword [rsp + 0x38], 0xffffffffffffffff
mov rdx, qword [rsp + 0x48]
je 0x2100fa206
mov r15, qword [rbx + 0xb8]
mov r9, rbp
mov r8, r15
mov rcx, r14
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], 0
sub r9, rdx
call sym.lc_wcstombs_int_____reent__char__wchar_t___mbstate_t___char__wchar_t_const__unsigned_long__bool_
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
lea r15, [rcx + rax + 1]
mov qword [rbx + 8], rdx
mov qword [rsp + 0x48], r15
cmp r12d, 0x429
jne 0x2100f9d99
lea rdx, [r15 + 8]
lea rax, [r15 + 4]
mov r9, rbp
mov r8, r15
mov dword [r15], 0x66b
sub r9, rdx
mov qword [rbx + 0xc0], r15
mov dword [r15 + 4], 0x66c
mov qword [rsp + 0x48], rdx
mov qword [rbx + 0xc8], rax
mov dword [rsp + 0x20], 0
jmp 0x2100f9e18
mov rcx, r13
call sym.free_1
nop word cs:[rax + rax]
mov eax, 0xffffffff
jmp 0x2100f9b74
lea rdi, [r13 + 0xa]
mov dword [r13 + 6], 0x20
mov qword [rsp + 0x48], rdi
jmp 0x2100f9bdf
mov rax, qword [rbx]
mov r15, qword [rsp + 0x48]
mov qword [rbx + 8], rax
cmp r12d, 0x429
je 0x2100f9cfe
cmp r12d, 0x463
je 0x2100f9cfe
mov r9, rbp
mov r8, r15
mov edx, 0x16
mov ecx, r12d
sub r9, r15
shr r9, 1
call sym.GetLocaleInfoW
mov r9, rbp
mov edx, 0x17
mov ecx, r12d
cdqe
mov qword [rbx + 0xc0], r15
lea r8, [r15 + rax*2]
sub r9, r8
mov qword [rsp + 0x48], r8
shr r9, 1
mov qword [rsp + 0x30], r8
call sym.GetLocaleInfoW
mov r8, qword [rsp + 0x30]
mov dword [rsp + 0x20], 0
mov r9, rbp
cdqe
lea rdx, [r8 + rax*2]
mov qword [rbx + 0xc8], r8
mov r8, qword [rbx + 0xc0]
mov qword [rsp + 0x48], rdx
sub r9, rdx
mov rcx, r14
mov qword [rsp + 0x30], rdx
call sym.lc_wcstombs_int_____reent__char__wchar_t___mbstate_t___char__wchar_t_const__unsigned_long__bool_
mov rdx, qword [rsp + 0x30]
mov r9, rbp
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x20], 0
mov r8, qword [rbx + 0xc8]
mov qword [rbx + 0x10], rdx
lea r15, [rcx + rax + 1]
mov rcx, r14
sub r9, r15
mov rdx, r15
mov qword [rsp + 0x48], r15
call sym.lc_wcstombs_int_____reent__char__wchar_t___mbstate_t___char__wchar_t_const__unsigned_long__bool_
mov qword [rbx + 0x18], r15
lea r8, [rsp + 0x48]
mov ecx, r12d
mov edx, 0x18
add rax, 1
add qword [rsp + 0x48], rax
call sym.conv_grouping_unsigned_int__unsigned_int__char_
mov r15, qword [rsp + 0x48]
mov r9, rbp
mov ecx, r12d
mov qword [rbx + 0x20], rax
mov edx, 0x50
sub r9, r15
mov r8, r15
shr r9, 1
call sym.GetLocaleInfoW
mov r9, rbp
mov r8, r15
mov rcx, r14
mov qword [rbx + 0xd0], r15
cdqe
mov dword [rsp + 0x20], 0
lea rdx, [r15 + rax*2]
sub r9, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x30], rdx
call sym.lc_wcstombs_int_____reent__char__wchar_t___mbstate_t___char__wchar_t_const__unsigned_long__bool_
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov r9, rbp
lea r15, [rcx + rax + 1]
mov qword [rbx + 0x28], rdx
mov ecx, r12d
mov edx, 0x51
sub r9, r15
mov r8, r15
mov qword [rsp + 0x48], r15
shr r9, 1
call sym.GetLocaleInfoW
mov r9, rbp
mov r8, r15
mov rcx, r14
cdqe
mov qword [rbx + 0xd8], r15
mov dword [rsp + 0x20], 0
lea rdx, [r15 + rax*2]
sub r9, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x30], rdx
call sym.lc_wcstombs_int_____reent__char__wchar_t___mbstate_t___char__wchar_t_const__unsigned_long__bool_
mov rdx, qword [rsp + 0x30]
mov r8, rdi
mov ecx, r12d
mov r9d, 4
add rax, 1
add qword [rsp + 0x48], rax
mov qword [rbx + 0x30], rdx
mov edx, 0x2000001a
call sym.GetLocaleInfoW
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x2100fa1d0
mov edx, dword [rsp + 0x58]
mov byte [rax], dl
mov rax, qword [rsp + 0x48]
mov r9d, 4
mov r8, rdi
mov ecx, r12d
mov qword [rbx + 0x38], rax
lea rdx, [rax + 1]
mov qword [rsp + 0x48], rdx
mov edx, 0x20000019
call sym.GetLocaleInfoW
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x2100fa1c0
mov edx, dword [rsp + 0x58]
mov byte [rax], dl
mov rax, qword [rsp + 0x48]
mov r9d, 4
mov r8, rdi
mov ecx, r12d
mov qword [rbx + 0x40], rax
lea rdx, [rax + 1]
mov qword [rsp + 0x48], rdx
mov edx, 0x20000054
call sym.GetLocaleInfoW
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x2100fa1b0
mov edx, dword [rsp + 0x58]
mov byte [rax], dl
mov rax, qword [rsp + 0x48]
mov r9d, 4
mov r8, rdi
mov ecx, r12d
mov qword [rbx + 0x78], rax
lea rdx, [rax + 1]
mov qword [rbx + 0x48], rax
mov qword [rsp + 0x48], rdx
mov edx, 0x20000055
call sym.GetLocaleInfoW
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x2100fa1a0
mov edx, dword [rsp + 0x58]
mov byte [rax], dl
mov rax, qword [rsp + 0x48]
mov r9d, 4
mov r8, rdi
mov ecx, r12d
mov qword [rbx + 0x80], rax
lea rdx, [rax + 1]
mov qword [rbx + 0x50], rax
mov qword [rsp + 0x48], rdx
mov edx, 0x20000056
call sym.GetLocaleInfoW
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x2100fa190
mov edx, dword [rsp + 0x58]
mov byte [rax], dl
mov rax, qword [rsp + 0x48]
mov r9d, 4
mov r8, rdi
mov ecx, r12d
mov qword [rbx + 0x88], rax
lea rdx, [rax + 1]
mov qword [rbx + 0x58], rax
mov qword [rsp + 0x48], rdx
mov edx, 0x20000057
call sym.GetLocaleInfoW
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x2100fa180
mov edx, dword [rsp + 0x58]
mov byte [rax], dl
mov rax, qword [rsp + 0x48]
mov r9d, 4
mov r8, rdi
mov ecx, r12d
mov qword [rbx + 0x90], rax
lea rdx, [rax + 1]
mov qword [rbx + 0x60], rax
mov qword [rsp + 0x48], rdx
mov edx, 0x20000052
call sym.GetLocaleInfoW
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x2100fa170
mov edx, dword [rsp + 0x58]
mov byte [rax], dl
mov rax, qword [rsp + 0x48]
mov r9d, 4
mov r8, rdi
mov ecx, r12d
mov qword [rbx + 0x98], rax
lea rdx, [rax + 1]
mov qword [rbx + 0x68], rax
mov qword [rsp + 0x48], rdx
mov edx, 0x20000053
call sym.GetLocaleInfoW
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x2100fa150
mov edx, dword [rsp + 0x58]
mov byte [rax], dl
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0xa0], rax
lea rcx, [rax + 1]
mov qword [rbx + 0x70], rax
mov qword [rbx + 0xa8], rcx
mov rdx, qword [rsp + 0xd8]
jmp 0x2100f9b3e
mov byte [rax], 0
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0xa0], rax
lea rcx, [rax + 1]
mov qword [rbx + 0x70], rax
jmp 0x2100fa137
mov byte [rax], 0
jmp 0x2100fa0e5
mov byte [rax], 0
jmp 0x2100fa0a3
mov byte [rax], 0
jmp 0x2100fa061
mov byte [rax], 0
jmp 0x2100fa01f
mov byte [rax], 0
jmp 0x2100f9fe0
mov byte [rax], 0
jmp 0x2100f9fa5
mov byte [rax], 0
jmp 0x2100f9f6a
mov r8, rax
lea rcx, [rbx + 0xe0]
sub r8, r13
mov rdx, qword [rbx]
cmp rdx, rdi
jae 0x2100fa1f8
cmp rdx, r13
jb 0x2100fa1f8
add rdx, r8
mov qword [rbx], rdx
add rbx, 8
cmp rcx, rbx
jne 0x2100fa1e5
jmp 0x2100f9b6c
mov rax, qword [rbx]
mov r15, rdx
mov qword [rbx + 8], rax
jmp 0x2100f9d8c