Function at 0x401cb0
Capabilities:
Check if process is running under wine
Decompress data using ucl

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
je 0x401ed0
ja 0x401d00
cmp eax, 0x18
je 0x401ee8
cmp eax, 0x4e
jne 0x401cf1
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
cmp eax, 0xffffff36
je 0x401f30
cmp eax, 0xffffff9b
je 0x401f00
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp eax, 0x111
jne 0x401cf1
mov eax, dword [ebp + 0x10]
shr eax, 0x10
je 0x401d26
cmp eax, 1
jne 0x401cf1
movzx eax, word [ebp + 0x10]
mov dword [ebp + 0x10], eax
cmp eax, 0x3f4
je 0x401fa0
cmp dword [ebp + 0x10], 0x4b1
je 0x401f90
cmp dword [ebp + 0x10], 0x4b2
jne 0x401cf1
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call esi
mov dword [ebp - 0x50], eax
sub esp, 0x10
test eax, eax
jle 0x401f60
xor edi, edi
jmp 0x401d9a
inc edi
cmp dword [ebp - 0x50], edi
je 0x401f60
mov dword [ebp - 0x4c], edi
mov dword [esp + 0xc], 2
mov dword [esp + 8], edi
mov dword [esp + 4], 0x102c
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
je 0x401d90
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 4
test byte [0x415030], 8
jne 0x402093
test edi, edi
je 0x40219b
mov dword [esp], 0x4172c0
call sym._keypath
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [0x415a44]
mov dword [esp + 8], 0
mov dword [esp], eax
call sym._set_reg_key
lea edx, [ebp - 0x48]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x104b
mov dword [esp], ebx
call esi
mov eax, dword [ebp - 0x28]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x1008
mov dword [esp + 8], eax
mov dword [esp], ebx
call esi
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], 8
sub esp, 0x10
mov dword [ebp - 0x3c], 3
mov dword [esp + 0xc], edx
mov dword [ebp - 0x38], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 0x102b
mov dword [esp], ebx
call esi
sub esp, 0x10
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SetFocus]
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetParent]
mov ecx, dword [ebp + 8]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x468
mov dword [esp], eax
call esi
sub esp, 0x10
jmp 0x401cf1
mov eax, dword [ebp + 8]
call sym._init_appsheet
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._set_window_title
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov edx, eax
mov eax, dword [ebp + 8]
sub esp, 8
call sym._on_selection_change
jmp 0x401cf1
call sym._apply
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
jmp 0x401cf1
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 4
test byte [0x415030], 8
jne 0x40205b
mov dword [ebp - 0x4c], 0xffffffff
jmp 0x401de3
mov eax, dword [ebp + 8]
call sym._on_add_app_click
jmp 0x401cf1
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x147
mov dword [esp + 4], 0x3f4
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov ecx, dword [0x415a48]
sub esp, 0x14
test ecx, ecx
je 0x4020e4
movzx edx, byte [0x415030]
and edx, 8
test eax, eax
jne 0x4020c0
test dl, dl
jne 0x40214f
mov dword [esp], 0x4172c0
call sym._keypath
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [0x415a44]
mov dword [esp + 8], str.Version
mov dword [esp], eax
call sym._set_reg_key
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetParent]
mov ecx, dword [ebp + 8]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x401cf1
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], str.selection_d_n
mov dword [esp + 8], str.on_remove_app_click
mov dword [esp + 4], 0x415030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov dword [ebp - 0x4c], 0xffffffff
jmp 0x401de3
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.selection_d_n
mov dword [esp + 8], str.on_remove_app_click
mov dword [esp + 4], 0x415030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401ddb
lea eax, [eax + eax*4 - 5]
mov ebx, dword [eax*8 + 0x4236e0]
test dl, dl
jne 0x4020f8
mov dword [esp], 0x4172c0
call sym._keypath
mov dword [esp + 0xc], ebx
jmp 0x40200b
lea eax, [eax + eax*4]
lea eax, [eax*8 + 0x4236e0]
call sym._set_winver
jmp 0x402024
test ebx, ebx
je 0x40218d
mov eax, ebx
shr eax, 0x10
je 0x402178
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
push edx
push edx
test eax, eax
jne 0x402194
mov eax, ebx
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.setting_Version_key_to_value__s_n
mov dword [esp + 8], str.on_winver_change
mov dword [esp + 4], 0x415030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4020cf
mov dword [esp + 0xc], str.default_selected_so_removing_current_setting_n
mov dword [esp + 8], str.on_winver_change
mov dword [esp + 4], 0x415030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401ff7
movzx eax, bx
mov dword [esp], 0x417310
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402125
mov eax, 0x41733c
jmp 0x402125
mov eax, 0x417332
jmp 0x402125
mov dword [esp + 8], 0x190
mov dword [esp + 4], str..._src_wine_programs_winecfg_appdefaults.c
mov dword [esp], str.selection___0
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop
nop
nop
nop
nop