Function at 0x1404d5e8d
Capabilities:
Get geographical location

Disassembly:
push rbp
cdqe
push rbx
push rsi
inc ebp
push rdi
stc
push r12
push r14
dec r14
movsx r14w, r12b
not r14w
push r15
not bpl
movzx rdi, di
mov rbp, rsp
btc rdi, 0x20
sub rsp, 0x40
movsx eax, r15w
bts rax, r10
or r14d, ebx
mov rax, qword [0x1400b7288]
rcr dil, 0xb0
clc
and r15b, 0xf1
xor rax, rsp
movzx r14, si
not dil
mov qword [rbp - 0x10], rax
setp dil
mov rdi, r8
mov r15, rdx
mov r14, rcx
jmp 0x1404d5ef7
call fcn.1404c931e
mov rsi, rax
sub eax, eax
jmp 0x1404d5f06
mov qword [rbp - 0x20], rax
jmp 0x1404d5f0f
mov dword [rbp - 0x18], eax
call fcn.1404c931e
lea rcx, [rbp - 0x20]
and bx, r11w
xor r12d, r12d
bsf rbx, r11
lea rbx, [rsi + 0xa0]
stc
mov qword [rax + 0x3a0], rcx
rcl al, cl
lea rax, [r14 + 0x80]
jmp 0x1404d5f44
mov qword [rsi + 0x98], r14
test dil, dl
test al, 0x16
mov qword [rbx], rax
test rax, rax
je 0x1404d5f9f
cmp word [rax], r12w
jmp 0x1404d5f65
je 0x1404d5f9f
mov edx, dword [0x1400c6a60]
bswap cx
movsx ecx, r11w
lea rcx, [0x1400c68f0]
bswap r8d
movsxd r8, edx
mov r8w, 0x4985
dec edx
movsxd r8, edi
xchg r8b, r8b
mov r8, rbx
jmp 0x1404d5f9a
call fcn.1404d635c
mov dword [rbp - 0x20], r12d
clc
shl al, cl
mov rax, qword [rsi + 0x98]
clc
cmc
test rax, rax
jmp 0x1404d5fb7
je 0x1404d6090
cmp word [rax], r12w
je 0x1404d6090
mov rax, qword [rbx]
stc
jmp 0x1404d5fd0
test rax, rax
jmp 0x1404d5fd8
je 0x1404d5ffb
cmp word [rax], r12w
je 0x1404d5ffb
lea rcx, [rbp - 0x20]
jmp 0x1404d5ff1
call fcn.1404d6492
jmp 0x1404d6009
lea rcx, [rbp - 0x20]
jmp 0x1404d6004
call fcn.1404d6b00
cmp dword [rbp - 0x20], r12d
jne 0x1404d616c
mov edx, dword [0x1400c68e0]
movzx ecx, bp
lea r8, [rsi + 0x98]
dec edx
mov cl, 0x26
movsxd rcx, esp
lea rcx, [0x1400c64d0]
call fcn.1404d635c
test al, al
jmp 0x1404d603d
je 0x1404d615d
mov rax, qword [rbx]
cmp r14, 0x6137503b
test rax, rax
jmp 0x1404d6055
je 0x1404d607d
cmp word [rax], r12w
jmp 0x1404d6064
je 0x1404d607d
lea rcx, [rbp - 0x20]
jmp 0x1404d6073
call fcn.1404d6492
jmp 0x1404d615d
lea rcx, [rbp - 0x20]
jmp 0x1404d6086
call fcn.1404d6b00
jmp 0x1404d615d
mov rax, qword [rbx]
stc
test rax, rax
jmp 0x1404d609c
je 0x1404d613e
cmp word [rax], r12w
jmp 0x1404d60ab
je 0x1404d613e
call fcn.1404c931e
mov rdx, rax
jmp 0x1404d60be
or rcx, 0xffffffffffffffff
jmp 0x1404d60c7
mov rax, qword [rax + 0xa0]
jmp 0x1404d60d3
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1404d60d3
cmp rcx, 3
movzx ecx, r9w
jmp 0x1404d60f1
mov eax, r12d
lea rcx, [0x1400ac1c0]
mov al, 0x11
xchg al, al
sete al
mov dword [rdx + 0xb4], eax
jmp 0x1404d6116
mov edx, 1
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d612a
jne 0x1404d615d
mov dword [rbp - 0x20], r12d
jmp 0x1404d6139
jmp 0x1404d615d
mov dword [rbp - 0x20], 0x104
jmp 0x1404d614a
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
test r14, 0x35713959
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404d6166
je 0x1404d6302
lea rax, [r14 + 0x100]
neg r14
mov dx, si
cwd
seto dl
lea rdx, [rbp - 0x20]
sbb rcx, rcx
test di, 0x5708
and rcx, rax
call fcn.1404d7022
mov ebx, eax
cmc
test ax, di
test eax, eax
jmp 0x1404d619f
je 0x1404d6302
movzx ecx, bx
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d61b5
je 0x1404d6302
mov ecx, dword [rbp - 0x1c]
mov edx, 1
jmp 0x1404d61c8
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d61d5
je 0x1404d6302
test r15, r15
jmp 0x1404d61e3
je 0x1404d61ef
mov dword [r15], ebx
adc dh, 0xf7
mov ecx, dword [rbp - 0x1c]
rol dh, 0x57
movzx r8w, r10b
lea rdx, [rsi + 0x2f0]
shld esi, ecx, 0xce
xor r8b, 0xc0
bts r8w, r13w
xor r9d, r9d
lea esi, [r9 + 0x55]
mov r8w, 0x5597
bswap r8d
mov r8d, esi
jmp 0x1404d6225
call fcn.1404cae5f
test rdi, rdi
jmp 0x1404d6232
je 0x1404d62f3
mov ecx, dword [rbp - 0x1c]
mov r8w, r12w
shl r8b, cl
lea rdx, [rdi + 0x120]
or r8d, 0x3a044009
add r8b, 0xb7
cmove r8, r14
sub r9d, r9d
setno r8b
mov r8d, esi
call fcn.1404cae5f
mov ecx, dword [rbp - 0x1c]
mov esi, 0x40
mov r9d, esi
setle dl
mov r8, rdi
movsx dx, r13b
mov edx, 0x1001
jmp 0x1404d6287
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d6294
je 0x1404d6302
mov ecx, dword [rbp - 0x18]
mov r9b, cl
movsxd r9, ebx
movsx r8w, dl
lea r8, [rdi + 0x80]
mov r9d, esi
mov edx, 0x1002
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d62c4
je 0x1404d6302
lea rdx, [rdi + 0x100]
movzx r9, r10w
mov ecx, ebx
xchg r8b, r9b
mov r8b, 0x41
movsx r8d, r14w
lea r9d, [rsi - 0x36]
mov r8w, 0x798f
lea r8d, [rsi - 0x30]
call fcn.1404e3bb4
mov eax, 1
jmp 0x1404d62fd
jmp 0x1404d6304
sub eax, eax
mov rcx, qword [rbp - 0x10]
jmp 0x1404d630f
xor rcx, rsp
jmp 0x1404d6317
call fcn.14049f5cb
add rsp, 0x40
mov sil, r9b
pop r15
movzx r14, r11w
movzx r14d, sp
pop r14
movsx bx, bh
setg dil
pop r12
pop rdi
movsxd rbx, r8d
movsx rbp, di
setl bpl
pop rsi
setle bl
movsxd rbx, r14d
movsx bx, r13b
pop rbx
movsxd rbp, r12d
pop rbp
jmp 0x1404d635b
ret