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

Disassembly:
cmp dword [0x62aba378], 0
jne 0x6291d8c5
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x30]
sub esp, 0x6c
mov dword [esp], 0xe0
call sym.operator_new_unsigned_int_
mov ecx, edi
mov ebx, eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [eax + 0xc]
mov dword [esp], str.in_openmpt
mov dword [ebp - 0x64], eax
call fcn.62a69864
push eax
lea ecx, [ebx + 0x40]
mov dword [esp], edi
mov byte [ebx + 0x10], 1
mov dword [ebx + 0x14], 0xbb80
mov dword [ebx + 0x18], 2
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0x64
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 8
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x38], 1
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0xc], 0x62b3a4cc
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov ecx, edi
push esi
mov byte [ebx + 0x10], 1
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea eax, [ebx + 0x60]
mov dword [ebx + 0x64], 0
mov dword [ebp - 0x4c], eax
lea eax, [ebx + 0x68]
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x78]
mov dword [ebp - 0x50], eax
lea eax, [ebx + 0x80]
mov dword [ebx + 0x78], eax
lea eax, [ebx + 0x94]
mov dword [ebp - 0x54], eax
lea eax, [ebx + 0x9c]
mov dword [ebx + 0x94], eax
lea eax, [ebx + 0xc8]
mov dword [ebp - 0x58], eax
lea eax, [ebx + 0xd4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
mov byte [ebx + 0x68], 0
mov dword [ebx + 0x7c], 0
mov byte [ebx + 0x80], 0
mov dword [ebx + 0x98], 0
mov byte [ebx + 0x9c], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 0
je 0x6291d6c1
mov dword [ebx + 4], eax
lea ecx, [ebx + 0xc]
mov dword [ebx + 0x3c], sym.apply_options__
call method.libopenmpt::plugin::settings.load__
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call method.openmpt.get_supported_extensions_abi:cxx11___
mov edi, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], edi
je 0x6291d74c
mov eax, dword [edi]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x60], eax
mov esi, eax
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x60]
sub eax, esi
test esi, esi
jle 0x6291d70a
mov dword [esp], eax
mov ecx, ebx
call method.std::vector_char__std::allocator_char___.push_back_char_const_
dec esi
push ecx
jmp 0x6291d6f0
lea eax, [ebp - 0x30]
mov ecx, ebx
mov dword [esp], eax
mov byte [ebp - 0x30], 0
call method.char_std::vector_char__std::allocator_char___.emplace_back_char__char_
mov esi, str.in_openmpt
push edx
mov dword [esp], esi
mov ecx, ebx
call method.std::vector_char__std::allocator_char___.push_back_char_const_
inc esi
push eax
cmp esi, 0x62b172e1
jne 0x6291d721
lea eax, [ebp - 0x30]
mov ecx, ebx
mov dword [esp], eax
mov byte [ebp - 0x30], 0
call method.char_std::vector_char__std::allocator_char___.emplace_back_char__char_
add edi, 0x18
push eax
jmp 0x6291d6de
lea eax, [ebp - 0x30]
mov ecx, ebx
mov dword [esp], eax
mov byte [ebp - 0x30], 0
call method.char_std::vector_char__std::allocator_char___.emplace_back_char__char_
lea esi, [ebp - 0x30]
push ecx
mov eax, dword [ebx + 0x14]
lea edi, [ebp - 0x28]
mov dword [ebx + 0x58], eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x18]
mov dword [esp], esi
mov dword [ebx + 0x5c], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov ecx, esi
push eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov ecx, dword [ebp - 0x50]
mov dword [esp], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov ecx, esi
push eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov ecx, dword [ebp - 0x54]
mov dword [esp], esi
mov dword [ebx + 0x90], 0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov ecx, esi
push eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
imul eax, dword [ebx + 0x5c], 0x240
mov ecx, dword [ebp - 0x58]
mov dword [esp], eax
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 0
mov byte [ebx + 0xc4], 0
call method.std::vector_short__std::allocator_short___.resize_unsigned_int_
imul eax, dword [ebx + 0x5c], 0x480
push edx
mov ecx, dword [ebp - 0x5c]
mov dword [esp], eax
call method.std::vector_short__std::allocator_short___.resize_unsigned_int_
lea ecx, [ebp - 0x3c]
push eax
call fcn.62a5de30
mov eax, dword [ebx]
mov dword [0x62aba378], ebx
mov dword [0x62b161f0], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
ret