Function at 0x1404d7a69
Capabilities:
Get geographical location

Disassembly:
push rbp
movsx ebp, r12w
sar bpl, cl
push rbx
btr ax, 0x7b
adc al, 0x3a
add ax, 0x5e3
push rsi
movsx ax, sil
setge ah
neg al
push rdi
push r12
bts rbp, r11
xchg bpl, dil
push r14
push r15
or ax, 0x70ae
mov rbp, rsp
and rax, rbp
btr di, 0x33
mov r14b, 2
sub rsp, 0x40
shr r15, 0xd6
xor al, 0xa3
mov rax, qword [0x1400b7288]
bts di, r14w
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx r15, ax
setne dil
movsx r14w, bpl
mov rdi, r8
mov r14b, r9b
mov r15, rdx
movsxd r14, r13d
movzx r14, r12w
mov r14b, bpl
mov r14, rcx
jmp 0x1404d7aee
call fcn.1404cade7
mov rsi, rax
xor eax, eax
jmp 0x1404d7afd
mov qword [rbp - 0x20], rax
jmp 0x1404d7b06
mov dword [rbp - 0x18], eax
jmp 0x1404d7b0e
call fcn.1404cade7
lea rcx, [rbp - 0x20]
movsx bx, spl
add bl, 0x51
adc bx, 0x272c
xor r12d, r12d
stc
and rbx, 0x75142d63
shr bl, 0x71
lea rbx, [rsi + 0xa0]
jmp 0x1404d7b3e
mov qword [rax + 0x3a0], rcx
rcr rax, 0x20
lea rax, [r14 + 0x80]
mov qword [rsi + 0x98], r14
stc
jmp 0x1404d7b5d
mov qword [rbx], rax
clc
cmp r15b, 0xb2
test rax, rax
jmp 0x1404d7b6d
je 0x1404d7bb0
cmp word [rax], r12w
jmp 0x1404d7b7c
je 0x1404d7bb0
mov edx, dword [0x1400c6a60]
movzx rcx, r14w
lea rcx, [0x1400c68f0]
movsx r8, r9w
mov r8d, eax
setae r8b
dec edx
mov r8b, 0xe6
mov r8, rbx
jmp 0x1404d7bab
call fcn.1404d7fb8
mov dword [rbp - 0x20], r12d
btr ax, 0x48
xor ah, 0xbd
not rax
mov rax, qword [rsi + 0x98]
test ch, 0x63
cmp r12w, sp
clc
test rax, rax
jmp 0x1404d7bd6
je 0x1404d7cb8
cmp word [rax], r12w
jmp 0x1404d7be5
je 0x1404d7cb8
mov rax, qword [rbx]
test sil, 0xab
test rax, rax
jmp 0x1404d7bfa
je 0x1404d7c22
cmp word [rax], r12w
jmp 0x1404d7c09
je 0x1404d7c22
lea rcx, [rbp - 0x20]
jmp 0x1404d7c18
call fcn.1404d810b
jmp 0x1404d7c30
lea rcx, [rbp - 0x20]
jmp 0x1404d7c2b
call fcn.1404d878f
cmp dword [rbp - 0x20], r12d
jne 0x1404d7d8c
mov edx, dword [0x1400c68e0]
movzx ecx, di
lea r8, [rsi + 0x98]
movzx rcx, bx
inc ecx
movsx rcx, bp
dec edx
movzx rcx, ax
mov ch, 0x46
movsxd rcx, r13d
lea rcx, [0x1400c64d0]
call fcn.1404d7fb8
test al, al
jmp 0x1404d7c73
je 0x1404d7d7d
mov rax, qword [rbx]
cmp r15d, r12d
test rax, rax
je 0x1404d7caa
cmp word [rax], r12w
jmp 0x1404d7c91
je 0x1404d7caa
lea rcx, [rbp - 0x20]
jmp 0x1404d7ca0
call fcn.1404d810b
jmp 0x1404d7d7d
lea rcx, [rbp - 0x20]
call fcn.1404d878f
jmp 0x1404d7d7d
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d7cc3
je 0x1404d7d60
cmp word [rax], r12w
je 0x1404d7d60
call fcn.1404cade7
mov rdx, rax
cmc
or rcx, 0xffffffffffffffff
jmp 0x1404d7ce5
mov rax, qword [rax + 0xa0]
jmp 0x1404d7cf1
inc rcx
clc
stc
cmp word [rax + rcx*2], r12w
jmp 0x1404d7d00
jne 0x1404d7cf1
cmp rcx, 3
mov cl, r15b
mov eax, r12d
movsx ecx, dx
mov ch, 0x88
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d7d25
mov dword [rdx + 0xb4], eax
cdq
cmovs edx, r12d
bswap dx
mov edx, 1
jmp 0x1404d7d3d
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d7d4c
jne 0x1404d7d7d
mov dword [rbp - 0x20], r12d
jmp 0x1404d7d5b
jmp 0x1404d7d7d
mov dword [rbp - 0x20], 0x104
jmp 0x1404d7d6c
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
jmp 0x1404d7d7a
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404d7d86
je 0x1404d7f5f
lea rax, [r14 + 0x100]
btc rdx, 0x32
add dh, ah
movsx edx, bp
neg r14
mov dl, spl
lea rdx, [rbp - 0x20]
jmp 0x1404d7dac
sbb rcx, rcx
and rcx, rax
jmp 0x1404d7db7
call fcn.1404d8ced
mov ebx, eax
test bx, 0x6626
stc
test eax, eax
je 0x1404d7f5f
movzx ecx, bx
jmp 0x1404d7dd4
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d7de1
je 0x1404d7f5f
mov ecx, dword [rbp - 0x1c]
movzx edx, bp
cmovb edx, r11d
movsxd rdx, r11d
mov edx, 1
jmp 0x1404d7dfe
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d7e0b
je 0x1404d7f5f
test r15, r15
je 0x1404d7e20
mov dword [r15], ebx
movsx edx, bp
mov ecx, dword [rbp - 0x1c]
rcr dh, cl
add edx, ebp
cwd
lea rdx, [rsi + 0x2f0]
movzx rsi, di
sub r9d, r9d
sets sil
not r8w
movsx si, r10b
lea esi, [r9 + 0x55]
movsx r8, di
setle r8b
xchg r8w, r8w
mov r8d, esi
call fcn.1404cc99b
test rdi, rdi
jmp 0x1404d7e64
je 0x1404d7f50
mov ecx, dword [rbp - 0x1c]
movsx dx, r13b
bts r8, rdx
shl r8, cl
lea rdx, [rdi + 0x120]
bt r8w, 0xce
xor r9d, r9d
movsx r8, r10w
cmovg r8d, ecx
mov r8d, esi
call fcn.1404cc99b
mov ecx, dword [rbp - 0x1c]
movsx r8w, dil
movzx r9d, r13w
mov esi, 0x40
jmp 0x1404d7eb4
mov r9d, esi
mov r8b, 0x3e
movzx r8w, r11b
jmp 0x1404d7ec4
mov r8, rdi
movzx rdx, r9w
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d7edd
je 0x1404d7f5f
mov ecx, dword [rbp - 0x18]
cdq
movzx r8d, r15w
lea r8, [rdi + 0x80]
movzx edx, ax
not r9b
mov r9d, esi
not dh
mov dx, 0x28af
mov edx, 0x1002
jmp 0x1404d7f0b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d7f18
je 0x1404d7f5f
lea rdx, [rdi + 0x100]
movsx rcx, cx
xchg cx, r9w
mov rcx, rdx
mov ecx, ebx
bswap r8w
lea r9d, [rsi - 0x36]
setnp r8b
cmovne r8, r10
lea r8d, [rsi - 0x30]
jmp 0x1404d7f4b
call fcn.1404e5813
mov eax, 1
jmp 0x1404d7f5a
jmp 0x1404d7f6d
sub eax, eax
dec ecx
bts cx, sp
sub ecx, 0x4de131fa
mov rcx, qword [rbp - 0x10]
cmc
xor rcx, rsp
jmp 0x1404d7f7a
call fcn.1404a1418
add rsp, 0x40
cmovg di, r12w
mov dil, 0xd1
mov dil, r14b
pop r15
pop r14
movzx di, spl
pop r12
xchg bl, sil
pop rdi
movzx ebx, si
pop rsi
cmovne bp, r11w
movzx ebx, cx
movsx rbp, sp
pop rbx
bswap rbp
pop rbp
jmp 0x1404d7fb7
ret