Function at 0x1012dfb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1014b7a7
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10177024]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe8]
lea ecx, [esp + 0xb8]
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 esi, esi
mov dword [esp + 0xe0], esi
mov ebx, dword [esp + 0x3c]
and ebx, 0xfffffe07
push 0xc
or ebx, 7
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, esi
mov byte [esp + 0xe0], 1
je 0x1012e05f
call fcn.1012cf10
mov dword [edi + 4], eax
mov byte [eax + 0x31], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], esi
jmp 0x1012e061
xor edi, edi
mov eax, ebp
mov byte [esp + 0xe0], 2
call fcn.1012f4c0
mov eax, dword [eax]
movsx ecx, byte [eax + 8]
mov edx, ebx
xor edx, ecx
mov ecx, dword [eax]
mov byte [eax + 8], bl
and edx, 0xff
xor ebx, edx
mov edx, dword [eax + 4]
mov dword [eax], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov edx, dword [eax + 8]
mov dword [eax + 4], edi
mov ecx, edx
shr ecx, 8
and ecx, 1
mov edi, edx
xor edi, ebx
shl ecx, 8
xor ecx, ebx
and edi, 0x100
xor edi, edx
and ecx, 0x100
mov dword [eax + 8], edi
xor ebx, ecx
mov eax, ebp
mov dword [esp + 0x3c], ebx
call fcn.1012f4c0
mov ecx, dword [eax]
mov eax, dword [esp + 0xec]
mov eax, dword [eax + 4]
sub eax, dword [ebp + 0x44]
lea edi, [esp + 0x28]
mov dword [ecx + 0x10], eax
mov eax, ebp
call fcn.1012d980
test al, al
je 0x1012e3c7
mov edi, dword [esp + 0x28]
cmp edi, 0xc
mov al, 1
jne 0x1012e124
lea ecx, [ecx]
test al, al
je 0x1012e3c7
lea edi, [esp + 0x28]
mov eax, ebp
call fcn.1012d980
mov edi, dword [esp + 0x28]
cmp edi, 0xc
je 0x1012e100
test al, al
je 0x1012e3c7
cmp edi, 2
jne 0x1012e136
cmp dword [esp + 0xcc], esi
je 0x1012e464
lea ecx, [esp + 0xb8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
cmp edi, 5
jne 0x1012e172
lea ecx, [esp + 0x28]
push ecx
push ebp
lea edi, [esp + 0xc0]
call fcn.1012ee10
test al, al
jne 0x1012e20e
push 2
mov esi, ebp
call fcn.1012f400
mov bl, al
jmp 0x1012e40f
cmp edi, 6
jne 0x1012e3c7
cmp byte [ebp + 0x77], 0
je 0x1012e3c7
and dword [esp + 0x54], 0xfffffe00
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
mov byte [esp + 0xec], 4
call fcn.1012e930
test al, al
je 0x1012e491
lea ecx, [esp + 0x4c]
call fcn.1012aa20
push eax
lea ecx, [esp + 0xa0]
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 eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0xe4], 5
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe0], 4
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 esi, [esp + 0x4c]
mov byte [esp + 0xe0], 2
call fcn.1012a8b0
xor esi, esi
lea edi, [esp + 0x90]
mov eax, ebp
call fcn.1012d980
test al, al
je 0x1012e4ea
cmp dword [esp + 0x90], 0xb
jne 0x1012e4ea
mov edi, dword [ebp + 0x10]
add edi, dword [ebp + 0xc]
lea ecx, [esp + 0x84]
call fcn.1011a4c0
mov eax, dword [ebp + 0xc]
cmp eax, edi
ja 0x1012e254
mov ecx, dword [ebp + 0x10]
add ecx, eax
cmp edi, ecx
jbe 0x1012e25e
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call esi
jmp 0x1012e264
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], edi
call fcn.1011a4c0
mov eax, dword [esp + 0x88]
test eax, eax
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jne 0x1012e29b
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
add edx, 0xffffffff
add eax, ecx
cmp edx, eax
ja 0x1012e2b2
cmp edx, ecx
jae 0x1012e2b4
call esi
sub dword [esp + 0x24], 1
lea ecx, [esp + 0x6c]
call fcn.1011a4c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edi, eax
mov dword [esp + 0x74], eax
and eax, 3
shr edi, 2
test ecx, ecx
mov dword [esp + 0x70], ecx
mov ebx, eax
jne 0x1012e2e6
call esi
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x10]
add edx, dword [ecx + 0xc]
cmp dword [esp + 0x74], edx
jb 0x1012e2f8
call esi
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 8]
cmp eax, edi
ja 0x1012e301
sub edi, eax
mov eax, dword [ecx + 4]
mov ecx, dword [eax + edi*4]
mov edx, dword [esp + 0xd0]
cmp edx, 0x10
mov eax, dword [esp + 0xbc]
mov ebx, dword [ecx + ebx*4]
mov ecx, eax
jae 0x1012e328
lea ecx, [esp + 0xbc]
mov eax, ecx
mov edx, dword [esp + 0xcc]
push eax
add ecx, edx
push ebx
call fcn.1012b7a0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, ebp
call fcn.1012f510
mov ecx, ebp
call fcn.1012d6a0
mov ecx, ebp
mov bl, al
call fcn.1011e4c0
test bl, bl
je 0x1012e162
lea edi, [esp + 0x78]
mov eax, ebp
call fcn.1012d980
test al, al
je 0x1012e4b2
mov ecx, dword [esp + 0x78]
cmp ecx, 2
je 0x1012e38a
cmp ecx, 0xa
je 0x1012e38a
cmp ecx, 0xc
jne 0x1012e4b2
cmp ecx, 0xc
mov al, 1
jne 0x1012e3a9
test al, al
je 0x1012e3a9
lea edi, [esp + 0x78]
mov eax, ebp
call fcn.1012d980
mov ecx, dword [esp + 0x78]
cmp ecx, 0xc
je 0x1012e391
cmp ecx, 2
je 0x1012e464
lea edi, [esp + 0x28]
mov eax, ebp
call fcn.1012d980
xor esi, esi
test al, al
jne 0x1012e0f2
push str.Missing__or_object_member_name
lea ecx, [esp + 0xa0]
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 esi
lea esi, [esp + 0x2c]
lea ebx, [esp + 0xa0]
mov ecx, ebp
mov byte [esp + 0xe4], 8
call fcn.1012f350
push 2
mov esi, ebp
call fcn.1012f400
mov ecx, ebx
mov bl, al
mov byte [esp + 0xe0], 2
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 esi, [esp + 0x34]
mov byte [esp + 0xe0], 0
call fcn.1012a8b0
lea ecx, [esp + 0xb8]
mov dword [esp + 0xe0], 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 + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.10130e50
add esp, 0xd0
ret 8
lea esi, [esp + 0x34]
mov byte [esp + 0xe0], 0
call fcn.1012a8b0
lea ecx, [esp + 0xb8]
mov dword [esp + 0xe0], 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 0x1012e43a
push 2
mov esi, ebp
call fcn.1012f400
lea esi, [esp + 0x4c]
mov bl, al
mov byte [esp + 0xe0], 2
call fcn.1012a8b0
jmp 0x1012e40f
push str.Missing___or__in_object_declaration
lea ecx, [esp + 0x50]
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__]
mov byte [esp + 0xe0], 7
push 0
lea esi, [esp + 0x7c]
lea ebx, [esp + 0x50]
mov ecx, ebp
call fcn.1012f350
push 2
mov esi, ebp
call fcn.1012f400
mov ecx, ebx
jmp 0x1012e3ff
push str.Missing_:_after_object_member_name
lea ecx, [esp + 0x50]
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 esi
mov byte [esp + 0xe4], 6
lea esi, [esp + 0x94]
jmp 0x1012e4cf