Function at 0x67801e40
Capabilities:
Check if process is running under wine
Delete registry key
Get session user name

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, 0x268
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x254], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x24c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x258], eax
test byte [0x67805018], 8
jne 0x67802060
test esi, esi
je 0x67801f38
cmp byte [esi], 0
je 0x67801f38
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ecx, eax
cmp eax, 0x103
ja 0x6780204d
lea eax, [eax + 1]
lea ebx, [ebp - 0x248]
cmp eax, 4
jae 0x67802198
test eax, eax
je 0x67801ed0
movzx ecx, byte [esi]
mov byte [ebx], cl
test al, 2
jne 0x67802345
lea esi, [esi]
nop
mov eax, dword [ebp - 0x24c]
cmp eax, 0x28
je 0x67801f85
ja 0x67801fc0
cmp eax, 0x10
je 0x67802170
jbe 0x67801f78
cmp dword [ebp - 0x24c], 0x20
jne 0x67802040
mov edx, dword [ebp - 0x24c]
mov eax, ebx
call sym._read_key_container
test eax, eax
je 0x67802378
mov edx, dword [ebp - 0x254]
mov dword [edx], eax
mov eax, 1
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea eax, [ebp - 0x144]
lea ebx, [ebp - 0x248]
mov dword [ebp - 0x144], 0x104
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_GetUserNameA]
sub esp, 8
test eax, eax
jne 0x67801ed0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test eax, eax
je 0x67801f01
cmp eax, 8
jne 0x67802040
mov edx, dword [ebp - 0x24c]
mov eax, ebx
call sym._read_key_container
test eax, eax
je 0x67802210
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x8009000f
xor eax, eax
jmp 0x67801f23
mov edx, dword [ebp - 0x24c]
mov eax, edx
and eax, 0xffffffdf
cmp eax, 0xf0000000
je 0x67802150
cmp edx, 0x30
jne 0x67802040
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x144]
mov dword [esp + 4], str.SoftwareWineCryptoDSS_s
mov dword [esp], ebx
call sym._sprintf.constprop.0
mov eax, 0x80000002
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteKeyExA]
mov eax, dword [ebp - 0x254]
sub esp, 0x10
mov dword [eax], 0
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test byte [0x67805018], 1
jne 0x67802310
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test esi, esi
je 0x67802300
mov eax, esi
shr eax, 0x10
je 0x678021b0
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
mov ebx, eax
sub esp, 8
mov eax, str._invalid_
test ebx, ebx
jne 0x678021c3
movzx eax, byte [esi]
test al, al
je 0x67802358
lea esi, [esi]
mov ecx, ebx
lea ebx, [ebx + 1]
cmp byte [esi + ecx + 1], 0
jne 0x678020a8
mov byte [ebp - 0x144], 0x22
test ebx, ebx
jle 0x678022a9
mov dword [ebp - 0x250], esi
lea ebx, [ebp - 0x143]
jmp 0x67802119
cmp al, 9
je 0x67802298
cmp al, 0xa
jne 0x67802247
mov eax, 0x6e5c
add ebx, 2
mov word [ebx - 2], ax
lea esi, [esi]
lea eax, [ebp - 0x21]
lea edi, [ecx - 1]
cmp ebx, eax
ja 0x678022b8
test ecx, ecx
jle 0x678022b8
mov eax, dword [ebp - 0x250]
mov ecx, edi
movzx eax, byte [eax]
inc dword [ebp - 0x250]
cmp al, 0xd
je 0x67802228
jle 0x678020d8
cmp al, 0x22
je 0x67802280
cmp al, 0x5c
jne 0x67802239
mov eax, 0x5c5c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x678020f8
mov edx, dword [ebp - 0x24c]
mov eax, 0x678070d3
call sym._create_key_container
test eax, eax
jne 0x67801f16
xor eax, eax
jmp 0x6780204f
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x144]
mov dword [esp + 4], str.SoftwareWineCryptoDSS_s
mov dword [esp], ebx
call sym._sprintf.constprop.0
mov eax, 0x80000001
jmp 0x67801ffa
mov edi, dword [esi + eax - 4]
shr ecx, 2
mov dword [ebp + eax - 0x24c], edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x67801ed0
movzx eax, si
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edi, dword [ebp - 0x258]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x254]
mov dword [esp + 0xc], str._p___s___08lx___p_n
mov dword [esp + 0x1c], edi
mov edi, dword [ebp - 0x24c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov dword [esp + 8], 0x67807540
mov dword [esp + 4], 0x67805018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x67801e81
mov edx, dword [ebp - 0x24c]
mov eax, ebx
call sym._create_key_container
jmp 0x67802160
mov eax, 0x725c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x678020f8
lea edi, [eax - 0x20]
mov edx, edi
cmp dl, 0x5e
jbe 0x678022f0
mov edx, eax
mov edi, 0x785c
and eax, 0xf
add ebx, 4
shr dl, 4
mov word [ebx - 4], di
movzx eax, byte [eax + str.0123456789abcdefCPAcquireContext]
movzx edi, dl
movzx edx, byte [edi + str.0123456789abcdefCPAcquireContext]
mov byte [ebx - 1], al
mov byte [ebx - 2], dl
jmp 0x678020f8
mov eax, 0x225c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x678020f8
mov eax, 0x745c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x678020f8
mov edi, ecx
lea ebx, [ebp - 0x143]
lea esi, [esi]
mov byte [ebx], 0x22
test edi, edi
jle 0x6780236a
mov edx, 0x2e2e
mov byte [ebx + 3], 0x2e
lea eax, [ebx + 4]
mov word [ebx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call sym.___wine_dbg_strdup
jmp 0x678021c3
mov byte [ebx], al
inc ebx
jmp 0x678020f8
mov eax, str._null_
jmp 0x678021c3
mov eax, dword [ebp - 0x24c]
mov dword [esp + 0xc], str.unsupported_flags__08lx_n
mov dword [esp + 8], 0x67807540
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x67805018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
xor eax, eax
jmp 0x6780204f
movzx ecx, word [esi + eax - 2]
mov word [ebx + eax - 2], cx
jmp 0x67801ed0
mov eax, 0x2222
lea ebx, [ebp - 0x143]
mov word [ebp - 0x144], ax
lea eax, [ebx + 1]
jmp 0x678022d3
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x80090016
xor eax, eax
jmp 0x67801f23