Function at 0x6291d8c8
Capabilities:
Create thread

Disassembly:
push ebp
or eax, 0xffffffff
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x26c
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x6291dc69
lea edi, [ebp - 0x114]
mov dword [esp + 4], 4
mov dword [esp], ebx
mov ecx, edi
call method.std::basic_ifstream_char__std::char_traits_char___.basic_ifstream_char_const__std::_Ios_Openmode_
push eax
mov dword [ebp - 0x238], 0
push eax
lea eax, [ebp - 0x238]
mov dword [esp], 8
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0
call sym.operator_new_unsigned_int_
mov esi, eax
lea eax, [ebp - 0x23c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x62abb8a0
mov dword [esp], edi
mov ecx, esi
call method.openmpt::module.module_std::istream__std::ostream__std::map_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_std::__cxx11::
mov ecx, dword [0x62aba378]
sub esp, 0xc
add ecx, 0x60
mov dword [ecx + 0x58], esi
mov dword [esp], ebx
call fcn.62a6a1c0
mov eax, dword [0x62aba378]
push edi
lea edi, [ebp - 0x224]
mov ebx, dword [eax + 0xb8]
mov ecx, edi
mov dword [esp], 0x62b173fc
call fcn.62a69864
push esi
lea esi, [ebp - 0x1f4]
mov dword [esp + 4], edi
mov dword [esp], ebx
mov ecx, esi
call method.openmpt::module.get_metadata_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__const
mov edx, esi
push ebx
lea eax, [ebp - 0x1dc]
push ebx
call sym.StringDecode_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__unsigned_int___clone_.constprop.0_
lea ebx, [ebp - 0x20c]
lea edx, [ebp - 0x1dc]
mov eax, ebx
call sym.StringEncode_std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const__unsigned_int___clone_.constprop.0_
mov eax, dword [0x62aba378]
mov dword [esp], ebx
lea ecx, [eax + 0x78]
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____
push ecx
mov ecx, ebx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea ecx, [ebp - 0x1dc]
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_dispose__
mov ecx, esi
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov ecx, edi
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov eax, dword [0x62aba378]
mov ecx, dword [eax + 0xb8]
call method.openmpt::module.get_duration_seconds___const
fnstcw word [ebp - 0x24a]
fmul dword [0x62b17450]
mov ax, word [ebp - 0x24a]
or ah, 0xc
mov edx, dword [0x62aba378]
mov word [ebp - 0x24c], ax
add edx, 0x60
fldcw word [ebp - 0x24c]
fistp dword [edx + 0x30]
fldcw word [ebp - 0x24a]
mov ecx, dword [edx + 0x58]
mov eax, esi
call sym.generate_infotext_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__openmpt::module_const_
mov eax, dword [0x62aba378]
mov dword [esp], esi
lea ecx, [eax + 0x94]
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 edx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
call sym.apply_options__
mov eax, dword [0x62aba378]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], ecx
mov eax, dword [0x62b16274]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x10
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x24]
lea ecx, [ebp - 0x1dc]
mov ebx, eax
call fcn.62a790c0
mov dword [esp], ebx
lea ecx, [ebp - 0x1dc]
call method.std::ostream.operator___int_
mov ecx, dword [0x62aba378]
push eax
mov eax, dword [0x62b16270]
mov esi, 0x3e8
mov dword [ebp - 0x250], eax
mov eax, dword [ecx + 0x58]
cdq
mov edi, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0xb8]
idiv esi
mov esi, eax
call method.openmpt::module.get_num_channels___const
mov dword [esp], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x250]
call eax
mov eax, dword [0x62aba378]
mov eax, dword [eax + 0x58]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [0x62b16240]
mov eax, dword [0x62aba378]
mov edx, dword [eax + 0x58]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x5c]
mov dword [esp], eax
call dword [0x62b16260]
mov eax, dword [0x62b16274]
mov dword [esp], 0xfffffd66
call dword [eax + 0x3c]
mov eax, dword [0x62b16274]
mov dword [esp], 0
call dword [eax + 0x40]
mov ebx, dword [0x62aba378]
lea eax, [ebx + 0xc0]
mov byte [ebx + 0xc4], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym.__ZL12DecodeThreadPv_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
mov dword [ebx + 0xbc], eax
sub esp, 0x18
lea ecx, [ebp - 0x1dc]
call fcn.62a79840
lea ecx, [ebp - 0x23c]
call fcn.62a7ce1c
lea ecx, [ebp - 0x114]
call fcn.62a47f50
xor eax, eax
jmp 0x6291dc69
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret