Function at 0x1404d86ba
Capabilities:
Get geographical location

Disassembly:
push rbp
movzx rax, si
shl ax, cl
push rbx
stc
push rsi
inc eax
rol bpl, cl
push rdi
push r12
cmp r9b, bl
add di, 0x24d2
push r14
movsx di, r14b
adc al, dl
push r15
mov rbp, rsp
bsf r14w, si
sar r15w, 0x8c
sub rsp, 0x40
jmp 0x1404d86fb
mov rax, qword [0x1400b7288]
xor rax, rsp
mov r15b, 4
mov r14w, ax
jmp 0x1404d8711
mov qword [rbp - 0x10], rax
movsxd r14, r8d
movzx r15d, ax
setle r14b
mov rdi, r8
bswap r14w
mov r15, rdx
movsx r14, r13w
xchg r14, r14
movsx r14w, r12b
mov r14, rcx
jmp 0x1404d873e
call fcn.1404cba92
mov rsi, rax
sub eax, eax
jmp 0x1404d874d
mov qword [rbp - 0x20], rax
jmp 0x1404d8756
mov dword [rbp - 0x18], eax
jmp 0x1404d875e
call fcn.1404cba92
lea rcx, [rbp - 0x20]
stc
sub bl, r13b
rcl ebx, 0xdc
xor r12d, r12d
cmp si, r11w
sar bh, 0x28
bts bx, bp
lea rbx, [rsi + 0xa0]
jmp 0x1404d8788
mov qword [rax + 0x3a0], rcx
cmp r13b, 0x6f
stc
btr rax, 0x82
lea rax, [r14 + 0x80]
jmp 0x1404d87a5
mov qword [rsi + 0x98], r14
cmc
cmp dl, 0xfe
test r8b, cl
mov qword [rbx], rax
cmp dx, r15w
stc
test rax, rax
jmp 0x1404d87c3
je 0x1404d8807
cmp word [rax], r12w
je 0x1404d8807
mov edx, dword [0x1400c6a60]
movsx r8d, bp
lea rcx, [0x1400c68f0]
jmp 0x1404d87ef
dec edx
movsx r8w, r11b
movzx r8, r10w
mov r8, rbx
jmp 0x1404d8802
call fcn.1404d8be9
mov dword [rbp - 0x20], r12d
bts ax, r10w
ror rax, cl
mov rax, qword [rsi + 0x98]
test rax, rax
jmp 0x1404d8822
je 0x1404d890b
cmp word [rax], r12w
je 0x1404d890b
mov rax, qword [rbx]
test r8b, r10b
cmp di, r14w
test rax, rax
jmp 0x1404d8844
je 0x1404d886c
cmp word [rax], r12w
jmp 0x1404d8853
je 0x1404d886c
lea rcx, [rbp - 0x20]
jmp 0x1404d8862
call fcn.1404d8d23
jmp 0x1404d887a
lea rcx, [rbp - 0x20]
jmp 0x1404d8875
call fcn.1404d931c
cmp dword [rbp - 0x20], r12d
jmp 0x1404d8883
jne 0x1404d89de
mov edx, dword [0x1400c68e0]
bswap ecx
dec cx
movsx cx, dil
lea r8, [rsi + 0x98]
jmp 0x1404d88a5
dec edx
mov rcx, 0x54b439cc
mov cl, r8b
lea rcx, [0x1400c64d0]
jmp 0x1404d88bd
call fcn.1404d8be9
test al, al
je 0x1404d89cf
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d88d5
je 0x1404d88fd
cmp word [rax], r12w
jmp 0x1404d88e4
je 0x1404d88fd
lea rcx, [rbp - 0x20]
jmp 0x1404d88f3
call fcn.1404d8d23
jmp 0x1404d89cf
lea rcx, [rbp - 0x20]
call fcn.1404d931c
jmp 0x1404d89cf
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d8916
je 0x1404d89b9
cmp word [rax], r12w
jmp 0x1404d8925
je 0x1404d89b9
call fcn.1404cba92
mov rdx, rax
stc
or rcx, 0xffffffffffffffff
jmp 0x1404d893d
mov rax, qword [rax + 0xa0]
jmp 0x1404d8949
inc rcx
cmp word [rax + rcx*2], r12w
jmp 0x1404d8956
jne 0x1404d8949
cmp rcx, 3
movsx cx, r12b
movzx ecx, cx
mov eax, r12d
not al
movsx cx, r13b
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d8981
mov dword [rdx + 0xb4], eax
not dx
xchg edx, edx
movsx dx, sil
mov edx, 1
jmp 0x1404d899b
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d89aa
jne 0x1404d89cf
mov dword [rbp - 0x20], r12d
jmp 0x1404d89cf
mov dword [rbp - 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x1c], eax
cmp r8b, spl
cmp dword [rbp - 0x20], r12d
jmp 0x1404d89d8
je 0x1404d8b9f
lea rax, [r14 + 0x100]
sal dl, 0x43
xor dx, dx
rcl edx, cl
neg r14
movsx dx, bl
inc dh
movsx edx, sp
lea rdx, [rbp - 0x20]
jmp 0x1404d8a02
sbb rcx, rcx
cmp r14w, r14w
test r9w, sp
and rcx, rax
jmp 0x1404d8a15
call fcn.1404d982b
mov ebx, eax
test eax, eax
jmp 0x1404d8a23
je 0x1404d8b9f
movzx ecx, bx
jmp 0x1404d8a31
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d8a3e
je 0x1404d8b9f
mov ecx, dword [rbp - 0x1c]
setno dh
movsx dx, al
mov edx, 1
jmp 0x1404d8a58
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d8a65
je 0x1404d8b9f
test r15, r15
jmp 0x1404d8a73
je 0x1404d8a83
mov dword [r15], ebx
adc r8, 0x193a5299
mov ecx, dword [rbp - 0x1c]
bsr rdx, rsi
lea rdx, [rsi + 0x2f0]
adc rsi, r13
bts r8w, di
shrd r8w, bx, 0x8e
xor r9d, r9d
lea esi, [r9 + 0x55]
movsx r8w, spl
mov r8d, ebp
mov r8d, esi
jmp 0x1404d8ab6
call fcn.1404cd5b0
test rdi, rdi
jmp 0x1404d8ac3
je 0x1404d8b90
mov ecx, dword [rbp - 0x1c]
xadd edx, edx
lea rdx, [rdi + 0x120]
sbb r8, rdi
sub r8w, 0x1ba0
xor r9d, r9d
mov r8d, esi
jmp 0x1404d8aea
call fcn.1404cd5b0
mov ecx, dword [rbp - 0x1c]
jmp 0x1404d8afe
mov esi, 0x40
jmp 0x1404d8b08
mov r9d, esi
cmove edx, r13d
movsx r8, r13w
cdq
mov r8, rdi
mov edx, 0x1001
jmp 0x1404d8b21
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d8b2e
je 0x1404d8b9f
mov ecx, dword [rbp - 0x18]
xchg edx, edx
movzx r9w, r8b
cwd
lea r8, [rdi + 0x80]
movsx rdx, r13w
mov r9d, esi
seto dh
not dh
mov edx, 0x1002
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d8b9f
lea rdx, [rdi + 0x100]
mov ecx, ebx
setge r9b
not r9d
lea r9d, [rsi - 0x36]
cmovo r8, rdi
xchg r8w, r8w
lea r8d, [rsi - 0x30]
jmp 0x1404d8b8b
call fcn.1404e6472
mov eax, 1
jmp 0x1404d8b9a
jmp 0x1404d8bad
sub eax, eax
add cx, 0x1faf
btc rcx, 0x23
rol ch, cl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1404a2014
add rsp, 0x40
pop r15
pop r14
pop r12
movzx ebp, dx
seta sil
movzx di, bpl
pop rdi
movzx ebx, si
mov esi, 0x2d6560a4
bswap rbx
pop rsi
bswap bx
not bp
pop rbx
movzx bp, al
pop rbp
ret