Function at 0x1000ca60
Capabilities:
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov eax, 0x104
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c4
test byte [0x10022028], 8
mov dword [ebp - 0x684], eax
jne 0x1000d548
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1000cea0
cmp dword [ebp + 0x14], 2
jbe 0x1000ca9f
cmp dword [ebp + 0x14], 4
jne 0x1000cea0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [edx*4]
cmp eax, dword [edi + 8]
jne 0x1000cea0
test byte [0x10022028], 8
jne 0x1000d628
test edx, edx
je 0x1000cd93
mov eax, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [eax + 0x10]
jmp 0x1000cae9
inc edi
cmp edx, edi
jbe 0x1000cd0e
test byte [0x10022028], 8
je 0x1000cae0
lea edx, [edi + edi*4]
lea esi, [eax + edx*8]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x1000d270
mov eax, ebx
shr eax, 0x10
je 0x1000d020
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 0x1000d258
cmp word [ebx], 0
je 0x1000d520
lea esi, [esi]
lea edi, [edi]
mov edx, eax
cmp word [ebx + edx*2 + 2], 0
lea eax, [eax + 1]
jne 0x1000cb40
mov dword [ebp - 0x68c], esi
lea ecx, [ebp - 0x456]
mov eax, 0x224c
mov word [ebp - 0x458], ax
mov dword [ebp - 0x688], ebx
jmp 0x1000cb9d
cmp eax, 9
je 0x1000cec0
cmp eax, 0xa
jne 0x1000ceda
mov word [ecx], 0x6e5c
add ecx, 2
lea ebx, [ebp - 0x336]
lea eax, [edx - 1]
cmp ecx, ebx
ja 0x1000cbe0
test edx, edx
jle 0x1000cbe0
mov edx, eax
add dword [ebp - 0x688], 2
mov eax, dword [ebp - 0x688]
movzx eax, word [eax - 2]
cmp eax, 0xd
je 0x1000ceb0
jbe 0x1000cb70
cmp eax, 0x22
je 0x1000cf28
cmp eax, 0x5c
jne 0x1000cecd
mov word [ecx], 0x5c5c
lea ebx, [ebp - 0x336]
add ecx, 2
lea eax, [edx - 1]
cmp ecx, ebx
jbe 0x1000cb97
mov byte [ecx], 0x22
test eax, eax
mov esi, dword [ebp - 0x68c]
jle 0x1000d539
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 - 0x688], eax
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0x24]
mov ebx, eax
mov edx, dword [esi + 0x20]
shr ebx, 0x10
je 0x1000cff0
mov dword [ebp - 0x690], edx
movzx eax, byte [esi + 0x1f]
mov dword [ebp - 0x68c], 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 - 0x690]
mov ecx, dword [ebp - 0x68c]
mov dword [esp + 0x28], ecx
mov ebx, dword [ebp - 0x688]
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 esi, str.___lu:_app_data__Ix__semantic__lx__flags__lx__instance__s__obj_id__lx__how__lx__name__s_n
mov dword [esp + 0x10], edi
inc edi
mov dword [esp + 0xc], esi
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, str.dinput_device_BuildActionMap
mov dword [esp + 8], eax
mov eax, 0x10022028
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_1
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + 0x10]
cmp edx, edi
ja 0x1000cae9
lea edx, [edx + edx*4]
lea ecx, [eax + edx*8]
cmp ecx, eax
jbe 0x1000cd93
mov esi, dword [ebp + 0x14]
jmp 0x1000cd2e
mov dword [eax + 0x24], 2
add eax, 0x28
cmp ecx, eax
jbe 0x1000cd93
mov edx, dword [eax + 4]
test edx, edx
je 0x1000cea0
cmp esi, 1
je 0x1000cf38
mov ebx, dword [eax + 8]
test bl, 2
jne 0x1000cd20
mov dword [eax + 0x24], 0
and edx, 0xf0000000
cmp edx, 0x80000000
je 0x1000cfa8
test bl, 4
jne 0x1000cd27
mov ebx, dword [0x10030a48]
add eax, 0x28
mov edx, dword [0x10030a50]
mov dword [eax - 0x18], ebx
mov ebx, dword [0x10030a4c]
mov dword [eax - 0x10], edx
mov edx, dword [0x10030a54]
mov dword [eax - 0x14], ebx
mov dword [eax - 0xc], edx
cmp ecx, eax
ja 0x1000cd2e
test byte [ebp + 0x14], 4
je 0x1000d050
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x4fc]
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x68c], ebx
call dword [sym.imp.ucrtbase.dll_calloc]
test eax, eax
mov edi, eax
je 0x1000dac7
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov dword [ebp - 0x688], ecx
cmp esi, ecx
jae 0x1000d216
mov dword [ebp - 0x698], esi
shl ebx, 4
mov eax, esi
mov dword [ebp - 0x6a0], ebx
mov ebx, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x690], edi
add ebx, 0x10
jmp 0x1000ce1b
add eax, 0x28
cmp esi, eax
jbe 0x1000d280
mov edi, dword [eax + 0x24]
test edi, edi
je 0x1000ce10
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1000ce10
mov edx, dword [ebx]
lea edi, [eax + 0x10]
cmp dword [eax + 0x10], edx
mov dword [ebp - 0x694], edi
jne 0x1000ce10
mov edx, dword [ebx + 4]
cmp dword [eax + 0x14], edx
jne 0x1000ce10
mov edi, dword [ebx + 8]
cmp dword [eax + 0x18], edi
jne 0x1000ce10
mov edi, dword [ebx + 0xc]
cmp dword [eax + 0x1c], edi
jne 0x1000ce10
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x500]
mov edi, dword [ebp - 0x6a0]
mov dword [ebp - 0x694], edx
add edi, edx
mov dword [ebp - 0x69c], edi
cmp edx, edi
jae 0x1000ce10
mov edi, dword [ebp - 0x690]
cmp ecx, dword [edx + 8]
je 0x1000da30
add edx, 0x10
cmp dword [ebp - 0x69c], edx
ja 0x1000ce78
mov dword [ebp - 0x690], edi
jmp 0x1000ce10
mov eax, 0x80070057
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov word [ecx], 0x725c
add ecx, 2
jmp 0x1000cb8a
mov word [ecx], 0x745c
add ecx, 2
jmp 0x1000cb8a
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x1000d040
mov byte [ecx], 0x5c
mov esi, eax
add ecx, 5
shr esi, 0xc
movzx ebx, byte [esi + str.0123456789abcdefo]
mov esi, eax
shr esi, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefo]
mov esi, eax
shr esi, 4
and eax, 0xf
and esi, 0xf
movzx eax, byte [eax + str.0123456789abcdefo]
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefo]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1000cb8a
mov word [ecx], 0x225c
add ecx, 2
jmp 0x1000cb8a
mov edi, dword [eax + 0x10]
lea ebx, [eax + 0x10]
cmp edi, dword [0x10030a48]
mov dword [ebp - 0x688], edi
je 0x1000cfb8
mov edi, dword [ebp + 8]
lea ebx, [edi + 0x10]
mov dword [ebp - 0x68c], ebx
mov ebx, dword [ebp - 0x688]
cmp ebx, dword [edi + 0x10]
jne 0x1000cd27
mov ebx, dword [ebp - 0x68c]
mov ebx, dword [ebx + 4]
cmp dword [eax + 0x14], ebx
jne 0x1000cd27
mov ebx, dword [ebp - 0x68c]
mov ebx, dword [ebx + 8]
cmp dword [eax + 0x18], ebx
jne 0x1000cd27
mov ebx, dword [ebp - 0x68c]
mov ebx, dword [ebx + 0xc]
cmp dword [eax + 0x1c], ebx
jne 0x1000cd27
jmp 0x1000cd42
and ebx, 0xfffffffb
mov dword [eax + 8], ebx
jmp 0x1000cd68
mov edi, dword [0x10030a4c]
cmp dword [eax + 0x14], edi
jne 0x1000cf4c
mov edi, ebx
mov ebx, dword [0x10030a50]
cmp dword [edi + 8], ebx
jne 0x1000cf4c
mov ebx, dword [0x10030a54]
cmp dword [edi + 0xc], ebx
jne 0x1000cf4c
jmp 0x1000cd42
mov dword [esp], 0x1002540f
movzx eax, ax
mov dword [esp + 4], eax
mov dword [ebp - 0x690], edx
mov dword [ebp - 0x68c], ecx
call sym._wine_dbg_sprintf_1
mov ecx, dword [ebp - 0x68c]
mov edx, dword [ebp - 0x690]
jmp 0x1000cca4
mov dword [esp], 0x10025079
movzx ebx, bx
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf_1
mov dword [ebp - 0x688], eax
jmp 0x1000cc15
mov byte [ecx], al
inc ecx
jmp 0x1000cb8a
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x1000da8f
mov ebx, dword [ebp + 0x10]
lea esi, [ebp - 0x660]
lea ecx, [ebp - 0x45a]
mov eax, esi
lea esi, [esi]
movzx edx, word [ebx]
test edx, edx
je 0x1000d084
mov word [eax], dx
add eax, 2
add ebx, 2
cmp eax, ecx
jne 0x1000d070
mov word [eax], 0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x458]
mov ecx, 0x44c
mov dword [ebp - 0x458], ecx
mov edi, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [eax + 0x3c]
lea eax, [ebp - 0x680]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
add eax, 0x14
mov dword [esp], eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
sub esp, 8
test eax, eax
mov ebx, eax
jne 0x1000cd9d
mov ecx, dword [ebp - 0x680]
lea eax, [ebp - 0x430]
mov edx, esi
mov dword [esp], 0
call sym._get_mapping_key
mov dword [ebp - 0x688], eax
test eax, eax
je 0x1000dab0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x1000d1e4
lea esi, [ebp - 0x672]
mov ecx, eax
lea esi, [esi]
lea edi, [edi]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx + 0x10]
mov edi, 4
mov dword [ebp - 0x678], edi
lea edi, [ebx + ebx*4]
shl edi, 3
mov eax, dword [eax + edi + 4]
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, 0x10025726
mov dword [esp + 8], eax
mov eax, 9
mov dword [esp + 4], eax
call sym._swprintf
lea eax, [ebp - 0x678]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x67c]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x688]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0xc]
sub esp, 0x18
test eax, eax
jne 0x1000d1da
mov eax, dword [ecx + 0x10]
mov edx, dword [ebp - 0x67c]
mov dword [eax + edi + 0x20], edx
mov eax, dword [ecx + 0x10]
mov edx, dword [ebp - 0x454]
mov dword [eax + edi + 0x10], edx
mov edx, dword [ebp - 0x450]
mov dword [eax + edi + 0x14], edx
mov edx, dword [ebp - 0x44c]
mov dword [eax + edi + 0x18], edx
mov edx, dword [ebp - 0x448]
mov dword [eax + edi + 0x1c], edx
mov edx, 0x20
mov eax, dword [ecx + 0x10]
mov dword [eax + edi + 0x24], edx
inc ebx
cmp dword [ecx + 0xc], ebx
ja 0x1000d120
mov eax, dword [ebp - 0x688]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x680]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
jmp 0x1000cd9d
mov edi, dword [ebp - 0x690]
mov edx, dword [ebp - 0x68c]
test edx, edx
je 0x1000d708
xor eax, eax
jmp 0x1000d239
inc eax
cmp edx, eax
je 0x1000d708
mov ecx, dword [edi + eax*4]
test ecx, ecx
je 0x1000d230
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, 0x1002506f
mov dword [ebp - 0x688], eax
jmp 0x1000cc15
mov eax, 0x10025068
mov dword [ebp - 0x688], eax
jmp 0x1000cc15
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x698]
mov ecx, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0x698], eax
jmp 0x1000d2af
add esi, 0x28
cmp dword [ebp - 0x688], esi
jbe 0x1000d3b0
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x1000d2a0
mov eax, dword [esi + 8]
test al, 4
jne 0x1000d2a0
mov edx, dword [esi + 4]
test dh, 0x40
jne 0x1000d2a0
mov ebx, dword [ebp - 0x68c]
mov edi, dword [ecx + 0x500]
shl ebx, 4
add ebx, edi
mov dword [ebp - 0x694], ebx
cmp edi, ebx
jae 0x1000d2a0
mov dword [ebp - 0x6a0], esi
and eax, 1
mov esi, edi
mov dword [ebp - 0x69c], eax
mov ebx, edx
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x690]
mov eax, esi
sub eax, edi
sar eax, 4
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x1000d4e0
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x698]
mov ecx, 1
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._device_object_matches_semantic
test eax, eax
je 0x1000d4e0
mov edx, dword [ebp - 0x69c]
mov eax, dword [esi + 8]
test edx, edx
je 0x1000d34d
test eax, 0x1000000
je 0x1000d4e0
mov ebx, esi
mov esi, dword [ebp - 0x6a0]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x20], eax
add esi, 0x28
mov eax, dword [ecx + 0x10]
mov dword [esi - 0x18], eax
mov eax, dword [ecx + 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [esi - 0x10], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi - 4], 0x20
mov dword [esi - 0xc], eax
mov eax, dword [ecx + 0x500]
sub ebx, eax
mov eax, dword [ebp - 0x690]
sar ebx, 4
cmp dword [ebp - 0x688], esi
mov dword [eax + ebx*4], 1
mov eax, dword [ecx + 0x4fc]
mov dword [ebp - 0x68c], eax
ja 0x1000d2af
lea esi, [esi]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x690]
mov ecx, dword [eax + 0x10]
cmp dword [ebp - 0x688], ecx
jbe 0x1000d216
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0x698], eax
jmp 0x1000d3ef
add ebx, 0x28
cmp dword [ebp - 0x688], ebx
jbe 0x1000d210
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x1000d3e0
mov eax, dword [ebx + 8]
test al, 4
jne 0x1000d3e0
mov edx, dword [ebx + 4]
test dh, 0x40
je 0x1000d3e0
mov esi, dword [ebp - 0x68c]
mov edi, dword [ecx + 0x500]
shl esi, 4
add esi, edi
mov dword [ebp - 0x694], esi
cmp edi, esi
jae 0x1000d3e0
mov dword [ebp - 0x6a0], ebx
and eax, 1
mov esi, edi
mov dword [ebp - 0x69c], eax
mov ebx, edx
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x690]
mov eax, esi
sub eax, edi
sar eax, 4
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x1000d500
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x698]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._device_object_matches_semantic
test eax, eax
je 0x1000d500
mov edx, dword [ebp - 0x69c]
mov eax, dword [esi + 8]
test edx, edx
je 0x1000d486
test eax, 0x1000000
je 0x1000d500
mov ebx, dword [ebp - 0x6a0]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x20], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebx + 0x24], 0x20
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x690]
mov edi, dword [ecx + 0x500]
sub esi, edi
sar esi, 4
mov dword [eax + esi*4], 1
mov eax, dword [ecx + 0x4fc]
mov dword [ebp - 0x68c], eax
jmp 0x1000d3e0
add esi, 0x10
cmp dword [ebp - 0x694], esi
ja 0x1000d2f6
mov esi, dword [ebp - 0x6a0]
mov ecx, dword [ebp + 8]
jmp 0x1000d2a0
add esi, 0x10
cmp dword [ebp - 0x694], esi
ja 0x1000d436
mov ebx, dword [ebp - 0x6a0]
mov ecx, dword [ebp + 8]
jmp 0x1000d3e0
mov byte [ebp - 0x456], 0x22
lea ecx, [ebp - 0x456]
mov eax, 0x224c
mov word [ebp - 0x458], ax
lea eax, [ecx + 1]
jmp 0x1000cbfe
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1000da24
mov eax, dword [ebp + 0x10]
shr eax, 0x10
je 0x1000d720
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 0x1000da1a
mov edi, dword [ebp + 0x10]
cmp word [edi], 0
je 0x1000da4d
mov ecx, edi
nop
mov edx, eax
cmp word [ecx + edx*2 + 2], 0
lea eax, [eax + 1]
jne 0x1000d590
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x336]
mov ecx, 0x224c
mov word [ebp - 0x458], cx
lea ecx, [ebp - 0x456]
jmp 0x1000d5f5
cmp eax, 9
je 0x1000d868
cmp eax, 0xa
jne 0x1000d882
mov word [ecx], 0x6e5c
add ecx, 2
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x1000d968
cmp ecx, edi
ja 0x1000d968
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp eax, 0xd
je 0x1000d858
jbe 0x1000d5c0
cmp eax, 0x22
je 0x1000d8d0
cmp eax, 0x5c
jne 0x1000d875
mov word [ecx], 0x5c5c
add ecx, 2
jmp 0x1000d5e0
lea esi, [edi + 0x44]
mov eax, esi
shr eax, 0x10
je 0x1000d9f0
mov dword [esp], esi
mov ecx, 0xffffffff
mov dword [esp + 4], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x1000d779
mov edi, dword [ebp + 0xc]
cmp word [edi + 0x44], 0
je 0x1000da6e
mov ecx, edi
lea esi, [esi]
lea edi, [edi]
mov edx, eax
cmp word [ecx + edx*2 + 0x46], 0
lea eax, [eax + 1]
jne 0x1000d670
lea ecx, [ebp - 0x456]
mov ebx, 0x224c
mov word [ebp - 0x458], bx
lea edi, [ebp - 0x336]
jmp 0x1000d6d5
cmp eax, 9
je 0x1000d958
cmp eax, 0xa
jne 0x1000d8fa
mov word [ecx], 0x6e5c
add ecx, 2
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x1000d9a0
cmp ecx, edi
ja 0x1000d9a0
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp eax, 0xd
je 0x1000d8e0
jbe 0x1000d6a0
cmp eax, 0x22
je 0x1000d948
cmp eax, 0x5c
jne 0x1000d8ed
mov word [ecx], 0x5c5c
add ecx, 2
jmp 0x1000d6c0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], 0x10025079
movzx eax, word [ebp + 0x10]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov esi, str.iface__p__format__p__username__s__flags__lx_n
mov dword [esp + 0xc], esi
mov edi, dword [ebp + 0x14]
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], edi
mov edi, str.dinput_device_BuildActionMap
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
mov eax, 0x10022028
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000ca84
mov ebx, 0x1002506f
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x24]
add eax, 0x14
mov edi, eax
shr edi, 0x10
je 0x1000d9d0
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x23]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x22]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x21]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x1f]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x1e]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x1d]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x1a]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x10025420
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x10], eax
mov eax, 0x10025640
mov edx, 0x10022028
mov dword [esp + 0xc], eax
mov eax, str.dinput_device_BuildActionMap
mov dword [esp + 4], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 8], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
jmp 0x1000cac5
mov word [ecx], 0x725c
add ecx, 2
jmp 0x1000d5e0
mov word [ecx], 0x745c
add ecx, 2
jmp 0x1000d5e0
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x1000da0a
mov byte [ecx], 0x5c
mov ebx, eax
add ecx, 5
shr ebx, 0xc
movzx ebx, byte [ebx + str.0123456789abcdefo]
mov byte [ecx - 4], bl
mov ebx, eax
shr ebx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefo]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr ebx, 4
movzx eax, byte [eax + str.0123456789abcdefo]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefo]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1000d5e0
mov word [ecx], 0x225c
add ecx, 2
jmp 0x1000d5e0
mov word [ecx], 0x725c
add ecx, 2
jmp 0x1000d6c0
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x1000da12
mov byte [ecx], 0x5c
mov ebx, eax
add ecx, 5
shr ebx, 0xc
movzx ebx, byte [ebx + str.0123456789abcdefo]
mov byte [ecx - 4], bl
mov ebx, eax
shr ebx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefo]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr ebx, 4
movzx eax, byte [eax + str.0123456789abcdefo]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefo]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1000d6c0
mov word [ecx], 0x225c
add ecx, 2
jmp 0x1000d6c0
mov word [ecx], 0x745c
add ecx, 2
jmp 0x1000d6c0
mov byte [ecx], 0x22
test eax, eax
jle 0x1000da66
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
jmp 0x1000d734
mov byte [ecx], 0x22
test eax, eax
jle 0x1000da87
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 ebx, eax
jmp 0x1000d77e
mov dword [esp], 0x1002540f
movzx eax, ax
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x1000d816
mov dword [esp], 0x10025079
movzx esi, si
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf_1
mov ebx, eax
jmp 0x1000d77e
mov byte [ecx], al
inc ecx
jmp 0x1000d5e0
mov byte [ecx], al
inc ecx
jmp 0x1000d6c0
mov eax, 0x1002506f
jmp 0x1000d734
mov eax, 0x10025068
jmp 0x1000d734
mov dword [ebp - 0x690], edi
mov ecx, dword [ebp - 0x694]
sub edx, ecx
sar edx, 4
mov dword [edi + edx*4], 1
jmp 0x1000ce10
mov byte [ebp - 0x456], 0x22
lea ecx, [ebp - 0x456]
mov eax, 0x224c
mov word [ebp - 0x458], ax
lea eax, [ecx + 1]
jmp 0x1000d980
mov byte [ebp - 0x456], 0x22
lea ecx, [ebp - 0x456]
mov esi, 0x224c
mov word [ebp - 0x458], si
lea eax, [ecx + 1]
jmp 0x1000d9b8
lea eax, [ebp - 0x684]
mov dword [esp + 4], eax
lea esi, [ebp - 0x660]
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_GetUserNameW]
sub esp, 8
jmp 0x1000d089
mov eax, dword [ebp - 0x680]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
jmp 0x1000cd9d
mov eax, 0x8007000e
jmp 0x1000cea5