joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006d10
Capabilities:
Check if process is running under wine
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, edx
sub esp, 0x28
mov dword [esp], str.SoftwareWineDirectInputMappings_s_s_s
mov esi, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [ebp - 0x14], eax
call esi
mov dword [esp], ebx
mov dword [ebp - 0x18], eax
call esi
mov edx, dword [ebp - 0x18]
add edx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [esp], eax
call esi
mov dword [esp], edi
mov dword [ebp - 0x1c], eax
call esi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx + edx + 1]
add ecx, eax
mov dword [ebp - 0x18], ecx
lea eax, [ecx + ecx]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x10006dfe
mov dword [esp + 0x14], edi
mov esi, eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp - 0x18]
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov eax, str.SoftwareWineDirectInputMappings_s_s_s
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call sym._swprintf
mov edx, dword [ebp + 8]
test edx, edx
jne 0x10006de8
mov dword [esp + 4], esi
lea eax, [ebp - 0x10]
xor ebx, ebx
mov dword [esp + 8], eax
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
sub esp, 0xc
test eax, eax
je 0x10006de0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp - 0x10]
jmp 0x10006dc3
mov dword [esp + 4], esi
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegDeleteTreeW]
sub esp, 8
jmp 0x10006da2
xor ebx, ebx
jmp 0x10006dcc
Function at 0x1000bbf0
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edi
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyA]
mov dword [eax], 0
mov eax, str.SoftwareWineDirectInput
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call esi
sub esp, 0xc
test eax, eax
je 0x1000bc37
mov dword [ebx], 0
mov dword [esp], 0
lea edi, [ebp - 0x120]
mov eax, 0x104
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
dec eax
sub esp, 0xc
cmp eax, 0x102
jbe 0x1000bc80
mov edx, dword [ebx]
mov eax, 1
test edx, edx
je 0x1000bd48
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], 0x80000001
lea eax, [ebp - 0x124]
mov dword [esp + 8], eax
mov eax, str.SoftwareWineAppDefaults
mov dword [esp + 4], eax
call esi
sub esp, 0xc
test eax, eax
jne 0x1000bc62
mov dword [esp], edi
mov edx, dword [sym.imp.ucrtbase.dll_strrchr]
mov eax, 0x2f
mov dword [esp + 4], eax
mov dword [ebp - 0x128], edx
call edx
mov edx, dword [ebp - 0x128]
test eax, eax
je 0x1000bcca
lea edi, [eax + 1]
mov dword [esp], edi
mov ecx, 0x5c
mov dword [esp + 4], ecx
call edx
test eax, eax
je 0x1000bcdf
lea edi, [eax + 1]
mov dword [esp], edi
call sym._strlen
add eax, edi
mov dword [eax], 0x7269445c
mov dword [eax + 4], 0x49746365
mov dword [eax + 8], 0x7475706e
mov byte [eax + 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call esi
sub esp, 0xc
test eax, eax
je 0x1000bd27
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [ebx]
mov eax, 1
sub esp, 4
test edx, edx
jne 0x1000bc71
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
setne al
mov esp, ebp
pop ebp
movzx eax, al
ret
Function at 0x1000bd70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edi
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x1000bdba
mov dword [esp + 0x10], edi
lea edx, [ebp + 0x18]
xor ecx, ecx
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x1000be00
test ebx, ebx
je 0x1000bde9
mov dword [esp + 0x10], edi
lea eax, [ebp + 0x18]
xor edx, edx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x1000be00
mov ebx, dword [ebp - 0xc]
mov eax, 2
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xc]
xor eax, eax
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000e6d0
Capabilities:
Create process on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x94
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edx, dword [eax + str.control.exe]
mov dword [ebp + eax - 0x68], edx
add eax, 4
cmp eax, 0x18
jb 0x1000e6e4
lea esi, [ebp - 0x50]
xor ecx, ecx
xor eax, eax
mov dword [ebp + eax - 0x50], ecx
mov dword [ebp + eax - 0x4c], ecx
add eax, 8
cmp eax, 0x40
jb 0x1000e6fd
test byte [0x1002203c], 8
mov dword [esi + eax], 0
je 0x1000e753
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], edi
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, str.iface__p__owner__p__flags__lx._n
mov dword [esp + 0xc], eax
mov eax, str.dinput7_RunControlPanel
mov dword [esp + 8], eax
mov eax, 0x1002203c
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_2
test edi, edi
je 0x1000e76b
mov dword [esp], edi
call dword [sym.imp.user32.dll_IsWindow]
sub esp, 4
test eax, eax
je 0x1000e817
test ebx, ebx
jne 0x1000e810
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1000e800
mov dword [esp + 0x20], esi
lea eax, [ebp - 0x78]
xor edx, edx
mov dword [esp + 0x24], eax
xor eax, eax
mov ecx, 8
mov dword [esp + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x18], edx
lea eax, [ebp - 0x68]
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov edx, eax
sub esp, 0x28
xor eax, eax
test edx, edx
je 0x1000e7e0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
test eax, eax
jle 0x1000e7d2
lea esp, [ebp - 0xc]
movzx eax, ax
pop ebx
or eax, 0x80070000
pop esi
pop edi
pop ebp
ret 0xc
mov eax, 0x80070015
jmp 0x1000e7d2
mov eax, 0x80070057
jmp 0x1000e7d2
mov eax, 0x80070006
jmp 0x1000e7d2
Function at 0x100130f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x18
test byte [0x100220b8], 8
jne 0x10013218
mov dword [esp], 0
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_CreateEventW]
sub esp, 0x10
test eax, eax
mov ebx, eax
je 0x100131d0
mov dword [esp + 0xc], ebx
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, sym._dinput_thread_proc_4
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [0x10037010], eax
sub esp, 0x18
test eax, eax
je 0x10013190
mov dword [esp], ebx
mov eax, 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret
test byte [0x100220b8], 2
je 0x1001317d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov edx, str.Failed_to_create_internal_thread__error__lu_n
mov ecx, str.input_thread_start
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, 0x100220b8
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_3
jmp 0x1001317d
test byte [0x100220b8], 2
je 0x1001317d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov edx, str.Failed_to_create_start_event__error__lu_n
mov ecx, str.input_thread_start
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, 0x100220b8
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_3
jmp 0x1001317d
mov edx, str.input_thread_start
mov ecx, 0x100220b8
mov dword [esp + 8], edx
mov eax, str.Starting_input_thread._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10013104
Function at 0x10013c20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x938], 0xffffffff
movzx esi, word [ebx + 0xb6c]
je 0x10013cf8
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x940], edx
lea eax, [ebx + 0x93c]
xor edx, edx
mov dword [ebx + 0x948], edx
mov edx, dword [ebx + 0x51c]
mov dword [ebx + 0x93c], ecx
xor ecx, ecx
mov dword [ebx + 0x944], ecx
xor ecx, ecx
mov dword [ebx + 0x94c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov eax, dword [ebx + 0xba8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x938]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x10013cc0
mov eax, dword [ebx]
mov edx, 1
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0x58]
xor eax, eax
sub esp, 8
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x3e5
je 0x10013c9f
mov eax, dword [ebx + 0x938]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, 0xffffffff
mov eax, 0x80040209
mov dword [ebx + 0x938], ecx
sub esp, 4
jmp 0x10013cb5
xor eax, eax
mov edx, 0xc0000000
mov dword [esp + 0x18], eax
mov eax, 0x60000000
mov dword [esp + 0x14], eax
mov eax, 3
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, 3
mov dword [esp + 8], eax
lea eax, [ebx + 0x954]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [ebx + 0x938], eax
sub esp, 0x1c
inc eax
jne 0x10013c3f
mov eax, 0x80040209
jmp 0x10013cb5
Function at 0x100152d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
test byte [0x10022114], 8
mov esi, dword [ebx + 0x18]
movzx edi, word [esi + 0xb6e]
jne 0x100153a8
lea edx, [esi + 0x20]
mov dword [esp], edx
mov dword [ebp - 0x10], edx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0xc]
mov eax, 1
sub esp, 4
test edx, edx
mov edx, dword [ebp - 0x10]
je 0x10015385
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x20]
mov edx, dword [ebp - 0x10]
sub esp, 4
test eax, eax
js 0x10015385
mov ecx, dword [esi + 0xdc0]
test ecx, ecx
je 0x100154c0
movzx ecx, byte [esi + 0xdc4]
test cl, cl
jne 0x100153e0
mov dword [ebx + 0xc], 0
mov edi, 0xffffffff
mov dword [ebx + 0x144], edi
lea edi, [esi + 0xcbc]
mov ebx, dword [esi + 0xcbc]
lea ecx, [ebx - 0x10]
cmp edi, ebx
jne 0x1001537e
jmp 0x100154b0
mov ebx, dword [ecx + 0x10]
lea ecx, [ebx - 0x10]
cmp edi, ebx
je 0x100154b0
mov ebx, dword [ecx + 0xc]
test ebx, ebx
je 0x10015370
mov dword [esp], edx
mov dword [ebp - 0x10], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp + 0x10], ebx
mov eax, str.hid_joystick_effect_Unload
mov ecx, str.iface__p_n
mov dword [esp + 8], eax
mov eax, 0x10022114
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x100152f3
mov dword [esp + 0x10], edi
mov dword [ebp - 0x10], edx
mov eax, dword [esi + 0xbac]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x950]
mov dword [esp + 4], ecx
mov dword [esp], 1
mov dword [esp + 8], eax
call sym._HidP_InitializeReportForID_20
mov edx, dword [ebp - 0x10]
sub esp, 0x14
cmp eax, 0x110000
jne 0x10015343
mov dword [esp + 0x1c], edi
mov eax, dword [esi + 0xbac]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x950]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, 0x22
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0xf
mov dword [esp + 4], eax
call sym._HidP_SetUsageValue_32
mov edx, dword [ebp - 0x10]
sub esp, 0x20
cmp eax, 0x110000
jne 0x10015343
mov dword [esp + 8], edi
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xbac]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x938]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [ebp - 0x10]
sub esp, 0x14
cmp eax, 1
sbb eax, eax
and eax, 0x8007001e
jmp 0x10015343
or dword [esi + 0x930], 1
jmp 0x10015385
mov ecx, dword [ebx + 0xc]
mov byte [esi + ecx + 0xbbb], 0
jmp 0x10015343
Function at 0x100155f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
test byte [0x10022114], 8
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
movzx edi, word [ebx + 0xb6e]
mov esi, dword [ebx + 0xbac]
jne 0x100156c0
movzx eax, byte [ebx + 0xdac]
test al, al
je 0x100156af
mov ecx, dword [ebx + 0xdb4]
test ecx, ecx
je 0x100156af
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov edx, dword [ebx + 0x950]
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [esp + 8], edx
call sym._HidP_InitializeReportForID_20
sub esp, 0x14
cmp eax, 0x110000
jne 0x100156b1
mov ecx, dword [ebp + 0xc]
movzx edx, word [ebx + 0xb6e]
mov eax, dword [ebx + 0x950]
mov dword [esp + 4], ecx
mov ecx, dword [ebx + 0xdb4]
mov dword [esp], ecx
mov ecx, esi
call sym._set_report_value.isra.0
xor eax, eax
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x938]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x100156f0
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], ebx
mov eax, str.iface__p._n
mov dword [esp + 0xc], eax
mov eax, str.hid_joystick_send_device_gain
mov dword [esp + 8], eax
mov eax, 0x10022114
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1001561c
mov eax, 0x8007001e
jmp 0x100156b1
Function at 0x10015700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
test byte [0x10022114], 8
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
movzx edi, word [ebx + 0xb6e]
mov esi, dword [ebx + 0xbac]
jne 0x100158a0
cmp dword [ebp + 0xc], 0x20
ja case.0x10015735.0
mov eax, dword [ebp + 0xc]
jmp dword [eax*4 + 0x10028104]
mov word [ebp - 0x12], 0x9c
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [ebp - 0x10], 1
mov eax, dword [ebx + 0x950]
mov dword [esp + 8], eax
movzx eax, byte [ebx + 0xcc4]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym._HidP_InitializeReportForID_20
sub esp, 0x14
cmp eax, 0x110000
je 0x100157e0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xc], edx
mov edx, sym._unload_effect_object_8
mov dword [esp + 8], ecx
mov word [ebp - 0x12], 0x9a
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0x5c]
mov ecx, 3
mov dword [ebx + 0x930], ecx
sub esp, 0x10
jmp case.0x10015735.0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 0x950]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x12]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 0xccc]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 0xf
mov dword [esp + 4], eax
call sym._HidP_SetUsages_32
sub esp, 0x20
cmp eax, 0x110000
jne 0x1001578a
mov dword [esp + 8], edi
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x938]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x1001594c
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10015920
cmp dword [ebp + 0xc], 1
jne 0x10015920
mov ecx, dword [ebx + 0x928]
test ecx, ecx
je 0x10015930
mov eax, dword [ebx + 0x92c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._hid_joystick_send_device_gain
xor eax, eax
jmp 0x1001578a
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0xc]
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, str.iface__p__command__lx._n
mov dword [esp + 0xc], eax
mov eax, str.hid_joystick_send_force_feedback_command
mov dword [esp + 8], eax
mov eax, 0x10022114
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_4
jmp 0x1001572c
mov word [ebp - 0x12], 0x99
jmp case.0x10015735.0
mov word [ebp - 0x12], 0x9b
jmp case.0x10015735.0
mov word [ebp - 0x12], 0x97
jmp case.0x10015735.0
mov word [ebp - 0x12], 0x98
jmp case.0x10015735.0
xor eax, eax
jmp 0x1001578a
mov dword [esp], ebx
xor eax, eax
mov edx, 2
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call sym._hid_joystick_send_force_feedback_command
jmp 0x1001587f
mov eax, 0x8007001e
jmp 0x1001578a
Function at 0x10015750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
test byte [0x10022114], 8
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
movzx edi, word [ebx + 0xb6e]
mov esi, dword [ebx + 0xbac]
jne 0x100158a0
cmp dword [ebp + 0xc], 0x20
ja case.0x10015735.0
mov eax, dword [ebp + 0xc]
jmp dword [eax*4 + 0x10028104]
mov word [ebp - 0x12], 0x9c
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [ebp - 0x10], 1
mov eax, dword [ebx + 0x950]
mov dword [esp + 8], eax
movzx eax, byte [ebx + 0xcc4]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym._HidP_InitializeReportForID_20
sub esp, 0x14
cmp eax, 0x110000
je 0x100157e0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xc], edx
mov edx, sym._unload_effect_object_8
mov dword [esp + 8], ecx
mov word [ebp - 0x12], 0x9a
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0x5c]
mov ecx, 3
mov dword [ebx + 0x930], ecx
sub esp, 0x10
jmp case.0x10015735.0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 0x950]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x12]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 0xccc]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 0xf
mov dword [esp + 4], eax
call sym._HidP_SetUsages_32
sub esp, 0x20
cmp eax, 0x110000
jne 0x1001578a
mov dword [esp + 8], edi
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x938]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x1001594c
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10015920
cmp dword [ebp + 0xc], 1
jne 0x10015920
mov ecx, dword [ebx + 0x928]
test ecx, ecx
je 0x10015930
mov eax, dword [ebx + 0x92c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._hid_joystick_send_device_gain
xor eax, eax
jmp 0x1001578a
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0xc]
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, str.iface__p__command__lx._n
mov dword [esp + 0xc], eax
mov eax, str.hid_joystick_send_force_feedback_command
mov dword [esp + 8], eax
mov eax, 0x10022114
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_4
jmp 0x1001572c
mov word [ebp - 0x12], 0x99
jmp case.0x10015735.0
mov word [ebp - 0x12], 0x9b
jmp case.0x10015735.0
mov word [ebp - 0x12], 0x97
jmp case.0x10015735.0
mov word [ebp - 0x12], 0x98
jmp case.0x10015735.0
xor eax, eax
jmp 0x1001578a
mov dword [esp], ebx
xor eax, eax
mov edx, 2
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call sym._hid_joystick_send_force_feedback_command
jmp 0x1001587f
mov eax, 0x8007001e
jmp 0x1001578a
Function at 0x1001e3d0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
test eax, eax
jne 0x1001e3e3
cmp dword [ebp + 8], 0x7ff
jbe 0x1001e400
cmp ecx, 0xa
je 0x1001e41d
test ah, 1
je 0x1001e458
mov dl, al
or dl, 0x80
leave
mov al, dl
ret
mov dword [esp], edx
xor eax, eax
mov dword [esp + 4], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.user32.dll_MapVirtualKeyW]
mov ecx, dword [ebp - 4]
sub esp, 8
cmp ecx, 0xa
jne case.0x1001e430.14
cmp eax, 0x2b
ja 0x1001e448
cmp eax, 0xc
jbe 0x1001e458
lea edx, [eax - 0xd]
cmp edx, 0x1e
ja case.0x1001e430.14
nop
jmp dword [edx*4 + 0x10029ae0]
leave
mov dl, 0x91
mov al, dl
ret
leave
mov dl, 0x90
mov al, dl
ret
cmp eax, 0x73
mov dl, 0x2b
jne case.0x1001e430.14
leave
mov al, dl
ret
leave
mov dl, al
mov al, dl
ret
mov dl, 0x1b
jmp 0x1001e3f2
mov dl, 0x1a
jmp 0x1001e3f2
mov dl, 0x92
jmp 0x1001e3f2
mov dl, 0x94
lea esi, [esi]
jmp 0x1001e3f2
Function at 0x1001e580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
xor eax, eax
push edi
push esi
push ebx
sub esp, 0x260
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x6c]
shr ecx, 8
mov dword [ebp + eax - 0x24c], edx
mov dword [ebp + eax - 0x248], edx
add eax, 8
cmp eax, 0x240
jb 0x1001e599
mov eax, 0x240
xor ebx, ebx
mov dword [ebp - 0x24c], eax
mov eax, dword [0x10027298]
lea edi, [ebp - 0x22c]
mov dword [ebp - 0x248], eax
mov eax, dword [0x1002729c]
mov dword [ebp - 0x244], eax
mov eax, dword [0x100272a0]
mov dword [ebp - 0x240], eax
mov eax, dword [0x100272a4]
mov dword [ebp - 0x23c], eax
mov eax, 1
mov dword [ebp - 0x238], eax
mov eax, 0x104
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x250], eax
movzx eax, cl
mov dword [ebp - 0x258], eax
jmp 0x1001e641
test ecx, ecx
je 0x1001e6e0
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x250], eax
inc ebx
cmp ebx, 0x200
je 0x1001e730
mov dword [esp + 4], edi
mov eax, 0x104
mov dword [esp + 8], eax
mov eax, ebx
shl eax, 0x10
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetKeyNameTextW]
sub esp, 0xc
test eax, eax
je 0x1001e634
mov eax, dword [esi + 0x38]
xor edx, edx
mov ecx, dword [ebp - 0x258]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
mov eax, ebx
call sym._map_dik_code
movzx eax, al
test eax, eax
je 0x1001e634
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x250]
mov edx, eax
shl edx, 8
or edx, 4
mov dword [ebp - 0x234], edx
inc ecx
mov dword [ebp - 0x254], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001e6b8
mov ecx, dword [ebp + 0x10]
and ecx, edx
test cl, 4
je 0x1001e628
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xc]
cmp ecx, 1
je 0x1001e720
cmp ecx, 2
jne 0x1001e620
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
xor edx, ecx
and edx, 0xffffff
jne 0x1001e628
mov dword [esp], esi
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x24c]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x250]
mov dword [esp + 4], eax
call dword [ebp + 0x14]
dec eax
je 0x1001e628
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0xc]
cmp eax, dword [edx + 8]
jne 0x1001e628
jmp 0x1001e6e0
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret