Function at 0x140001290
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x330
mov rax, qword [0x1400db800]
xor rax, rsp
mov qword [rsp + 0x320], rax
lea rdx, [0x1400c53c8]
lea rcx, [rsp + 0x30]
call fcn.14008ca50
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14008d280
xor esi, esi
cmp qword [str.Options], rsi
je 0x1400013ce
mov edi, esi
mov ebx, esi
lea rbp, str.Options
mov rcx, rbp
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbx + rbp + 0x1c]
sub eax, 1
je 0x140001391
sub eax, 1
je 0x14000136e
sub eax, 1
je 0x140001341
cmp eax, 3
jne 0x1400013b2
mov r9, qword [rbx + rbp + 0x20]
mov r8, qword [rbx + rbp + 8]
mov rdx, qword [rcx]
lea rcx, [rsp + 0x30]
call fcn.14008cf20
mov rcx, qword [rbx + rbp + 0x10]
mov qword [rcx], rax
jmp 0x1400013b2
movsxd rax, dword [rbx + rbp + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + rbp + 0x10]
mov r8, qword [rbx + rbp + 8]
mov rdx, qword [rcx]
lea rcx, [rsp + 0x30]
call fcn.14008d9a0
jmp 0x1400013b2
mov rax, qword [rbx + rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + rbp + 0x10]
mov r8, qword [rbx + rbp + 8]
mov rdx, qword [rcx]
lea rcx, [rsp + 0x30]
call fcn.14008d930
jmp 0x1400013b2
mov rax, qword [rbx + rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + rbp + 0x10]
mov r8, qword [rbx + rbp + 8]
mov rdx, qword [rcx]
lea rcx, [rsp + 0x30]
call fcn.14008d8c0
inc rdi
lea rax, [rdi + rdi*4]
lea rbx, [rax*8]
lea rcx, [rbx + rbp]
cmp qword [rcx], rsi
jne 0x140001300
mov eax, dword [0x1400e2dd4]
cmp eax, 0x80000000
jne 0x1400013e0
mov eax, 0xa0
and eax, 0x1a0
or eax, 0x40
mov dword [0x1400e2dd4], eax
lea rdi, [0x1400e2e28]
mov qword [0x1400e2e30], rdi
mov qword [0x1400e2e28], rdi
mov rbx, rsi
lea rbp, [0x1400c5060]
nop dword [rax]
mov r9, rbx
lea r8, str.File_u
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.140001040
mov qword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x90]
lea rdx, str.RecentFileList
lea rcx, [rsp + 0x30]
call fcn.14008d9a0
cmp word [rsp + 0x110], si
je 0x140001481
xor r8d, r8d
lea rdx, [rsp + 0x110]
mov rcx, rdi
call fcn.140001100
inc rbx
cmp rbx, 0x14
jb 0x140001410
lea rbx, [0x1400e2e38]
mov qword [0x1400e2e40], rbx
mov qword [0x1400e2e38], rbx
nop word [rax + rax]
mov r9, rsi
lea r8, str.FileMask_u
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.140001040
mov qword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x90]
lea rdx, str.RecentFileMasks
lea rcx, [rsp + 0x30]
call fcn.14008d9a0
cmp word [rsp + 0x110], 0
je 0x140001512
xor r8d, r8d
lea rdx, [rsp + 0x110]
mov rcx, rbx
call fcn.140001100
inc rsi
cmp rsi, 0xa
jb 0x1400014a0
cmp qword [0x1400e2e38], rbx
jne 0x14000152d
xor r8d, r8d
lea rdx, [0x1400c53f0]
mov rcx, rbx
call fcn.140001100
mov eax, dword [0x1400e2e48]
cmp eax, 0xe
ja 0x140001549
add rax, rax
lea rcx, str.Diablo_I
cmp qword [rcx + rax*8], 0
jne 0x140001553
mov dword [0x1400e2e48], 6
mov r9d, 0x20
lea r8, [rsp + 0x50]
lea edx, [r9 - 0x12]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0x50]
mov word [0x1400e2dd8], ax
cmp dword [0x1400e2e08], 0
jne 0x14000158c
mov dword [0x1400e2e08], 0x12c
lea rcx, [rsp + 0x30]
call fcn.14008caa0
xor eax, eax
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.140094850
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret