joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001000
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x180
push ebx
push esi
push edi
mov edi, dword [esp + 0x190]
test edi, edi
mov dword [sym.IFC22.dll_long_int_CIFCErrors::m_Err], edi
je 0x10001181
test byte [sym.IFC22.dll_unsigned_long_int_CIFCErrors::m_dwErrHandlingFlags], 3
je 0x10001181
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea eax, [esp + 0x10]
push str._ID___ld_
push eax
call ebx
lea eax, [edi - 1]
add esp, 0xc
cmp eax, 0x14
ja case.default.0x1000104d
jmp dword [eax*4 + 0x1000118c]
mov esi, str.Unknown_Error
jmp 0x1000111a
mov esi, str.Memory_Allocation_Failed
jmp 0x1000111a
mov esi, str.Invalid_Parameter
jmp 0x1000111a
mov esi, str.Null_Parameter
jmp 0x1000111a
mov esi, str.Wrong_Form
jmp 0x1000111a
mov esi, str.Device_is_NULL
jmp 0x1000111a
mov esi, str.Invalid_GUID
jmp 0x1000111a
mov esi, str.Effect_Not_Initialized
jmp 0x1000111a
mov esi, str.Cant_Initialize_Device
jmp 0x1000111a
mov esi, str.Cant_Create_Effect
jmp 0x1000111a
mov esi, str.Cant_Create_Effect_From_IFR
jmp 0x1000111a
mov esi, str.No_Effects_Found
jmp 0x1000111a
mov esi, str.Effect_is_a_Compound_Effect
jmp 0x1000111a
mov esi, str.CImmProject_Already_Open
jmp 0x1000111a
mov esi, str.CImmProject_Not_Open
jmp 0x1000111a
mov esi, str.DX7_Device_Initialization_Failed
jmp 0x1000111a
mov esi, str.System_WriteFile_Failed
jmp 0x1000111a
mov esi, str.Unable_to_load_Dinput.dll
jmp 0x1000111a
mov esi, str.Unable_to_load_Immersion_TouchSense_API
jmp 0x1000111a
mov esi, str.File_not_found
jmp 0x1000111a
mov esi, str.Unable_to_retrieve_version_information
jmp 0x1000111a
mov ecx, edi
lea edx, [esp + 0xc]
and ecx, 0xffff
mov esi, str.COM_DirectInput_Error
push ecx
push edi
push str._HRESULT__0x_lX__CODE___ld__
push edx
call ebx
add esp, 0x10
test byte [sym.IFC22.dll_unsigned_long_int_CIFCErrors::m_dwErrHandlingFlags], 1
je 0x10001149
lea eax, [esp + 0xc]
lea ecx, [esp + 0x8c]
push eax
push esi
push str._IFC_Error_____s___s_n
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [sym.IFC22.dll_unsigned_long_int_CIFCErrors::m_dwErrHandlingFlags], 2
je 0x10001181
lea eax, [esp + 0xc]
lea ecx, [esp + 0x8c]
push eax
push esi
push str.IFC_has_detected_the_following_error:_n_n__s__n_s_n
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0x8c]
push 0x10
push str.IFC_Error
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
add esp, 0x180
ret
Function at 0x10003f40
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x395
push str.ImmCondition.cpp
mov esi, ecx
push 0
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
mov ebp, dword [esp + 0x24]
add esp, 0xc
test ebp, ebp
jne 0x10003f81
push 0x39a
push str.ImmCondition.cpp
push 6
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + 0x40]
test edx, edx
jne 0x10003fa1
push str.Effects_lpvTypeSpecificParams_is_NULL_in_CImmCondition::Initialize__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
lea eax, [esi + 0x8c]
lea ecx, [esi + 0x24]
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x1c], 0
mov ebx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 8], ebx
mov ebx, 1
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x2c]
cmp eax, ebx
jne 0x10004010
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx]
test eax, eax
jne 0x10003fe9
mov ecx, ebx
jmp 0x1000404a
cmp eax, 4
jne 0x10003ffb
mov dword [esp + 0x1c], edx
mov ecx, 2
xor edx, edx
jmp 0x1000404a
push str.Effects_m_dwaAxes_0__not_set_correctly_one_axis_condition_in_CImmCondition::Initialize__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov eax, dword [edi + 0x3c]
cmp eax, 0x18
jne 0x10004039
mov eax, dword [edi + 0x34]
mov ecx, 4
test byte [edi + 0x14], 0x10
mov ebx, dword [eax]
je 0x1000402d
mov eax, dword [eax + 4]
jmp 0x1000404c
mov dword [esp + 0x10], 0x20
xor eax, eax
jmp 0x1000404c
cmp eax, 0x30
jne 0x100040ab
lea eax, [edx + 0x18]
mov ecx, 3
mov dword [esp + 0x1c], eax
mov eax, ebx
mov ebp, dword [ebp + 0xc]
mov dword [esi + 0xa0], ebp
mov ebp, dword [esp + 0x18]
mov dword [esi + 0x1c], ebp
mov ebp, dword [esp + 0x1c]
push ebp
push edx
mov edx, dword [esp + 0x18]
push eax
push ebx
push edx
push ecx
mov ecx, esi
call sym.IFC22.dll_protected:_int___thiscall_CImmCondition::set_parameters_unsigned_long_int__unsigned_long_int__long_int__long_int__struct_FEELIT_CONDITION_const___struct_FEELIT_CONDITION_const__
test eax, eax
jne 0x10004080
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [edi + 0x20]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x44]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x64], edx
call sym.IFC22.dll_public:_int___thiscall_CImmEffect::initialize_class_CImmDevice___unsigned_long_int_
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push str.Force_cbTypeSpecificParams_not_1_or_2_in_CImmCondition::Initialize__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x100046c0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x20]
push ebx
mov ebx, dword [0x1002122c]
mov eax, 0x9c4
push ebp
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
xor ebp, ebp
mov eax, 0x2710
xor esi, esi
push edi
mov edi, dword [0x10021228]
cmp edx, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x64
mov dword [esp + 0x10], ebp
je 0x10004805
lea ecx, [esp + 0x34]
lea eax, [esp + 0x30]
sub ecx, 8
dec edx
cmp edx, 0xb
ja case.default.0x1000471e
jmp dword [edx*4 + 0x10004834]
mov edx, dword [eax + 4]
add ecx, 4
add eax, 4
mov dword [esp + 0x24], edx
jmp 0x100047a9
mov edx, dword [eax + 4]
add ecx, 4
add eax, 4
mov dword [esp + 0x20], edx
jmp 0x100047a9
mov edx, dword [eax + 4]
add ecx, 4
add eax, 4
mov dword [esp + 0x1c], edx
jmp 0x100047a9
mov edx, dword [eax + 4]
add ecx, 4
add eax, 4
mov dword [esp + 0x18], edx
jmp 0x100047a9
mov edx, dword [eax + 4]
add ecx, 4
add eax, 4
mov dword [esp + 0x14], edx
jmp 0x100047a9
mov edi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
add ecx, 8
add eax, 8
jmp 0x100047a9
add ecx, 4
add eax, 4
jmp 0x100047a9
mov esi, dword [eax + 4]
add ecx, 4
add eax, 4
jmp 0x100047a9
mov ebp, dword [eax + 4]
add ecx, 4
add eax, 4
jmp 0x100047a9
mov edx, dword [eax + 4]
add ecx, 4
add eax, 4
mov dword [esp + 0x10], edx
mov edx, dword [eax + 4]
add eax, 4
add ecx, 4
mov dword [esp + 0x30], edx
test edx, edx
jne 0x10004714
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100047ee
mov ecx, dword [esp + 0x2c]
push eax
push ebp
call sym.IFC22.dll_public:_int___thiscall_CImmCondition::ChangeConditionParams_struct_FEELIT_CONDITION_const___struct_FEELIT_CONDITION_const__
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Unknown_parameter_type_passed_to_ChangeConditionParams2__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
test ebp, ebp
je 0x10004805
mov ecx, dword [esp + 0x2c]
push esi
push ebp
call sym.IFC22.dll_public:_int___thiscall_CImmCondition::ChangeConditionParamsPolar_struct_FEELIT_CONDITION_const___long_int_
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
push ebx
push edi
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call sym.IFC22.dll_public:_int___thiscall_CImmCondition::ChangeConditionParamsPolar_long_int__long_int__unsigned_long_int__unsigned_long_int__long_int__struct_tagPOINT__long_int_
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10006990
Capabilities:
Get file version info

