Function at 0x10012dd0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1002ba0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov eax, dword [0x1003b270]
xor eax, esp
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x80]
mov dword [esp + 0x9c], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
push 7
lea ecx, [esp + 0x30]
mov dword [esp + 0xac], ebx
call fcn.10014550
mov ecx, dword [esi + 0xc]
add ecx, dword [esi + 0x10]
mov edi, esi
sub ecx, 1
mov edx, ecx
shr ecx, 2
lea ebp, [ecx*4]
sub edx, ebp
mov ebp, dword [edi + 8]
cmp ebp, ecx
mov byte [esp + 0xa8], 1
ja 0x10012e4a
sub ecx, ebp
mov edi, dword [edi + 4]
mov ecx, dword [edi + ecx*4]
mov ecx, dword [ecx + edx*4]
push eax
call fcn.10015020
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 0
call fcn.10014650
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.100112e0
test al, al
je 0x10012fe6
mov ebp, 0xb
mov ecx, dword [esp + 0x10]
cmp ecx, 0xc
mov al, 1
jne 0x10012eb5
mov edi, edi
test al, al
je 0x10012fe6
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.100112e0
mov ecx, dword [esp + 0x10]
cmp ecx, 0xc
je 0x10012e90
test al, al
je 0x10012fe6
cmp ecx, 2
je 0x1001306f
cmp ecx, 5
jne 0x10012fe6
push 0x1002da5e
lea ecx, [esp + 0x84]
call dword [0x1002d32c]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.10012b40
test al, al
mov ecx, esi
je 0x10013098
lea eax, [esp + 0x2c]
push eax
call fcn.100112e0
test al, al
je 0x100130ee
cmp dword [esp + 0x2c], ebp
jne 0x100130ee
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x10]
mov edx, esi
sub eax, 1
mov ecx, eax
shr eax, 2
lea edi, [eax*4]
sub ecx, edi
mov edi, dword [edx + 8]
cmp edi, eax
ja 0x10012f35
sub eax, edi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
lea edx, [esp + 0x80]
push edx
call fcn.10015480
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10011960
mov ecx, esi
call fcn.10013220
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x10012f76
add ecx, 0xffffffff
cmp ecx, ebx
mov dword [esi + 0x10], ecx
jne 0x10012f76
mov dword [esi + 0xc], ebx
test al, al
je 0x100130a3
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.100112e0
test al, al
je 0x100130b3
mov ecx, dword [esp + 0x20]
cmp ecx, 2
je 0x10012fa9
cmp ecx, 0xa
je 0x10012fa9
cmp ecx, 0xc
jne 0x100130b3
cmp ecx, 0xc
mov al, 1
jne 0x10012fc9
test al, al
je 0x10012fc9
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.100112e0
mov ecx, dword [esp + 0x20]
cmp ecx, 0xc
je 0x10012fb0
cmp ecx, 2
je 0x1001307c
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.100112e0
test al, al
jne 0x10012e83
push str.Missing__or_object_member_name
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push ebx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
mov byte [esp + 0xb4], 4
call fcn.10011f60
push 2
mov ecx, esi
call fcn.10012900
lea ecx, [esp + 0x64]
mov byte [esp + 0xa8], 0
mov bl, al
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x80]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.MSVCP71.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 + 0xa0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x90]
pop ebx
xor ecx, esp
call fcn.1001590b
add esp, 0x9c
ret 4
cmp dword [esp + 0x94], ebx
jne 0x10012fe6
lea ecx, [esp + 0x80]
mov dword [esp + 0xa8], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
jmp 0x10013046
push 2
call fcn.10012900
mov bl, al
jmp 0x1001302c
push 2
mov ecx, esi
call fcn.10012900
mov bl, al
jmp 0x1001302c
push str.Missing___or__in_object_declaration
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
mov byte [esp + 0xb4], 3
call fcn.10011f60
push 2
mov ecx, esi
call fcn.10012900
lea ecx, [esp + 0x2c]
jmp 0x1001301c
push str.Missing_:_after_object_member_name
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
mov byte [esp + 0xb4], 2
call fcn.10011f60
push 2
mov ecx, esi
call fcn.10012900
lea ecx, [esp + 0x48]
jmp 0x1001301c