Function at 0x1000a3e0
Capabilities:
Get session user name
Set registry value

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
mov edx, 2
push edi
xor ecx, ecx
push esi
xor esi, esi
push ebx
xor ebx, ebx
sub esp, 0x90c
mov dword [ebp - 0x89c], eax
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x898], eax
xor eax, eax
mov dword [ebp - 0x894], eax
mov eax, 0x18
mov dword [ebp - 0x8a8], eax
mov eax, 0x10
mov dword [ebp - 0x8a4], eax
mov eax, 0x14
mov dword [ebp - 0x8bc], eax
mov eax, 0x10
mov dword [ebp - 0x8b8], eax
xor eax, eax
mov dword [ebp - 0x888], eax
xor eax, eax
mov dword [ebp - 0x8a0], edx
xor edx, edx
mov dword [ebp - 0x8b4], ecx
mov ecx, 0x18
mov dword [ebp - 0x8b0], ebx
mov ebx, 0x10
mov dword [ebp - 0x884], eax
xor eax, eax
mov dword [ebp - 0x880], eax
xor eax, eax
mov dword [ebp - 0x87c], edx
xor edx, edx
mov dword [ebp - 0x8ac], esi
mov dword [ebp - 0x890], ecx
mov dword [ebp - 0x88c], ebx
mov dword [ebp + eax - 0x670], edx
mov dword [ebp + eax - 0x66c], edx
add eax, 8
cmp eax, 0x218
jb 0x1000a490
test byte [0x10022028], 8
mov ecx, 0x218
mov dword [ebp - 0x670], ecx
mov ebx, 0x10
mov esi, 0x104
mov dword [ebp - 0x66c], ebx
mov dword [ebp - 0x8d8], esi
jne 0x1000ad9f
test edi, edi
je 0x1000b3b4
cmp dword [ebp + 0x14], 2
ja 0x1000b3b4
test byte [0x10022028], 8
jne 0x1000aece
mov eax, dword [edi + 0xc]
test eax, eax
mov edx, eax
je 0x1000a756
mov dword [ebp + 0xc], edi
xor ebx, ebx
mov edi, ebx
jmp 0x1000a519
inc edi
cmp eax, edi
jbe 0x1000a74e
test byte [0x10022028], 8
je 0x1000a510
mov esi, dword [ebp + 0xc]
lea eax, [edi + edi*4]
mov edx, dword [esi + 0x10]
lea esi, [edx + eax*8]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x1000ad30
mov eax, ebx
shr eax, 0x10
je 0x1000acb0
mov dword [esp], ebx
mov eax, 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x1000ad20
cmp word [ebx], 0
je 0x1000ad7e
nop
lea esi, [esi]
mov edx, eax
cmp word [ebx + edx*2 + 2], 0
lea eax, [eax + 1]
jne 0x1000a570
mov dword [ebp - 0x8e4], esi
lea ecx, [ebp - 0x456]
mov eax, 0x224c
mov word [ebp - 0x458], ax
lea eax, [ebp - 0x336]
mov dword [ebp - 0x8e0], edi
mov esi, eax
mov dword [ebp - 0x8dc], ebx
jmp 0x1000a5d7
cmp eax, 9
je 0x1000aca0
cmp eax, 0xa
jne 0x1000ac42
mov word [ecx], 0x6e5c
add ecx, 2
lea eax, [edx - 1]
cmp ecx, esi
ja 0x1000a620
test edx, edx
jle 0x1000a620
mov edx, eax
add dword [ebp - 0x8dc], 2
mov eax, dword [ebp - 0x8dc]
movzx eax, word [eax - 2]
cmp eax, 0xd
je 0x1000ac28
jbe 0x1000a5b0
cmp eax, 0x22
je 0x1000ac90
cmp eax, 0x5c
nop
jne 0x1000ac35
mov word [ecx], 0x5c5c
lea eax, [edx - 1]
add ecx, 2
cmp ecx, esi
jbe 0x1000a5d1
lea esi, [esi]
lea edi, [edi]
test eax, eax
mov edi, dword [ebp - 0x8e0]
mov byte [ecx], 0x22
mov esi, dword [ebp - 0x8e4]
jle 0x1000ad97
mov word [ecx + 1], 0x2e2e
lea eax, [ecx + 4]
mov byte [ecx + 3], 0x2e
mov byte [eax], 0
lea eax, [ebp - 0x458]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0x8dc], eax
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0x24]
mov ebx, eax
mov edx, dword [esi + 0x20]
shr ebx, 0x10
je 0x1000acdd
mov dword [ebp - 0x8e4], edx
movzx eax, byte [esi + 0x1f]
mov dword [ebp - 0x8e0], ecx
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0x1e]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0x1d]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0x1c]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0x1b]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0x1a]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 0x19]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0x18]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 0x16]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x10]
mov dword [esp], 0x10025420
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x8e4]
mov ecx, dword [ebp - 0x8e0]
mov dword [esp + 0x28], ecx
mov ebx, dword [ebp - 0x8dc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov dword [esp + 0x10], edi
inc edi
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, 0x10025668
mov dword [esp + 0xc], eax
mov eax, str.dinput_device_SetActionMap
mov dword [esp + 8], eax
mov eax, 0x10022028
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
cmp eax, edi
ja 0x1000a519
mov edi, dword [ebp + 0xc]
shl eax, 4
mov edx, eax
mov dword [esp], edx
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x8e8], eax
call eax
mov dword [ebp - 0x894], eax
test eax, eax
je 0x1000b3c4
mov eax, dword [edi + 8]
xor ebx, ebx
mov dword [ebp - 0x89c], eax
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x1000a79a
jmp 0x1000a898
inc ebx
cmp dword [edi + 0xc], ebx
jbe 0x1000a898
lea eax, [ebx*4]
mov dword [ebp - 0x8dc], eax
lea edx, [eax + ebx]
mov eax, dword [edi + 0x10]
test byte [eax + edx*8 + 8], 4
lea ecx, [eax + edx*8]
jne 0x1000a790
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
lea edx, [eax + 0x10]
lea eax, [ecx + 0x10]
mov dword [ebp - 0x8e0], eax
mov eax, dword [ecx + 0x10]
cmp dword [esi + 0x10], eax
jne 0x1000a790
mov eax, dword [ecx + 0x14]
cmp dword [edx + 4], eax
jne 0x1000a790
mov eax, dword [ecx + 0x18]
cmp dword [edx + 8], eax
jne 0x1000a790
mov eax, dword [ecx + 0x1c]
cmp dword [edx + 0xc], eax
jne 0x1000a790
mov eax, dword [ebp + 8]
mov esi, dword [ecx + 0x20]
mov ecx, dword [eax + 0x500]
test ecx, ecx
je 0x1000a790
mov eax, dword [eax + 0x4fc]
mov dword [ebp - 0x8e0], eax
shl eax, 4
lea edx, [ecx + eax]
lea eax, [ecx + eax - 0x10]
cmp ecx, edx
jb 0x1000a82e
jmp 0x1000a790
sub eax, 0x10
lea edx, [eax + 0x10]
cmp ecx, edx
jae 0x1000a790
mov edx, dword [eax + 8]
test edx, edx
je 0x1000a820
xor edx, esi
and edx, 0xffffff
jne 0x1000a820
cmp eax, ecx
js 0x1000a790
mov edx, dword [ebp - 0x898]
inc ebx
mov ecx, dword [ebp - 0x894]
shl edx, 4
add edx, ecx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x898]
mov esi, dword [ebp - 0x894]
shl eax, 4
add eax, esi
mov esi, dword [ebp - 0x8dc]
mov dword [eax + 4], esi
inc dword [ebp - 0x898]
cmp dword [edi + 0xc], ebx
ja 0x1000a79a
mov eax, dword [ebp + 8]
add eax, 0x20
mov dword [esp], eax
mov dword [ebp - 0x8e0], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x8a8]
mov ebx, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 4
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0x2c]
mov dword [ebp - 0x8dc], eax
sub esp, 8
test eax, eax
js 0x1000ad40
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, sym._init_object_app_data
mov esi, dword [ebp + 8]
mov ebx, 0x10025f98
mov eax, dword [eax + 0x520]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [eax + 0x14]
test eax, eax
js 0x1000afa6
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x30]
mov eax, dword [eax]
cmp ecx, edx
mov eax, dword [eax + 0x18]
je 0x1000a953
mov dword [ebp - 0x87c], edx
lea edx, [ebp - 0x890]
mov ebx, 4
mov dword [esp + 4], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x880], ecx
mov dword [esp + 8], edx
mov dword [esp], ebx
call eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 0xc
mov eax, dword [eax + 0x18]
mov edx, dword [edi + 0x28]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x8ac], edx
lea edx, [ebp - 0x8bc]
mov dword [esp + 8], edx
mov edx, 1
mov dword [esp + 4], edx
mov dword [esp], ebx
call eax
mov ecx, dword [ebp + 0x10]
sub esp, 0xc
test ecx, ecx
je 0x1000b1d1
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x878]
mov dword [ebp - 0x8e4], eax
lea ecx, [ebp - 0x672]
lea esi, [esi]
movzx edx, word [ebx]
test edx, edx
je 0x1000a9b4
mov word [eax], dx
add eax, 2
add ebx, 2
cmp eax, ecx
jne 0x1000a9a0
mov word [eax], 0
test byte [ebp + 0x14], 1
je 0x1000ae96
xor eax, eax
mov word [ebp - 0x660], ax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x38]
mov edx, dword [esi + 0x24]
lea ebx, [esi + 0x24]
lea eax, [edx - 0x218]
cmp ebx, edx
je 0x1000afdf
mov ecx, dword [ebp + 8]
add ecx, 0x10
jmp 0x1000aa04
mov edx, dword [eax + 0x218]
lea eax, [edx - 0x218]
cmp ebx, edx
je 0x1000afdf
mov edx, dword [ecx]
cmp dword [eax], edx
jne 0x1000a9f0
mov edx, dword [ecx + 4]
cmp dword [eax + 4], edx
jne 0x1000a9f0
mov edx, dword [ecx + 8]
cmp dword [eax + 8], edx
jne 0x1000a9f0
mov edx, dword [ecx + 0xc]
cmp dword [eax + 0xc], edx
jne 0x1000a9f0
lea edx, [ebp - 0x660]
add eax, 0x10
lea ebx, [ebp - 0x45a]
jmp 0x1000aa40
movzx ecx, word [edx]
test ecx, ecx
je 0x1000aa54
mov word [eax], cx
add edx, 2
add eax, 2
cmp edx, ebx
jne 0x1000aa40
mov word [eax], 0
mov eax, dword [ebp + 8]
mov esi, 0x44c
xor ebx, ebx
mov dword [ebp - 0x458], esi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x458]
mov dword [ebp - 0x8d4], ebx
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x3c]
lea eax, [ebp - 0x8d4]
sub esp, 8
mov dword [esp + 4], eax
lea eax, [edi + 0x14]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
sub esp, 8
test eax, eax
mov ebx, eax
jne 0x1000abcd
mov dword [esp], 1
mov ecx, dword [ebp - 0x8d4]
lea eax, [ebp - 0x430]
mov edx, dword [ebp - 0x8e4]
call sym._get_mapping_key
test eax, eax
mov esi, eax
je 0x1000b39d
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1000abaf
mov dword [ebp - 0x8e4], eax
mov esi, edi
jmp 0x1000aafa
inc ebx
cmp dword [esi + 0xc], ebx
jbe 0x1000aba9
mov eax, dword [esi + 0x10]
lea edi, [ebx + ebx*4]
shl edi, 3
add eax, edi
mov edx, dword [eax + 0x10]
cmp dword [ebp - 0x454], edx
jne 0x1000aaf0
mov edx, dword [eax + 0x14]
cmp dword [ebp - 0x450], edx
jne 0x1000aaf0
mov edx, dword [eax + 0x18]
cmp dword [ebp - 0x44c], edx
jne 0x1000aaf0
mov ecx, dword [eax + 0x1c]
cmp dword [ebp - 0x448], ecx
jne 0x1000aaf0
mov edx, dword [eax + 0x24]
test edx, edx
je 0x1000aaf0
mov eax, dword [eax + 4]
inc ebx
mov dword [esp + 0xc], eax
mov eax, 0x10025726
mov dword [esp + 8], eax
mov eax, 9
mov dword [esp + 4], eax
lea eax, [ebp - 0x8ce]
mov dword [esp], eax
call sym._swprintf
mov eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
add eax, edi
add eax, 0x20
mov dword [esp + 0x10], eax
mov eax, 4
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [ebp - 0x8ce]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8e4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
cmp dword [esi + 0xc], ebx
ja 0x1000aafa
mov esi, dword [ebp - 0x8e4]
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x8d4]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
mov eax, dword [ebp - 0x8e0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x894]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
cmp dword [ebp + 0x14], 2
je 0x1000b305
mov ebx, dword [ebp - 0x898]
mov eax, 1
test ebx, ebx
cmovne eax, dword [ebp - 0x8dc]
mov dword [ebp - 0x8dc], eax
mov eax, dword [ebp - 0x8dc]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov word [ecx], 0x725c
add ecx, 2
jmp 0x1000a5ca
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000ad10
mov byte [ecx], 0x5c
mov edi, eax
add ecx, 5
shr edi, 0xc
movzx ebx, byte [edi + str.0123456789abcdefo]
mov edi, eax
shr edi, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefo]
mov edi, eax
shr edi, 4
and eax, 0xf
and edi, 0xf
movzx eax, byte [eax + str.0123456789abcdefo]
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefo]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1000a5ca
mov word [ecx], 0x225c
add ecx, 2
jmp 0x1000a5ca
mov word [ecx], 0x745c
add ecx, 2
jmp 0x1000a5ca
mov dword [esp], 0x10025079
movzx ebx, bx
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf_1
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x8dc], eax
lea eax, [esi + 0x10]
mov ebx, eax
shr ebx, 0x10
jne 0x1000a66f
mov dword [esp], 0x1002540f
movzx eax, ax
mov dword [esp + 4], eax
mov dword [ebp - 0x8e4], edx
mov dword [ebp - 0x8e0], ecx
call sym._wine_dbg_sprintf_1
mov ecx, dword [ebp - 0x8e0]
mov edx, dword [ebp - 0x8e4]
jmp 0x1000a6ea
mov byte [ecx], al
inc ecx
jmp 0x1000a5ca
mov eax, 0x1002506f
mov dword [ebp - 0x8dc], eax
jmp 0x1000a65b
mov eax, 0x10025068
mov dword [ebp - 0x8dc], eax
jmp 0x1000a65b
test byte [0x10022028], 4
jne 0x1000b12d
mov eax, dword [ebp - 0x8e0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x894]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x8dc]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov byte [ebp - 0x456], 0x22
lea ecx, [ebp - 0x456]
mov eax, 0x224c
mov word [ebp - 0x458], ax
lea eax, [ecx + 1]
jmp 0x1000a644
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1000b33d
mov eax, dword [ebp + 0x10]
shr eax, 0x10
je 0x1000b2d2
mov eax, 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x1000b351
mov esi, dword [ebp + 0x10]
cmp word [esi], 0
je 0x1000b37c
mov ecx, esi
lea esi, [esi]
lea edi, [edi]
mov edx, eax
cmp word [ecx + edx*2 + 2], 0
lea eax, [eax + 1]
jne 0x1000adf0
lea ebx, [ebp - 0x336]
mov ecx, 0x224c
mov esi, dword [ebp + 0x10]
mov word [ebp - 0x458], cx
lea ecx, [ebp - 0x456]
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x8dc], ebx
jmp 0x1000ae69
cmp eax, 9
je 0x1000b120
cmp eax, 0xa
jne 0x1000b049
mov word [ecx], 0x6e5c
add ecx, 2
lea esi, [esi]
lea edi, [edi]
cmp ecx, dword [ebp - 0x8dc]
lea eax, [edx - 1]
ja 0x1000b163
test edx, edx
jle 0x1000b163
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp eax, 0xd
je 0x1000b113
jbe 0x1000ae28
cmp eax, 0x22
je 0x1000b094
cmp eax, 0x5c
jne 0x1000b03c
mov word [ecx], 0x5c5c
add ecx, 2
jmp 0x1000ae50
mov eax, dword [ebp - 0x8e4]
lea edx, [ebp - 0x660]
lea ebx, [ebp - 0x672]
nop
lea esi, [esi]
movzx ecx, word [eax]
test ecx, ecx
je 0x1000aec4
mov word [edx], cx
add eax, 2
add edx, 2
cmp eax, ebx
jne 0x1000aeb0
mov word [edx], 0
jmp 0x1000a9cc
lea esi, [edi + 0x44]
mov eax, esi
shr eax, 0x10
je 0x1000b2eb
mov dword [esp], esi
mov eax, 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x1000b347
cmp word [edi + 0x44], 0
je 0x1000b35b
lea esi, [esi]
lea edi, [edi]
mov edx, eax
cmp word [edi + edx*2 + 0x46], 0
lea eax, [eax + 1]
jne 0x1000af10
lea ebx, [ebp - 0x336]
mov eax, 0x224c
mov word [ebp - 0x458], ax
lea ecx, [ebp - 0x456]
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x8dc], ebx
jmp 0x1000af79
cmp eax, 9
je 0x1000b0a1
cmp eax, 0xa
jne 0x1000b0bb
mov word [ecx], 0x6e5c
add ecx, 2
lea esi, [esi]
cmp ecx, dword [ebp - 0x8dc]
lea eax, [edx - 1]
ja 0x1000b1f8
test edx, edx
jle 0x1000b1f8
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp eax, 0xd
je 0x1000b02f
jbe 0x1000af40
cmp eax, 0x22
je 0x1000b106
cmp eax, 0x5c
jne 0x1000b0ae
mov word [ecx], 0x5c5c
add ecx, 2
jmp 0x1000af60
test byte [0x10022028], 4
je 0x1000a90f
mov dword [esp], 2
mov eax, str.dinput_device_SetActionMap
mov esi, str.Failed_to_initialize_action_map_app_data_n
mov dword [esp + 8], eax
mov eax, 0x10022028
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a90f
mov dword [esp], 0x220
mov eax, dword [ebp - 0x8e8]
call eax
test eax, eax
je 0x1000aa59
mov dword [eax + 0x218], ebx
lea edx, [eax + 0x218]
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x21c], ecx
mov dword [ecx], edx
mov dword [esi + 0x28], edx
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x1c]
mov dword [eax + 0xc], edx
jmp 0x1000aa22
mov word [ecx], 0x725c
add ecx, 2
jmp 0x1000af60
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000b32d
mov byte [ecx], 0x5c
mov edi, eax
add ecx, 5
shr edi, 0xc
movzx ebx, byte [edi + str.0123456789abcdefo]
mov edi, eax
shr edi, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefo]
mov edi, eax
shr edi, 4
and eax, 0xf
and edi, 0xf
movzx eax, byte [eax + str.0123456789abcdefo]
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefo]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1000ae50
mov word [ecx], 0x225c
add ecx, 2
jmp 0x1000ae50
mov word [ecx], 0x745c
add ecx, 2
jmp 0x1000af60
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1000b335
mov byte [ecx], 0x5c
mov edi, eax
add ecx, 5
shr edi, 0xc
movzx ebx, byte [edi + str.0123456789abcdefo]
mov edi, eax
shr edi, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefo]
mov edi, eax
shr edi, 4
and eax, 0xf
and edi, 0xf
movzx eax, byte [eax + str.0123456789abcdefo]
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefo]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1000af60
mov word [ecx], 0x225c
add ecx, 2
jmp 0x1000af60
mov word [ecx], 0x725c
add ecx, 2
jmp 0x1000ae50
mov word [ecx], 0x745c
add ecx, 2
jmp 0x1000ae50
mov eax, dword [ebp - 0x8dc]
mov esi, str.Failed_to_set_data_format_from_action_map__hr__lx_n
mov edi, str.dinput_device_SetActionMap
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp], 2
mov dword [esp + 0x10], eax
mov eax, 0x10022028
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000ad4d
mov byte [ecx], 0x22
test eax, eax
mov edi, dword [ebp + 0xc]
jle 0x1000b395
mov word [ecx + 1], 0x2e2e
lea eax, [ecx + 4]
mov byte [ecx + 3], 0x2e
mov byte [eax], 0
lea eax, [ebp - 0x458]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], edi
mov esi, dword [ebp + 0x14]
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, str.iface__p__format__p__username__s__flags__lx_n
mov dword [esp + 0xc], eax
mov eax, str.dinput_device_SetActionMap
mov dword [esp + 8], eax
mov eax, 0x10022028
mov dword [esp + 0x1c], esi
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a4d6
lea eax, [ebp - 0x8d8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x878]
mov dword [esp], eax
mov dword [ebp - 0x8e4], eax
call dword [sym.imp.advapi32.dll_GetUserNameW]
sub esp, 8
jmp 0x1000a9b9
mov byte [ecx], 0x22
test eax, eax
mov edi, dword [ebp + 0xc]
jle 0x1000b374
mov word [ecx + 1], 0x2e2e
lea eax, [ecx + 4]
mov byte [ecx + 3], 0x2e
mov byte [eax], 0
lea eax, [ebp - 0x458]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov esi, eax
lea eax, [edi + 0x14]
mov ebx, dword [edi + 0x24]
mov ecx, eax
shr ecx, 0x10
je 0x1000b315
movzx eax, byte [edi + 0x23]
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0x22]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0x21]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0x20]
mov dword [esp + 0x20], eax
movzx eax, byte [edi + 0x1f]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0x1e]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 0x1d]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 0x1c]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 0x1a]
mov dword [esp + 0xc], eax
movzx eax, word [edi + 0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x14]
mov dword [esp], 0x10025420
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x14], ebx
mov edx, 0x10025640
mov ecx, str.dinput_device_SetActionMap
mov dword [esp + 0x18], esi
mov ebx, 0x10022028
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a4f5
mov dword [esp], 0x10025079
movzx eax, word [ebp + 0x10]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x1000b18f
mov dword [esp], 0x10025079
movzx esi, si
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf_1
mov esi, eax
jmp 0x1000b226
mov edx, 0xb
mov dword [ebp - 0x8dc], edx
jmp 0x1000ac12
mov dword [esp], 0x1002540f
movzx eax, ax
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x1000b29a
mov byte [ecx], al
inc ecx
jmp 0x1000ae50
mov byte [ecx], al
inc ecx
jmp 0x1000af60
mov eax, 0x10025068
jmp 0x1000b18f
mov esi, 0x1002506f
jmp 0x1000b226
mov eax, 0x1002506f
jmp 0x1000b18f
mov byte [ebp - 0x456], 0x22
lea ecx, [ebp - 0x456]
mov ebx, 0x224c
mov word [ebp - 0x458], bx
lea eax, [ecx + 1]
jmp 0x1000b213
mov byte [ebp - 0x456], 0x22
lea ecx, [ebp - 0x456]
mov eax, 0x224c
mov word [ebp - 0x458], ax
lea eax, [ecx + 1]
jmp 0x1000b17e
mov eax, dword [ebp - 0x8d4]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
jmp 0x1000abcd
mov ecx, 0x80070057
mov dword [ebp - 0x8dc], ecx
jmp 0x1000ac12
mov dword [ebp - 0x8dc], 0x8007000e
jmp 0x1000ac12