Function at 0xb0ee40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [esp], str.SDL_WINDOWID
call fcn.00ae6ae0
mov dword [0x1a52e64], 0
mov dword [0x1a536a8], 0
mov dword [0x1a536b4], 0
mov dword [0x1a52e68], 0
mov dword [0x1a536ac], 0
mov ebx, eax
mov dword [0x1a536b8], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00b0a710
xor eax, eax
test ebx, ebx
setne al
test eax, eax
mov dword [0x1a528dc], eax
je 0xb0ef23
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.01089f70
test eax, eax
mov dword [0x1a528ac], eax
je 0xb0f1d7
mov dword [esp + 4], 0xfffffffc
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [0x1a536a0], eax
mov eax, dword [0x1a528ac]
sub esp, 8
mov dword [esp + 8], 0xb09ad0
mov dword [esp + 4], 0xfffffffc
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
sub esp, 0xc
jmp 0xb0efab
mov eax, dword [0x1a528a0]
mov edx, dword [0x1a528a8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xca0000
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
sub esp, 0x30
test eax, eax
mov dword [0x1a528ac], eax
je 0xb0f1ea
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 8
mov eax, dword [0x1a528a8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1a536a4
mov dword [esp + 4], 0x700
mov dword [esp], eax
call dword [0x1abab54]
sub esp, 0x10
test eax, eax
jne 0xb0f2ac
mov ebx, dword [str.keyboard]
mov dword [0x1a536b0], 0
test ebx, ebx
je 0xb0f1a9
mov esi, dword [sym.imp.USER32.dll_GetParent]
xor edi, edi
mov dword [ebp - 0x3c], 0x10efd44
mov eax, dword [0x1a536a4]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov ecx, dword [ebx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0xb0f1fd
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 0x1a52e64]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x14ce25c
mov dword [esp], eax
call dword [edx]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
jne 0xb0f216
mov ebx, dword [0x1a528ac]
jmp 0xb0f07a
mov ebx, eax
mov dword [esp], ebx
call esi
sub esp, 4
test eax, eax
jne 0xb0f078
mov eax, dword [edi + 0x1a52e64]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], ecx
call dword [edx + 0x34]
sub esp, 0xc
test eax, eax
jne 0xb0f248
mov eax, dword [edi + 0x1a52e64]
mov ebx, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x2c]
sub esp, 8
test eax, eax
jne 0xb0f22f
mov eax, dword [edi + 0x1a52e64]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x14
mov edx, dword [eax]
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x20], 0x200
mov dword [esp + 8], ecx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
test eax, eax
jne 0xb0f293
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_CreateEventA]
sub esp, 0x10
test eax, eax
mov dword [edi + 0x1a536a8], eax
je 0xb0f27a
mov edx, dword [edi + 0x1a52e64]
mov ecx, dword [edx]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [ecx + 0x30]
sub esp, 8
test eax, eax
jne 0xb0f261
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x10]
add ebx, 0x18
mov dword [edi + 0x1a536b4], eax
mov eax, dword [edi + 0x1a52e64]
add edi, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x40]
add dword [0x1a536b0], 1
mov dword [ebp - 0x3c], ebx
mov ecx, dword [eax + 0x14]
sub esp, 4
test ecx, ecx
jne 0xb0f003
mov dword [0x1a52e6c], 0
mov dword [esp], 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esp, 4
mov dword [0x1a52e70], eax
call fcn.00b0a660
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.Couldnt_get_user_specified_window
call fcn.00ae6670
mov eax, 0xffffffff
jmp 0xb0f1cf
mov dword [esp], str.Couldnt_create_window
call fcn.00ae6670
mov eax, 0xffffffff
jmp 0xb0f1cf
mov edx, eax
mov eax, str.DirectInput::CreateDevice
call fcn.00b0da90
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, ebx
mov eax, str.DirectInputDevice::QueryInterface
call fcn.00b0da90
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, eax
mov eax, str.DirectInputDevice::SetDataFormat
call fcn.00b0da90
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, eax
mov eax, str.DirectInputDevice::SetCooperativeLevel
call fcn.00b0da90
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, eax
mov eax, str.DirectInputDevice::SetEventNotification
call fcn.00b0da90
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.Couldnt_create_DirectInput_event
call fcn.00ae6670
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, eax
mov eax, str.DirectInputDevice::SetProperty
call fcn.00b0da90
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, eax
mov eax, str.DirectInputCreate
call fcn.00b0da90
or eax, 0xffffffff
jmp 0xb0f1cf