Function at 0x1404d9941
Capabilities:
Get geographical location

Disassembly:
push rbp
btc ax, 0xcc
push rbx
cmp r11w, 0x5397
mov ax, sp
bt rax, 0x35
push rsi
movzx rbp, r11w
sbb rbp, 0x3b77754
rcr bp, 0
push rdi
shld rbp, r11, 0x44
push r12
clc
movzx edi, r9w
push r14
inc r14
movzx di, bpl
sal bp, 0x10
push r15
btc rdi, r14
movsxd rdi, r8d
mov rbp, rsp
xor r15w, r14w
cmc
sub rsp, 0x40
movsx r15, r14w
mov rax, 0x6f34122b
mov rax, qword [0x1400b7288]
add r15b, r14b
xor rax, rsp
movzx r14, r14w
mov qword [rbp - 0x10], rax
cmovl r15w, ax
movsx r14w, r9b
mov rdi, r8
xchg r15b, r14b
not r14b
bswap r15d
mov r15, rdx
movzx r14d, r15w
movsx r14d, r13w
movsx r14, di
mov r14, rcx
jmp 0x1404d99e4
call fcn.1404ccdab
mov rsi, rax
jmp 0x1404d99f9
sub eax, eax
jmp 0x1404d9a00
mov qword [rbp - 0x20], rax
jmp 0x1404d9a09
mov dword [rbp - 0x18], eax
jmp 0x1404d9a11
call fcn.1404ccdab
lea rcx, [rbp - 0x20]
clc
rcr bl, cl
dec bh
xor r12d, r12d
adc bx, r8w
test r13b, r13b
rcl bh, 0x6e
lea rbx, [rsi + 0xa0]
mov qword [rax + 0x3a0], rcx
lea rax, [r14 + 0x80]
mov qword [rsi + 0x98], r14
test bp, ax
mov qword [rbx], rax
test bpl, 0xaf
clc
test rax, rax
jmp 0x1404d9a5b
je 0x1404d9a97
cmp word [rax], r12w
jmp 0x1404d9a6a
je 0x1404d9a97
mov edx, dword [0x1400c6a60]
lea rcx, [0x1400c68f0]
movzx r8d, sp
dec edx
movsx r8, ax
movsxd r8, r10d
mov r8, rbx
jmp 0x1404d9a92
call fcn.1404d9e83
mov dword [rbp - 0x20], r12d
mov rax, qword [rsi + 0x98]
test rax, rax
jmp 0x1404d9aaa
je 0x1404d9b7d
cmp word [rax], r12w
jmp 0x1404d9ab9
je 0x1404d9b7d
mov rax, qword [rbx]
cmp r10w, r12w
test r8b, r8b
test rax, rax
jmp 0x1404d9ad1
je 0x1404d9aef
cmp word [rax], r12w
je 0x1404d9aef
lea rcx, [rbp - 0x20]
call fcn.1404d9fd3
jmp 0x1404d9af8
lea rcx, [rbp - 0x20]
call fcn.1404da5f7
cmp dword [rbp - 0x20], r12d
jmp 0x1404d9b01
jne 0x1404d9c6d
mov edx, dword [0x1400c68e0]
lea r8, [rsi + 0x98]
xchg cx, cx
seta cl
movsx rcx, r15w
dec edx
lea rcx, [0x1400c64d0]
jmp 0x1404d9b2c
call fcn.1404d9e83
test al, al
jmp 0x1404d9b38
je 0x1404d9c5e
mov rax, qword [rbx]
test r11b, bpl
test rax, rax
je 0x1404d9b6f
cmp word [rax], r12w
jmp 0x1404d9b56
je 0x1404d9b6f
lea rcx, [rbp - 0x20]
jmp 0x1404d9b65
call fcn.1404d9fd3
jmp 0x1404d9c5e
lea rcx, [rbp - 0x20]
call fcn.1404da5f7
jmp 0x1404d9c5e
mov rax, qword [rbx]
cmp bp, 0x12e5
clc
test rax, rax
jmp 0x1404d9b8e
je 0x1404d9c37
cmp word [rax], r12w
jmp 0x1404d9b9d
je 0x1404d9c37
call fcn.1404ccdab
mov rdx, rax
or rcx, 0xffffffffffffffff
jmp 0x1404d9bb4
mov rax, qword [rax + 0xa0]
jmp 0x1404d9bc0
inc rcx
cmp word [rax + rcx*2], r12w
jmp 0x1404d9bcd
jne 0x1404d9bc0
cmp rcx, 3
xchg cx, cx
movzx ax, r11b
mov eax, r12d
jmp 0x1404d9bea
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d9bf9
mov dword [rdx + 0xb4], eax
movzx rdx, r15w
movzx edx, r13w
xchg dx, dx
mov edx, 1
jmp 0x1404d9c14
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d9c23
jne 0x1404d9c5e
mov dword [rbp - 0x20], r12d
jmp 0x1404d9c32
jmp 0x1404d9c5e
mov dword [rbp - 0x20], 0x104
jmp 0x1404d9c43
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
test r8w, ax
mov dword [rbp - 0x1c], eax
cmp r8d, 0xb9d4d85
test r11b, 0xf2
cmp dword [rbp - 0x20], r12d
jmp 0x1404d9c67
je 0x1404d9e2b
lea rax, [r14 + 0x100]
neg r14
lea rdx, [rbp - 0x20]
jmp 0x1404d9c80
sbb rcx, rcx
cmc
cmp dil, r9b
and rcx, rax
jmp 0x1404d9c8f
call fcn.1404dab64
mov ebx, eax
test r8b, 0xfd
cmc
test eax, eax
jmp 0x1404d9ca2
je 0x1404d9e2b
movzx ecx, bx
jmp 0x1404d9cb0
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d9cbd
je 0x1404d9e2b
mov ecx, dword [rbp - 0x1c]
movsx rdx, r14w
movzx edx, cx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404d9e2b
test r15, r15
jmp 0x1404d9ce8
je 0x1404d9d00
mov dword [r15], ebx
ror dl, 0x50
movsx cx, r11b
add r8d, 0x3e1444
mov ecx, dword [rbp - 0x1c]
neg dl
lea rdx, [rsi + 0x2f0]
rcl r8b, 0x9c
cmc
jmp 0x1404d9d16
xor r9d, r9d
xchg r8d, esi
lea esi, [r9 + 0x55]
jmp 0x1404d9d2b
mov r8d, esi
jmp 0x1404d9d33
call fcn.1404ce895
test rdi, rdi
jmp 0x1404d9d40
je 0x1404d9e1c
mov ecx, dword [rbp - 0x1c]
movsxd r8, ebx
lea rdx, [rdi + 0x120]
sal r8w, cl
setl r8b
xor r9d, r9d
sets r8b
mov r8d, esi
jmp 0x1404d9d6a
call fcn.1404ce895
mov ecx, dword [rbp - 0x1c]
cmovle esi, eax
movzx dx, r14b
movsx dx, r14b
mov esi, 0x40
movzx edx, si
cqo
mov r9d, esi
movzx r8, ax
not r8b
mov r8, rdi
movzx dx, r9b
movsx dx, r13b
mov edx, 0x1001
jmp 0x1404d9daa
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d9db7
je 0x1404d9e2b
mov ecx, dword [rbp - 0x18]
movzx r9, bp
lea r8, [rdi + 0x80]
jmp 0x1404d9dd0
mov r9d, esi
mov edx, 0x1002
jmp 0x1404d9ddd
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d9dea
je 0x1404d9e2b
lea rdx, [rdi + 0x100]
movsxd rcx, ecx
mov ecx, ebx
movsx r9w, sil
setge r9b
cmovns r9w, si
lea r9d, [rsi - 0x36]
lea r8d, [rsi - 0x30]
jmp 0x1404d9e17
call fcn.1404e76c4
mov eax, 1
jmp 0x1404d9e26
jmp 0x1404d9e2d
sub eax, eax
mov rcx, qword [rbp - 0x10]
cmp r10w, 0x6f74
xor rcx, rsp
jmp 0x1404d9e3f
call fcn.1404a2f20
add rsp, 0x40
jmp 0x1404d9e50
pop r15
movzx bx, sil
pop r14
movzx bp, r11b
movzx rbx, r13w
mov bpl, 0x7b
pop r12
pop rdi
not bx
jmp 0x1404d9e70
pop rsi
pop rbx
bswap ebp
xchg bpl, bpl
movsx bp, spl
pop rbp
jmp 0x1404d9e82
ret