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

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, 0x6e8
mov eax, dword [ecx]
mov dword [ebp - 0x690], 0x104
mov dword [ebp - 0x6a4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x6a0], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x6b4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x6a8], eax
test byte [0x6dea2028], 8
jne 0x6de8d858
mov eax, dword [ebp - 0x6a0]
test eax, eax
je 0x6de8d180
mov eax, dword [ebp - 0x6a8]
cmp eax, 2
jbe 0x6de8cd63
cmp eax, 4
jne 0x6de8d180
mov edi, dword [ebp - 0x6a0]
mov edx, dword [edi + 0xc]
lea eax, [edx*4]
cmp eax, dword [edi + 8]
jne 0x6de8d180
test byte [0x6dea2028], 8
jne 0x6de8d950
test edx, edx
je 0x6de8d06b
mov eax, dword [ebp - 0x6a0]
xor edi, edi
mov eax, dword [eax + 0x10]
jmp 0x6de8cdab
add edi, 1
cmp edx, edi
jbe 0x6de8cfe2
test byte [0x6dea2028], 8
je 0x6de8cda0
lea edx, [edi + edi*4]
lea esi, [eax + edx*8]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x6de8d570
mov eax, ebx
shr eax, 0x10
je 0x6de8d330
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, 0x6dea506f
sub esp, 8
test eax, eax
jne 0x6de8cee4
cmp word [ebx], 0
je 0x6de8d830
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x6de8ce00
mov eax, 0x224c
mov dword [ebp - 0x6ac], esi
lea ecx, [ebp - 0x462]
mov word [ebp - 0x464], ax
mov dword [ebp - 0x69c], ebx
jmp 0x6de8ce63
cmp ax, 9
je 0x6de8d228
cmp ax, 0xa
jne 0x6de8d1b6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [ebp - 0x342]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x6de8ceb0
test edx, edx
jle 0x6de8ceb0
mov edx, eax
add dword [ebp - 0x69c], 2
mov eax, dword [ebp - 0x69c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x6de8d198
jbe 0x6de8ce30
cmp ax, 0x22
je 0x6de8d210
cmp ax, 0x5c
jne 0x6de8d1a9
mov esi, 0x5c5c
add ecx, 2
lea eax, [edx - 1]
mov word [ecx - 2], si
lea esi, [ebp - 0x342]
cmp ecx, esi
jbe 0x6de8ce5d
lea esi, [esi]
mov byte [ecx], 0x22
mov esi, dword [ebp - 0x6ac]
test eax, eax
jle 0x6de8d849
mov ebx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x464]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ecx, eax
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x69c], eax
lea eax, [esi + 0x10]
mov ebx, eax
shr ebx, 0x10
je 0x6de8d2f8
movzx eax, byte [esi + 0x1f]
mov dword [ebp - 0x6b0], edx
mov dword [ebp - 0x6ac], 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], 0x6dea5420
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x6b0]
mov ecx, dword [ebp - 0x6ac]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0x69c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
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
add edi, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.___lu:_app_data__Ix__semantic__lx__flags__lx__instance__s__obj_id__lx__how__lx__name__s_n
mov dword [esp + 8], str.dinput_device_BuildActionMap
mov dword [esp + 4], 0x6dea2028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov ecx, dword [ebp - 0x6a0]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
cmp edx, edi
ja 0x6de8cdab
lea edx, [edx + edx*4]
lea ecx, [eax + edx*8]
cmp ecx, eax
jbe 0x6de8d06b
mov edi, dword [ebp - 0x6a8]
jmp 0x6de8d006
mov dword [eax + 0x24], 2
add eax, 0x28
cmp ecx, eax
jbe 0x6de8d06b
mov edx, dword [eax + 4]
test edx, edx
je 0x6de8d180
cmp edi, 1
je 0x6de8d240
mov ebx, dword [eax + 8]
test bl, 2
jne 0x6de8cff8
and edx, 0xf0000000
mov dword [eax + 0x24], 0
cmp edx, 0x80000000
je 0x6de8d2b0
and ebx, 4
jne 0x6de8cfff
mov ebx, dword [0x6deb0aa8]
mov edx, dword [0x6deb0ab0]
add eax, 0x28
mov dword [eax - 0x18], ebx
mov ebx, dword [0x6deb0aac]
mov dword [eax - 0x10], edx
mov edx, dword [0x6deb0ab4]
mov dword [eax - 0x14], ebx
mov dword [eax - 0xc], edx
cmp ecx, eax
ja 0x6de8d006
test byte [ebp - 0x6a8], 4
je 0x6de8d360
mov eax, dword [ebp - 0x6a4]
mov ebx, dword [eax + 0x4fc]
mov dword [esp + 4], 4
mov dword [ebp - 0x6a8], ebx
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_calloc]
mov edi, eax
test eax, eax
je 0x6de8de15
mov eax, dword [ebp - 0x6a0]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov dword [ebp - 0x69c], ecx
cmp esi, ecx
jae 0x6de8d52e
shl ebx, 4
mov dword [ebp - 0x6b4], esi
mov eax, esi
mov esi, ecx
mov dword [ebp - 0x6bc], ebx
mov ebx, dword [ebp - 0x6a4]
mov dword [ebp - 0x6ac], edi
add ebx, 0x10
jmp 0x6de8d0fb
add eax, 0x28
cmp esi, eax
jbe 0x6de8d580
mov edi, dword [eax + 0x24]
test edi, edi
je 0x6de8d0f0
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x6de8d0f0
lea edi, [eax + 0x10]
mov edx, dword [ebx]
mov dword [ebp - 0x6b0], edi
cmp dword [eax + 0x10], edx
jne 0x6de8d0f0
mov edx, dword [ebx + 4]
cmp dword [eax + 0x14], edx
jne 0x6de8d0f0
mov edi, dword [ebx + 8]
cmp dword [eax + 0x18], edi
jne 0x6de8d0f0
mov edi, dword [ebx + 0xc]
cmp dword [eax + 0x1c], edi
jne 0x6de8d0f0
mov edi, dword [ebp - 0x6a4]
mov edx, dword [edi + 0x500]
mov edi, dword [ebp - 0x6bc]
add edi, edx
mov dword [ebp - 0x6b0], edx
mov dword [ebp - 0x6b8], edi
cmp edx, edi
jae 0x6de8d0f0
mov edi, dword [ebp - 0x6ac]
cmp ecx, dword [edx + 8]
je 0x6de8dd80
add edx, 0x10
cmp dword [ebp - 0x6b8], edx
ja 0x6de8d15b
mov dword [ebp - 0x6ac], edi
jmp 0x6de8d0f0
mov eax, 0x80070057
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6de8ce50
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x6de8d350
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefo]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefo]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefo]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefo]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x6de8ce50
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6de8ce50
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6de8ce50
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x69c], ebx
cmp ebx, dword [0x6deb0aa8]
je 0x6de8d2c0
mov ebx, dword [ebp - 0x6a4]
mov esi, ebx
add esi, 0x10
mov dword [ebp - 0x6ac], esi
mov esi, ebx
mov ebx, dword [ebp - 0x69c]
cmp ebx, dword [esi + 0x10]
jne 0x6de8cfff
mov ebx, dword [ebp - 0x6ac]
mov ebx, dword [ebx + 4]
cmp dword [eax + 0x14], ebx
jne 0x6de8cfff
mov ebx, dword [ebp - 0x6ac]
mov ebx, dword [ebx + 8]
cmp dword [eax + 0x18], ebx
jne 0x6de8cfff
mov ebx, dword [ebp - 0x6ac]
mov ebx, dword [ebx + 0xc]
cmp dword [eax + 0x1c], ebx
jne 0x6de8cfff
jmp 0x6de8d01a
and ebx, 0xfffffffb
mov dword [eax + 8], ebx
jmp 0x6de8d040
mov esi, dword [0x6deb0aac]
cmp dword [eax + 0x14], esi
jne 0x6de8d251
mov esi, dword [0x6deb0ab0]
cmp dword [eax + 0x18], esi
jne 0x6de8d251
mov esi, dword [0x6deb0ab4]
cmp dword [eax + 0x1c], esi
jne 0x6de8d251
jmp 0x6de8d01a
movzx eax, ax
mov dword [esp], 0x6dea540f
mov dword [esp + 4], eax
mov dword [ebp - 0x6b0], edx
mov dword [ebp - 0x6ac], ecx
call sym._wine_dbg_sprintf_1
mov ecx, dword [ebp - 0x6ac]
mov edx, dword [ebp - 0x6b0]
jmp 0x6de8cf79
movzx ebx, bx
mov dword [esp], 0x6dea5079
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf_1
mov ecx, eax
jmp 0x6de8cee4
mov byte [ecx], al
add ecx, 1
jmp 0x6de8ce50
mov edx, dword [ebp - 0x6b4]
mov ebx, dword [ebp - 0x6b4]
lea eax, [ebp - 0x66c]
lea ecx, [ebp - 0x466]
test edx, edx
je 0x6de8dddd
movzx edx, word [ebx]
test dx, dx
je 0x6de8d396
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x6de8d380
xor edx, edx
mov word [eax], dx
mov edi, dword [ebp - 0x6a4]
lea edx, [ebp - 0x464]
mov dword [ebp - 0x464], 0x44c
mov eax, dword [edi]
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [eax + 0x3c]
mov edi, dword [ebp - 0x6a0]
lea eax, [ebp - 0x68c]
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
mov ebx, eax
test eax, eax
jne 0x6de8d078
mov dword [esp], 0
mov ecx, dword [ebp - 0x68c]
lea edx, [ebp - 0x66c]
lea eax, [ebp - 0x43c]
call sym._get_mapping_key
mov dword [ebp - 0x6a8], eax
test eax, eax
je 0x6de8ddfe
mov eax, dword [edi + 0xc]
test eax, eax
je 0x6de8d4fc
lea esi, [ebp - 0x67e]
mov ecx, edi
nop
lea esi, [esi]
mov eax, dword [ecx + 0x10]
lea edi, [ebx + ebx*4]
mov dword [ebp - 0x69c], ecx
mov dword [ebp - 0x684], 4
shl edi, 3
mov eax, dword [eax + edi + 4]
mov dword [esp + 8], 0x6dea5726
mov dword [esp + 4], 9
mov dword [esp + 0xc], eax
mov dword [esp], esi
call sym._swprintf
lea eax, [ebp - 0x684]
mov dword [esp + 4], esi
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x688]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x6a8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x69c]
sub esp, 0x18
test eax, eax
jne 0x6de8d4f0
mov eax, dword [ecx + 0x10]
mov edx, dword [ebp - 0x688]
mov dword [eax + edi + 0x20], edx
mov eax, dword [ecx + 0x10]
mov edx, dword [ebp - 0x460]
mov dword [eax + edi + 0x10], edx
mov edx, dword [ebp - 0x45c]
mov dword [eax + edi + 0x14], edx
mov edx, dword [ebp - 0x458]
mov dword [eax + edi + 0x18], edx
mov edx, dword [ebp - 0x454]
mov dword [eax + edi + 0x1c], edx
mov eax, dword [ecx + 0x10]
mov dword [eax + edi + 0x24], 0x20
add ebx, 1
cmp dword [ecx + 0xc], ebx
ja 0x6de8d430
mov eax, dword [ebp - 0x6a8]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x68c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
jmp 0x6de8d078
mov edi, dword [ebp - 0x6a0]
mov edx, dword [ebp - 0x6a8]
test edx, edx
je 0x6de8db20
xor eax, eax
jmp 0x6de8d54b
add eax, 1
cmp edx, eax
je 0x6de8db20
mov ecx, dword [edi + eax*4]
test ecx, ecx
je 0x6de8d540
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov ecx, 0x6dea5068
jmp 0x6de8cee4
mov ecx, dword [ebp - 0x6a4]
mov esi, dword [ebp - 0x6b4]
lea eax, [ecx + 0x48]
mov dword [ebp - 0x6b4], eax
jmp 0x6de8d5af
add esi, 0x28
cmp dword [ebp - 0x69c], esi
jbe 0x6de8d6b0
mov ebx, dword [esi + 0x24]
test ebx, ebx
jne 0x6de8d5a0
mov eax, dword [esi + 8]
test al, 4
jne 0x6de8d5a0
mov edx, dword [esi + 4]
test dh, 0x40
jne 0x6de8d5a0
mov ebx, dword [ebp - 0x6a8]
mov edi, dword [ecx + 0x500]
shl ebx, 4
add ebx, edi
mov dword [ebp - 0x6b0], ebx
cmp edi, ebx
jae 0x6de8d5a0
and eax, 1
mov dword [ebp - 0x6c0], ecx
mov ebx, edx
mov dword [ebp - 0x6b8], eax
mov dword [ebp - 0x6bc], esi
mov esi, edi
mov eax, esi
mov ecx, dword [ebp - 0x6ac]
sub eax, edi
sar eax, 4
mov ecx, dword [ecx + eax*4]
test ecx, ecx
jne 0x6de8d7f0
mov eax, dword [ebp - 0x6b4]
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._device_object_matches_semantic
test eax, eax
je 0x6de8d7f0
mov edx, dword [ebp - 0x6b8]
mov eax, dword [esi + 8]
test edx, edx
je 0x6de8d64f
test eax, 0x1000000
je 0x6de8d7f0
mov ecx, dword [ebp - 0x6c0]
mov ebx, esi
mov esi, dword [ebp - 0x6bc]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x10]
add esi, 0x28
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 [ebp - 0x6ac]
sub ebx, dword [ecx + 0x500]
sar ebx, 4
mov dword [eax + ebx*4], 1
mov eax, dword [ecx + 0x4fc]
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x69c], esi
ja 0x6de8d5af
mov eax, dword [ebp - 0x6a0]
mov edi, dword [ebp - 0x6ac]
mov edx, dword [eax + 0x10]
cmp dword [ebp - 0x69c], edx
jbe 0x6de8d52e
mov ecx, dword [ebp - 0x6a4]
mov dword [ebp - 0x6a0], edi
mov ebx, edx
lea eax, [ecx + 0x48]
mov dword [ebp - 0x6ac], eax
jmp 0x6de8d6f7
add ebx, 0x28
cmp dword [ebp - 0x69c], ebx
jbe 0x6de8d528
mov esi, dword [ebx + 0x24]
test esi, esi
jne 0x6de8d6e8
mov eax, dword [ebx + 8]
test al, 4
jne 0x6de8d6e8
mov edx, dword [ebx + 4]
test dh, 0x40
je 0x6de8d6e8
mov esi, dword [ebp - 0x6a8]
mov edi, dword [ecx + 0x500]
shl esi, 4
add esi, edi
mov dword [ebp - 0x6a4], esi
cmp edi, esi
jae 0x6de8d6e8
and eax, 1
mov dword [ebp - 0x6b8], ecx
mov esi, edx
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 0x6b4], ebx
mov ebx, edi
mov eax, ebx
mov ecx, dword [ebp - 0x6a0]
sub eax, edi
sar eax, 4
mov ecx, dword [ecx + eax*4]
test ecx, ecx
jne 0x6de8d810
mov eax, dword [ebp - 0x6ac]
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._device_object_matches_semantic
test eax, eax
je 0x6de8d810
mov edx, dword [ebp - 0x6b0]
mov eax, dword [ebx + 8]
test edx, edx
je 0x6de8d793
test eax, 0x1000000
je 0x6de8d810
mov ecx, dword [ebp - 0x6b8]
mov esi, ebx
mov ebx, dword [ebp - 0x6b4]
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 - 0x6a0]
sub esi, dword [ecx + 0x500]
sar esi, 4
mov dword [eax + esi*4], 1
mov eax, dword [ecx + 0x4fc]
mov dword [ebp - 0x6a8], eax
jmp 0x6de8d6e8
add esi, 0x10
cmp dword [ebp - 0x6b0], esi
ja 0x6de8d5f9
mov esi, dword [ebp - 0x6bc]
mov ecx, dword [ebp - 0x6c0]
jmp 0x6de8d5a0
add ebx, 0x10
cmp dword [ebp - 0x6a4], ebx
ja 0x6de8d741
mov ebx, dword [ebp - 0x6b4]
mov ecx, dword [ebp - 0x6b8]
jmp 0x6de8d6e8
mov eax, 0x224c
mov byte [ebp - 0x462], 0x22
lea ecx, [ebp - 0x462]
mov word [ebp - 0x464], ax
lea eax, [ecx + 1]
jmp 0x6de8ced1
mov eax, dword [ebp - 0x6b4]
test eax, eax
je 0x6de8dd6e
shr eax, 0x10
je 0x6de8db40
mov edi, dword [ebp - 0x6b4]
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x6dea506f
sub esp, 8
test eax, eax
jne 0x6de8db59
cmp word [edi], 0
je 0x6de8dd9b
mov ecx, edi
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x6de8d8a8
mov ecx, 0x224c
mov esi, dword [ebp - 0x6b4]
lea edi, [ebp - 0x342]
mov word [ebp - 0x464], cx
lea ecx, [ebp - 0x462]
jmp 0x6de8d915
cmp ax, 9
je 0x6de8dc38
cmp ax, 0xa
jne 0x6de8dbc9
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x6de8dd08
cmp ecx, edi
ja 0x6de8dd08
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x6de8dc50
jbe 0x6de8d8d8
cmp ax, 0x22
je 0x6de8dc20
cmp ax, 0x5c
jne 0x6de8dbbc
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x6de8d900
lea ebx, [edi + 0x44]
mov eax, ebx
shr eax, 0x10
je 0x6de8dd40
mov dword [esp + 4], 0xffffffff
mov esi, 0x6dea506f
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x6de8da5e
mov ecx, dword [ebp - 0x6a0]
cmp word [ecx + 0x44], 0
je 0x6de8ddbc
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 0x46], 0
jne 0x6de8d990
mov esi, 0x224c
mov dword [ebp - 0x69c], ebx
lea ecx, [ebp - 0x462]
lea edi, [ebp - 0x342]
mov word [ebp - 0x464], si
jmp 0x6de8d9ed
cmp ax, 9
je 0x6de8dcc0
cmp ax, 0xa
jne 0x6de8dc6e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x6de8da30
cmp ecx, edi
ja 0x6de8da30
mov edx, eax
add dword [ebp - 0x69c], 2
mov eax, dword [ebp - 0x69c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x6de8dcf0
jbe 0x6de8d9c0
cmp ax, 0x22
je 0x6de8dcd8
cmp ax, 0x5c
jne 0x6de8dc61
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x6de8d9e0
mov byte [ecx], 0x22
test eax, eax
jle 0x6de8ddd5
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x464]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov esi, eax
mov eax, dword [ebp - 0x6a0]
mov ebx, dword [eax + 0x24]
add eax, 0x14
mov edi, eax
shr edi, 0x10
je 0x6de8dba4
mov edi, dword [ebp - 0x6a0]
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], 0x6dea5420
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6dea5640
mov dword [esp + 8], str.dinput_device_BuildActionMap
mov dword [esp + 4], 0x6dea2028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp - 0x6a0]
mov edx, dword [eax + 0xc]
jmp 0x6de8cd89
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
movzx eax, word [ebp - 0x6b4]
mov dword [esp], 0x6dea5079
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, eax
mov eax, dword [ebp - 0x6a8]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], str.iface__p__format__p__username__s__flags__lx_n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x6a0]
mov dword [esp + 8], str.dinput_device_BuildActionMap
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x6a4]
mov dword [esp + 4], 0x6dea2028
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6de8cd41
movzx eax, ax
mov dword [esp], 0x6dea540f
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x6de8dade
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x6de8dd5a
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefo]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefo]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 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 0x6de8d900
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6de8d900
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6de8d900
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6de8d900
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x6de8dd64
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefo]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefo]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefo]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefo]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x6de8d9e0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6de8d9e0
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x6de8d9e0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6de8d9e0
mov byte [ecx], 0x22
test eax, eax
jle 0x6de8ddb4
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x464]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x6de8db59
movzx ebx, bx
mov dword [esp], 0x6dea5079
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf_1
mov esi, eax
jmp 0x6de8da5e
mov byte [ecx], al
add ecx, 1
jmp 0x6de8d900
mov byte [ecx], al
add ecx, 1
jmp 0x6de8d9e0
mov edx, 0x6dea5068
jmp 0x6de8db59
sub edx, dword [ebp - 0x6b0]
mov dword [ebp - 0x6ac], edi
sar edx, 4
mov dword [edi + edx*4], 1
jmp 0x6de8d0f0
mov eax, 0x224c
mov byte [ebp - 0x462], 0x22
lea ecx, [ebp - 0x462]
mov word [ebp - 0x464], ax
lea eax, [ecx + 1]
jmp 0x6de8dd23
mov edi, 0x224c
mov byte [ebp - 0x462], 0x22
lea ecx, [ebp - 0x462]
mov word [ebp - 0x464], di
lea eax, [ecx + 1]
jmp 0x6de8da4b
lea eax, [ebp - 0x690]
mov dword [esp + 4], eax
lea eax, [ebp - 0x66c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetUserNameW]
sub esp, 8
jmp 0x6de8d39b
mov eax, dword [ebp - 0x68c]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
jmp 0x6de8d078
mov eax, 0x8007000e
jmp 0x6de8d185