Function at 0x10024520
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x10030850
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push edi
mov eax, dword [0x1004004c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
lea ecx, [esp + 0x88]
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 ebx, ebx
mov dword [esp + 0xb0], ebx
mov eax, dword [esp + 0x2c]
and eax, 0xfffffe07
or eax, 7
push 0x20
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov byte [esp + 0xb0], 1
cmp edi, ebx
je 0x100245a8
push edi
call fcn.10029400
jmp 0x100245aa
xor edi, edi
mov dword [esp + 0x24], edi
mov eax, esi
mov byte [esp + 0xb0], 2
call fcn.10025850
mov edi, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x48]
call fcn.100276b0
lea ecx, [esp + 0x44]
mov edx, edi
call fcn.10027940
call fcn.10027820
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 0
call fcn.10027820
lea edi, [esp + 0x10]
mov eax, esi
call fcn.10024000
test al, al
je 0x100247fc
mov ecx, dword [esp + 0x10]
mov al, 1
cmp ecx, 0xc
jne 0x10024634
lea esp, [esp]
test al, al
je 0x100247fc
lea edi, [esp + 0x10]
mov eax, esi
call fcn.10024000
mov ecx, dword [esp + 0x10]
cmp ecx, 0xc
je 0x10024610
test al, al
je 0x100247fc
cmp ecx, 2
je 0x10024883
cmp ecx, 5
jne 0x100247fc
push 0x10033c54
lea ecx, [esp + 0x8c]
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 + 0x10]
push edx
push esi
lea edi, [esp + 0x90]
call fcn.10025130
test al, al
je 0x100248ad
lea edi, [esp + 0x24]
mov eax, esi
call fcn.10024000
test al, al
je 0x100248f5
cmp dword [esp + 0x24], 0xb
jne 0x100248f5
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
add edi, eax
cmp eax, edi
jbe 0x100246a2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esi]
mov dword [esp + 0x68], edi
test ebx, ebx
jne 0x100246c9
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 edi
cmp edi, ecx
ja 0x100246d6
test ebx, ebx
je 0x100246cf
mov eax, dword [ebx]
jmp 0x100246d1
mov eax, dword [ebx]
mov ecx, eax
jmp 0x100246b6
xor eax, eax
cmp edi, dword [eax + 0x18]
jae 0x100246dc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call fcn.10026b40
cmp dword [esp + 0xa0], 0x10
mov eax, dword [eax]
mov ecx, dword [esp + 0x8c]
jae 0x10024707
lea ecx, [esp + 0x8c]
push ecx
mov ebx, eax
call fcn.10028390
mov edx, dword [esi + 0x18]
mov ebp, eax
mov eax, dword [esi + 0x1c]
add edx, eax
test dl, 3
jne 0x10024730
add eax, 4
shr eax, 2
cmp dword [esi + 0x14], eax
ja 0x10024730
mov ebx, esi
call fcn.10025b80
mov ebx, dword [esi + 0x18]
add ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
mov edi, ebx
shr edi, 2
cmp eax, edi
ja 0x10024744
sub edi, eax
mov eax, dword [esi + 0x10]
cmp dword [eax + edi*4], 0
jne 0x1002475d
push 0x10
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x10]
mov eax, dword [edx + edi*4]
and ebx, 3
lea ebx, [eax + ebx*4]
test ebx, ebx
je 0x1002476f
mov dword [ebx], ebp
inc dword [esi + 0x1c]
mov ecx, esi
call fcn.10023dd0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1002478f
add ecx, 0xffffffff
mov dword [esi + 0x1c], ecx
jne 0x1002478f
mov dword [esi + 0x18], 0
test al, al
je 0x100248ad
lea edi, [esp + 0x44]
mov eax, esi
call fcn.10024000
test al, al
je 0x100248ba
mov ecx, dword [esp + 0x44]
cmp ecx, 2
je 0x100247c1
cmp ecx, 0xa
je 0x100247c1
cmp ecx, 0xc
jne 0x100248ba
mov al, 1
cmp ecx, 0xc
jne 0x100247e0
test al, al
je 0x100247e0
lea edi, [esp + 0x44]
mov eax, esi
call fcn.10024000
mov ecx, dword [esp + 0x44]
cmp ecx, 0xc
je 0x100247c8
cmp ecx, 2
je 0x10024891
lea edi, [esp + 0x10]
mov eax, esi
call fcn.10024000
test al, al
jne 0x10024601
push str.Missing__or_object_member_name
lea ecx, [esp + 0x70]
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 + 0x14]
push eax
lea edx, [esp + 0x74]
mov ecx, esi
mov byte [esp + 0xb8], 5
call fcn.10025660
push 2
mov ebx, esi
call fcn.10025760
lea ecx, [esp + 0x6c]
mov bl, al
mov byte [esp + 0xb0], 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 + 0x88]
mov dword [esp + 0xb0], 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 + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1002c7c6
add esp, 0xa4
ret
cmp dword [esp + 0x9c], 0
jne 0x100247fc
lea ecx, [esp + 0x88]
mov dword [esp + 0xb0], 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 0x1002485c
push 2
mov ebx, esi
call fcn.10025760
mov bl, al
jmp 0x10024842
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 ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x2c]
mov ecx, esi
mov byte [esp + 0xb8], 4
call fcn.10025660
push 2
mov ebx, esi
call fcn.10025760
lea ecx, [esp + 0x24]
jmp 0x10024832
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 edx, [esp + 0x28]
push edx
lea edx, [esp + 0x4c]
mov ecx, esi
mov byte [esp + 0xb8], 3
call fcn.10025660
push 2
mov ebx, esi
call fcn.10025760
lea ecx, [esp + 0x44]
jmp 0x10024832