Disassembly:
sub esp, 0x144
push ebx
push esi
push edi
push 0xc0
push str.ImmDevice.cpp
push 0
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0xc
xor edi, edi
push str.feelit.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x100069f6
push str.feelit.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov edi, 1
test esi, esi
jne 0x100069f6
push 0xcc
push str.ImmDevice.cpp
push 0x13
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
lea eax, [esp + 0x4c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test edi, edi
mov ebx, eax
je 0x10006a14
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
ja 0x10006a38
push 0xdc
push str.ImmDevice.cpp
push 0x14
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
lea ecx, [esp + 0x14]
lea edx, [esp + 0x4c]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
ja 0x10006a6d
push 0xe5
push str.ImmDevice.cpp
push 0x14
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
push esi
call fcn.10018814
add esp, 4
mov ebx, eax
lea eax, [esp + 0x4c]
push ebx
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10006a97
push ebx
call fcn.1001872b
push 0xed
jmp 0x10006abb
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x1002b5cc
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x10006ad6
push ebx
call fcn.1001872b
push 0xf6
push str.ImmDevice.cpp
push 0x15
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x154]
mov ecx, 0xd
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
push ebx
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
mov dword [edx], ecx
mov ecx, dword [esp + 0x15c]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x160]
mov edx, eax
shr edx, 0x10
mov dword [ecx], edx
mov edx, dword [esp + 0x164]
and eax, 0xffff
mov dword [edx], eax
call fcn.1001872b
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x144
ret
Function at 0x10006b40
Capabilities:
Get file version info

