Function at 0x1404d3af0
Capabilities:
Get geographical location

Disassembly:
push rbp
sbb eax, esi
movzx rax, sp
push rbx
sar ax, cl
cmp ebx, 0x2c8071c1
inc eax
push rsi
push rdi
push r12
push r14
cmc
push r15
sbb rdi, r14
btr eax, 0xec
mov rdi, r13
mov rbp, rsp
sbb r14w, r15w
cmc
sub rsp, 0x40
dec r15b
sar rdi, 0xb
mov rax, qword [0x1400b7288]
ror r14b, 0x9f
and r14b, r12b
xor r14w, bp
xor rax, rsp
mov qword [rbp - 0x10], rax
movsx rdi, dx
movzx r14w, r12b
cmova r15d, edx
mov rdi, r8
mov r15, rdx
mov r14b, sil
movsx r14w, dil
mov r14w, 0x1412
mov r14, rcx
jmp 0x1404d3b6b
call fcn.1404c6e28
mov rsi, rax
test r9, 0x42f05036
xor eax, eax
jmp 0x1404d3b81
mov qword [rbp - 0x20], rax
jmp 0x1404d3b8a
mov dword [rbp - 0x18], eax
jmp 0x1404d3b92
call fcn.1404c6e28
lea rcx, [rbp - 0x20]
sub r12d, r12d
xchg bh, bh
shl ebx, 0x81
rcr bh, 0x82
lea rbx, [rsi + 0xa0]
mov qword [rax + 0x3a0], rcx
lea rax, [r14 + 0x80]
cmc
mov qword [rsi + 0x98], r14
stc
cmp ah, bh
mov qword [rbx], rax
test dil, dil
jmp 0x1404d3bd1
test rax, rax
je 0x1404d3c0d
cmp word [rax], r12w
je 0x1404d3c0d
mov edx, dword [0x1400c6a60]
bswap r8w
inc r8b
lea rcx, [0x1400c68f0]
dec edx
jmp 0x1404d3c05
mov r8, rbx
call fcn.1404d3fcf
mov dword [rbp - 0x20], r12d
btr ax, 0xe6
xor ax, 0x2521
dec ax
mov rax, qword [rsi + 0x98]
test rax, rax
jmp 0x1404d3c2c
je 0x1404d3cfe
cmp word [rax], r12w
jmp 0x1404d3c3b
je 0x1404d3cfe
mov rax, qword [rbx]
test rax, rax
je 0x1404d3c65
cmp word [rax], r12w
je 0x1404d3c65
lea rcx, [rbp - 0x20]
call fcn.1404d411e
jmp 0x1404d3c73
lea rcx, [rbp - 0x20]
jmp 0x1404d3c6e
call fcn.1404d4793
cmp dword [rbp - 0x20], r12d
jmp 0x1404d3c7c
jne 0x1404d3dd6
mov edx, dword [0x1400c68e0]
lea r8, [rsi + 0x98]
movsx cx, dil
dec edx
bswap cx
not cl
lea rcx, [0x1400c64d0]
jmp 0x1404d3ca7
call fcn.1404d3fcf
test al, al
je 0x1404d3dc7
mov rax, qword [rbx]
cmp cx, 0x11ec
test r9w, sp
test rax, rax
jmp 0x1404d3cc8
je 0x1404d3cf0
cmp word [rax], r12w
jmp 0x1404d3cd7
je 0x1404d3cf0
lea rcx, [rbp - 0x20]
jmp 0x1404d3ce6
call fcn.1404d411e
jmp 0x1404d3dc7
lea rcx, [rbp - 0x20]
call fcn.1404d4793
jmp 0x1404d3dc7
mov rax, qword [rbx]
test edx, esi
test rax, rax
je 0x1404d3da6
cmp word [rax], r12w
jmp 0x1404d3d15
je 0x1404d3da6
call fcn.1404c6e28
mov rdx, rax
or rcx, 0xffffffffffffffff
jmp 0x1404d3d2c
mov rax, qword [rax + 0xa0]
jmp 0x1404d3d38
inc rcx
jmp 0x1404d3d4a
cmp word [rax + rcx*2], r12w
jmp 0x1404d3d54
jne 0x1404d3d38
cmp rcx, 3
jmp 0x1404d3d66
mov eax, r12d
lea rcx, [0x1400ac1c0]
sete al
mov dword [rdx + 0xb4], eax
cmovo edx, ebp
cqo
mov edx, 1
jmp 0x1404d3d88
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jne 0x1404d3dc7
mov dword [rbp - 0x20], r12d
jmp 0x1404d3da1
jmp 0x1404d3dc7
mov dword [rbp - 0x20], 0x104
jmp 0x1404d3db2
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
jmp 0x1404d3dc0
mov dword [rbp - 0x1c], eax
test ax, 0x2603
cmp dword [rbp - 0x20], r12d
jmp 0x1404d3dd0
je 0x1404d3f81
lea rax, [r14 + 0x100]
test sil, r10b
rol dh, 0x29
neg r14
movsx rdx, sp
bswap dx
movsx dx, r8b
lea rdx, [rbp - 0x20]
jmp 0x1404d3dfb
sbb rcx, rcx
and rcx, rax
jmp 0x1404d3e06
call fcn.1404d4cc1
mov ebx, eax
jmp 0x1404d3e15
test eax, eax
jmp 0x1404d3e1c
je 0x1404d3f81
movzx ecx, bx
jmp 0x1404d3e2a
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d3e37
je 0x1404d3f81
mov ecx, dword [rbp - 0x1c]
cqo
xchg dl, dh
movsxd rdx, ebp
mov edx, 1
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d3e59
je 0x1404d3f81
test r15, r15
jmp 0x1404d3e67
je 0x1404d3e75
mov dword [r15], ebx
bts edx, eax
sar ch, cl
mov ecx, dword [rbp - 0x1c]
test cl, bl
movsxd rdx, r8d
lea rdx, [rsi + 0x2f0]
test ah, cl
not si
bswap esi
xor r9d, r9d
movsxd r8, ebx
lea esi, [r9 + 0x55]
movzx r8d, bx
mov r8d, esi
jmp 0x1404d3ea1
call fcn.1404c88bc
test rdi, rdi
jmp 0x1404d3eae
je 0x1404d3f72
mov ecx, dword [rbp - 0x1c]
btr dx, dx
lea rdx, [rdi + 0x120]
or r8b, 0x6a
jmp 0x1404d3ecb
xor r9d, r9d
movsx r8d, bx
mov r8d, esi
jmp 0x1404d3eda
call fcn.1404c88bc
mov ecx, dword [rbp - 0x1c]
mov esi, 0x40
mov r8b, r9b
mov r9d, esi
cmovs r8w, r13w
bswap rdx
cqo
mov r8, rdi
movzx dx, ah
cqo
movsx rdx, bp
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d3f81
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
mov r9d, esi
bswap rdx
mov edx, 0x1002
jmp 0x1404d3f31
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d3f81
lea rdx, [rdi + 0x100]
movsx r9w, r15b
mov ecx, ebx
cmovno r8, r14
mov r9b, r15b
jmp 0x1404d3f59
lea r9d, [rsi - 0x36]
mov r8, 0x23b135fb
jmp 0x1404d3f69
lea r8d, [rsi - 0x30]
call fcn.1404e1858
mov eax, 1
jmp 0x1404d3f7c
jmp 0x1404d3f8a
sub eax, eax
movsx rcx, r11w
and ecx, r10d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
jmp 0x1404d3f96
call fcn.14049cfde
add rsp, 0x40
xchg r15b, dil
pop r15
cmovo si, r15w
movsx r12, r13w
pop r14
pop r12
movsxd rbx, ebx
cmovge si, di
pop rdi
setno sil
movsx rbp, r10w
pop rsi
jmp 0x1404d3fc7
pop rbx
pop rbp
jmp 0x1404d3fce
ret