Function at 0x1404d281f
Capabilities:
Get geographical location

Disassembly:
push rbp
shl ebp, 0x5b
sal bpl, cl
adc bp, 0x79ef
push rbx
xor al, 0xfa
bsr rbp, rbx
push rsi
adc rax, 0x30510eee
push rdi
rol dil, cl
push r12
cmovl ax, bx
push r14
push r15
mov rbp, rsp
shld r14w, sp, 0x6f
sub rsp, 0x40
and r15b, 0xb6
mov rax, qword [0x1400b7288]
sbb r14w, 0x27e0
or r14b, bpl
bt rdi, rcx
xor rax, rsp
not edi
bswap r15d
movzx edi, bx
mov qword [rbp - 0x10], rax
cmovo r14w, r13w
not r15d
mov rdi, r8
not r14b
xchg r15w, r15w
bswap r14d
mov r15, rdx
movzx r14, bx
movzx r14w, r13b
not r14w
mov r14, rcx
jmp 0x1404d28aa
call fcn.1404c5cb7
mov rsi, rax
cmp r14d, 0x657b602c
xor eax, eax
mov qword [rbp - 0x20], rax
jmp 0x1404d28c4
mov dword [rbp - 0x18], eax
jmp 0x1404d28cc
call fcn.1404c5cb7
lea rcx, [rbp - 0x20]
xor r12d, r12d
ror bh, 0x8a
setno bl
shr bl, 0x96
lea rbx, [rsi + 0xa0]
test sp, sp
mov qword [rax + 0x3a0], rcx
movzx eax, cx
btr rax, rdi
sar al, 0x5f
lea rax, [r14 + 0x80]
test r11d, 0x41957cf0
cmp r11w, dx
mov qword [rsi + 0x98], r14
test r13w, 0x558
mov qword [rbx], rax
test rax, rax
jmp 0x1404d2926
je 0x1404d2967
cmp word [rax], r12w
jmp 0x1404d2935
je 0x1404d2967
mov edx, dword [0x1400c6a60]
lea rcx, [0x1400c68f0]
mov r8, 0x31573f94
cmove r8d, r15d
movsx r8w, bpl
dec edx
mov r8, rbx
jmp 0x1404d2962
call fcn.1404d2d59
mov dword [rbp - 0x20], r12d
xadd al, ah
mov rax, qword [rsi + 0x98]
cmp r11b, 0xda
cmc
test rax, rax
jmp 0x1404d2982
je 0x1404d2a74
cmp word [rax], r12w
jmp 0x1404d2991
je 0x1404d2a74
mov rax, qword [rbx]
jmp 0x1404d29a0
test rax, rax
jmp 0x1404d29a8
je 0x1404d29d0
cmp word [rax], r12w
jmp 0x1404d29b7
je 0x1404d29d0
lea rcx, [rbp - 0x20]
jmp 0x1404d29c6
call fcn.1404d2e9b
jmp 0x1404d29de
lea rcx, [rbp - 0x20]
jmp 0x1404d29d9
call fcn.1404d34df
cmp dword [rbp - 0x20], r12d
jmp 0x1404d29e7
jne 0x1404d2b62
mov edx, dword [0x1400c68e0]
cmova r8w, si
xchg r8d, ecx
lea r8, [rsi + 0x98]
movsx ecx, bx
not rcx
dec edx
movsxd rcx, r8d
movsx ecx, bp
movsx cx, r11b
lea rcx, [0x1400c64d0]
jmp 0x1404d2a21
call fcn.1404d2d59
test al, al
jmp 0x1404d2a2d
je 0x1404d2b53
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d2a3e
je 0x1404d2a61
cmp word [rax], r12w
je 0x1404d2a61
lea rcx, [rbp - 0x20]
jmp 0x1404d2a57
call fcn.1404d2e9b
jmp 0x1404d2b53
lea rcx, [rbp - 0x20]
jmp 0x1404d2a6a
call fcn.1404d34df
jmp 0x1404d2b53
mov rax, qword [rbx]
cmp r15b, 0x38
test r9, 0x3d8507b3
test rax, rax
jmp 0x1404d2a8a
je 0x1404d2b35
cmp word [rax], r12w
jmp 0x1404d2a99
je 0x1404d2b35
call fcn.1404c5cb7
mov rdx, rax
jmp 0x1404d2ab0
or rcx, 0xffffffffffffffff
jmp 0x1404d2ab9
mov rax, qword [rax + 0xa0]
jmp 0x1404d2ac5
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1404d2ac5
cmp rcx, 3
setbe ch
not cx
cdqe
mov eax, r12d
cmovo cx, r15w
lea rcx, [0x1400ac1c0]
xchg al, al
sete al
jmp 0x1404d2af8
mov dword [rdx + 0xb4], eax
movzx rdx, bp
movsxd rdx, r8d
mov dx, sp
mov edx, 1
jmp 0x1404d2b12
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d2b21
jne 0x1404d2b53
mov dword [rbp - 0x20], r12d
jmp 0x1404d2b30
jmp 0x1404d2b53
mov dword [rbp - 0x20], 0x104
jmp 0x1404d2b41
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
jmp 0x1404d2b50
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404d2b5c
je 0x1404d2d03
lea rax, [r14 + 0x100]
shl dh, cl
adc dl, r10b
add dh, dh
neg r14
movzx dx, r10b
lea rdx, [rbp - 0x20]
jmp 0x1404d2b81
sbb rcx, rcx
and rcx, rax
jmp 0x1404d2b8c
call fcn.1404d39e5
mov ebx, eax
test eax, eax
jmp 0x1404d2b9a
je 0x1404d2d03
movzx ecx, bx
jmp 0x1404d2ba8
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d2bb5
je 0x1404d2d03
mov ecx, dword [rbp - 0x1c]
cwd
movzx dx, r11b
mov edx, 1
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404d2d03
test r15, r15
jmp 0x1404d2be0
je 0x1404d2beb
mov dword [r15], ebx
rol ch, cl
mov ecx, dword [rbp - 0x1c]
lea rdx, [rsi + 0x2f0]
mov r8w, r13w
sub r9d, r9d
mov si, ax
movsxd rsi, ebx
mov sil, 0xb1
lea esi, [r9 + 0x55]
mov r8d, esi
jmp 0x1404d2c11
call fcn.1404c77bc
test rdi, rdi
jmp 0x1404d2c1e
je 0x1404d2cf4
mov ecx, dword [rbp - 0x1c]
movsx r8d, r8w
test eax, ecx
lea rdx, [rdi + 0x120]
sub r9d, r9d
jmp 0x1404d2c3c
mov r8d, esi
jmp 0x1404d2c44
call fcn.1404c77bc
mov ecx, dword [rbp - 0x1c]
movzx edx, r13w
mov esi, 0x40
movsx r8, r15w
xchg r8b, r8b
mov r9d, esi
mov r8, rdi
movsx dx, r9b
xchg dx, dx
cdq
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d2c7d
je 0x1404d2d03
mov ecx, dword [rbp - 0x18]
movsx dx, r9b
mov r9b, 0xaa
jmp 0x1404d2c93
lea r8, [rdi + 0x80]
movsx dx, spl
movsx edx, r14w
mov r9d, esi
mov edx, 0x1002
jmp 0x1404d2cb0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d2cbd
je 0x1404d2d03
lea rdx, [rdi + 0x100]
jmp 0x1404d2cd6
mov ecx, ebx
movzx r9d, r11w
bswap r9d
lea r9d, [rsi - 0x36]
bswap r8
lea r8d, [rsi - 0x30]
jmp 0x1404d2cef
call fcn.1404e04b6
mov eax, 1
jmp 0x1404d2cfe
jmp 0x1404d2d0a
sub eax, eax
rol cl, cl
sub cl, 0x7a
mov rcx, qword [rbp - 0x10]
cmp r10d, r15d
xor rcx, rsp
jmp 0x1404d2d19
call fcn.14049bea6
add rsp, 0x40
movsxd rbp, r8d
movzx ebp, r11w
not bl
pop r15
movzx rsi, r12w
bswap si
movsxd rbp, ebx
pop r14
cmovnp r12, rcx
movzx ebp, r13w
pop r12
movsx edi, dx
not ebp
pop rdi
pop rsi
pop rbx
xchg bp, bp
movzx ebp, r15w
pop rbp
jmp 0x1404d2d58
ret