Function at 0x1404d054c
Capabilities:
Get geographical location

Disassembly:
push rbp
btr ax, 0xbc
cwde
or ebp, 0x2a6a3b63
push rbx
btr ax, si
push rsi
btc rax, 0xc8
clc
push rdi
push r12
sub eax, 0x4eda7c9a
cmp r13, 0x17e114e4
push r14
inc di
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400b7288]
xor rax, rsp
cmovp di, r15w
mov qword [rbp - 0x10], rax
mov r15b, 3
mov rdi, r8
jmp 0x1404d05a4
mov r15, rdx
cmovge r14w, r8w
movzx r14w, r12b
mov r14, rcx
jmp 0x1404d05b9
call fcn.1404c389d
mov rsi, rax
clc
sub eax, eax
mov qword [rbp - 0x20], rax
jmp 0x1404d05cd
mov dword [rbp - 0x18], eax
jmp 0x1404d05d5
call fcn.1404c389d
lea rcx, [rbp - 0x20]
cmp r13, r8
movzx rbx, r15w
xor r12d, r12d
shl bx, cl
sbb bl, 0xe3
sal rbx, cl
lea rbx, [rsi + 0xa0]
clc
test r12w, 0x1b46
mov qword [rax + 0x3a0], rcx
lea rax, [r14 + 0x80]
cmp rax, 0x34ed5824
mov qword [rsi + 0x98], r14
cmp dl, 0x86
test r12d, edx
test r9w, 0x4346
mov qword [rbx], rax
test r9b, 0x77
stc
test rax, rax
jmp 0x1404d0637
je 0x1404d0671
cmp word [rax], r12w
jmp 0x1404d0646
je 0x1404d0671
mov edx, dword [0x1400c6a60]
xchg r8b, cl
movsxd r8, r8d
lea rcx, [0x1400c68f0]
dec edx
bswap r8d
mov r8, rbx
jmp 0x1404d066c
call fcn.1404d0a27
mov dword [rbp - 0x20], r12d
mov rax, qword [rsi + 0x98]
test rax, rax
jmp 0x1404d0684
je 0x1404d0761
cmp word [rax], r12w
jmp 0x1404d0693
je 0x1404d0761
mov rax, qword [rbx]
test r9b, 0x8a
cmc
cmp bpl, bpl
test rax, rax
je 0x1404d06cf
cmp word [rax], r12w
jmp 0x1404d06b6
je 0x1404d06cf
lea rcx, [rbp - 0x20]
jmp 0x1404d06c5
call fcn.1404d0b53
jmp 0x1404d06d8
lea rcx, [rbp - 0x20]
call fcn.1404d11f3
cmp dword [rbp - 0x20], r12d
jmp 0x1404d06e1
jne 0x1404d0843
mov edx, dword [0x1400c68e0]
cmovae ecx, r12d
movsx cx, dh
inc r8b
lea r8, [rsi + 0x98]
inc ch
xchg ch, ch
movsx ecx, r10w
dec edx
movsxd rcx, ecx
lea rcx, [0x1400c64d0]
call fcn.1404d0a27
test al, al
jmp 0x1404d071f
je 0x1404d0834
mov rax, qword [rbx]
cmp al, 0xb7
cmp sp, si
test rax, rax
je 0x1404d0753
cmp word [rax], r12w
jmp 0x1404d073f
je 0x1404d0753
lea rcx, [rbp - 0x20]
call fcn.1404d0b53
jmp 0x1404d0834
lea rcx, [rbp - 0x20]
call fcn.1404d11f3
jmp 0x1404d0834
mov rax, qword [rbx]
test r9b, r12b
test rax, rax
jmp 0x1404d076f
je 0x1404d0818
cmp word [rax], r12w
jmp 0x1404d077e
je 0x1404d0818
call fcn.1404c389d
mov rdx, rax
jmp 0x1404d079c
or rcx, 0xffffffffffffffff
mov rax, qword [rax + 0xa0]
inc rcx
cmp word [rax + rcx*2], r12w
jmp 0x1404d07b4
jne 0x1404d07a7
cmp rcx, 3
cdqe
mov eax, r12d
jmp 0x1404d07cd
lea rcx, [0x1400ac1c0]
xchg al, al
jmp 0x1404d07db
sete al
jmp 0x1404d07e3
mov dword [rdx + 0xb4], eax
movsx rdx, ax
cmovle dx, r8w
setne dh
mov edx, 1
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jne 0x1404d0834
mov dword [rbp - 0x20], r12d
jmp 0x1404d0813
jmp 0x1404d0834
mov dword [rbp - 0x20], 0x104
jmp 0x1404d0824
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
test bl, r15b
stc
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404d083d
je 0x1404d09dd
lea rax, [r14 + 0x100]
neg r14
cmovnp edx, ebx
movsxd rdx, edx
lea rdx, [rbp - 0x20]
sbb rcx, rcx
jmp 0x1404d0865
and rcx, rax
jmp 0x1404d086d
call fcn.1404d173a
mov ebx, eax
clc
test eax, eax
jmp 0x1404d087c
je 0x1404d09dd
movzx ecx, bx
jmp 0x1404d088a
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1404d09dd
mov ecx, dword [rbp - 0x1c]
mov edx, 1
jmp 0x1404d08a5
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d08b2
je 0x1404d09dd
test r15, r15
jmp 0x1404d08c0
je 0x1404d08cf
mov dword [r15], ebx
shl ch, cl
bsr rdx, r13
mov ecx, dword [rbp - 0x1c]
sar r8d, cl
sbb dx, 0xcd6
lea rdx, [rsi + 0x2f0]
or sil, 0xd7
xor r9d, r9d
movsx si, r13b
movsx esi, ax
jmp 0x1404d08f5
lea esi, [r9 + 0x55]
mov r8d, esi
jmp 0x1404d0901
call fcn.1404c53c3
test rdi, rdi
jmp 0x1404d090e
je 0x1404d09ce
mov ecx, dword [rbp - 0x1c]
sal r8w, cl
shld edx, esp, 0x13
cmp cx, 0x62db
lea rdx, [rdi + 0x120]
xor r9d, r9d
mov r8d, esi
jmp 0x1404d0936
call fcn.1404c53c3
mov ecx, dword [rbp - 0x1c]
not r9w
mov esi, 0x40
mov r9d, esi
mov r8, rdi
mov edx, 0x1001
jmp 0x1404d0957
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d0964
je 0x1404d09dd
mov ecx, dword [rbp - 0x18]
movzx edx, r15w
xchg r9b, r9b
cwd
lea r8, [rdi + 0x80]
cwd
mov r9d, esi
movzx edx, dx
xchg dl, dh
cqo
mov edx, 0x1002
jmp 0x1404d0993
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d09a0
je 0x1404d09dd
lea rdx, [rdi + 0x100]
movsxd r9, edx
setne cl
movsx r9w, r14b
mov ecx, ebx
lea r9d, [rsi - 0x36]
movzx r8d, si
mov r8b, dil
lea r8d, [rsi - 0x30]
call fcn.1404de4fe
mov eax, 1
jmp 0x1404d09d8
jmp 0x1404d09df
sub eax, eax
mov rcx, qword [rbp - 0x10]
cmp r14b, dil
test r13b, 0x67
xor rcx, rsp
call fcn.140499d06
add rsp, 0x40
pop r15
bswap si
mov rbx, 0xe7665b1
pop r14
pop r12
not bx
mov di, 0x1385
pop rdi
pop rsi
mov ebp, 0x50ff02ad
not bl
pop rbx
jmp 0x1404d0a20
pop rbp
jmp 0x1404d0a26
ret