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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x9c0
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp eax, 0x110
je 0x404850
ja 0x4047f0
cmp eax, 0x18
je 0x405070
cmp eax, 0x4e
jne case.0x404804.1301
mov eax, dword [ecx + 8]
cmp eax, 0xffffff37
je 0x404822
cmp eax, 0xffffff9b
je 0x405500
cmp eax, 0xffffff36
jne case.0x404804.1301
lea eax, [ebp - 0x890]
mov dword [esp + 0xc], 0x41a2a8
mov dword [esp + 0x10], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x41a258
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x404810
mov eax, 0x13
xor edx, edx
mov ecx, dword [0x428014]
mov dword [ebp - 0x410], 0
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x9a8], eax
test ecx, ecx
je 0x405a56
mov dword [ebp - 0x990], edi
mov edi, edx
jmp 0x404661
mov eax, dword [ebp - 0x810]
lea ecx, [ebp - 0x610]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x405940
mov eax, dword [0x42800c]
lea ecx, [ebp - 0x410]
mov eax, dword [eax + esi + 0x18]
mov eax, dword [eax*8 + 0x41a0a4]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x610]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x423cbc
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x405850
mov eax, dword [ebp - 0x610]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x810]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
add edi, 1
cmp edi, dword [0x428014]
jae 0x405a50
mov eax, dword [ebp - 0x890]
mov ecx, dword [ebp - 0x9a8]
mov esi, edi
shl esi, 5
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov ecx, dword [0x42800c]
mov ecx, dword [ecx + esi]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x14]
sub esp, 0xc
mov ebx, eax
test eax, eax
jns 0x4045c0
test byte [0x417220], 4
je 0x404652
mov eax, dword [0x42800c]
mov esi, dword [eax + esi]
test esi, esi
je 0x405eaa
mov eax, esi
shr eax, 0x10
je 0x405e3e
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x419ead
sub esp, 8
test eax, eax
jne 0x405ad5
cmp word [esi], 0
je 0x405ebe
mov esi, esi
lea edi, [edi]
mov edx, eax
lea eax, [eax + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x4046f0
mov eax, 0x224c
mov dword [ebp - 0x994], ebx
lea ecx, [ebp - 0x20e]
mov word [ebp - 0x210], ax
jmp 0x40475b
cmp ax, 9
je 0x405c40
cmp ax, 0xa
jne 0x405c6f
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x405aa1
lea edx, [ebp - 0xee]
cmp ecx, edx
ja 0x405aa1
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x405c51
jbe 0x404720
cmp ax, 0x22
je 0x405cc0
cmp ax, 0x5c
jne 0x405c62
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x404740
shr edx, 0x10
cmp edx, 1
jne case.0x404804.1301
mov ecx, str.DefaultInput
mov edx, 0x51a
mov eax, edi
call sym._set_reg_device
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp eax, 0x111
jne case.0x404804.1301
movzx eax, dx
sub eax, 0x514
cmp eax, 0xd
ja case.0x404804.1301
jmp dword [eax*4 + 0x41a018]
test byte [0x417220], 2
jne 0x405e11
call sym._apply
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [sym.imp.user32.dll_SetWindowLongW]
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test byte [0x417220], 8
jne 0x4054d0
mov ebx, dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [esp], 0
mov dword [ebp - 0x994], ebx
call ebx
mov esi, dword [sym.imp.user32.dll_LoadStringW]
lea edx, [ebp - 0x610]
sub esp, 4
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], 0x516
mov dword [esp], eax
mov dword [ebp - 0x998], esi
call esi
sub esp, 0x10
mov dword [esp], 0
call ebx
lea edx, [ebp - 0x910]
sub esp, 4
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
mov dword [esp + 4], 0x517
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x410]
sub esp, 4
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x51f
mov dword [esp], eax
call esi
lea eax, [ebp - 0x98c]
sub esp, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x41a2a8
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x41a258
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jns 0x405370
mov dword [ebp - 0x9ac], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x99c], eax
lea eax, [ebp - 0x890]
mov dword [ebp - 0x9a0], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x9a8], eax
mov eax, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp + 0x10], ebx
mov dword [esp], edi
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 4], 0x518
mov dword [ebp - 0x990], eax
call eax
mov eax, esi
sub esp, 0x14
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x518
call eax
mov eax, esi
sub esp, 0x14
mov dword [esp + 0x10], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 4], 0x519
call eax
mov eax, esi
sub esp, 0x14
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x519
call eax
mov eax, esi
sub esp, 0x14
mov dword [esp + 0x10], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 4], 0x51a
call eax
mov eax, esi
sub esp, 0x14
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x51a
call eax
mov eax, esi
sub esp, 0x14
mov dword [esp + 0x10], ebx
mov ebx, 0x522
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 4], 0x51b
call eax
mov eax, esi
xor esi, esi
sub esp, 0x14
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x51b
call eax
mov dword [ebp - 0x9a4], edi
mov edi, dword [ebp - 0x99c]
sub esp, 0x14
mov dword [esp], 0
mov eax, dword [ebp - 0x994]
add esi, 1
call eax
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x998]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edi
call eax
mov eax, dword [ebp - 0x9a4]
sub esp, 0x10
mov dword [esp], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 4], 0x521
call eax
mov ebx, dword [esi*8 + 0x41a0a0]
sub esp, 0x14
test ebx, ebx
jne 0x404ac5
mov edi, dword [ebp - 0x9a4]
mov dword [esp + 4], 0x526
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp], edi
call esi
lea edx, [ebp - 0x988]
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x980]
mov edx, 0x66666667
sub eax, dword [ebp - 0x988]
lea ecx, [eax + eax*2]
sub esp, 8
mov eax, ecx
sar ecx, 0x1f
mov dword [esp], 0
imul edx
mov eax, dword [ebp - 0x994]
sar edx, 1
sub edx, ecx
mov ebx, edx
call eax
mov ecx, dword [ebp - 0x9a0]
mov edx, dword [ebp - 0x998]
sub esp, 4
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x520
mov dword [esp], eax
call edx
mov eax, dword [ebp - 0x9a0]
mov dword [ebp - 0x978], 0xe
sub esp, 0x10
cmp word [ebp - 0x890], 0
mov dword [ebp - 0x96c], eax
je 0x405a80
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x404be8
sub eax, dword [ebp - 0x9a0]
sar eax, 1
lea edx, [ebp - 0x978]
mov dword [ebp - 0x968], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 0x10], edx
mov dword [ebp - 0x970], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1061
mov dword [esp + 4], 0x526
mov dword [esp], edi
call eax
mov eax, dword [ebp - 0x994]
sub esp, 0x14
mov dword [esp], 0
call eax
mov edx, dword [ebp - 0x9a0]
mov ecx, dword [ebp - 0x998]
sub esp, 4
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
mov dword [esp + 4], 0x527
mov dword [esp], eax
call ecx
mov eax, dword [ebp - 0x9a0]
lea edx, [ebp - 0x978]
sub esp, 0x10
cmp word [ebp - 0x890], 0
mov dword [ebp - 0x96c], eax
je 0x405a70
nop
add eax, 2
cmp word [eax], 0
jne 0x404c90
sub eax, dword [ebp - 0x9a0]
sar eax, 1
mov dword [ebp - 0x968], eax
mov eax, dword [ebp - 0x980]
sub eax, dword [ebp - 0x988]
mov dword [esp + 0x10], edx
sub eax, ebx
mov dword [esp + 0xc], 1
mov dword [ebp - 0x970], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 8], 0x1061
mov dword [esp + 4], 0x526
mov dword [esp], edi
call eax
sub esp, 0x14
mov dword [esp + 4], 0x521
mov dword [esp], edi
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_EnableWindow]
mov eax, dword [ebp - 0x9ac]
sub esp, 8
test eax, eax
je 0x405340
mov dword [esp + 0xc], 0
xor ebx, ebx
mov dword [esp + 8], str.DefaultOutput
mov dword [esp + 4], str.SoftwareWineDrivers_
mov dword [esp], Ordinal_2
call sym._get_reg_key
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.DefaultVoiceOutput
mov dword [esp + 4], str.SoftwareWineDrivers_
mov dword [esp], Ordinal_2
mov dword [ebp - 0x9b0], eax
call sym._get_reg_key
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.DefaultInput
mov dword [esp + 4], str.SoftwareWineDrivers_
mov dword [esp], Ordinal_2
mov dword [ebp - 0x9b4], eax
call sym._get_reg_key
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.DefaultVoiceInput
mov dword [esp + 4], str.SoftwareWineDrivers_
mov dword [esp], Ordinal_2
mov dword [ebp - 0x9a4], eax
call sym._get_reg_key
mov dword [ebp - 0x9ac], eax
mov eax, dword [0x428014]
test eax, eax
jne 0x404de4
jmp 0x405130
cmp dword [0x428014], ebx
jbe 0x405130
mov esi, ebx
mov eax, dword [0x42800c]
mov dword [ebp - 0x9a0], ebx
add ebx, 1
shl esi, 5
add eax, esi
mov ecx, dword [eax]
test ecx, ecx
je 0x404dd8
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 4], 0x518
mov dword [esp], edi
call eax
mov edx, dword [0x42800c]
mov eax, dword [ebp - 0x990]
sub esp, 0x14
add edx, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x151
mov dword [esp + 4], 0x518
mov dword [esp], edi
call eax
mov eax, dword [ebp - 0x9b0]
sub esp, 0x14
test eax, eax
je 0x404e81
mov dword [esp + 4], eax
mov eax, dword [0x42800c]
mov eax, dword [eax + esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x405090
mov eax, dword [0x42800c]
mov eax, dword [eax + esi + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 4], 0x519
mov dword [esp], edi
call eax
mov ecx, dword [0x42800c]
mov eax, dword [ebp - 0x990]
sub esp, 0x14
add ecx, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 0x151
mov dword [esp + 4], 0x519
mov dword [esp], edi
call eax
mov eax, dword [ebp - 0x9b4]
sub esp, 0x14
test eax, eax
je 0x404f09
mov dword [esp + 4], eax
mov eax, dword [0x42800c]
mov eax, dword [eax + esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4050f8
mov edx, dword [0x42800c]
mov eax, dword [ebp - 0x9a0]
mov dword [ebp - 0x94c], 5
mov dword [ebp - 0x944], 0
add edx, esi
mov dword [ebp - 0x948], eax
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x938], ecx
cmp word [ecx], 0
je 0x405a40
mov eax, ecx
lea esi, [esi]
lea edi, [edi]
add eax, 2
cmp word [eax], 0
jne 0x404f50
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x934], eax
lea eax, [ebp - 0x94c]
mov dword [ebp - 0x92c], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x104d
mov dword [esp + 4], 0x526
mov dword [esp], edi
call eax
mov eax, dword [0x42800c]
sub esp, 0x14
mov eax, dword [eax + esi + 0x18]
mov dword [esp], 0
mov esi, dword [eax*8 + 0x41a0a0]
mov eax, dword [ebp - 0x994]
call eax
mov edx, dword [ebp - 0x99c]
mov ecx, dword [ebp - 0x998]
sub esp, 4
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x9a0]
mov eax, dword [ebp - 0x99c]
mov dword [ebp - 0x94c], 1
mov dword [ebp - 0x944], 1
sub esp, 0x10
cmp word [ebp - 0x210], 0
mov dword [ebp - 0x948], ecx
mov dword [ebp - 0x938], eax
je 0x405a30
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x405020
sub eax, dword [ebp - 0x99c]
sar eax, 1
mov dword [ebp - 0x934], eax
lea eax, [ebp - 0x94c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x104c
mov dword [esp + 4], 0x526
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x404dd8
mov dword [esp], edi
call sym._set_window_title
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x990]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x518
mov dword [esp], edi
call eax
mov eax, dword [0x42800c]
sub esp, 0x14
mov dword [esp + 0x10], 0
mov eax, dword [eax + esi + 0x18]
mov dword [esp + 8], 0x14e
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 4], 0x521
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x404e81
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x990]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x519
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x404f09
mov eax, dword [sym.imp.ucrtbase.dll_wcscmp]
mov esi, dword [0x428010]
xor ebx, ebx
mov dword [ebp - 0x994], eax
test esi, esi
jne 0x4051e4
jmp 0x4052e0
mov eax, dword [0x428008]
mov eax, dword [eax + esi + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 4], 0x51b
mov dword [esp], edi
call eax
mov edx, dword [0x428008]
mov eax, dword [ebp - 0x990]
sub esp, 0x14
add edx, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x151
mov dword [esp + 4], 0x51b
mov dword [esp], edi
call eax
mov eax, dword [ebp - 0x9ac]
sub esp, 0x14
test eax, eax
je 0x4051d8
mov dword [esp + 4], eax
mov eax, dword [0x428008]
mov eax, dword [eax + esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4052b0
cmp dword [0x428010], ebx
jbe 0x4052e0
mov esi, ebx
mov eax, dword [0x428008]
add ebx, 1
shl esi, 5
add eax, esi
mov edx, dword [eax]
test edx, edx
je 0x4051d8
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 4], 0x51a
mov dword [esp], edi
call eax
mov edx, dword [0x428008]
mov eax, dword [ebp - 0x990]
sub esp, 0x14
add edx, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x151
mov dword [esp + 4], 0x51a
mov dword [esp], edi
call eax
mov eax, dword [ebp - 0x9a4]
sub esp, 0x14
test eax, eax
je 0x405150
mov dword [esp + 4], eax
mov eax, dword [0x428008]
mov eax, dword [eax + esi]
mov dword [esp], eax
mov eax, dword [ebp - 0x994]
call eax
test eax, eax
jne 0x405150
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x990]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x51a
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x405150
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x990]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x51b
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x4051d8
mov eax, dword [ebp - 0x9b0]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x9b4]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x9a4]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x9ac]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x9a8]
mov dword [esp], edi
mov dword [esp + 4], 0x515
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_SetDlgItemTextW]
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea eax, [ebp - 0x910]
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x610]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9a8]
mov dword [esp], eax
call sym._swprintf.constprop.0
jmp 0x405312
mov dword [esp], 0x42800c
mov eax, dword [ebp - 0x98c]
mov ecx, 0x428014
xor edx, edx
call sym._load_devices
mov eax, dword [ebp - 0x98c]
mov ecx, 0x428010
mov dword [esp], 0x428008
mov edx, 1
call sym._load_devices
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x99c], eax
mov eax, dword [ebp - 0x98c]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
mov edx, dword [eax]
mov dword [ebp - 0x9a0], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x419ff4
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0xc
test eax, eax
js 0x405a90
mov eax, dword [ebp - 0x890]
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x9a8], ecx
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
test eax, eax
js 0x405598
mov eax, dword [ebp - 0x810]
mov ecx, dword [ebp - 0x99c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x423410
mov dword [esp], eax
call dword [edx + 0x14]
mov esi, eax
mov eax, dword [ebp - 0x810]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x890]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test esi, esi
js 0x4055a9
mov dword [ebp - 0x9ac], 0
mov eax, dword [ebp - 0x208]
cmp word [eax], 0
jne 0x405bd0
mov eax, dword [ebp - 0x99c]
mov dword [esp], eax
call sym._PropVariantClear_4
mov eax, dword [ebp - 0x98c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x404967
mov dword [esp + 0xc], 0x419ff0
mov dword [esp + 8], str.initAudioDlg
mov dword [esp + 4], 0x417220
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40485d
mov dword [esp + 0x10], 2
mov ebx, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x100c
mov dword [esp + 4], 0x526
mov dword [esp], edi
call ebx
sub esp, 0x14
test eax, eax
js 0x405820
shl eax, 5
add eax, dword [0x42800c]
mov dword [esp + 0x10], 0
mov eax, dword [eax + 0x18]
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x521
mov dword [esp + 0xc], eax
mov dword [esp], edi
call ebx
sub esp, 0x14
mov dword [esp + 4], 0x521
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_EnableWindow]
sub esp, 8
jmp case.0x404804.1301
mov eax, dword [ebp - 0x890]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [ebp - 0x9ac], 0
jmp 0x4054a4
shr edx, 0x10
cmp edx, 1
jne case.0x404804.1301
mov ecx, str.DefaultVoiceOutput
mov edx, 0x519
jmp 0x4047a2
shr edx, 0x10
cmp edx, 1
jne case.0x404804.1301
mov ecx, str.DefaultOutput
mov edx, 0x518
jmp 0x4047a2
mov dword [esp + 8], 0x40005
mov dword [esp + 4], 0
mov dword [esp], 0x51c
call dword [sym.imp.winmm.dll_PlaySoundW]
sub esp, 0xc
test eax, eax
jne case.0x404804.1301
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [esp], 0
lea ebx, [ebp - 0x410]
call esi
mov edi, dword [sym.imp.user32.dll_LoadStringW]
sub esp, 4
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x51d
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp], 0
call esi
lea esi, [ebp - 0x210]
sub esp, 4
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 0x51e
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
jmp case.0x404804.1301
shr edx, 0x10
cmp edx, 1
jne case.0x404804.1301
mov esi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [ebp - 0x990], esi
mov dword [esp + 8], 0x147
mov dword [esp + 4], 0x521
mov dword [esp], edi
call esi
sub esp, 0x14
mov ebx, eax
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x100c
mov dword [esp + 4], 0x526
mov dword [esp], edi
call esi
sub esp, 0x14
mov esi, eax
cmp dword [0x428014], eax
jbe case.0x404804.1301
shl eax, 5
add eax, dword [0x42800c]
mov dword [eax + 0x18], ebx
mov ebx, dword [ebx*8 + 0x41a0a0]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
lea edx, [ebp - 0x210]
sub esp, 4
mov dword [ebp - 0x99c], edx
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [ebp - 0x99c]
mov dword [ebp - 0x410], 1
sub esp, 0x10
mov dword [ebp - 0x40c], esi
cmp word [ebp - 0x210], 0
mov dword [ebp - 0x408], 1
mov dword [ebp - 0x3fc], eax
je 0x405f22
nop
add eax, 2
cmp word [eax], 0
jne 0x4057b0
sub eax, dword [ebp - 0x99c]
mov dword [esp + 0xc], 0
sar eax, 1
mov dword [esp + 8], 0x104c
mov dword [ebp - 0x3f8], eax
lea eax, [ebp - 0x410]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x990]
mov dword [esp + 4], 0x526
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x4047a9
shr edx, 0x10
cmp edx, 1
jne case.0x404804.1301
mov ecx, str.DefaultVoiceInput
mov edx, 0x51b
jmp 0x4047a2
mov dword [esp + 4], 0x521
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_EnableWindow]
sub esp, 8
jmp case.0x404804.1301
test byte [0x417220], 4
je 0x404630
mov eax, dword [0x42800c]
mov esi, dword [eax + esi]
test esi, esi
je 0x405eb4
mov eax, esi
shr eax, 0x10
je 0x405e58
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x419ead
sub esp, 8
test eax, eax
jne 0x405b3a
cmp word [esi], 0
je 0x405ee6
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x4058a8
mov eax, 0x224c
mov dword [ebp - 0x994], ebx
lea ecx, [ebp - 0x20e]
mov word [ebp - 0x210], ax
jmp 0x40590b
cmp ax, 9
je 0x405ce8
cmp ax, 0xa
jne 0x405d06
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea ebx, [ebp - 0xee]
lea eax, [edx - 1]
cmp ecx, ebx
ja 0x405b06
test edx, edx
jle 0x405b06
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x405cd1
jbe 0x4058d0
cmp ax, 0x22
je 0x405d60
cmp ax, 0x5c
jne 0x405cf9
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x4058f0
test byte [0x417220], 4
je 0x404641
mov eax, dword [0x42800c]
mov esi, dword [eax + esi]
test esi, esi
je 0x405edc
mov eax, esi
shr eax, 0x10
je 0x405e86
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x419ead
sub esp, 8
test eax, eax
jne 0x405b9f
cmp word [esi], 0
je 0x405f04
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x405998
mov ecx, 0x224c
mov dword [ebp - 0x994], ebx
mov word [ebp - 0x210], cx
lea ecx, [ebp - 0x20e]
jmp 0x4059fb
cmp ax, 9
je 0x405d78
cmp ax, 0xa
jne 0x405da7
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea ebx, [ebp - 0xee]
lea eax, [edx - 1]
cmp ecx, ebx
ja 0x405b6b
test edx, edx
jle 0x405b6b
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x405d89
jbe 0x4059c0
cmp ax, 0x22
je 0x405e00
cmp ax, 0x5c
jne 0x405d9a
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x4059e0
xor eax, eax
jmp 0x405031
xor eax, eax
jmp 0x404f5d
mov edi, dword [ebp - 0x990]
mov eax, dword [ebp - 0x890]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x40481d
xor eax, eax
jmp 0x404ca1
xor eax, eax
jmp 0x404bf9
lea eax, [ebp - 0x810]
mov dword [ebp - 0x9a8], eax
jmp 0x4055a9
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x994]
test eax, eax
jle 0x405ed4
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x210]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Could_not_get_MMDevice_for__s:_0x_08lx_n
mov dword [esp + 8], 0x41a070
mov dword [esp + 4], 0x417220
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404652
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x994]
test eax, eax
jle 0x405efc
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x210]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.IPropertyStore_SetValue_failed_for__s:_0x_08lx_n
mov dword [esp + 8], 0x41a070
mov dword [esp + 4], 0x417220
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404630
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x994]
test eax, eax
jle 0x405f1a
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x210]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Could_not_open_property_store_for__s:_0x_08lx_n
mov dword [esp + 8], 0x41a070
mov dword [esp + 4], 0x417220
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404641
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x610]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9a8]
mov dword [esp + 4], 0x100
mov dword [esp], eax
call sym._swprintf.constprop.0
mov esi, dword [ebp - 0x208]
mov edx, str.SoftwareWineDrivers_
cmp word [str.SoftwareWineDrivers_], 0
je 0x405c19
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x405c10
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x405c20
mov dword [ebp - 0x9ac], 1
jmp 0x4054a4
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x404740
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x404740
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x405e72
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefapply_speaker_configs]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefapply_speaker_configs]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefapply_speaker_configs]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefapply_speaker_configs]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x404740
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x404740
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4058f0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4058f0
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x405e7c
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefapply_speaker_configs]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefapply_speaker_configs]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefapply_speaker_configs]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefapply_speaker_configs]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x4058f0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4058f0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4059e0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4059e0
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x405ea0
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefapply_speaker_configs]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefapply_speaker_configs]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefapply_speaker_configs]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefapply_speaker_configs]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x4059e0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4059e0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unable_to_create_MMDeviceEnumerator:_0x_08lx_n
mov dword [esp + 8], 0x41a070
mov dword [esp + 4], 0x417220
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x40481d
movzx esi, si
mov dword [esp], 0x419ea0
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x405ad5
movzx esi, si
mov dword [esp], 0x419ea0
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x405b3a
mov byte [ecx], al
add ecx, 1
jmp 0x404740
mov byte [ecx], al
add ecx, 1
jmp 0x4058f0
movzx esi, si
mov dword [esp], 0x419ea0
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0_1
mov edx, eax
jmp 0x405b9f
mov byte [ecx], al
add ecx, 1
jmp 0x4059e0
mov edx, 0x419ea6
jmp 0x405ad5
mov edx, 0x419ea6
jmp 0x405b3a
mov word [ebp - 0x210], 0x224c
lea ecx, [ebp - 0x20e]
mov byte [ebp - 0x20e], 0x22
lea eax, [ecx + 1]
jmp 0x405ac2
mov edx, 0x419ea6
jmp 0x405b9f
mov word [ebp - 0x210], 0x224c
lea ecx, [ebp - 0x20e]
mov byte [ebp - 0x20e], 0x22
lea eax, [ecx + 1]
jmp 0x405b27
mov word [ebp - 0x210], 0x224c
lea ecx, [ebp - 0x20e]
mov byte [ebp - 0x20e], 0x22
lea eax, [ecx + 1]
jmp 0x405b8c
mov eax, dword [ebp - 0x99c]
jmp 0x4057b9