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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
fld qword [0x5f8b30]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [0x5ff8c8], 0
push edi
push 0
push 0
fstp qword [esi + 0x48]
fld qword [0x5f8b58]
mov edi, edx
push 0
push str.o:l:f:d:ipPcmxeLEFrgb2:s:tTk:K:hOvD:S:
mov edx, ebx
mov dword [esi + 0x38], 0xffffffff
mov ecx, edi
mov dword [esi + 0x78], 0xffffffff
fstp qword [esi + 0x50]
mov dword [esi + 0x7c], 0xffffffff
mov dword [0x5ff8c4], 1
call fcn.00402bb0
add esp, 0x10
cmp eax, 0xffffffff
je 0x4012f6
lea ebx, [ebx]
add eax, 0xffffffce
cmp eax, 0x46
ja case.0x401143.51
movzx eax, byte [eax + 0x4014a8]
jmp dword [eax*4 + 0x401430]
mov eax, dword [0x60166c]
mov dword [esi + 0x10], eax
jmp 0x4012d6
push dword [0x60166c]
call fcn.0050cd12
fstp qword [esi + 0x48]
jmp 0x4012d3
push dword [0x60166c]
call fcn.0050cd12
fstp qword [esi + 0x50]
jmp 0x4012d3
push dword [0x60166c]
call fcn.0050cd12
fstp qword [esi + 0x58]
jmp 0x4012d3
mov dword [esi + 0x64], 1
jmp 0x4012d6
mov dword [esi + 0x20], 1
mov dword [esi + 0x1c], 1
jmp 0x4012d6
mov dword [esi + 0x18], 1
jmp 0x4012d6
mov dword [esi + 0x24], 1
jmp 0x4012d6
mov dword [esi + 0x28], 1
jmp 0x4012d6
mov dword [esi + 0x2c], 1
jmp 0x4012d6
mov dword [esi + 0x30], 1
jmp 0x4012d6
mov dword [esi + 0x68], 1
jmp 0x4012d6
mov dword [esi + 0x6c], 1
jmp 0x4012d6
mov dword [esi + 0x34], 1
jmp 0x4012d6
mov dword [esi + 0x74], 1
jmp 0x4012d6
push dword [0x60166c]
call fcn.00509885
mov dword [esi + 0x38], eax
jmp 0x4012d3
mov dword [esi + 0x60], 1
jmp 0x4012d6
push dword [0x60166c]
call fcn.00509885
mov dword [esi + 0x3c], eax
jmp 0x4012d3
push dword [0x60166c]
call fcn.00509885
add esp, 4
mov dword [esi + 0x40], eax
test eax, eax
jne 0x401269
mov dword [esi + 0x40], 0xffffffff
cmp dword [esi + 0x3c], 0
jne 0x4012d6
mov dword [esi + 0x3c], 1
jmp 0x4012d6
mov dword [esi + 0x14], str._tags.m3u
jmp 0x4012d6
mov dword [esi + 0x84], 1
jmp 0x4012d6
push dword [0x60166c]
call fcn.00509885
mov dword [esi + 0x78], eax
jmp 0x4012d3
push dword [0x60166c]
call fcn.00509885
mov dword [esi + 0x7c], eax
jmp 0x4012d3
mov dword [esi + 0x80], 1
jmp 0x4012d6
mov dword [esi + 0x70], 1
jmp 0x4012d6
push dword [0x60166c]
call fcn.00509885
mov dword [esi + 0x88], eax
add esp, 4
push 0
push 0
push 0
push str.o:l:f:d:ipPcmxeLEFrgb2:s:tTk:K:hOvD:S:
mov edx, ebx
mov ecx, edi
call fcn.00402bb0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x401130
mov edx, dword [0x5ff8c4]
lea eax, [edi - 1]
cmp edx, eax
je 0x401321
mov ecx, edx
cmp ecx, edi
jge 0x401321
lea esp, [esp]
mov eax, dword [ebx + ecx*4]
cmp byte [eax], 0x2d
je 0x4013e0
inc ecx
cmp ecx, edi
jl 0x401310
sub edi, edx
lea eax, [ebx + edx*4]
mov dword [esi], eax
mov dword [esi + 4], edi
test edi, edi
jg 0x401401
push str.missing_input_file_n
push 2
call fcn.00506446
add esp, 4
push eax
call fcn.00401010
mov esi, dword [ebx]
push 2
call fcn.00506446
add esp, 0xc
push esi
push str.vgmstream_CLI_decoder_r1879_51_g8d428c31__Nov_11_2023__nUsage:__s___o__outfile.wav____options___infile__..._nOptions:_n_____o__outfile.wav_:_name_of_output_.wav_file__default__infile_.wav_n________outfile__wildcards_can_be__ssubsong___nstream_name___finfile_n_____m:_print_metadata_only__dont_decode_n_____i:_ignore_looping_information_and_play_the_whole_stream_once_n_____l_N.n:_loop_count__default_2.0_n_____f_N.n:_fade_time_in_seconds_after_N_loops__default_10.0_n_____d_N.n:_fade_delay_in_seconds__default_0.0_n_____F:_dont_fade_after_N_loops_and_play_the_rest_of_the_stream_n_____e:_set_end_to_end_looping__if_file_has_no_loop_points__n_____E:_force_end_to_end_looping_even_if_file_has_real_loop_points_n_____s_N:_select_subsong_N__if_the_format_supports_multiple_subsongs_n_____S_N:_select_end_subsong_N__set_0_for_all__n_____L:_append_a_smpl_chunk_and_create_a_looping_wav_n_____p:_output_to_stdout__for_piping_into_another_program__n_____P:_output_to_stdout_even_if_stdout_is_a_terminal_n_____c:_loop_forever__continuously__to_stdout_n_____h:_print_all_commands_n
push eax
call fcn.00401010
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
mov esi, dword [ebx]
push 1
call fcn.00506446
add esp, 4
push esi
push str.vgmstream_CLI_decoder_r1879_51_g8d428c31__Nov_11_2023__nUsage:__s___o__outfile.wav____options___infile__..._nOptions:_n_____o__outfile.wav_:_name_of_output_.wav_file__default__infile_.wav_n________outfile__wildcards_can_be__ssubsong___nstream_name___finfile_n_____m:_print_metadata_only__dont_decode_n_____i:_ignore_looping_information_and_play_the_whole_stream_once_n_____l_N.n:_loop_count__default_2.0_n_____f_N.n:_fade_time_in_seconds_after_N_loops__default_10.0_n_____d_N.n:_fade_delay_in_seconds__default_0.0_n_____F:_dont_fade_after_N_loops_and_play_the_rest_of_the_stream_n_____e:_set_end_to_end_looping__if_file_has_no_loop_points__n_____E:_force_end_to_end_looping_even_if_file_has_real_loop_points_n_____s_N:_select_subsong_N__if_the_format_supports_multiple_subsongs_n_____S_N:_select_end_subsong_N__set_0_for_all__n_____L:_append_a_smpl_chunk_and_create_a_looping_wav_n_____p:_output_to_stdout__for_piping_into_another_program__n_____P:_output_to_stdout_even_if_stdout_is_a_terminal_n_____c:_loop_forever__continuously__to_stdout_n_____h:_print_all_commands_n
push eax
call fcn.00401010
add esp, 0xc
push 1
call fcn.00506446
add esp, 4
push str._____2_N:_only_output_the_Nth__first_is_0__set_of_stereo_channels_n_____x:_decode_and_print_adxencd_command_line_to_encode_as_ADX_n_____g:_decode_and_print_oggenc_command_line_to_encode_as_OGG_n_____b:_decode_and_print_batch_variable_commands_n_____v:_validate_extensions__for_extension_testing__n_____r:_reset_and_output_a_second_file__for_reset_testing__n_____k_N:_kills__seeks__N_samples_before_decoding__for_seek_testing__n________2_seeks_to_loop_start___3_seeks_to_loop_end_n_____K_N:_kills__seeks__again_to_N_samples_before_decoding__for_seek_testing__n_____t:_print__tags_found_in__tags.m3u__for_tag_testing__n_____T:_print_title__for_title_testing__n_____D__max_channels_:_downmix_to__max_channels___for_plugin_downmix_testing__n_____O:_decode_but_dont_write_to_file__for_performance_testing__n
push eax
call fcn.00401010
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
push dword [0x5ff8c0]
push str.missing_argument_or_unknown_option___c_n
push 2
call fcn.00506446
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
mov esi, dword [ebx]
push 2
call fcn.00506446
add esp, 4
jmp 0x401354
push str.input_files_must_go_after_options_n
push 2
call fcn.00506446
add esp, 4
push eax
call fcn.00401010
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
mov eax, dword [esi + 0x10]
test eax, eax
je 0x401424
push 0x3f
push eax
call fcn.00503ac0
add esp, 8
test eax, eax
je 0x401424
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
pop ecx
pop ebp
ret