Function at 0x100102a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10021e60
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1002c018]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x1002c018]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor edi, edi
mov dword [esp + 0xc0], edi
mov eax, dword [esp + 0x2c]
and eax, 0xfffffe07
or eax, 7
push 0x20
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0xc0], 1
cmp esi, edi
je 0x10010330
push esi
call fcn.1000bb30
jmp 0x10010332
xor esi, esi
mov dword [esp + 0x24], esi
mov eax, ebx
mov byte [esp + 0xc0], 2
call fcn.10011cf0
mov esi, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x48]
call fcn.10007e30
lea ecx, [esp + 0x44]
mov edx, esi
call fcn.10008130
mov eax, ecx
call fcn.10007fe0
lea eax, [esp + 0x24]
mov byte [esp + 0xc0], 0
call fcn.10007fe0
lea edi, [esp + 0x18]
mov eax, ebx
call fcn.1000fd10
test al, al
je 0x10010599
jmp 0x10010390
mov ecx, dword [esp + 0x18]
mov al, 1
cmp ecx, 0xc
jne 0x100103c4
jmp 0x100103a0
test al, al
je 0x10010599
lea edi, [esp + 0x18]
mov eax, ebx
call fcn.1000fd10
mov ecx, dword [esp + 0x18]
cmp ecx, 0xc
je 0x100103a0
test al, al
je 0x10010599
cmp ecx, 2
je 0x1001061e
cmp ecx, 5
jne 0x10010599
push 0x10023630
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea edx, [esp + 0x18]
push edx
push ebx
lea edi, [esp + 0x9c]
call fcn.10010f00
test al, al
je 0x10010648
lea edi, [esp + 0x24]
mov eax, ebx
call fcn.1000fd10
test al, al
je 0x1001068c
cmp dword [esp + 0x24], 0xb
jne 0x1001068c
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
add esi, eax
cmp eax, esi
jbe 0x10010432
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [ebx]
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], esi
test edi, edi
jne 0x1001045d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
dec esi
cmp esi, ecx
ja 0x1001046a
test edi, edi
je 0x10010463
mov edi, dword [edi]
jmp 0x10010465
mov eax, dword [edi]
mov ecx, eax
jmp 0x1001044a
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x10010470
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x70]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
call fcn.10013610
cmp dword [esp + 0xac], 0x10
mov eax, dword [eax]
mov ecx, dword [esp + 0x98]
jae 0x1001049f
lea ecx, [esp + 0x98]
push 0
push ecx
push eax
call fcn.100090d0
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
add ecx, eax
test cl, 3
jne 0x100104c9
add eax, 4
shr eax, 2
cmp dword [ebx + 0x14], eax
ja 0x100104c9
call fcn.10012110
mov esi, dword [ebx + 0x18]
add esi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x14]
mov edi, esi
shr edi, 2
cmp eax, edi
ja 0x100104dd
sub edi, eax
mov edx, dword [ebx + 0x10]
cmp dword [edx + edi*4], 0
jne 0x100104f6
push 0x10
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x10]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + edi*4]
and esi, 3
lea esi, [eax + esi*4]
test esi, esi
je 0x1001050c
mov ecx, dword [esp + 0x14]
mov dword [esi], ecx
inc dword [ebx + 0x1c]
mov ecx, ebx
call fcn.1000fa10
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x1001052c
add ecx, 0xffffffff
mov dword [ebx + 0x1c], ecx
jne 0x1001052c
mov dword [ebx + 0x18], 0
test al, al
je 0x10010648
lea edi, [esp + 0x44]
mov eax, ebx
call fcn.1000fd10
test al, al
je 0x10010653
mov ecx, dword [esp + 0x44]
cmp ecx, 2
je 0x1001055e
cmp ecx, 0xa
je 0x1001055e
cmp ecx, 0xc
jne 0x10010653
mov al, 1
cmp ecx, 0xc
jne 0x1001057d
test al, al
je 0x1001057d
lea edi, [esp + 0x44]
mov eax, ebx
call fcn.1000fd10
mov ecx, dword [esp + 0x44]
cmp ecx, 0xc
je 0x10010565
cmp ecx, 2
je 0x1001062c
lea edi, [esp + 0x18]
mov eax, ebx
call fcn.1000fd10
test al, al
jne 0x10010390
push str.Missing__or_object_member_name
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x80]
mov ecx, ebx
mov byte [esp + 0xc8], 5
call fcn.10011430
push 2
call fcn.10011540
lea ecx, [esp + 0x78]
mov bl, al
mov byte [esp + 0xc0], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x94]
mov dword [esp + 0xc0], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.1001da62
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0xa8], 0
jne 0x10010599
lea ecx, [esp + 0x94]
mov dword [esp + 0xc0], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
jmp 0x100105fa
push 2
call fcn.10011540
mov bl, al
jmp 0x100105e0
push str.Missing___or__in_object_declaration
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x2c]
mov ecx, ebx
mov byte [esp + 0xc8], 4
call fcn.10011430
push 2
call fcn.10011540
lea ecx, [esp + 0x24]
jmp 0x100105d0
push str.Missing_:_after_object_member_name
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x4c]
mov ecx, ebx
mov byte [esp + 0xc8], 3
call fcn.10011430
push 2
call fcn.10011540
lea ecx, [esp + 0x44]
jmp 0x100105d0