Function at 0x1000a350
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d0], ecx
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x2cc], 0
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x1000a3a1
mov eax, dword [edi]
mov byte [eax], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
call fcn.100249b0
push pe_nt_image_headers32
mov esi, eax
lea eax, [ebp - 0x1a8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1ac], 0x11c
lea eax, [ebp - 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.default.0x1000a483
mov eax, dword [ebp - 0x1a8]
cmp eax, 4
jbe case.default.0x1000a483
cmp eax, 5
jne 0x1000a46f
mov eax, dword [ebp - 0x1a4]
sub eax, 0
je 0x1000a42e
sub eax, 1
je 0x1000a45a
sub eax, 1
je 0x1000a43a
push 7
push str.win2000
jmp 0x1000a4ff
lea ecx, [ebp - 0x58]
cmp esi, 0x40
jne 0x1000a44e
push 5
push str.winXP
jmp 0x1000a502
push 7
push str.win2003
jmp 0x1000a502
cmp esi, 0x20
jne case.default.0x1000a483
push 5
push str.winXP
jmp 0x1000a4ff
cmp eax, 6
jne 0x1000a4e1
mov eax, dword [ebp - 0x1a4]
cmp eax, 3
ja case.default.0x1000a483
jmp dword [eax*4 + 0x1000adec]
cmp byte [ebp - 0x92], 1
lea ecx, [ebp - 0x58]
jne 0x1000a49f
push 8
push str.winVISTA
jmp 0x1000a502
push 7
push str.win2008
jmp 0x1000a502
cmp byte [ebp - 0x92], 1
lea ecx, [ebp - 0x58]
jne 0x1000a49f
push 4
push str.win7
jmp 0x1000a502
cmp byte [ebp - 0x92], 1
jne case.default.0x1000a483
push 4
push str.win8
jmp 0x1000a4ff
cmp byte [ebp - 0x92], 1
jne case.default.0x1000a483
push 6
push str.win8.1
jmp 0x1000a4ff
cmp eax, 0xa
jne case.default.0x1000a483
cmp dword [ebp - 0x1a4], 0
jne case.default.0x1000a483
cmp byte [ebp - 0x92], 1
jne case.default.0x1000a483
push 5
push str.win10
lea ecx, [ebp - 0x58]
call fcn.10006df0
push 0x11c
lea eax, [ebp - 0x2c8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 0x11c
call fcn.10019270
mov edx, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x90]
call fcn.1001a4a0
mov esi, eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
push 0x100c33cc
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov byte [ebp - 4], 2
mov edx, eax
push esi
lea ecx, [ebp - 0x40]
call fcn.1000c360
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x1000a5a0
mov ecx, eax
call fcn.10006d80
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10006d80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10006d80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.10006d80
mov eax, dword [ebp - 0x2e0]
and eax, 0xffffff00
mov dword [ebp - 0x2e0], eax
and eax, 0xfffffeff
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2d0]
add edx, 0x13c
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x1000a620
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x28]
call fcn.1001bef0
mov esi, 4
mov dword [ebp - 0x2cc], 4
mov dword [ebp - 0x2cc], esi
add esp, 8
and esi, 0xfffffffb
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 4], 8
or esi, 2
mov dword [ebp - 0x2cc], esi
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x38], 4
or dword [ebp - 0x38], 0x100
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x34], 0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100987b0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2e8]
push 0x100c33d7
push str.content
call fcn.1009a0d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.10099680
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.10099540
and esi, 0xfffffffd
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000a70c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a702
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a702
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x18], 0
add edx, 0x154
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x1000a739
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x28]
call fcn.1001bef0
or esi, 0x20
add esp, 8
mov dword [ebp - 0x2cc], esi
and esi, 0xffffffdf
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 4], 0xc
or esi, 0x10
mov dword [ebp - 0x2cc], esi
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x38], 4
or dword [ebp - 0x38], 0x100
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x34], 0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100987b0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2e8]
push 0x100c33df
push str.contact
call fcn.1009a0d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.10099680
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.10099540
and esi, 0xffffffef
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000a819
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a80f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a80f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x28]
push 0xfde9
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
call fcn.1001bef0
or esi, 0x100
add esp, 8
mov dword [ebp - 0x2cc], esi
and esi, 0xfffffeff
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 4], 0x10
or esi, 0x80
mov dword [ebp - 0x2cc], esi
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x38], 4
or dword [ebp - 0x38], 0x100
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x34], 0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100987b0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2e8]
push 0x100c33e2
push 0x100c33e0
call fcn.1009a0d0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.10099680
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
call fcn.10099540
and esi, 0xffffff7f
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000a928
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a91e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a91e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100249b0
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.1001a4a0
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x1000a95b
mov eax, dword [eax]
push 0xfde9
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.1001bef0
or esi, 0x800
add esp, 8
mov dword [ebp - 0x2cc], esi
and esi, 0xfffff7ff
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 4], 0x15
or esi, 0x400
mov dword [ebp - 0x2cc], esi
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x38], 4
or dword [ebp - 0x38], 0x100
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x34], 0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100987b0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2e8]
push 0x100c33ea
push str.os_bit
call fcn.1009a0d0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.10099680
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x40]
call fcn.10099540
and esi, 0xfffffbff
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000aa49
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000aa3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000aa3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.10006d80
mov edx, 0x20
lea ecx, [ebp - 0x90]
call fcn.1001a4a0
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x1000aa89
mov eax, dword [eax]
push 0xfde9
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.1001bef0
or esi, 0x4000
add esp, 8
mov dword [ebp - 0x2cc], esi
and esi, 0xffffbfff
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 4], 0x1a
or esi, 0x2000
mov dword [ebp - 0x2cc], esi
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x38], 4
or dword [ebp - 0x38], 0x100
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x34], 0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100987b0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x2e8]
push 0x100c33f3
push str.app_bit
call fcn.1009a0d0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.10099680
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x40]
call fcn.10099540
and esi, 0xffffdfff
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000ab77
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ab6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ab6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.10006d80
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x90]
mov edx, dword [eax + 0x16c]
call fcn.1001a4a0
mov byte [ebp - 4], 0x20
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x1000abbe
mov eax, dword [eax]
push 0xfde9
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.1001bef0
or esi, 0x20000
add esp, 8
mov dword [ebp - 0x2cc], esi
and esi, 0xfffdffff
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 4], 0x1f
or esi, 0x10000
mov dword [ebp - 0x2cc], esi
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x38], 4
or dword [ebp - 0x38], 0x100
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x34], 0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100987b0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2e8]
push 0x100c33f8
push str.from
call fcn.1009a0d0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.10099680
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x40]
call fcn.10099540
and esi, 0xfffeffff
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000acac
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000aca2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000aca2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.10006d80
mov dword [ebp - 0x78], vtable.RCJson::Writer.0
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x78], vtable.RCJson::FastWriter.0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 0x24
mov word [ebp - 0x5c], 0
mov byte [ebp - 0x5a], 0
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x78]
call fcn.10097cc0
mov esi, eax
mov byte [ebp - 4], 0x26
cmp edi, esi
je 0x1000ad56
mov ecx, edi
call fcn.10006f40
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x1000ad90
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ad86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ad86
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.10007a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2e8]
call fcn.10099540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10006d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ab466
mov esp, ebp
pop ebp
ret 4