Function at 0x1404d8553
Capabilities:
Get geographical location

Disassembly:
push rbp
movzx ebp, r15w
and bpl, r10b
bt ax, ax
push rbx
shl ah, cl
push rsi
dec al
push rdi
dec ax
shrd edi, ebx, 0x80
sbb di, dx
push r12
push r14
rol ah, 0x79
push r15
shl r15w, 0x98
mov rbp, rsp
btc r14, r10
sub rsp, 0x40
cmp r15w, r10w
bts r15w, r9w
mov rax, qword [0x1400b7288]
xor rax, rsp
cmovs di, si
xchg r14, r15
mov di, 0x419a
mov qword [rbp - 0x10], rax
not di
movsx edi, r13w
movsxd r14, r13d
mov rdi, r8
movzx r15d, r13w
mov r15b, 0xa8
movsx r14w, r13b
mov r15, rdx
movsx r14w, cl
jmp 0x1404d85d5
mov r14, rcx
call fcn.1404cba1b
mov rsi, rax
sub eax, eax
mov qword [rbp - 0x20], rax
jmp 0x1404d85eb
mov dword [rbp - 0x18], eax
jmp 0x1404d85f3
call fcn.1404cba1b
lea rcx, [rbp - 0x20]
movzx bx, ah
xor r12d, r12d
ror bx, 0x85
adc bl, bpl
lea rbx, [rsi + 0xa0]
stc
cmp r8b, 0x63
jmp 0x1404d861b
mov qword [rax + 0x3a0], rcx
btc rax, r15
cmp dh, bl
bsr ax, di
lea rax, [r14 + 0x80]
jmp 0x1404d8638
mov qword [rsi + 0x98], r14
test r14w, 0xebc
mov qword [rbx], rax
test rax, rax
jmp 0x1404d8650
je 0x1404d868f
cmp word [rax], r12w
jmp 0x1404d865f
je 0x1404d868f
mov edx, dword [0x1400c6a60]
dec r8w
bswap cx
lea rcx, [0x1400c68f0]
mov r8b, 0x58
setl r8b
dec edx
mov r8, rbx
jmp 0x1404d868a
call fcn.1404d8a56
mov dword [rbp - 0x20], r12d
cwde
mov rax, qword [rsi + 0x98]
cmp di, 0x5848
test rax, rax
je 0x1404d8781
cmp word [rax], r12w
jmp 0x1404d86b2
je 0x1404d8781
mov rax, qword [rbx]
test rax, rax
je 0x1404d86e6
cmp word [rax], r12w
jmp 0x1404d86cd
je 0x1404d86e6
lea rcx, [rbp - 0x20]
jmp 0x1404d86dc
call fcn.1404d8b82
jmp 0x1404d86f4
lea rcx, [rbp - 0x20]
jmp 0x1404d86ef
call fcn.1404d91c7
cmp dword [rbp - 0x20], r12d
jmp 0x1404d86fd
jne 0x1404d8858
mov edx, dword [0x1400c68e0]
mov r8b, 0x1c
xchg r8b, cl
lea r8, [rsi + 0x98]
not ch
movzx cx, dl
movzx rcx, sp
dec edx
lea rcx, [0x1400c64d0]
jmp 0x1404d872e
call fcn.1404d8a56
test al, al
jmp 0x1404d873a
je 0x1404d8849
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d874b
je 0x1404d8773
cmp word [rax], r12w
jmp 0x1404d875a
je 0x1404d8773
lea rcx, [rbp - 0x20]
jmp 0x1404d8769
call fcn.1404d8b82
jmp 0x1404d8849
lea rcx, [rbp - 0x20]
call fcn.1404d91c7
jmp 0x1404d8849
mov rax, qword [rbx]
clc
test rax, rax
je 0x1404d8829
cmp word [rax], r12w
jmp 0x1404d8797
je 0x1404d8829
call fcn.1404cba1b
mov rdx, rax
jmp 0x1404d87b1
or rcx, 0xffffffffffffffff
jmp 0x1404d87ba
mov rax, qword [rax + 0xa0]
jmp 0x1404d87c6
inc rcx
jmp 0x1404d87d1
cmp word [rax + rcx*2], r12w
jne 0x1404d87c6
cmp rcx, 3
mov eax, r12d
cmovg rcx, r9
movsxd rcx, ecx
xchg rcx, rcx
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d87fc
mov dword [rdx + 0xb4], eax
movsx rdx, r15w
mov edx, 1
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jne 0x1404d8849
mov dword [rbp - 0x20], r12d
jmp 0x1404d8824
jmp 0x1404d8849
mov dword [rbp - 0x20], 0x104
jmp 0x1404d8835
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
test bl, dl
test r13b, 0x4d
stc
mov dword [rbp - 0x1c], eax
clc
cmp dword [rbp - 0x20], r12d
jmp 0x1404d8852
je 0x1404d89f6
lea rax, [r14 + 0x100]
cmovae dx, r9w
cmp rsi, 0x30dc1b84
neg r14
mov rdx, r10
cdq
lea rdx, [rbp - 0x20]
jmp 0x1404d887b
sbb rcx, rcx
and rcx, rax
jmp 0x1404d8886
call fcn.1404d9702
mov ebx, eax
stc
test eax, eax
jmp 0x1404d8895
je 0x1404d89f6
movzx ecx, bx
jmp 0x1404d88a3
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d88b0
je 0x1404d89f6
mov ecx, dword [rbp - 0x1c]
movzx rdx, r9w
mov edx, 1
jmp 0x1404d88c7
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d88d4
je 0x1404d89f6
test r15, r15
jmp 0x1404d88e2
je 0x1404d88ef
mov dword [r15], ebx
and cl, r8b
clc
mov ecx, dword [rbp - 0x1c]
inc r8b
stc
bt r8d, 0xd5
lea rdx, [rsi + 0x2f0]
xadd si, si
sal rsi, cl
sub r9d, r9d
lea esi, [r9 + 0x55]
not r8b
jmp 0x1404d891b
mov r8d, esi
jmp 0x1404d8923
call fcn.1404cd51f
test rdi, rdi
jmp 0x1404d8930
je 0x1404d89ec
mov ecx, dword [rbp - 0x1c]
lea rdx, [rdi + 0x120]
bswap r8w
btc r8, 0xb0
xor r9d, r9d
movzx r8, di
bswap r8w
mov r8d, esi
jmp 0x1404d895c
call fcn.1404cd51f
mov ecx, dword [rbp - 0x1c]
mov esi, 0x40
not r9b
mov r9d, esi
cmovns dx, r12w
setb dl
mov r8, rdi
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d89f6
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
mov r9d, r14d
mov r9d, esi
mov edx, 0x1002
jmp 0x1404d89a7
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d89b4
je 0x1404d89f6
lea rdx, [rdi + 0x100]
not r8d
mov ecx, ebx
movsx r9, r15w
movzx r9d, r9w
lea r9d, [rsi - 0x36]
movzx r8, cx
bswap r8
cmovge r8w, bx
lea r8d, [rsi - 0x30]
jmp 0x1404d89e7
call fcn.1404e62b9
mov eax, 1
jmp 0x1404d89fa
xor eax, eax
or cl, bh
mov rcx, qword [rbp - 0x10]
stc
xor rcx, rsp
jmp 0x1404d8a07
call fcn.1404a1da3
add rsp, 0x40
cmovo di, r10w
movsxd r15, r9d
pop r15
pop r14
mov di, r14w
movzx si, r9b
pop r12
movzx bx, ch
bswap ebx
pop rdi
xchg bpl, sil
not bx
movzx rbp, bx
pop rsi
movsx bp, al
movsx rbp, r11w
pop rbx
jmp 0x1404d8a4f
pop rbp
jmp 0x1404d8a55
ret