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

Disassembly:
push 0xffffffffffffffff
push 0x101457e7
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10170024]
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 0x1012a5cf
call fcn.10129480
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 0x1012a5d1
xor edi, edi
mov eax, ebp
mov byte [esp + 0xe0], 2
call fcn.1012ba30
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.1012ba30
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.10129ef0
test al, al
je 0x1012a937
mov edi, dword [esp + 0x28]
cmp edi, 0xc
mov al, 1
jne 0x1012a694
lea ecx, [ecx]
test al, al
je 0x1012a937
lea edi, [esp + 0x28]
mov eax, ebp
call fcn.10129ef0
mov edi, dword [esp + 0x28]
cmp edi, 0xc
je 0x1012a670
test al, al
je 0x1012a937
cmp edi, 2
jne 0x1012a6a6
cmp dword [esp + 0xcc], esi
je 0x1012a9d4
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 0x1012a6e2
lea ecx, [esp + 0x28]
push ecx
push ebp
lea edi, [esp + 0xc0]
call fcn.1012b380
test al, al
jne 0x1012a77e
push 2
mov esi, ebp
call fcn.1012b970
mov bl, al
jmp 0x1012a97f
cmp edi, 6
jne 0x1012a937
cmp byte [ebp + 0x77], 0
je 0x1012a937
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.1012aea0
test al, al
je 0x1012aa01
lea ecx, [esp + 0x4c]
call fcn.10126f90
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.10126e20
xor esi, esi
lea edi, [esp + 0x90]
mov eax, ebp
call fcn.10129ef0
test al, al
je 0x1012aa5a
cmp dword [esp + 0x90], 0xb
jne 0x1012aa5a
mov edi, dword [ebp + 0x10]
add edi, dword [ebp + 0xc]
lea ecx, [esp + 0x84]
call fcn.10122be0
mov eax, dword [ebp + 0xc]
cmp eax, edi
ja 0x1012a7c4
mov ecx, dword [ebp + 0x10]
add ecx, eax
cmp edi, ecx
jbe 0x1012a7ce
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call esi
jmp 0x1012a7d4
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.10122be0
mov eax, dword [esp + 0x88]
test eax, eax
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jne 0x1012a80b
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 0x1012a822
cmp edx, ecx
jae 0x1012a824
call esi
sub dword [esp + 0x24], 1
lea ecx, [esp + 0x6c]
call fcn.10122be0
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 0x1012a856
call esi
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x10]
add edx, dword [ecx + 0xc]
cmp dword [esp + 0x74], edx
jb 0x1012a868
call esi
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 8]
cmp eax, edi
ja 0x1012a871
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 0x1012a898
lea ecx, [esp + 0xbc]
mov eax, ecx
mov edx, dword [esp + 0xcc]
push eax
add ecx, edx
push ebx
call fcn.10127d10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, ebp
call fcn.1012ba80
mov ecx, ebp
call fcn.10129c10
mov ecx, ebp
mov bl, al
call fcn.1011bcf0
test bl, bl
je 0x1012a6d2
lea edi, [esp + 0x78]
mov eax, ebp
call fcn.10129ef0
test al, al
je 0x1012aa22
mov ecx, dword [esp + 0x78]
cmp ecx, 2
je 0x1012a8fa
cmp ecx, 0xa
je 0x1012a8fa
cmp ecx, 0xc
jne 0x1012aa22
cmp ecx, 0xc
mov al, 1
jne 0x1012a919
test al, al
je 0x1012a919
lea edi, [esp + 0x78]
mov eax, ebp
call fcn.10129ef0
mov ecx, dword [esp + 0x78]
cmp ecx, 0xc
je 0x1012a901
cmp ecx, 2
je 0x1012a9d4
lea edi, [esp + 0x28]
mov eax, ebp
call fcn.10129ef0
xor esi, esi
test al, al
jne 0x1012a662
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.1012b8c0
push 2
mov esi, ebp
call fcn.1012b970
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.10126e20
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.1012d370
add esp, 0xd0
ret 8
lea esi, [esp + 0x34]
mov byte [esp + 0xe0], 0
call fcn.10126e20
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 0x1012a9aa
push 2
mov esi, ebp
call fcn.1012b970
lea esi, [esp + 0x4c]
mov bl, al
mov byte [esp + 0xe0], 2
call fcn.10126e20
jmp 0x1012a97f
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.1012b8c0
push 2
mov esi, ebp
call fcn.1012b970
mov ecx, ebx
jmp 0x1012a96f
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 0x1012aa3f