Function at 0x1404d3c98
Capabilities:
Get geographical location

Disassembly:
push rbp
bsf rax, r14
sub bpl, r13b
dec al
push rbx
cmc
push rsi
cbw
push rdi
movsx ax, ch
push r12
add dil, 0x1c
movsx bp, bpl
push r14
bswap rdi
sbb ebp, esp
lahf
push r15
rcl bp, cl
add rdi, 0x55a45337
mov rbp, rsp
rcl rax, 0xd4
movsx di, r9b
sbb r14d, r11d
sub rsp, 0x40
rcl rax, cl
and r15w, 0x2e87
sal r15b, cl
mov rax, qword [0x1400b7288]
shr r14w, cl
movzx rdi, r8w
xor rax, rsp
movzx r15w, bl
mov qword [rbp - 0x10], rax
xchg dil, r14b
mov r15w, 0x2dee
mov rdi, r8
xchg r14w, r15w
mov r15, rdx
mov r14, rcx
call fcn.1404c6f70
mov rsi, rax
cmp bpl, 0x5f
sub eax, eax
jmp 0x1404d3d2e
mov qword [rbp - 0x20], rax
jmp 0x1404d3d37
mov dword [rbp - 0x18], eax
jmp 0x1404d3d3f
call fcn.1404c6f70
lea rcx, [rbp - 0x20]
jmp 0x1404d3d52
sub r12d, r12d
lea rbx, [rsi + 0xa0]
mov qword [rax + 0x3a0], rcx
xadd ah, ah
not ax
lea rax, [r14 + 0x80]
cmp r8w, ax
mov qword [rsi + 0x98], r14
cmp r10w, 0x33a3
stc
jmp 0x1404d3d87
mov qword [rbx], rax
test rax, rax
je 0x1404d3dce
cmp word [rax], r12w
jmp 0x1404d3d9c
je 0x1404d3dce
mov edx, dword [0x1400c6a60]
movsx r8, sp
lea rcx, [0x1400c68f0]
setl r8b
not r8w
dec edx
setbe r8b
mov r8, rbx
jmp 0x1404d3dc9
call fcn.1404d4188
mov dword [rbp - 0x20], r12d
mov rax, qword [rsi + 0x98]
clc
test rax, rax
jmp 0x1404d3de2
je 0x1404d3ecd
cmp word [rax], r12w
jmp 0x1404d3df1
je 0x1404d3ecd
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d3e02
je 0x1404d3e25
cmp word [rax], r12w
jmp 0x1404d3e11
je 0x1404d3e25
lea rcx, [rbp - 0x20]
call fcn.1404d42d2
jmp 0x1404d3e33
lea rcx, [rbp - 0x20]
jmp 0x1404d3e2e
call fcn.1404d48f4
cmp dword [rbp - 0x20], r12d
jmp 0x1404d3e3c
jne 0x1404d3f8d
mov edx, dword [0x1400c68e0]
inc r8
movsxd r8, r11d
lea r8, [rsi + 0x98]
movzx rcx, cx
dec edx
movsxd rcx, r13d
bswap cx
movzx ecx, r12w
lea rcx, [0x1400c64d0]
jmp 0x1404d3e71
call fcn.1404d4188
test al, al
jmp 0x1404d3e7d
je 0x1404d3f7e
mov rax, qword [rbx]
test r14b, 0xf6
test rax, rax
jmp 0x1404d3e92
je 0x1404d3eba
cmp word [rax], r12w
jmp 0x1404d3ea1
je 0x1404d3eba
lea rcx, [rbp - 0x20]
jmp 0x1404d3eb0
call fcn.1404d42d2
jmp 0x1404d3f7e
lea rcx, [rbp - 0x20]
jmp 0x1404d3ec3
call fcn.1404d48f4
jmp 0x1404d3f7e
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d3ed8
je 0x1404d3f66
cmp word [rax], r12w
jmp 0x1404d3ee7
je 0x1404d3f66
call fcn.1404c6f70
mov rdx, rax
or rcx, 0xffffffffffffffff
jmp 0x1404d3efe
mov rax, qword [rax + 0xa0]
jmp 0x1404d3f0a
inc rcx
cmp sil, 0xd1
cmp word [rax + rcx*2], r12w
jne 0x1404d3f0a
cmp rcx, 3
xchg rcx, rax
bswap ax
mov ecx, 0x5b8e38af
mov eax, r12d
movzx rcx, di
lea rcx, [0x1400ac1c0]
not al
sete al
mov dword [rdx + 0xb4], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d3f57
jne 0x1404d3f7e
mov dword [rbp - 0x20], r12d
jmp 0x1404d3f7e
mov dword [rbp - 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
cmp r12w, r15w
clc
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404d3f87
je 0x1404d412f
lea rax, [r14 + 0x100]
neg r14
xchg edx, edx
inc dh
lea rdx, [rbp - 0x20]
jmp 0x1404d3fa4
sbb rcx, rcx
test cl, bpl
clc
and rcx, rax
call fcn.1404d4df4
mov ebx, eax
cmp al, r8b
test r8b, 0x61
test eax, eax
jmp 0x1404d3fc3
je 0x1404d412f
movzx ecx, bx
jmp 0x1404d3fd1
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d3fde
je 0x1404d412f
mov ecx, dword [rbp - 0x1c]
movsxd rdx, esi
cmovns edx, ebx
mov edx, 1
jmp 0x1404d3ff7
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d4004
je 0x1404d412f
test r15, r15
je 0x1404d4021
mov dword [r15], ebx
xor dx, 0x2d7c
cmp edx, 0xce74ef
mov ecx, dword [rbp - 0x1c]
bswap rdx
sub dh, 0x4b
lea rdx, [rsi + 0x2f0]
xor r9d, r9d
movsx r8w, spl
movzx r8w, r12b
lea esi, [r9 + 0x55]
mov r8w, si
movzx r8, r8w
mov r8d, esi
jmp 0x1404d4052
call fcn.1404c8a59
test rdi, rdi
je 0x1404d4120
mov ecx, dword [rbp - 0x1c]
shl dl, 0xc4
lea rdx, [rdi + 0x120]
xor r9d, r9d
mov r8d, esi
jmp 0x1404d4078
call fcn.1404c8a59
mov ecx, dword [rbp - 0x1c]
movsx rsi, bx
mov esi, 0x40
cwd
xchg dx, r9w
mov r9d, esi
movsxd r8, r11d
seto dl
mov r8, rdi
mov edx, 0x1001
jmp 0x1404d40a5
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d40b2
je 0x1404d412f
mov ecx, dword [rbp - 0x18]
mov r9b, r12b
cdq
lea r8, [rdi + 0x80]
jmp 0x1404d40d3
mov r9d, esi
mov edx, 0x1002
jmp 0x1404d40e0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d412f
lea rdx, [rdi + 0x100]
movsx r9w, r10b
mov ecx, ebx
mov r8, rsp
mov r9, 0x24e0ee8
lea r9d, [rsi - 0x36]
cmovns r8d, r8d
setle r8b
lea r8d, [rsi - 0x30]
jmp 0x1404d411b
call fcn.1404e186e
mov eax, 1
jmp 0x1404d412a
jmp 0x1404d4135
xor eax, eax
movzx ecx, r12w
mov rcx, qword [rbp - 0x10]
stc
xor rcx, rsp
jmp 0x1404d4142
call fcn.14049d217
add rsp, 0x40
movzx r15w, r14b
jmp 0x1404d4158
pop r15
bswap si
xchg bl, dil
movzx rsi, cx
pop r14
pop r12
movsx bx, dil
movzx bp, bl
pop rdi
setge bl
jmp 0x1404d417e
pop rsi
movzx bx, cl
pop rbx
not ebp
pop rbp
ret