Function at 0x5f27e0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x104
mov ecx, dword [esp + 0x108]
cmp ecx, 0x80070006
mov eax, dword [0x6d63d0]
mov dword [esp + 0x100], eax
jg 0x5f2976
je 0x5f296c
cmp ecx, 0x80040204
jg 0x5f28e6
je 0x5f28dc
cmp ecx, 0x80040110
jg 0x5f2895
je 0x5f288b
cmp ecx, 0x80004002
jg 0x5f2863
je 0x5f2859
cmp ecx, reloc.WSOCK32.dll_inet_addr
je 0x5f284f
cmp ecx, 0x80004001
jne case.0x5f2a32.5
mov eax, str.DIERR_UNSUPPORTED:_The_function_called_is_not_supported_at_this_time._This_value_is_equal_to_the_E_NOTIMPL_standard_COM_return_value.
jmp 0x5f2a7d
mov eax, str.E_PENDING:_Data_is_not_yet_available.
jmp 0x5f2a7d
mov eax, str.DIERR_NOINTERFACE:_The_object_does_not_support_the_specified_interface._This_value_is_equal_to_the_E_NOINTERFACE_standard_COM_return_value.
jmp 0x5f2a7d
cmp ecx, 0x80004003
je 0x5f2881
cmp ecx, 0x80004005
jne case.0x5f2a32.5
mov eax, str.DIERR_GENERIC:_An_undetermined_error_occurred_inside_the_DirectInput_subsystem._This_value_is_equal_to_the_E_FAIL_standard_COM_return_value.
jmp 0x5f2a7d
mov eax, str.E_POINTER:_An_invalid_pointer__usually_NULL__was_passed_as_a_parameter.
jmp 0x5f2a7d
mov eax, str.DIERR_NOAGGREGATION:_This_object_does_not_support_aggregation.
jmp 0x5f2a7d
lea eax, [ecx + 0x7ffbfeac]
cmp eax, 0xaf
ja case.0x5f2a32.5
movzx eax, byte [eax + 0x5f2ad4]
jmp dword [eax*4 + 0x5f2ac0]
mov eax, str.DIERR_DEVICEFULL:_The_device_is_full.
jmp 0x5f2a7d
mov eax, str.DIERR_DEVICENOTREG:_The_device_or_device_instance_is_not_registered_with_DirectInput._This_value_is_equal_to_the_REGDB_E_CLASSNOTREG_standard_COM_return_value.
jmp 0x5f2a7d
mov eax, str.DIERR_MOREDATA:_Not_all_the_requested_information_fit_into_the_buffer.
jmp 0x5f2a7d
mov eax, str.DIERR_NOTDOWNLOADED:_The_effect_is_not_downloaded.
jmp 0x5f2a7d
mov eax, str.DIERR_HASEFFECTS:_The_device_cannot_be_reinitialized_because_effects_are_attached_to_it.
jmp 0x5f2a7d
cmp ecx, 0x80070002
jg 0x5f2956
je 0x5f294c
lea eax, [ecx + 0x7ffbfdfb]
cmp eax, 6
ja case.0x5f2a32.5
jmp dword [eax*4 + 0x5f2b84]
mov eax, str.DIERR_EFFECTPLAYING:_The_parameters_were_updated_in_memory_but_were_not_downloaded_to_the_device_because_the_device_does_not_support_updating_an_effect_while_it_is_still_playing.
jmp 0x5f2a7d
mov eax, str.DIERR_INCOMPLETEEFFECT:_The_effect_could_not_be_downloaded_because_essential_information_is_missing._For_example__no_axes_have_been_associated_with_the_effect__or_no_type_specific_information_has_been_supplied.
jmp 0x5f2a7d
mov eax, str.DIERR_MAPFILEFAIL:_An_error_has_occured_either_reading_the_vendor_supplied_action_mapping_file_for_the_device_or_reading_or_writing_the_user_configuration_mapping_file_for_the_device.
jmp 0x5f2a7d
mov eax, str.DIERR_NOTBUFFERED:_The_device_is_not_buffered._Set_the_DIPROP_BUFFERSIZE_property_to_enable_buffering.
jmp 0x5f2a7d
mov eax, str.DIERR_NOTEXCLUSIVEACQUIRED:_The_operation_cannot_be_performed_unless_the_device_is_acquired_in_DISCL_EXCLUSIVE_mode.
jmp 0x5f2a7d
mov eax, str.DIERR_REPORTFULL:_More_information_was_requested_to_be_sent_than_can_be_sent_to_the_device.
jmp 0x5f2a7d
mov eax, str.DIERR_UNPLUGGED:_The_operation_could_not_be_completed_because_the_device_is_not_plugged_in.
jmp 0x5f2a7d
mov eax, str.DIERR_NOTFOUND_or_DIERR_OBJECTNOTFOUND:_The_requested_object_does_not_exist.
jmp 0x5f2a7d
cmp ecx, 0x80070005
jne case.0x5f2a32.5
mov eax, str.DIERR_OTHERAPPHASPRIO_or_DIERR_READONLY_or_DIERR_HANDLEEXISTS.
jmp 0x5f2a7d
mov eax, str.E_HANDLE:_The_HWND_parameter_is_not_a_valid_top_level_window_that_belongs_to_the_process.
jmp 0x5f2a7d
cmp ecx, 0x800704df
jg 0x5f2a26
je 0x5f2a1f
cmp ecx, 0x80070057
jg 0x5f29e1
je 0x5f29d7
lea eax, [ecx + 0x7ff8fff4]
cmp eax, 0x12
ja case.0x5f2a32.5
movzx edx, byte [eax + 0x5f2bb4]
jmp dword [edx*4 + 0x5f2ba0]
mov eax, str.DIERR_INPUTLOST:_Access_to_the_input_device_has_been_lost._It_must_be_reacquired.
jmp 0x5f2a7d
mov eax, str.DIERR_NOTACQUIRED:_The_operation_cannot_be_performed_unless_the_device_is_acquired.
jmp 0x5f2a7d
mov eax, str.DIERR_NOTINITIALIZED:_This_object_has_not_been_initialized.
jmp 0x5f2a7d
mov eax, str.DIERR_OUTOFMEMORY:_The_DirectInput_subsystem_could_not_allocate_sufficient_memory_to_complete_the_call._This_value_is_equal_to_the_E_OUTOFMEMORY_standard_COM_return_value.
jmp 0x5f2a7d
mov eax, str.DIERR_INVALIDPARAM:_An_invalid_parameter_was_passed_to_the_returning_function__or_the_object_was_not_in_a_state_that_permitted_the_function_to_be_called._This_value_is_equal_to_the_E_INVALIDARG_standard_COM_return_value.
jmp 0x5f2a7d
cmp ecx, 0x8007047e
jg 0x5f2a10
je 0x5f2a09
cmp ecx, 0x80070077
je 0x5f2a02
cmp ecx, 0x800700aa
jne case.0x5f2a32.5
mov eax, str.DIERR_ACQUIRED:_The_operation_cannot_be_performed_while_the_device_is_acquired.
jmp 0x5f2a7d
mov eax, str.DIERR_BADDRIVERVER:_The_object_could_not_be_created_due_to_an_incompatible_driver_version_or_mismatched_or_incomplete_driver_components.
jmp 0x5f2a7d
mov eax, str.DIERR_OLDDIRECTINPUTVERSION:_The_application_requires_a_newer_version_of_DirectInput.
jmp 0x5f2a7d
cmp ecx, 0x80070481
jne case.0x5f2a32.5
mov eax, str.DIERR_BETADIRECTINPUTVERSION:_The_application_was_written_for_an_unsupported_prerelease_version_of_DirectInput.
jmp 0x5f2a7d
mov eax, str.DIERR_ALREADYINITIALIZED:_This_object_is_already_initialized.
jmp 0x5f2a7d
cmp ecx, 0x13
ja case.0x5f2a32.5
movzx eax, byte [ecx + 0x5f2bf0]
jmp dword [eax*4 + 0x5f2bc8]
mov eax, str.DI_BUFFEROVERFLOW_or_DI_NOEFFECT_or_DI_NOTATTACHED_or_DI_PROPNOEFFECT.
jmp 0x5f2a7d
mov eax, str.DI_DOWNLOADSKIPPED:_The_parameters_of_the_effect_were_successfully_updated__but_the_effect_could_not_be_downloaded_because_the_associated_device_was_not_acquired_in_exclusive_mode.
jmp 0x5f2a7d
mov eax, str.DI_EFFECTRESTARTED:_The_effect_was_stopped__the_parameters_were_updated__and_the_effect_was_restarted.
jmp 0x5f2a7d
mov eax, str.DI_OK:_The_operation_completed_successfully._This_value_is_equal_to_the_S_OK_standard_COM_return_value.
jmp 0x5f2a7d
mov eax, str.DI_POLLEDDEVICE:_The_device_is_a_polled_device._As_a_result__device_buffering_does_not_collect_any_data_and_event_notifications_is_not_signaled_until_the_IDirectInputDevice8::Poll_method_is_called.
jmp 0x5f2a7d
mov eax, str.DI_SETTINGSNOTSAVED:_The_action_map_was_applied_to_the_device__but_the_settings_could_not_be_saved.
jmp 0x5f2a7d
mov eax, str.DI_TRUNCATED:_The_parameters_of_the_effect_were_successfully_updated__but_some_of_them_were_beyond_the_capabilities_of_the_device_and_were_truncated_to_the_nearest_supported_value.
jmp 0x5f2a7d
mov eax, str.DI_TRUNCATEDANDRESTARTED:_Equal_to_DI_EFFECTRESTARTED__DI_TRUNCATED.
jmp 0x5f2a7d
mov eax, str.DI_WRITEPROTECT:_A_SUCCESS_code_indicating_that_settings_cannot_be_modified.
jmp 0x5f2a7d
mov eax, str.Unknown
mov edx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x114]
push eax
push ecx
push edx
lea eax, [esp + 0x10]
push 0x698ddc
push eax
call fcn.00671a9a
add esp, 0x18
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x100]
call fcn.00671b23
add esp, 0x104
ret