Function at 0x4b42f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4babe0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4d437c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d437c]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xbc]
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.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 + 0xb4], ebx
mov eax, dword [esp + 0x2c]
and eax, 0xfffffe07
or eax, 7
push 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
call fcn.004b77fc
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0xb4], 1
je 0x4b439a
call fcn.004b27a0
mov dword [esi + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
jmp 0x4b439c
xor esi, esi
mov dword [esp + 0x24], esi
mov esi, ebp
mov byte [esp + 0xb4], 2
call fcn.004b54c0
mov esi, dword [eax]
lea eax, [esp + 0x24]
call fcn.004b07c0
lea eax, [esp + 0x24]
mov byte [esp + 0xb4], bl
call fcn.004b0720
lea edi, [esp + 0x18]
mov eax, ebp
call fcn.004b3dd0
test al, al
je 0x4b4584
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
cmp ecx, 0xc
mov al, 1
jne 0x4b4414
jmp 0x4b43f0
test al, al
je 0x4b4584
lea edi, [esp + 0x18]
mov eax, ebp
call fcn.004b3dd0
mov ecx, dword [esp + 0x18]
cmp ecx, 0xc
je 0x4b43f0
test al, al
je 0x4b4584
cmp ecx, 2
je 0x4b460b
cmp ecx, 5
jne 0x4b4584
push 0x4be549
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP80.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 ecx, [esp + 0x18]
push ecx
push ebp
lea edi, [esp + 0x90]
call fcn.004b4e10
test al, al
je 0x4b4635
lea edi, [esp + 0x24]
mov eax, ebp
call fcn.004b3dd0
test al, al
je 0x4b467a
cmp dword [esp + 0x24], 0xb
jne 0x4b467a
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
add ebx, eax
cmp eax, ebx
jbe 0x4b4482
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add ebx, 0xffffffff
add edx, eax
cmp ebx, edx
ja 0x4b4495
cmp ebx, eax
jae 0x4b449b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov edi, ebx
mov esi, ebx
shr edi, 2
and esi, 3
cmp ebx, eax
jb 0x4b44b5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 8]
cmp eax, edi
ja 0x4b44be
sub edi, eax
cmp dword [esp + 0xa0], 0x10
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + edi*4]
mov esi, dword [edx + esi*4]
mov eax, dword [esp + 0x8c]
jae 0x4b44df
lea eax, [esp + 0x8c]
push eax
mov ebx, esi
call fcn.004b11a0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, ebp
call fcn.004b5520
mov ecx, ebp
call fcn.004b3bb0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b4514
add ecx, 0xffffffff
mov dword [ebp + 0x10], ecx
jne 0x4b4514
mov dword [ebp + 0xc], 0
test al, al
je 0x4b4635
lea edi, [esp + 0x44]
mov eax, ebp
call fcn.004b3dd0
test al, al
je 0x4b4642
mov ecx, dword [esp + 0x44]
cmp ecx, 2
je 0x4b4546
cmp ecx, 0xa
je 0x4b4546
cmp ecx, 0xc
jne 0x4b4642
cmp ecx, 0xc
mov al, 1
jne 0x4b4568
lea ecx, [ecx]
test al, al
je 0x4b4568
lea edi, [esp + 0x44]
mov eax, ebp
call fcn.004b3dd0
mov ecx, dword [esp + 0x44]
cmp ecx, 0xc
je 0x4b4550
cmp ecx, 2
je 0x4b4619
lea edi, [esp + 0x18]
mov eax, ebp
call fcn.004b3dd0
test al, al
jne 0x4b43e0
push str.Missing__or_object_member_name
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
lea esi, [esp + 0x1c]
lea ebx, [esp + 0x54]
mov ecx, ebp
mov byte [esp + 0xb8], 5
call fcn.004b5350
push 2
mov esi, ebp
call fcn.004b5400
mov ecx, ebx
mov bl, al
mov byte [esp + 0xb4], 0
call dword [sym.imp.MSVCP80.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 + 0xb4], 0xffffffff
call dword [sym.imp.MSVCP80.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 + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004b76e6
add esp, 0xa4
ret 4
cmp dword [esp + 0x9c], 0
jne 0x4b4584
lea ecx, [esp + 0x88]
mov dword [esp + 0xb4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
jmp 0x4b45e1
push 2
mov esi, ebp
call fcn.004b5400
mov bl, al
jmp 0x4b45c7
push str.Missing___or__in_object_declaration
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
lea esi, [esp + 0x48]
lea ebx, [esp + 0x28]
mov ecx, ebp
mov byte [esp + 0xb8], 4
call fcn.004b5350
push 2
mov esi, ebp
call fcn.004b5400
mov ecx, ebx
jmp 0x4b45b7
push str.Missing_:_after_object_member_name
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
lea esi, [esp + 0x28]
lea ebx, [esp + 0x70]
mov ecx, ebp
mov byte [esp + 0xb8], 3
call fcn.004b5350
push 2
mov esi, ebp
call fcn.004b5400
mov ecx, ebx
jmp 0x4b45b7