Function at 0x1404d569d
Capabilities:
Get geographical location

Disassembly:
push rbp
movzx eax, ax
push rbx
movsx bp, sil
push rsi
push rdi
push r12
shld di, sp, 0x31
jmp 0x1404d56bd
push r14
sal ebp, 0x13
lahf
movzx rax, r9w
push r15
btr r15w, sp
sub r14b, r15b
mov rbp, rsp
btr r15d, r9d
sub rsp, 0x40
movzx rdi, si
mov rax, qword [0x1400b7288]
xor rax, rsp
xchg r14b, r15b
movzx edi, r14w
mov qword [rbp - 0x10], rax
xchg r14b, r15b
mov rdi, r8
movsx r15d, r10w
movsxd r15, ebx
movzx r14d, r15w
mov r15, rdx
mov r14b, r14b
movsx r14, bx
mov r14, rcx
jmp 0x1404d5718
call fcn.1404c8a90
mov rsi, rax
test r8b, 0xb4
stc
xor eax, eax
mov qword [rbp - 0x20], rax
jmp 0x1404d5730
mov dword [rbp - 0x18], eax
jmp 0x1404d5738
call fcn.1404c8a90
lea rcx, [rbp - 0x20]
rol bh, 0x9b
mov bl, r12b
xor r12d, r12d
lea rbx, [rsi + 0xa0]
cmc
test r14b, 0x72
mov qword [rax + 0x3a0], rcx
lea rax, [r14 + 0x80]
stc
test r14, r14
mov qword [rsi + 0x98], r14
clc
mov qword [rbx], rax
cmc
test rax, rax
jmp 0x1404d577c
je 0x1404d57b6
cmp word [rax], r12w
jmp 0x1404d578b
je 0x1404d57b6
mov edx, dword [0x1400c6a60]
lea rcx, [0x1400c68f0]
dec edx
movzx r8w, spl
movzx r8, cx
mov r8, rbx
jmp 0x1404d57b1
call fcn.1404d5b73
mov dword [rbp - 0x20], r12d
btr ax, 0xe8
mov rax, qword [rsi + 0x98]
cmp rsp, r9
test rax, rax
jmp 0x1404d57d1
je 0x1404d58a6
cmp word [rax], r12w
jmp 0x1404d57e0
je 0x1404d58a6
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d57f1
je 0x1404d580f
cmp word [rax], r12w
je 0x1404d580f
lea rcx, [rbp - 0x20]
call fcn.1404d5c92
jmp 0x1404d581d
lea rcx, [rbp - 0x20]
jmp 0x1404d5818
call fcn.1404d62f2
cmp dword [rbp - 0x20], r12d
jmp 0x1404d5826
jne 0x1404d5978
mov edx, dword [0x1400c68e0]
movsx rcx, r14w
lea r8, [rsi + 0x98]
dec edx
movsx cx, ch
movzx ecx, r14w
lea rcx, [0x1400c64d0]
jmp 0x1404d5853
call fcn.1404d5b73
test al, al
jmp 0x1404d585f
je 0x1404d5969
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d5870
je 0x1404d5893
cmp word [rax], r12w
je 0x1404d5893
lea rcx, [rbp - 0x20]
jmp 0x1404d5889
call fcn.1404d5c92
jmp 0x1404d5969
lea rcx, [rbp - 0x20]
jmp 0x1404d589c
call fcn.1404d62f2
jmp 0x1404d5969
mov rax, qword [rbx]
test rax, rax
je 0x1404d5948
cmp word [rax], r12w
jmp 0x1404d58bb
je 0x1404d5948
call fcn.1404c8a90
mov rdx, rax
test r13b, r10b
cmp r8b, 0x70
jmp 0x1404d58d5
or rcx, 0xffffffffffffffff
jmp 0x1404d58de
mov rax, qword [rax + 0xa0]
jmp 0x1404d58ea
inc rcx
cmp word [rax + rcx*2], r12w
jmp 0x1404d58f7
jne 0x1404d58ea
cmp rcx, 3
movzx rax, ax
mov eax, r12d
jmp 0x1404d590f
lea rcx, [0x1400ac1c0]
sete al
mov dword [rdx + 0xb4], eax
cdq
mov edx, 1
jmp 0x1404d592a
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d5939
jne 0x1404d5969
mov dword [rbp - 0x20], r12d
jmp 0x1404d5969
mov dword [rbp - 0x20], 0x104
jmp 0x1404d5954
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
cmc
jmp 0x1404d5963
mov dword [rbp - 0x1c], eax
cmp r12b, r14b
cmp dword [rbp - 0x20], r12d
jmp 0x1404d5972
je 0x1404d5b21
lea rax, [r14 + 0x100]
cdq
neg r14
bswap dx
movzx rdx, dx
lea rdx, [rbp - 0x20]
jmp 0x1404d5993
sbb rcx, rcx
clc
jmp 0x1404d599c
and rcx, rax
jmp 0x1404d59a4
call fcn.1404d6815
mov ebx, eax
test r8b, r10b
cmc
test eax, eax
jmp 0x1404d59b6
je 0x1404d5b21
movzx ecx, bx
jmp 0x1404d59c4
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d59d1
je 0x1404d5b21
mov ecx, dword [rbp - 0x1c]
cmovge rdx, rsi
movzx dx, r10b
movsx rdx, r12w
mov edx, 1
jmp 0x1404d59f1
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404d5b21
test r15, r15
jmp 0x1404d5a07
je 0x1404d5a13
mov dword [r15], ebx
movzx ecx, si
mov ecx, dword [rbp - 0x1c]
sar dh, 0xe2
add dl, 0xe4
bsf r8w, ax
lea rdx, [rsi + 0x2f0]
sub r9d, r9d
lea esi, [r9 + 0x55]
movzx r8, r15w
mov r8d, esi
jmp 0x1404d5a3b
call fcn.1404ca4fe
test rdi, rdi
jmp 0x1404d5a48
je 0x1404d5b12
mov ecx, dword [rbp - 0x1c]
shl dl, 0x7d
adc rdx, 0x3dba2b99
cmc
lea rdx, [rdi + 0x120]
inc r8d
movsx r8d, r14w
xadd r8, r8
xor r9d, r9d
jmp 0x1404d5a76
mov r8d, esi
call fcn.1404ca4fe
mov ecx, dword [rbp - 0x1c]
movsx dx, r15b
movzx esi, r15w
mov esi, 0x40
movsx r9, si
mov r9d, esi
mov r8, rdi
sete dh
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d5aae
je 0x1404d5b21
mov ecx, dword [rbp - 0x18]
mov r9b, r13b
cmovge r8w, dx
lea r8, [rdi + 0x80]
setb dh
cmovge r9d, esp
mov r9d, esi
cwd
cqo
mov edx, 0x1002
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d5ae6
je 0x1404d5b21
lea rdx, [rdi + 0x100]
mov ecx, ebx
bswap r9
lea r9d, [rsi - 0x36]
movzx r8w, spl
movzx r8d, r14w
movsx r8d, bp
lea r8d, [rsi - 0x30]
call fcn.1404e33b4
mov eax, 1
jmp 0x1404d5b1c
jmp 0x1404d5b26
xor eax, eax
shr ch, 0xdf
mov rcx, qword [rbp - 0x10]
test dil, spl
cmc
jmp 0x1404d5b33
xor rcx, rsp
jmp 0x1404d5b3b
call fcn.14049edb0
add rsp, 0x40
jmp 0x1404d5b4e
pop r15
movzx rbx, r8w
bswap r14
pop r14
movsx rbp, cx
pop r12
mov dil, 0xcc
xchg bpl, sil
pop rdi
pop rsi
movsx ebp, r11w
pop rbx
pop rbp
jmp 0x1404d5b72
ret