Function at 0x14000edb0
Capabilities:
Check os version
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402526c8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r14, rcx
xor edx, edx
mov r8d, 0x11c
lea rcx, [rbp - 0x30]
call fcn.140180e90
mov dword [rbp - 0x30], 0x11c
xor r8d, r8d
lea rdx, [0x14020515c]
mov rcx, r14
call fcn.1400016b0
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor esi, esi
test eax, eax
je 0x14000f0b7
call fcn.14002dca4
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14000ee4f
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
call fcn.14002dca4
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14000ee80
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov r8d, 8
lea rdx, str._OSInfo
lea rcx, [rsp + 0x28]
call fcn.1400016b0
mov r8d, dword [rbp - 0x2c]
lea rdx, str._MajorVersion____d_
lea rcx, [rsp + 0x20]
call fcn.140006220
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005330
mov r8d, dword [rbp - 0x28]
lea rdx, str._MinorVersion____d_
lea rcx, [rsp + 0x20]
call fcn.140006220
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005330
mov r8d, dword [rbp - 0x24]
lea rdx, str._BuildNumber____d_
lea rcx, [rsp + 0x20]
call fcn.140006220
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005330
mov r8d, dword [rbp - 0x20]
lea rdx, str._PlatformId____d_
lea rcx, [rsp + 0x20]
call fcn.140006220
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005330
lea r8, [rbp - 0x1c]
lea rdx, str._CSDVersion____s_
lea rcx, [rsp + 0x20]
call fcn.140006220
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005330
movzx r8d, word [rbp + 0xe4]
lea rdx, str._ServicePackMajor____d_
lea rcx, [rsp + 0x20]
call fcn.140006220
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005330
movzx r8d, word [rbp + 0xe6]
lea rdx, str._ServicePackMinor____d_
lea rcx, [rsp + 0x20]
call fcn.140006220
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005330
movzx r8d, word [rbp + 0xe8]
lea rdx, str._SuiteFlags____x_
lea rcx, [rsp + 0x20]
call fcn.140006220
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005330
lea rcx, [rsp + 0x60]
call fcn.14000e6f0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005330
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f032
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x1402070d8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.140005260
nop
mov rdx, rax
mov rcx, r14
call fcn.1400017a0
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f076
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f097
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f0b7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, str.LocalUserDefault
mov qword [rbp - 0x80], rax
lea rax, str.LocalSystemDefault
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x48], 0x400
mov dword [rsp + 0x4c], 0x800
lea rax, str.IDefaultAnsiCodepage
mov qword [rbp - 0x70], rax
lea rax, str.IDefaultCodepage
mov qword [rbp - 0x68], rax
lea rax, str.IDefaultLanguage
mov qword [rbp - 0x60], rax
lea rax, str.IDefaultCountry
mov qword [rbp - 0x58], rax
lea rax, str.ILanguage
mov qword [rbp - 0x50], rax
lea rax, str.ICountry
mov qword [rbp - 0x48], rax
mov dword [rbp + 0xf0], 0x1004
mov dword [rbp + 0xf4], SafeArrayGetDim
mov dword [rbp + 0xf8], 9
mov dword [rbp + 0xfc], 0xa
mov dword [rbp + 0x100], 1
mov dword [rbp + 0x104], 5
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, str._LocaleInfo_
mov rcx, r14
call fcn.140005330
mov r15, rsi
mov rbx, qword [rbp + r15*8 - 0x80]
call fcn.14002dca4
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
je 0x14000f5bb
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
test rbx, rbx
je 0x14000f1e2
test rbx, 0xffffffffffff0000
jne 0x14000f1ce
movzx edi, bx
mov ecx, edi
call fcn.1400402fc
test rax, rax
je 0x14000f1f5
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400054e0
jmp 0x14000f1f5
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14000f1e4
mov ecx, esi
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400016b0
nop
lea r8, [rsp + 0x38]
lea rdx, [0x14020721c]
lea rcx, [rsp + 0x50]
call fcn.1400050b0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r14
call fcn.140005330
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f23c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r13, rsi
nop
mov rbx, qword [rbp + r13*8 - 0x70]
call fcn.14002dca4
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
je 0x14000f5b0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
test rbx, rbx
je 0x14000f2af
test rbx, 0xffffffffffff0000
jne 0x14000f29b
movzx edi, bx
mov ecx, edi
call fcn.1400402fc
test rax, rax
je 0x14000f2c2
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400054e0
jmp 0x14000f2c2
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14000f2b1
mov ecx, esi
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400016b0
nop
call fcn.14002dca4
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
je 0x14000f5a5
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rdx, [0x140206ca4]
lea rcx, [rsp + 0x58]
call fcn.1400050b0
nop
lea r8, [0x140207224]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r14
call fcn.140005330
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f346
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f366
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, 0x1c
lea r8, [rbp + 0x108]
mov edx, dword [rbp + r13*4 + 0xf0]
mov ecx, dword [rsp + r15*4 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x14000f493
cmp eax, 0x1c
ja 0x14000f493
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x108]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rbx, rcx
test ecx, ecx
jne 0x14000f410
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], ecx
je 0x14000f493
cmp dword [rdx + 0x10], ecx
jge 0x14000f3e2
cmp dword [rax - 0xc], ecx
jl 0x14000f56d
mov dword [rax - 0x10], esi
mov word [rax], si
jmp 0x14000f493
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f3f9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x14000f493
mov rdi, qword [rsp + 0x30]
mov r12d, dword [rdi - 0x10]
lea rsi, [rbp + 0x108]
sub rsi, rdi
sar rsi, 1
test ecx, ecx
js 0x14000f583
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, ebx
or eax, ecx
jge 0x14000f450
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140001650
mov rdi, qword [rsp + 0x30]
movsxd rax, ebx
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
add rdx, rdx
cmp rsi, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x14000f474
lea r8, [rdi + rsi*2]
call fcn.14017e198
jmp 0x14000f480
lea r8, [rbp + 0x108]
call fcn.14017e110
cmp ebx, dword [rdi - 0xc]
jg 0x14000f578
mov dword [rdi - 0x10], ebx
xor esi, esi
mov word [r12 + rdi], si
lea r8, [0x14020722c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r14
call fcn.140005330
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f4db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f4fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f51c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r13
cmp r13, 6
jl 0x14000f240
mov r8d, 3
lea rdx, [0x1402070d8]
mov rcx, r14
call fcn.140005330
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f55f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r15
cmp r15, 2
jge 0x14000f58e
jmp 0x14000f173
mov ecx, 0x80070057
call fcn.140001900
int3
mov ecx, 0x80070057
call fcn.140001900
int3
mov ecx, 0x80070057
call fcn.140001900
nop
mov r8d, SafeArrayGetDim
lea rdx, str.__LocaleInfo__n
mov rcx, r14
call fcn.140005330
jmp 0x14000f5c6
mov ecx, 0x80004005
call fcn.140001900
nop
mov ecx, 0x80004005
call fcn.140001900
nop
mov ecx, 0x80004005
call fcn.140001900
int3
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14017e0f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret