Function at 0x401ff0
Capabilities:
Create process on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x9c8
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x404020], 8
jne 0x402318
test esi, esi
je 0x40218c
lea ebx, [ebp - 0x818]
xor eax, eax
mov ecx, 0x200
mov dword [ebp - 0x954], 0
mov edi, ebx
lea edx, [ebp - 0x980]
mov dword [ebp - 0x950], 0
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [esp + 4], edx
mov dword [ebp - 0x94c], 0
mov dword [ebp - 0x948], 0
mov dword [esp], esi
call dword [eax + 0x54]
mov eax, dword [esi]
lea edx, [ebp - 0x97c]
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x5c]
mov eax, dword [esi]
lea edx, [ebp - 0x954]
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0xac]
mov eax, dword [esi]
lea edx, [ebp - 0x978]
sub esp, 8
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7539
mov dword [esp], esi
call dword [eax + 0x28]
mov eax, dword [esi]
lea edx, [ebp - 0x968]
sub esp, 0xc
mov dword [esp + 8], edx
mov dword [esp + 4], 0x755e
mov dword [esp], esi
call dword [eax + 0x28]
mov eax, dword [0x404114]
sub esp, 0xc
test eax, eax
je 0x4020ef
cmp dword [ebp - 0x980], 0xc354
je 0x4023a0
mov eax, dword [0x404050]
test eax, eax
jne 0x4021a0
cmp word [ebp - 0x818], 0
je 0x402151
mov eax, ebx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x402110
cmp eax, ebx
je 0x402151
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.shell32.dll_ShellExecuteW]
sub esp, 0x18
mov edx, dword [ebp - 0x980]
lea eax, [edx - 0xc350]
cmp edx, 0xc34f
mov edx, 0
cmovle eax, edx
mov dword [ebp - 0x980], eax
test byte [0x404020], 8
jne 0x4021e0
mov eax, dword [ebp - 0x97c]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, dword [0x404100]
test eax, eax
jne 0x402350
mov dword [esp + 4], str.steam:__close_keyboard
mov dword [esp], ebx
call dword [sym.imp.user32.dll_wsprintfW]
test byte [0x404020], 8
jne 0x402372
mov dword [0x404050], 0
jmp 0x4020fc
mov edi, dword [ebp - 0x948]
mov eax, dword [eax*4 + 0x407aa0]
mov ebx, dword [ebp - 0x97c]
mov dword [ebp - 0x990], edi
mov edi, dword [ebp - 0x94c]
mov dword [ebp - 0x9a0], eax
mov dword [ebp - 0x994], edi
mov edi, dword [ebp - 0x950]
mov dword [ebp - 0x998], edi
mov edi, dword [ebp - 0x954]
mov dword [ebp - 0x99c], edi
test ebx, ebx
je 0x4025da
mov eax, ebx
shr eax, 0x10
je 0x4025b8
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x4024ae
cmp word [ebx], 0
je 0x4025e4
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x402268
mov ecx, 0x224c
mov dword [ebp - 0x98c], ebx
lea esi, [ebp - 0x822]
mov word [ebp - 0x944], cx
lea ecx, [ebp - 0x942]
jmp 0x4022d5
cmp ax, 9
je 0x4025a0
cmp ax, 0xa
jne 0x40251a
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
nop
lea eax, [edx - 1]
cmp ecx, esi
ja 0x402480
test edx, edx
jle 0x402480
mov edx, eax
add dword [ebp - 0x98c], 2
mov eax, dword [ebp - 0x98c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x402588
jbe 0x402298
cmp ax, 0x22
je 0x402570
cmp ax, 0x5c
jne 0x40250d
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x4022c0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.This__p__sender__p_n
mov dword [esp + 8], str.uia_focus_event_HandleFocusChangedEvent
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402019
mov dword [esp + 8], eax
mov dword [esp + 4], str.steam:__close_keyboard_AppID_d
mov dword [esp], ebx
call dword [sym.imp.user32.dll_wsprintfW]
test byte [0x404020], 8
je 0x4021cb
mov dword [esp + 0xc], str.Keyboard_down__n
mov dword [esp + 8], str.uia_focus_event_HandleFocusChangedEvent
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4021cb
cmp word [ebp - 0x978], 0xb
jne 0x4020ef
cmp word [ebp - 0x970], 0xffff
jne 0x4020ef
cmp word [ebp - 0x968], 0xb
je 0x40263e
mov eax, dword [0x404100]
test eax, eax
je 0x402605
mov dword [esp + 8], eax
mov esi, dword [sym.imp.user32.dll_wsprintfW]
mov dword [esp + 4], str.steam:__open_keyboard_AppID_d
mov dword [esp], ebx
call esi
lea eax, [ebx + eax*2]
mov dword [ebp - 0x98c], eax
mov edi, dword [ebp - 0x94c]
mov eax, dword [ebp - 0x954]
mov edx, dword [ebp - 0x950]
mov dword [ebp - 0x990], edi
mov ecx, eax
mov edi, dword [ebp - 0x948]
or ecx, edx
or ecx, dword [ebp - 0x990]
or ecx, edi
je 0x40245d
mov ecx, dword [ebp - 0x990]
sub edi, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edi
sub ecx, eax
cmp dword [0x404100], 0
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
je 0x402626
mov eax, dword [ebp - 0x98c]
mov dword [esp + 4], str.XPosition_dYPosition_dWidth_dHeight_dMode0
mov dword [esp], eax
call esi
test byte [0x404020], 8
jne 0x402651
mov dword [0x404050], 1
jmp 0x4020fc
mov byte [ecx], 0x22
test eax, eax
jle 0x4025fd
mov ebx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x944]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.element_name:__s__ct_id__s__rect___d___d______d___d__n
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x994]
mov dword [esp + 8], str.uia_focus_event_HandleFocusChangedEvent
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x998]
mov dword [esp + 4], 0x404020
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x99c]
mov dword [esp], 3
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x9a0]
mov dword [esp + 0x14], eax
call sym._wine_dbg_log.constprop.0
jmp 0x40217a
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4025d2
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefGCC:__GNU__10.3.0]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x4022c0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4022c0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4022c0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4022c0
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf
mov edx, eax
jmp 0x4024ae
mov byte [ecx], al
inc ecx
jmp 0x4022c0
mov edx, str._null_
jmp 0x4024ae
mov eax, 0x224c
mov byte [ebp - 0x942], 0x22
lea ecx, [ebp - 0x942]
mov word [ebp - 0x944], ax
lea eax, [ecx + 1]
jmp 0x40249b
mov dword [esp + 4], str.steam:__open_keyboard
mov esi, dword [sym.imp.user32.dll_wsprintfW]
mov dword [esp], ebx
call esi
lea eax, [ebx + eax*2]
mov dword [ebp - 0x98c], eax
jmp 0x4023f7
mov eax, dword [ebp - 0x98c]
mov dword [esp + 4], str._XPosition_dYPosition_dWidth_dHeight_dMode0
mov dword [esp], eax
call esi
jmp 0x40245d
cmp word [ebp - 0x960], 0xffff
jne 0x4023ca
jmp 0x4020ef
mov dword [esp + 0xc], str.Keyboard_up__n
mov dword [esp + 8], str.uia_focus_event_HandleFocusChangedEvent
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40246a