Function at 0x6de935d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
test byte [0x6dea20b8], 8
jne 0x6de93700
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventW]
sub esp, 0x10
mov ebx, eax
test eax, eax
je 0x6de936c0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], sym._dinput_thread_proc_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [0x6deb8010], eax
sub esp, 0x18
test eax, eax
je 0x6de93680
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
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 [0x6dea20b8], 2
je 0x6de93667
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Failed_to_create_internal_thread__error__lu_n
mov dword [esp + 8], str.input_thread_start
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6dea20b8
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x6de93667
test byte [0x6dea20b8], 2
je 0x6de93667
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Failed_to_create_start_event__error__lu_n
mov dword [esp + 8], str.input_thread_start
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6dea20b8
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x6de93667
mov dword [esp + 0xc], str.Starting_input_thread._n
mov dword [esp + 8], str.input_thread_start
mov dword [esp + 4], 0x6dea20b8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6de935e4

Function at 0x6de94170
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x93c], 0xffffffff
movzx esi, word [ebx + 0xb70]
je 0x6de94250
mov edx, dword [ebx + 0x51c]
lea eax, [ebx + 0x940]
mov dword [ebx + 0x940], 0
mov dword [ebx + 0x944], 0
mov dword [ebx + 0x948], 0
mov dword [ebx + 0x94c], 0
mov dword [ebx + 0x950], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov eax, dword [ebx + 0xbac]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x93c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x6de94218
mov eax, dword [ebx]
mov dword [esp + 4], 1
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 0x6de941f9
mov eax, dword [ebx + 0x93c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0x80040209
mov dword [ebx + 0x93c], 0xffffffff
sub esp, 4
jmp 0x6de9420e
lea eax, [ebx + 0x958]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x60000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [ebx + 0x93c], eax
sub esp, 0x1c
cmp eax, 0xffffffff
jne 0x6de9418f
mov eax, 0x80040209
jmp 0x6de9420e