Function at 0x4028a0
Capabilities:
Contain obfuscated stackstrings
Create thread
Query environment variable

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x40]
push ebx
lea ebx, [ebp - 0x80]
push ecx
sub esp, 0xd8
mov eax, dword [ecx]
mov ecx, 0xa
mov dword [ebp - 0x64], 0x500049
mov dword [ebp - 0x60], 0x690054
mov esi, dword [sym.imp.ucrtbase.dll_getenv]
mov dword [ebp - 0xb4], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, 7
mov edi, ebx
mov dword [ebp - 0x5c], 0x5f0070
rep stosd dword es:[edi], eax
mov dword [ebp - 0x58], 0x61004d
mov dword [ebp - 0x54], 0x6e0069
mov dword [ebp - 0x50], 0x57005f
mov dword [ebp - 0x4c], 0x6e0069
mov dword [ebp - 0x48], 0x6f0064
mov dword [ebp - 0x44], 0x77
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x9c], 0
mov dword [0x404050], 0
mov dword [esp], str.SteamDeck
call esi
xor edx, edx
test eax, eax
je 0x402985
movzx edx, byte [eax]
sub edx, 0x31
je 0x402d60
test edx, edx
sete dl
movzx edx, dl
mov dword [0x404114], edx
mov dword [esp], str.SteamAppId
call esi
mov edx, eax
test eax, eax
je 0x4029ee
mov esi, eax
mov edi, str.1182900
mov ecx, 8
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x402e12
mov edi, str.752590
mov ecx, 7
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x402e12
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_strtol]
mov dword [0x404100], eax
test byte [0x404020], 8
jne 0x402d88
lea eax, [ebp - 0x9c]
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x3e8
mov dword [esp], 0xffffffff
call dword [sym.imp.ntdll.dll_NtSetInformationProcess]
mov esi, dword [sym.imp.kernel32.dll_CreateEventW]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 0x10
mov dword [ebp - 0xac], eax
mov edi, eax
mov dword [esp + 0xc], str.TABTIP_STARTED_EVENT
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call esi
mov dword [ebp - 0xb0], eax
sub esp, 0x10
test edi, edi
je 0x402e60
mov edx, dword [ebp - 0x9c]
test edx, edx
je 0x402e60
test eax, eax
je 0x402e60
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
sub esp, 8
test eax, eax
js 0x402e81
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_SetEvent]
mov dword [ebp - 0xb8], eax
call eax
lea eax, [ebp - 0x98]
sub esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x4068c8
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x405b48
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x402dc0
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x404104
mov dword [ebp - 0x90], 1
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x9c]
sub esp, 0xc
test eax, eax
js 0x402d70
mov edi, dword [ebp - 0xb4]
lea esi, [ebp - 0x64]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], sym._WindowProc_16
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_RegisterClassW]
sub esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], str.Input
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
sub esp, 0x30
test eax, eax
je 0x402ebc
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0x14], 0
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x8c], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], sym._tabtip_exit_watcher_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov esi, dword [sym.imp.user32.dll_GetMessageW]
mov edi, dword [sym.imp.user32.dll_DispatchMessageW]
sub esp, 0x18
jmp 0x402c64
mov dword [esp], ebx
call dword [sym.imp.user32.dll_TranslateMessage]
sub esp, 4
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
jne 0x402c50
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
mov eax, dword [ebp - 0xb8]
call eax
mov eax, dword [ebp - 0x98]
sub esp, 4
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 0xa4]
mov eax, dword [ebp - 0x98]
sub esp, 4
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x402d38
mov dword [ebp - 0xb4], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [ebp - 0xb4]
sub esp, 4
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x402d38
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x402d21
mov dword [ebp - 0xac], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [ebp - 0xac]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [ebp - 0xb4]
sub esp, 4
jmp 0x402cff
movzx edx, byte [eax + 1]
jmp 0x40297d
test byte [0x404020], 2
jne 0x402de0
mov edx, 0xffffffff
jmp 0x402cd3
mov eax, dword [0x404114]
mov dword [esp + 0xc], str.use_steam_osk_d_n
mov dword [esp + 8], str.tabtip_use_osk_check
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4029fb
test byte [0x404020], 2
je 0x402d79
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_create_IUIAutomation_interface__hr__x_n
jmp 0x402dec
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_add_focus_changed_event_handler__hr__x_n
mov dword [esp + 8], str.create_uia_event_handler
mov dword [esp + 4], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov edx, 0xffffffff
jmp 0x402cd3
test byte [0x404020], 8
jne 0x402e2a
mov dword [0x404114], 0
jmp 0x4029d0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Disabling_OSK_auto_popup_for_appid__s_n
mov dword [esp + 8], str.tabtip_use_osk_check
mov dword [esp + 4], 0x404020
mov dword [esp], 3
mov dword [ebp - 0xac], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0xac]
jmp 0x402e1b
test byte [0x404020], 2
jne 0x402ed3
mov eax, dword [ebp - 0x9c]
mov edx, 0xffffffff
test eax, eax
jne 0x402cdd
jmp 0x402cf5
test byte [0x404020], 2
je 0x402d79
mov dword [esp + 0xc], str.CoInitialize_failed__n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov edx, 0xffffffff
jmp 0x402cd3
test byte [0x404020], 2
je 0x402d79
mov dword [esp + 0xc], str.Failed_to_create_hwnd__n
jmp 0x402e96
mov dword [esp + 0xc], str.Failed_to_create_event_handles__n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402e69