Disassembly:
sub esp, 0x144
push ebx
push esi
push edi
push 0x107
push str.ImmDevice.cpp
push 0
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0xc
xor edi, edi
push str.dinput.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x10006ba6
push str.dinput.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov edi, 1
test esi, esi
jne 0x10006ba6
push 0x113
push str.ImmDevice.cpp
push 0x12
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
lea eax, [esp + 0x4c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test edi, edi
mov ebx, eax
je 0x10006bc4
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
ja 0x10006be8
push 0x123
push str.ImmDevice.cpp
push 0x14
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
lea ecx, [esp + 0x14]
lea edx, [esp + 0x4c]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
ja 0x10006c1d
push 0x12c
push str.ImmDevice.cpp
push 0x14
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
push esi
call fcn.10018814
add esp, 4
mov ebx, eax
lea eax, [esp + 0x4c]
push ebx
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10006c47
push ebx
call fcn.1001872b
push 0x134
jmp 0x10006c6b
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x1002b5cc
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x10006c86
push ebx
call fcn.1001872b
push 0x13d
push str.ImmDevice.cpp
push 0x15
call sym.IFC22.dll_public:_static_void___cdecl_CIFCErrors::SetErrorCode_long_int__char_const___int_
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x154]
mov ecx, 0xd
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
push ebx
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
mov dword [edx], ecx
mov ecx, dword [esp + 0x15c]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x160]
mov edx, eax
shr edx, 0x10
mov dword [ecx], edx
mov edx, dword [esp + 0x164]
and eax, 0xffff
mov dword [edx], eax
call fcn.1001872b
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x144
ret
Function at 0x10007700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001fe38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 4], esi
call sym.IFC22.dll_public:_void___thiscall_CImmDevice::constructor_void_
xor eax, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
lea eax, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov dword [esi], sym.IFC22.dll_const_CImmDXDevice::vftable
mov dword [esi + 0xc], 3
call sym.IFC22.dll_public:_static_int___cdecl_CImmDevice::GetDXVersion_unsigned_long_int___unsigned_long_int___unsigned_long_int___unsigned_long_int__
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov eax, esi
mov dword [0x1002cd50], 7
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x10008df0
Capabilities:
Get file version info

