Function at 0x1404d1e82
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
push rsi
push rdi
cbw
push r12
rcl ax, 0x21
push r14
or al, r11b
bts rax, r15
push r15
mov rbp, rsp
mov al, sil
sub rsp, 0x40
mov rax, qword [0x1400b7288]
xor rax, rsp
xchg edi, edi
movzx r15d, r13w
mov qword [rbp - 0x10], rax
mov r15b, sil
bswap r15w
mov rdi, r8
not r14w
movzx r14, sp
movsx r15, r12w
mov r15, rdx
movsxd r14, esi
movsx r14w, r11b
mov r14, rcx
jmp 0x1404d1ee1
call fcn.1404c5377
mov rsi, rax
jmp 0x1404d1eee
xor eax, eax
jmp 0x1404d1ef5
mov qword [rbp - 0x20], rax
jmp 0x1404d1efe
mov dword [rbp - 0x18], eax
jmp 0x1404d1f06
call fcn.1404c5377
lea rcx, [rbp - 0x20]
cmc
sub r12d, r12d
lea rbx, [rsi + 0xa0]
mov qword [rax + 0x3a0], rcx
lahf
rcr ax, 0xb8
lea rax, [r14 + 0x80]
cmp spl, bpl
cmp dx, 0x51a9
clc
mov qword [rsi + 0x98], r14
cmc
mov qword [rbx], rax
clc
test r10w, cx
test rax, rax
jmp 0x1404d1f4e
je 0x1404d1f8f
cmp word [rax], r12w
jmp 0x1404d1f5d
je 0x1404d1f8f
mov edx, dword [0x1400c6a60]
movzx rcx, r12w
lea rcx, [0x1400c68f0]
setno r8b
dec edx
mov r8b, 0x49
movsx r8w, bpl
mov r8, rbx
jmp 0x1404d1f8a
call fcn.1404d238a
mov dword [rbp - 0x20], r12d
shl ax, cl
mov rax, qword [rsi + 0x98]
test cl, dil
jmp 0x1404d1fa5
test rax, rax
jmp 0x1404d1fad
je 0x1404d2092
cmp word [rax], r12w
je 0x1404d2092
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d1fc8
je 0x1404d1ff0
cmp word [rax], r12w
jmp 0x1404d1fd7
je 0x1404d1ff0
lea rcx, [rbp - 0x20]
jmp 0x1404d1fe6
call fcn.1404d24d5
jmp 0x1404d1ffe
lea rcx, [rbp - 0x20]
jmp 0x1404d1ff9
call fcn.1404d2b7f
cmp dword [rbp - 0x20], r12d
jmp 0x1404d2007
jne 0x1404d2167
mov edx, dword [0x1400c68e0]
lea r8, [rsi + 0x98]
mov cx, 0x4a6c
cmovs rcx, r9
dec edx
cmovp cx, bp
mov cl, dil
lea rcx, [0x1400c64d0]
jmp 0x1404d2037
call fcn.1404d238a
test al, al
je 0x1404d2158
mov rax, qword [rbx]
cmp ch, 0x4b
jmp 0x1404d204f
test rax, rax
jmp 0x1404d2057
je 0x1404d207f
cmp word [rax], r12w
jmp 0x1404d2066
je 0x1404d207f
lea rcx, [rbp - 0x20]
jmp 0x1404d2075
call fcn.1404d24d5
jmp 0x1404d2158
lea rcx, [rbp - 0x20]
jmp 0x1404d2088
call fcn.1404d2b7f
jmp 0x1404d2158
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d209d
je 0x1404d2140
cmp word [rax], r12w
jmp 0x1404d20ac
je 0x1404d2140
call fcn.1404c5377
mov rdx, rax
cmp dil, bl
jmp 0x1404d20c2
or rcx, 0xffffffffffffffff
mov rax, qword [rax + 0xa0]
jmp 0x1404d20d2
inc rcx
cmp word [rax + rcx*2], r12w
jmp 0x1404d20df
jne 0x1404d20d2
cmp rcx, 3
movzx eax, r13w
cmove eax, r13d
movsxd rax, ebx
mov eax, r12d
mov ch, ah
movsx cx, sil
lea rcx, [0x1400ac1c0]
jmp 0x1404d210a
sete al
jmp 0x1404d2112
mov dword [rdx + 0xb4], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d212c
jne 0x1404d2158
mov dword [rbp - 0x20], r12d
jmp 0x1404d213b
jmp 0x1404d2158
mov dword [rbp - 0x20], 0x104
jmp 0x1404d214c
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404d2161
je 0x1404d231f
lea rax, [r14 + 0x100]
clc
rcl dl, 0xde
neg r14
mov dh, 0x19
lea rdx, [rbp - 0x20]
jmp 0x1404d2181
sbb rcx, rcx
stc
cmp r10b, r9b
and rcx, rax
call fcn.1404d308c
mov ebx, eax
test eax, eax
jmp 0x1404d2199
je 0x1404d231f
movzx ecx, bx
jmp 0x1404d21a7
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d21b4
je 0x1404d231f
mov ecx, dword [rbp - 0x1c]
movsxd rdx, r12d
mov edx, 1
jmp 0x1404d21ca
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d21d7
je 0x1404d231f
test r15, r15
je 0x1404d21f4
mov dword [r15], ebx
btc r8w, bp
shld dx, r15w, 0x2e
mov ecx, dword [rbp - 0x1c]
sar dx, 0x34
and r8, 0x78e431c1
clc
lea rdx, [rsi + 0x2f0]
sal r8b, 0x7a
xor r9d, r9d
movzx r8, cx
lea esi, [r9 + 0x55]
movsx r8, ax
cmovg r8w, r10w
movzx r8d, sp
mov r8d, esi
jmp 0x1404d222e
call fcn.1404c6f1f
test rdi, rdi
jmp 0x1404d223b
je 0x1404d2310
mov ecx, dword [rbp - 0x1c]
lea rdx, [rdi + 0x120]
test r11w, 0x276e
test r15w, sp
sub r9d, r9d
movsx r8d, r9w
jmp 0x1404d2261
mov r8d, esi
jmp 0x1404d2269
call fcn.1404c6f1f
mov ecx, dword [rbp - 0x1c]
movsx r8w, r10b
mov esi, 0x40
not dl
movsx r8w, bpl
mov r9d, esi
cwd
movsxd r8, esi
mov r8, rdi
cqo
movsx rdx, bp
mov dh, 0xf
mov edx, 0x1001
jmp 0x1404d22a0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d22ad
je 0x1404d231f
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
movsxd rdx, ebx
mov r9b, r13b
movsx r9d, r11w
mov r9d, esi
mov dh, al
movzx rdx, r9w
movzx edx, r9w
mov edx, 0x1002
jmp 0x1404d22de
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d231f
lea rdx, [rdi + 0x100]
movsx ecx, r14w
movzx rcx, r15w
mov ecx, ebx
xchg r9b, r8b
lea r9d, [rsi - 0x36]
mov r8b, 0x90
lea r8d, [rsi - 0x30]
call fcn.1404dfac5
mov eax, 1
jmp 0x1404d231a
jmp 0x1404d2321
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
jmp 0x1404d232d
call fcn.14049b928
add rsp, 0x40
xchg r15b, r14b
movsxd r14, r14d
pop r15
movsxd rsi, eax
not r12b
movsx bx, ch
pop r14
movsxd r12, edi
movzx bx, r13b
pop r12
movsx rbx, bx
mov bx, r10w
movzx rdi, r13w
pop rdi
not sil
bswap ebx
jmp 0x1404d236b
pop rsi
cmovg bp, r12w
movsxd rbx, r15d
movzx bx, cl
pop rbx
jmp 0x1404d2383
pop rbp
jmp 0x1404d2389
ret