Function at 0x1404dbcf8
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
rol bp, 0x85
cbw
push rsi
btr eax, edi
clc
push rdi
bsr rbp, r15
movsxd rax, r10d
push r12
push r14
stc
bswap bp
push r15
cmp di, r9w
mov rbp, rsp
lahf
sub rsp, 0x40
cwde
btr di, cx
mov rax, qword [0x1400b7288]
rol dil, 0xd4
cmovnp r14w, ax
sbb dil, 0x47
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
movzx r15d, dx
cmovp r15d, r13d
mov r15, rdx
mov r14, rcx
jmp 0x1404dbd5a
call fcn.1404cf003
mov rsi, rax
cmp r9, 0x534d20b7
test esp, 0xfec2021
cmp r13w, r15w
sub eax, eax
jmp 0x1404dbd7a
mov qword [rbp - 0x20], rax
jmp 0x1404dbd83
mov dword [rbp - 0x18], eax
call fcn.1404cf003
lea rcx, [rbp - 0x20]
btc bx, 0xe8
movzx rbx, cx
movsx bx, bl
sub r12d, r12d
xor rbx, 0x12e6c06
cmp bp, r13w
lea rbx, [rsi + 0xa0]
cmc
mov qword [rax + 0x3a0], rcx
shld ax, cx, 0xcf
lea rax, [r14 + 0x80]
cmp r11w, si
test bl, bl
mov qword [rsi + 0x98], r14
mov qword [rbx], rax
test r11d, 0x5fd973c3
stc
test rax, rax
jmp 0x1404dbde5
je 0x1404dbe23
cmp word [rax], r12w
jmp 0x1404dbdf4
je 0x1404dbe23
mov edx, dword [0x1400c6a60]
movzx r8, r9w
movsx cx, r15b
lea rcx, [0x1400c68f0]
jmp 0x1404dbe19
dec edx
mov r8, rbx
call fcn.1404dc1ee
mov dword [rbp - 0x20], r12d
rol eax, 0x4d
bts ax, r9w
mov rax, qword [rsi + 0x98]
test rax, rax
jmp 0x1404dbe3e
je 0x1404dbf1b
cmp word [rax], r12w
jmp 0x1404dbe4d
je 0x1404dbf1b
mov rax, qword [rbx]
clc
test rax, rax
jmp 0x1404dbe5f
je 0x1404dbe82
cmp word [rax], r12w
jmp 0x1404dbe6e
je 0x1404dbe82
lea rcx, [rbp - 0x20]
call fcn.1404dc335
jmp 0x1404dbe8b
lea rcx, [rbp - 0x20]
call fcn.1404dc979
cmp dword [rbp - 0x20], r12d
jmp 0x1404dbe94
jne 0x1404dc002
mov edx, dword [0x1400c68e0]
setae r8b
jmp 0x1404dbea9
lea r8, [rsi + 0x98]
dec edx
mov cx, 0x2638
lea rcx, [0x1400c64d0]
call fcn.1404dc1ee
test al, al
jmp 0x1404dbec9
je 0x1404dbff8
mov rax, qword [rbx]
test r9w, 0x3cff
test rax, rax
jmp 0x1404dbee0
je 0x1404dbf08
cmp word [rax], r12w
jmp 0x1404dbeef
je 0x1404dbf08
lea rcx, [rbp - 0x20]
jmp 0x1404dbefe
call fcn.1404dc335
jmp 0x1404dbff8
lea rcx, [rbp - 0x20]
jmp 0x1404dbf11
call fcn.1404dc979
jmp 0x1404dbff8
mov rax, qword [rbx]
jmp 0x1404dbf2a
test rax, rax
jmp 0x1404dbf32
je 0x1404dbfe2
cmp word [rax], r12w
jmp 0x1404dbf41
je 0x1404dbfe2
call fcn.1404cf003
mov rdx, rax
test ax, 0xc33
jmp 0x1404dbf58
or rcx, 0xffffffffffffffff
mov rax, qword [rax + 0xa0]
inc rcx
clc
cmc
cmp word [rax + rcx*2], r12w
jmp 0x1404dbf72
jne 0x1404dbf63
cmp rcx, 3
movzx rax, r12w
movsx rax, si
movsx ax, r11b
mov eax, r12d
mov cx, 0x7ecc
mov al, r10b
movzx rcx, r8w
lea rcx, [0x1400ac1c0]
setne al
sete al
jmp 0x1404dbfa9
mov dword [rdx + 0xb4], eax
movsxd rdx, r13d
cqo
cdq
mov edx, 1
jmp 0x1404dbfbf
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404dbfce
jne 0x1404dbff8
mov dword [rbp - 0x20], r12d
jmp 0x1404dbfdd
jmp 0x1404dbff8
mov dword [rbp - 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x1c], eax
test cl, r14b
cmp dword [rbp - 0x20], r12d
je 0x1404dc198
lea rax, [r14 + 0x100]
adc edx, 0x551c7c87
neg r14
inc dl
movzx rdx, r11w
bswap dx
lea rdx, [rbp - 0x20]
sbb rcx, rcx
cmp r8, rax
clc
jmp 0x1404dc02b
and rcx, rax
jmp 0x1404dc033
call fcn.1404dce65
mov ebx, eax
test eax, eax
jmp 0x1404dc041
je 0x1404dc198
movzx ecx, bx
jmp 0x1404dc04f
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404dc05c
je 0x1404dc198
mov ecx, dword [rbp - 0x1c]
movsxd rdx, r13d
cwd
movzx dx, r14b
mov edx, 1
jmp 0x1404dc079
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404dc198
test r15, r15
je 0x1404dc09e
mov dword [r15], ebx
bt r8w, 0x9f
bt r8w, r11w
mov ecx, dword [rbp - 0x1c]
sar dl, cl
lea rdx, [rsi + 0x2f0]
bswap si
mov r8w, 0x55c5
xor r9d, r9d
seto sil
mov sil, r10b
jmp 0x1404dc0c1
lea esi, [r9 + 0x55]
mov r8d, esi
call fcn.1404d0b8c
test rdi, rdi
je 0x1404dc18e
mov ecx, dword [rbp - 0x1c]
sar r8d, cl
lea rdx, [rdi + 0x120]
sal r8b, 0xd
sub r9d, r9d
movzx r8, r8w
movsx r8d, r14w
movsx r8w, sil
mov r8d, esi
jmp 0x1404dc0ff
call fcn.1404d0b8c
mov ecx, dword [rbp - 0x1c]
jmp 0x1404dc111
mov esi, 0x40
mov r9d, esi
bswap r8w
cdq
mov r8, rdi
mov edx, 0x1001
jmp 0x1404dc12b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404dc198
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
mov r9d, esi
mov edx, 0x1002
jmp 0x1404dc150
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404dc15d
je 0x1404dc198
lea rdx, [rdi + 0x100]
bswap r9w
mov ecx, ebx
lea r9d, [rsi - 0x36]
movzx r8d, ax
movsx r8d, r13w
cmovl r8d, eax
lea r8d, [rsi - 0x30]
jmp 0x1404dc189
call fcn.1404e9b7f
mov eax, 1
jmp 0x1404dc1a6
xor eax, eax
adc cl, bpl
shrd cx, r11w, 0xaf
bsr ecx, esi
mov rcx, qword [rbp - 0x10]
stc
xor rcx, rsp
jmp 0x1404dc1b3
call fcn.1404a5381
add rsp, 0x40
pop r15
movsx si, r9b
jmp 0x1404dc1c8
pop r14
movsx esi, r10w
movzx di, sil
pop r12
movzx bp, bpl
pop rdi
pop rsi
not bp
setge bpl
pop rbx
not bpl
pop rbp
jmp 0x1404dc1ed
ret