Disassembly:
mov eax, dword [0x1002d078]
sub esp, 0x144
test eax, eax
push ebx
push esi
push edi
jne 0x10008f28
push str.dinput.dll
mov dword [0x1002d078], 1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x10008e43
push str.dinput.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov edi, 1
test esi, esi
jne 0x10008e43
pop edi
pop esi
pop ebx
add esp, 0x144
ret
lea eax, [esp + 0x4c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test edi, edi
mov ebx, eax
je 0x10008e61
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
ja 0x10008e71
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x144
ret
lea ecx, [esp + 0x14]
lea edx, [esp + 0x4c]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
ja 0x10008e92
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x144
ret
push esi
call fcn.10018814
add esp, 4
mov ebx, eax
lea eax, [esp + 0x4c]
push ebx
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10008ec4
push ebx
call fcn.1001872b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x1002b5cc
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x10008ef2
push ebx
call fcn.1001872b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
mov esi, dword [esp + 0xc]
mov ecx, 0xd
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
cmp ecx, 4
ja 0x10008f15
cmp ax, 7
jb 0x10008f1f
mov dword [0x1002d078], 2
push ebx
call fcn.1001872b
add esp, 4
mov ecx, dword [0x1002d078]
xor eax, eax
cmp ecx, 2
pop edi
pop esi
pop ebx
sete al
add esp, 0x144
ret
Function at 0x1000fa60
Capabilities:
Print debug messages

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov edx, dword [eax]
push edi
test eax, eax
mov dword [esp + 0x10], edx
je 0x1000fb92
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1000fb92
test edx, edx
je 0x1000fb92
push ecx
push eax
call fcn.1000fbf0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1000fb92
mov eax, dword [ebx + 0x24]
lea esi, [eax*4 + 4]
push esi
call fcn.10018efe
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x1c], edx
je 0x1000fb92
mov ecx, esi
xor eax, eax
mov edi, edx
xor ebp, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 0x28]
test eax, eax
mov edi, edx
jle 0x1000fb27
mov eax, dword [esi]
push 0
push edi
mov ecx, dword [eax + 0x18]
mov edx, dword [eax]
add ecx, 4
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov edx, dword [esi]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
test eax, eax
jl 0x1000fb3e
mov eax, dword [ebx + 0x24]
add edi, 4
add esi, 4
inc ebp
cmp ebp, eax
jl 0x1000fae0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000fb34
mov ecx, dword [ebx + 0x24]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
pop ecx
ret 0xc
cmp eax, 0x8007001e
jg 0x1000fb6a
je 0x1000fb63
cmp eax, 0x80040154
je 0x1000fb5c
cmp eax, 0x80040201
jne 0x1000fb71
push str.CreateEffect_failed_with_IMM_ERROR_DEVICEFULL._n
jmp 0x1000fb7d
push str.CreateEffect_failed_with_IMM_ERROR_DEVICENOTREG._n
jmp 0x1000fb7d
push str.CreateEffect_failed_with_IMM_ERROR_INPUTLOST._n
jmp 0x1000fb7d
cmp eax, 0x80070057
je 0x1000fb78
push str.CreateEffect_failed_with_an_unknown_error._n
jmp 0x1000fb7d
push str.CreateEffect_failed_with_IMM_ERROR_INVALIDPARAM._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call sym.IFC22.dll__IFRReleaseEffects_8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x100175e0
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov ebx, dword [edi + 0x40]
test ebx, ebx
jne 0x10017607
push str.Effects_lpvTypeSpecificParams_is_NULL_in_CImmTexture::Initialize__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
lea ecx, [esi + 0x8c]
lea edx, [esi + 0x24]
mov eax, 0x10
mov dword [esp + 0x1c], 0
mov ebp, dword [ecx]
mov dword [esp + 0x10], eax
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ecx + 8]
mov dword [edx + 8], ebp
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [edi + 0x2c]
mov edx, 1
cmp ecx, edx
jne 0x10017677
mov eax, dword [edi + 0x30]
mov eax, dword [eax]
test eax, eax
jne 0x10017650
mov ecx, edx
jmp 0x100176b1
cmp eax, 4
jne 0x10017662
mov dword [esp + 0x1c], ebx
mov ecx, 2
xor ebx, ebx
jmp 0x100176b1
push str.Effects_m_dwaAxes_0__not_set_correctly_one_axis_condition_in_CImmTexture::Initialize__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov ecx, dword [edi + 0x3c]
cmp ecx, 0x20
jne 0x100176a0
mov ebp, dword [edi + 0x34]
mov ecx, 4
test byte [edi + 0x14], al
mov edx, dword [ebp]
je 0x10017694
mov eax, dword [ebp + 4]
jmp 0x100176b3
mov dword [esp + 0x10], 0x20
xor eax, eax
jmp 0x100176b3
cmp ecx, 0x40
jne 0x10017704
lea eax, [ebx + 0x20]
mov ecx, 3
mov dword [esp + 0x1c], eax
mov eax, edx
mov ebp, dword [esp + 0x18]
mov ebp, dword [ebp + 0xc]
mov dword [esi + 0xa0], ebp
mov ebp, dword [esp + 0x1c]
push ebp
push ebx
push eax
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
mov ecx, esi
call sym.IFC22.dll_protected:_int___thiscall_CImmTexture::set_parameters_unsigned_long_int__unsigned_long_int__long_int__long_int__struct_FEELIT_TEXTURE_const___struct_FEELIT_TEXTURE_const__
test eax, eax
je 0x1001770f
mov eax, dword [edi + 0x20]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x44]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x64], edx
call sym.IFC22.dll_public:_int___thiscall_CImmEffect::initialize_class_CImmDevice___unsigned_long_int_
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push str.Force_cbTypeSpecificParams_not_1_or_2_in_CImmTexture::Initialize__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x1001cc72
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1002c610
cmp edx, dword [eax]
je 0x1001cc94
add eax, 8
inc ecx
cmp eax, 0x1002c6a0
jl 0x1001cc85
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1002c610]
jne 0x1001cdc2
mov eax, dword [0x1002d0a4]
cmp eax, 1
je 0x1001cd9c
test eax, eax
jne 0x1001ccc5
cmp dword [0x1002d0a8], 1
je 0x1001cd9c
cmp edx, 0xfc
je 0x1001cdc2
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1001ccfc
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1001d4c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1001d950
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1001cd3f
lea eax, [ebp - 0x1a4]
push eax
call fcn.1001d950
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10021d4c
push edi
call fcn.10018e00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1001d4c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1001d4d0
lea eax, [ebp - 0xa0]
push 0x10021d2c
push eax
call fcn.1001d4d0
push dword [esi + 0x1002c614]
lea eax, [ebp - 0xa0]
push eax
call fcn.1001d4d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1001ead3
add esp, 0x2c
pop edi
jmp 0x1001cdc2
lea eax, [ebp + 8]
lea esi, [esi + 0x1002c614]
push 0
push eax
push dword [esi]
call fcn.1001d950
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret