Function at 0x1404d2d40
Capabilities:
Get geographical location

Disassembly:
push rbp
cbw
test dil, 0xc1
inc ax
push rbx
and ah, 0x62
bts rbp, r13
push rsi
cmovo bp, bx
bswap eax
cmp r15b, r9b
push rdi
sal dil, 0xff
mov al, r10b
stc
push r12
rcr ax, 0x8d
push r14
push r15
and r14b, 0xe1
mov rbp, rsp
dec eax
mov r14b, 4
sub rsp, 0x40
cbw
mov rax, qword [0x1400b7288]
sal rdi, 0xba
sub r15b, 0x4f
shr r15b, cl
xor rax, rsp
movzx rdi, r10w
bswap edi
movsxd rdi, ebx
mov qword [rbp - 0x10], rax
bswap r14w
cmovnp r14w, r11w
mov rdi, r8
mov r15, rdx
setp r14b
mov r14, rcx
jmp 0x1404d2dbf
call fcn.1404c625b
mov rsi, rax
xor eax, eax
jmp 0x1404d2dce
mov qword [rbp - 0x20], rax
jmp 0x1404d2dd7
mov dword [rbp - 0x18], eax
call fcn.1404c625b
lea rcx, [rbp - 0x20]
xadd bx, bx
xor r12d, r12d
lea rbx, [rsi + 0xa0]
clc
mov qword [rax + 0x3a0], rcx
lea rax, [r14 + 0x80]
mov qword [rsi + 0x98], r14
cmp r9b, r15b
mov qword [rbx], rax
test rax, rax
je 0x1404d2e4a
cmp word [rax], r12w
jmp 0x1404d2e1f
je 0x1404d2e4a
mov edx, dword [0x1400c6a60]
bswap cx
movzx ecx, sp
lea rcx, [0x1400c68f0]
mov r8b, 0xbd
dec edx
mov r8, rbx
jmp 0x1404d2e45
call fcn.1404d31ea
mov dword [rbp - 0x20], r12d
mov rax, 0x2a930857
sub al, 0xc9
mov rax, qword [rsi + 0x98]
test rax, rax
jmp 0x1404d2e66
je 0x1404d2f45
cmp word [rax], r12w
jmp 0x1404d2e75
je 0x1404d2f45
mov rax, qword [rbx]
jmp 0x1404d2e83
test rax, rax
jmp 0x1404d2e8b
je 0x1404d2eae
cmp word [rax], r12w
jmp 0x1404d2e9a
je 0x1404d2eae
lea rcx, [rbp - 0x20]
call fcn.1404d333c
jmp 0x1404d2ebc
lea rcx, [rbp - 0x20]
jmp 0x1404d2eb7
call fcn.1404d398e
cmp dword [rbp - 0x20], r12d
jmp 0x1404d2ec5
jne 0x1404d301d
mov edx, dword [0x1400c68e0]
mov r8b, r13b
lea r8, [rsi + 0x98]
dec edx
movzx ecx, sp
lea rcx, [0x1400c64d0]
call fcn.1404d31ea
test al, al
jmp 0x1404d2ef3
je 0x1404d300e
mov rax, qword [rbx]
cmc
jmp 0x1404d2f02
test rax, rax
jmp 0x1404d2f0a
je 0x1404d2f32
cmp word [rax], r12w
jmp 0x1404d2f19
je 0x1404d2f32
lea rcx, [rbp - 0x20]
jmp 0x1404d2f28
call fcn.1404d333c
jmp 0x1404d300e
lea rcx, [rbp - 0x20]
jmp 0x1404d2f3b
call fcn.1404d398e
jmp 0x1404d300e
mov rax, qword [rbx]
test r15w, 0x1933
jmp 0x1404d2f53
test rax, rax
je 0x1404d2ff6
cmp word [rax], r12w
jmp 0x1404d2f65
je 0x1404d2ff6
call fcn.1404c625b
mov rdx, rax
or rcx, 0xffffffffffffffff
mov rax, qword [rax + 0xa0]
jmp 0x1404d2f83
inc rcx
test dil, 0xe4
jmp 0x1404d2f8f
cmp word [rax + rcx*2], r12w
jmp 0x1404d2f99
jne 0x1404d2f83
cmp rcx, 3
mov eax, r12d
movzx cx, dil
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d2fba
mov dword [rdx + 0xb4], eax
movsx edx, si
movzx rdx, r10w
cqo
mov edx, 1
jmp 0x1404d2fd3
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d2fe2
jne 0x1404d300e
mov dword [rbp - 0x20], r12d
jmp 0x1404d2ff1
jmp 0x1404d300e
mov dword [rbp - 0x20], 0x104
jmp 0x1404d3002
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404d3017
je 0x1404d319b
lea rax, [r14 + 0x100]
neg r14
cwd
lea rdx, [rbp - 0x20]
jmp 0x1404d3032
sbb rcx, rcx
and rcx, rax
jmp 0x1404d303d
call fcn.1404d3edf
mov ebx, eax
clc
test eax, eax
je 0x1404d319b
movzx ecx, bx
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d305d
je 0x1404d319b
mov ecx, dword [rbp - 0x1c]
setbe dh
xchg dl, dh
mov dh, 0x23
mov edx, 1
jmp 0x1404d3078
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d3085
je 0x1404d319b
test r15, r15
jmp 0x1404d3093
je 0x1404d30a1
mov dword [r15], ebx
xor cx, 0x2335
mov ecx, dword [rbp - 0x1c]
sal r8b, cl
test bl, r10b
cdq
lea rdx, [rsi + 0x2f0]
and r8b, r10b
sub r9d, r9d
movsxd rsi, r14d
mov sil, r9b
lea esi, [r9 + 0x55]
not r8b
movsxd r8, ecx
mov r8d, esi
call fcn.1404c7d23
test rdi, rdi
je 0x1404d318c
mov ecx, dword [rbp - 0x1c]
cqo
lea rdx, [rdi + 0x120]
clc
setb r8b
xor r9d, r9d
mov r8d, esi
jmp 0x1404d30f5
call fcn.1404c7d23
mov ecx, dword [rbp - 0x1c]
cdq
movzx si, r11b
mov esi, 0x40
movsx r8d, sp
cmovnp r9, rcx
mov r9d, esi
cwd
movsxd r8, esi
mov dl, r10b
mov r8, rdi
bswap edx
not rdx
xchg dh, dh
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d319b
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
mov r9d, esi
mov dx, 0x47fa
movzx dx, r8b
mov edx, 0x1002
jmp 0x1404d3158
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d3165
je 0x1404d319b
lea rdx, [rdi + 0x100]
mov ecx, ebx
movsx r9w, bl
lea r9d, [rsi - 0x36]
movsxd r8, r12d
mov r8b, cl
lea r8d, [rsi - 0x30]
call fcn.1404e0998
mov eax, 1
jmp 0x1404d3196
jmp 0x1404d319d
xor eax, eax
mov rcx, qword [rbp - 0x10]
cmp ax, 0x61b9
xor rcx, rsp
jmp 0x1404d31ad
call fcn.14049c411
add rsp, 0x40
pop r15
setl sil
pop r14
pop r12
cmovl rdi, r10
movsxd rsi, r14d
jmp 0x1404d31cc
pop rdi
setne bh
movzx si, r13b
pop rsi
movsx ebx, sp
xchg bx, bp
setb bh
pop rbx
movsx ebp, dx
pop rbp
jmp 0x1404d31e9
ret