Function at 0x4ba8c0
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffc0
sub esp, 0x1c0
mov esi, esp
mov dword [esi + 0x198], ebp
mov dword [esi + 0x19c], esp
mov dword [esi + 0x1a8], 0xffffffff
mov dword [esi + 0x1a4], 0x703b20
mov edi, ecx
lea eax, [esi + 0x1a0]
mov ebx, edx
mov ecx, dword fs:[0]
mov dword [esi + 0x1a0], ecx
mov dword fs:[0], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp byte [ebx + 8], 0
mov dword [esi + 0x58], eax
jne 0x4ba92c
mov eax, dword [esi + 0x58]
cmp eax, dword [0x919a9c]
jne 0x4bb2bd
cmp byte [ebx + 9], 0
je 0x4ba940
mov eax, dword [0x919a90]
cmp eax, 3
jne 0x4bb1c0
mov eax, dword [0x919588]
cmp eax, 2
jne 0x4bb1fb
mov eax, dword [0x91958c]
mov dword [esi + 0x80], 0x30
mov dword [esi + 0x84], 3
mov dword [esi + 0x88], 0x4bba30
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0x400000
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa8], eax
lea eax, [esi + 0x80]
mov dword [esi + 0xac], 0
push eax
call dword [sym.imp.user32.dll_RegisterClassExW]
mov eax, dword [0x919588]
cmp eax, 2
jne 0x4bb1b6
push 0
push 0x400000
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [0x91958c]
push 0x80800a0
call dword [sym.imp.user32.dll_CreateWindowExW]
push 0x90000000
push 0xfffffffffffffff0
mov dword [esi + 0x34], eax
push eax
call dword [sym.imp.user32.dll_SetWindowLongW]
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x4baa3e
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4bb209
mov dword [0x919820], eax
push 0x11
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4bb209
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], edi
mov byte [eax + 0x10], 0x64
mov dword [eax + 0xc], 0x61657268
mov dword [eax + 8], 0x74207469
mov dword [eax + 4], 0x61772074
mov dword [eax], 0x696e6977
mov dword [esi + 0x2c], eax
mov dword [esi + 0x194], 0
mov byte [esi + 0x24], 1
mov byte [esi + 0x25], 1
mov dword [esi + 0x1a8], 1
call fcn.006b5e30
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x40]
lea edx, [esi + 0x6c]
mov byte [esi + 0x24], 0
mov byte [esi + 0x25], 1
mov dword [esi + 0x6c], eax
mov dword [esi + 0x74], 0x11
mov dword [esi + 0x70], 0x11
call fcn.004ffd50
cmp dword [esi + 0x40], 0
jne 0x4bb301
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
mov byte [esi + 0x24], 0
mov byte [esi + 0x25], 1
call fcn.006a0ae0
mov dword [esi + 0x5c], eax
lock inc dword [eax]
jle 0x4bb205
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x80], 1
mov dword [esi + 0x7c], eax
mov dword [esi + 0x84], 1
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x4bab41
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4bb227
mov dword [0x919820], eax
push 0x18
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4bb227
movsd xmm0, qword [esi + 0x90]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [esi + 0x78], eax
lock inc dword [eax]
jle 0x4bb205
mov dword [esi + 0x68], eax
movzx eax, byte [0x9197ac]
test al, al
je 0x4babd9
mov byte [0x9197ac], 1
mov dword [esi + 0x1a8], 9
call fcn.006ad300
mov edi, dword [esi + 0x34]
test eax, eax
je 0x4bb4ee
mov ecx, dword [eax]
mov dword [eax], 0
test ecx, ecx
mov dword [esi + 0x60], ecx
je 0x4babe3
lock inc dword [ecx]
jle 0x4bb205
mov dword [esi + 0x38], ecx
mov dword [esi + 0x64], 0
jmp 0x4babfa
mov edi, dword [esi + 0x34]
mov dword [esi + 0x60], 0
movzx eax, byte [0x9197ac]
test al, al
je 0x4bac30
mov al, 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x64], eax
mov byte [0x9197ac], 1
mov dword [esi + 0x1a8], 8
call fcn.006ad300
mov edi, dword [esi + 0x34]
test eax, eax
je 0x4bb4a1
mov ecx, dword [eax]
mov edx, dword [esi + 0x38]
test ecx, ecx
mov dword [eax], edx
je 0x4bac30
lock dec dword [ecx]
jne 0x4bac30
call fcn.0068d8b0
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x58]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x50], edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4bac5f
lock inc dword [ecx + 0xc]
jle 0x4bb51e
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x50]
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
mov dword [esi + 0x90], eax
movsd qword [esi + 0x88], xmm1
movsd qword [esi + 0x80], xmm0
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x4baca8
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4bb245
mov dword [0x919820], eax
push 0x14
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4bb245
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x3c]
mov dword [eax + 0x10], ecx
lea ecx, [esi + 0x6c]
movsd xmm0, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov byte [esi + 0x26], 0
mov dword [esi + 0x1a8], 6
push 0x739894
push eax
call fcn.006b6060
add esp, 8
movzx eax, byte [esi + 0x6c]
mov ecx, dword [esi + 0x38]
cmp eax, 4
jne 0x4bb34d
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x1a8], 0xe
mov dword [esi + 0x80], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ecx
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x2c]
lock dec dword [eax]
jne 0x4bad4e
mov ecx, dword [esi + 0x80]
call fcn.0068d870
mov eax, dword [esi + 0x84]
lock dec dword [eax]
jne 0x4bad6e
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x1a8], 0xffffffff
call fcn.004f2eb0
xorps xmm0, xmm0
mov ecx, 0x919558
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x1a8], 0xffffffff
movaps xmmword [esi + 0x80], xmm0
call fcn.006fd340
mov ecx, 0x919558
mov edi, eax
call fcn.006fd340
push eax
push edi
push 0xffffffffffffffff
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.user32.dll_GetMessageW]
mov ecx, 0x919558
mov dword [esi + 0x68], eax
call fcn.006fd340
cmp dword [esi + 0x84], eax
mov dword [esi + 0x60], eax
jne 0x4bb3e7
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4bb435
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov dword [esi + 0x1a8], 0xf
call fcn.006b86a0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], edx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 8
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x1a8], 0x10
call fcn.006bc750
mov edi, dword [esi + 0x34]
test eax, eax
je 0x4bb47c
mov ecx, dword [esi + 0x90]
movsd xmm0, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
mov dword [esi + 0x88], 0x8cdfe0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x50], ecx
movsd qword [esi + 0x48], xmm1
movsd qword [esi + 0x40], xmm0
movdqu xmm0, xmmword [eax]
movd ecx, xmm0
pshufd xmm1, xmm0, 0x55
add ecx, 1
movd edx, xmm1
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x3c]
movdqu xmmword [esi + 0x98], xmm0
mov dword [esi + 0xb0], 0x3b9aca00
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], eax
mov eax, dword [esi + 0x50]
movsd qword [esi + 0xe0], xmm0
movsd qword [esi + 0xe8], xmm1
mov dword [esi + 0xf0], eax
mov byte [esi + 0xf4], 0
mov dword [esi + 0x80], 1
mov dword [esi + 0x84], 1
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x4baf8e
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4bb263
mov dword [0x919820], eax
push 0x78
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4bb263
mov ebx, eax
push 0x78
lea eax, [esi + 0x80]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
inc dword [ebx]
je 0x4bb205
movaps xmm0, xmmword [0x725fc0]
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0x100], 0
mov byte [esi + 0x104], 0
mov dword [esi + 0x108], 4
mov dword [esi + 0x10c], 0
movaps xmmword [esi + 0x110], xmm0
mov byte [esi + 0x120], 1
mov dword [esi + 0x140], 1
mov dword [esi + 0x144], 1
mov byte [esi + 0x148], 0
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
mov dword [esi + 0x2c], ebx
test eax, eax
jne 0x4bb060
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4bb281
mov dword [0x919820], eax
push 0x140
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4bb281
mov edi, eax
and edi, 0xffffffc0
mov dword [edi + 0x3c], eax
add edi, 0x40
push pe_nt_image_headers32
lea eax, [esi + 0x80]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x88], ebx
mov dword [esi + 0x80], 1
mov dword [esi + 0x3c], edi
mov dword [esi + 0x84], edi
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
je 0x4bb0c4
mov edi, dword [esi + 0x34]
jmp 0x4bb0da
call dword [sym.imp.kernel32.dll_GetProcessHeap]
mov edi, dword [esi + 0x34]
test eax, eax
je 0x4bb29f
mov dword [0x919820], eax
push 0xc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4bb29f
mov ecx, dword [esi + 0x88]
mov dword [eax + 8], ecx
movsd xmm0, qword [esi + 0x80]
movsd qword [eax], xmm0
mov dword [esi + 0x1a8], 0x17
push eax
push 0xffffffffffffffeb
push edi
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, dword [esi + 0x34]
mov dword [esi + 0x80], 0x20001
mov dword [esi + 0x84], 0x2000
mov dword [esi + 0x1a8], 0x14
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0x60001
mov dword [esi + 0x90], 0x2000
mov dword [esi + 0x94], eax
push 0xc
push 2
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.user32.dll_RegisterRawInputDevices]
mov eax, dword [esi + 0x190]
mov ecx, dword [esi + 0x3c]
mov dword [eax], 1
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x58]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x18c]
movsd xmm0, qword [ecx]
mov dword [ecx], 0
mov ecx, dword [esi + 0x1a0]
movsd qword [eax + 0x14], xmm0
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0070dd20
jmp 0x4ba9e2
lea eax, [esi + 0x40]
mov byte [esi + 0x40], 1
mov ecx, 0x919a90
xor edx, edx
mov dword [esi + 0x80], eax
lea eax, [esi + 0x80]
push 0x8f6ef8
push 0x8f6cc8
push eax
call fcn.00721650
add esp, 0xc
mov eax, dword [0x919588]
cmp eax, 2
je 0x4ba94e
call fcn.0070dd20
jmp 0x4ba94e
ud2
mov ecx, 1
mov edx, 0x11
mov dword [esi + 0x1a8], 0x19
call fcn.00709d20
jmp 0x4bb57c
mov ecx, 4
mov edx, 0x18
mov dword [esi + 0x1a8], 0xa
call fcn.00709d20
jmp 0x4bb57c
mov ecx, 4
mov edx, 0x14
mov dword [esi + 0x1a8], 7
call fcn.00709d20
jmp 0x4bb57c
mov ecx, 8
mov edx, 0x78
mov dword [esi + 0x1a8], 0x12
call fcn.00709d20
jmp 0x4bb57c
mov ecx, 0x40
mov edx, pe_nt_image_headers32
mov dword [esi + 0x1a8], 0x16
call fcn.00709d20
jmp 0x4bb57c
mov ecx, 4
mov edx, 0xc
mov dword [esi + 0x1a8], 0x18
call fcn.00709d20
jmp 0x4bb57c
lea ecx, [esi + 0x80]
mov edx, 0x73e594
mov dword [esi + 0x80], 0x73e58c
mov dword [esi + 0x84], 1
mov dword [esi + 0x90], 0
mov dword [esi + 0x88], str.not_implementedC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinit_0.28.6_srcplatform_implwindowsdrop_handler.rs
mov dword [esi + 0x8c], 0
call fcn.00709f70
ud2
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
mov dword [esi + 0x1a8], 0xb
mov ecx, str.thread_name_may_not_contain_interior_null_bytes
mov edx, 0x2f
movsd qword [esi + 0x88], xmm1
movsd qword [esi + 0x80], xmm0
push 0x8cbebc
push 0x7398b4
lea eax, [esi + 0x80]
push eax
call fcn.0070a360
add esp, 0xc
jmp 0x4bb57c
movzx edx, byte [esi + 0x6f]
movzx edi, word [esi + 0x6d]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], edx
mov edx, dword [esi + 0x70]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x58], edx
lock dec dword [ecx]
jne 0x4bb37b
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x1a8], 0xc
call fcn.004f2eb0
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x34]
mov ecx, dword [esi + 0x5c]
shl eax, 8
shl edi, 0x18
or edi, eax
add edi, dword [esi + 0x2c]
lock dec dword [ecx]
jne 0x4bb3a6
mov ecx, dword [esi + 0x5c]
call fcn.0068d870
mov dword [esi + 0x1a8], 0xd
mov eax, dword [esi + 0x58]
mov dword [esi + 0x80], edi
mov dword [esi + 0x1a8], 0xd
mov ecx, str.Failed_to_spawn_winit_wait_thread
mov edx, 0x21
mov dword [esi + 0x84], eax
push 0x73e488
push 0x73e424
lea eax, [esi + 0x80]
push eax
call fcn.0070a360
add esp, 0xc
jmp 0x4bb57c
lea eax, [esi + 0x68]
mov dword [esi + 0x40], 0x8f7c34
mov dword [esi + 0x44], 1
lea edx, [esi + 0x84]
xor ecx, ecx
mov dword [esi + 0x6c], eax
lea eax, [esi + 0x6c]
mov dword [esi + 0x70], 0x433e30
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], 0
lea eax, [esi + 0x60]
push 0x8f7c3c
lea edi, [esi + 0x40]
push edi
push eax
call fcn.007241f0
add esp, 0xc
ud2
call sub.kernel32.dll_GetLastError
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], 0
mov dword [esi + 0x1a8], 0x11
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x8c9fc8
push 0x8c7c18
lea eax, [esi + 0x80]
push eax
call fcn.0070a360
add esp, 0xc
jmp 0x4bb57c
mov ecx, 0x8f7944
mov edx, 0x46
push 0x8f79dc
push 0x73f0d0
lea eax, [esi + 0x40]
push eax
call fcn.0070a360
add esp, 0xc
jmp 0x4bb57c
cmp byte [esi + 0x64], 0
jne 0x4bb4b7
mov eax, dword [esi + 0x38]
lock dec dword [eax]
jne 0x4bb4b7
mov ecx, dword [esi + 0x38]
call fcn.0068d8b0
mov byte [esi + 0x28], 0
mov byte [esi + 0x29], 1
mov dword [esi + 0x1a8], 5
mov ecx, 0x8f7944
mov edx, 0x46
push 0x8c8918
push 0x8c7c08
lea eax, [esi + 0x40]
push eax
call fcn.0070a360
add esp, 0xc
jmp 0x4bb57c
mov byte [esi + 0x27], 1
mov dword [esi + 0x1a8], 4
mov ecx, 0x8f7944
mov edx, 0x46
push 0x8c8918
push 0x8c7c08
lea eax, [esi + 0x40]
push eax
call fcn.0070a360
add esp, 0xc
jmp 0x4bb57c
add ecx, 8
xor edx, edx
mov byte [esi + 0x26], 1
mov dword [esi + 0x1a8], 6
call fcn.006a3e20
lea ecx, [esi + 0x80]
mov edx, 0x8c82e4
mov dword [esi + 0x80], 0x8c82bc
mov dword [esi + 0x84], 1
mov dword [esi + 0x90], 0
mov dword [esi + 0x88], str.not_implementedC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinit_0.28.6_srcplatform_implwindowsdrop_handler.rs
mov dword [esi + 0x8c], 0
mov byte [esi + 0x26], 1
call fcn.00709f70
ud2