Function at 0x1404d2418
Capabilities:
Get geographical location

Disassembly:
push rbp
test r15b, 0x34
xadd bp, bp
stc
push rbx
ror al, cl
btc rbp, 0xe9
push rsi
push rdi
cmp r9w, di
movsx bp, r14b
push r12
push r14
push r15
cmc
bt di, cx
adc r14b, 0x7a
mov rbp, rsp
xor rax, 0x4e2a28f8
sub rsp, 0x40
neg dil
xor r14b, 0xde
inc r14b
mov rax, qword [0x1400b7288]
clc
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx r14d, si
mov rdi, r8
movsxd r14, r9d
bswap r14w
movsx r15, si
mov r15, rdx
mov r14, rcx
jmp 0x1404d2489
call fcn.1404c5905
mov rsi, rax
cmp r13b, r15b
cmp r10w, 0x4fc9
sub eax, eax
jmp 0x1404d24a1
mov qword [rbp - 0x20], rax
jmp 0x1404d24aa
mov dword [rbp - 0x18], eax
jmp 0x1404d24b2
call fcn.1404c5905
lea rcx, [rbp - 0x20]
sub r12d, r12d
or bh, 0x14
lea rbx, [rsi + 0xa0]
test r15b, 0xba
stc
mov qword [rax + 0x3a0], rcx
ror rax, cl
lea rax, [r14 + 0x80]
stc
cmc
mov qword [rsi + 0x98], r14
mov qword [rbx], rax
test rax, rax
jmp 0x1404d24f2
je 0x1404d2543
cmp word [rax], r12w
jmp 0x1404d2501
je 0x1404d2543
mov edx, dword [0x1400c6a60]
mov ch, 0xf2
movsxd rcx, r11d
xchg r8b, cl
lea rcx, [0x1400c68f0]
jmp 0x1404d252c
dec edx
movzx r8, di
movzx r8w, r11b
movzx r8d, r15w
mov r8, rbx
call fcn.1404d28da
mov dword [rbp - 0x20], r12d
mov rax, qword [rsi + 0x98]
cmp r8b, 0x48
test rax, rax
jmp 0x1404d255a
je 0x1404d2631
cmp word [rax], r12w
jmp 0x1404d2569
je 0x1404d2631
mov rax, qword [rbx]
cmc
test rax, rax
jmp 0x1404d257b
je 0x1404d25a3
cmp word [rax], r12w
jmp 0x1404d258a
je 0x1404d25a3
lea rcx, [rbp - 0x20]
jmp 0x1404d2599
call fcn.1404d2a24
jmp 0x1404d25ac
lea rcx, [rbp - 0x20]
call fcn.1404d30a7
cmp dword [rbp - 0x20], r12d
jmp 0x1404d25b5
jne 0x1404d26f9
mov edx, dword [0x1400c68e0]
setbe cl
lea r8, [rsi + 0x98]
movsx ecx, r11w
mov ch, ch
mov ecx, 0x4e66102a
dec edx
not cx
lea rcx, [0x1400c64d0]
jmp 0x1404d25e7
call fcn.1404d28da
test al, al
jmp 0x1404d25f3
je 0x1404d26ea
mov rax, qword [rbx]
cmp spl, 0xc0
test al, 0x11
test rax, rax
je 0x1404d2623
cmp word [rax], r12w
je 0x1404d2623
lea rcx, [rbp - 0x20]
call fcn.1404d2a24
jmp 0x1404d26ea
lea rcx, [rbp - 0x20]
call fcn.1404d30a7
jmp 0x1404d26ea
mov rax, qword [rbx]
stc
jmp 0x1404d263a
test rax, rax
jmp 0x1404d2642
je 0x1404d26d1
cmp word [rax], r12w
je 0x1404d26d1
call fcn.1404c5905
mov rdx, rax
stc
or rcx, 0xffffffffffffffff
jmp 0x1404d2664
mov rax, qword [rax + 0xa0]
jmp 0x1404d2670
inc rcx
cmp bx, 0x10e0
cmc
cmp word [rax + rcx*2], r12w
jne 0x1404d2670
cmp rcx, 3
mov eax, r12d
movzx cx, dil
mov cl, 0xa6
lea rcx, [0x1400ac1c0]
not al
sete al
mov dword [rdx + 0xb4], eax
mov edx, 1
jmp 0x1404d26ae
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d26bd
jne 0x1404d26ea
mov dword [rbp - 0x20], r12d
jmp 0x1404d26cc
jmp 0x1404d26ea
mov dword [rbp - 0x20], 0x104
jmp 0x1404d26dd
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x1c], eax
cmc
cmp dword [rbp - 0x20], r12d
jmp 0x1404d26f3
je 0x1404d28a3
lea rax, [r14 + 0x100]
neg r14
mov dl, sil
movzx edx, r14w
lea rdx, [rbp - 0x20]
jmp 0x1404d2713
sbb rcx, rcx
test r15w, 0x38b3
and rcx, rax
jmp 0x1404d2724
call fcn.1404d35fe
mov ebx, eax
test eax, eax
jmp 0x1404d2732
je 0x1404d28a3
movzx ecx, bx
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d2748
je 0x1404d28a3
mov ecx, dword [rbp - 0x1c]
mov edx, 1
jmp 0x1404d275b
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d2768
je 0x1404d28a3
test r15, r15
jmp 0x1404d2776
je 0x1404d278f
mov dword [r15], ebx
cmp r15, 0x2b746962
shld dx, r13w, 0x3c
movzx ecx, bx
mov ecx, dword [rbp - 0x1c]
dec r8w
and dl, r14b
cmp sil, sil
lea rdx, [rsi + 0x2f0]
cmp bx, 0x3e19
sub r9d, r9d
movsx rsi, si
cmovs r8d, edi
lea esi, [r9 + 0x55]
xchg r8w, r8w
mov r8d, esi
call fcn.1404c7392
test rdi, rdi
je 0x1404d2894
mov ecx, dword [rbp - 0x1c]
movsxd r8, r13d
sub r8d, r15d
lea rdx, [rdi + 0x120]
sub r9d, r9d
cmovae r8, rdi
setb r8b
jmp 0x1404d27ec
mov r8d, esi
call fcn.1404c7392
mov ecx, dword [rbp - 0x1c]
cdq
mov esi, 0x40
movzx r8w, r13b
movzx r8d, sp
bswap r9
mov r9d, esi
xchg r8b, dl
mov r8, rdi
movzx rdx, bx
cqo
mov edx, 0x1001
jmp 0x1404d2822
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d28a3
mov ecx, dword [rbp - 0x18]
xchg r8b, r8b
mov dl, 0x1a
lea r8, [rdi + 0x80]
movzx rdx, r9w
xchg r9w, dx
not r9w
mov r9d, esi
movzx dx, r12b
mov edx, 0x1002
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d2865
je 0x1404d28a3
lea rdx, [rdi + 0x100]
mov ecx, ebx
xchg r9, r8
movzx r8w, sil
lea r9d, [rsi - 0x36]
mov r8b, al
xchg r8d, r8d
lea r8d, [rsi - 0x30]
jmp 0x1404d288f
call fcn.1404e00f0
mov eax, 1
jmp 0x1404d289e
jmp 0x1404d28a5
sub eax, eax
mov rcx, qword [rbp - 0x10]
jmp 0x1404d28ae
xor rcx, rsp
call fcn.14049bac2
add rsp, 0x40
movsx si, cl
movzx r14d, r9w
movsxd r15, r13d
pop r15
pop r14
pop r12
pop rdi
bswap bp
mov ebp, esi
pop rsi
pop rbx
pop rbp
jmp 0x1404d28d9
ret