Function at 0x411330
Capabilities:
Check os version
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x54e6a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.004fc3ae
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esi], vtable.CBackProcWnd.0
mov ebx, 0xa
mov dword [esi + method.CCommandLineInfo.virtual_0], vtable.CList_unsigned_int__unsigned_int_.0
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x118], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x124], edi
mov dword [esi + 0x128], ebx
lea eax, [esi + 0x12c]
push eax
mov byte [esp + 0x28], 1
call fcn.00416e60
lea ecx, [esi + 0x170]
push ecx
mov byte [esp + 0x28], 2
call fcn.004a3080
lea edx, [esi + 0x1f4]
push edx
mov byte [esp + 0x28], 3
call fcn.0041a150
lea ecx, [esi + 0x248]
mov byte [esp + 0x24], 4
call fcn.00507359
push 0x1d3
lea ebp, [esi + 0x250]
push ebp
mov byte [esp + 0x2c], 5
call fcn.004b08f0
mov dword [ebp], vtable.CWarningDlg.0
mov dword [ebp + 0x74], vtable.CWarningDlg.1.0
mov dword [ebp + 0x194], 0x816
mov dword [ebp + 0x198], edi
mov byte [esp + 0x24], 6
call fcn.00505193
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x411437
push 0x80004005
call fcn.00402900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x3f0], eax
lea ecx, [esi + 0x3f4]
push ecx
mov byte [esp + 0x28], 7
call fcn.004a6aa0
lea edx, [esi + 0x460]
push edx
mov byte [esp + 0x28], 8
call fcn.004dab60
mov byte [esp + 0x24], 9
mov byte [esi + 0x24], 1
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x15c], 0xffffffff
mov dword [esi + 0x158], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x108], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x74], edi
cmp dword [0x5b6edc], edi
jne 0x4114fe
push 0x5b6ed8
mov dword [0x5b6ed8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x5b6edc], 6
jne 0x411516
cmp dword [0x5b6ee0], edi
jne 0x411516
mov eax, 1
jmp 0x411518
xor eax, eax
push edi
push edi
push edi
push edi
mov dword [esi + 0x3ec], eax
mov dword [esi + 0x458], edi
mov dword [esi + 0x45c], edi
mov dword [esi + 0x58], 1
call fcn.005001e4
push eax
lea ecx, [esp + 0x18]
call fcn.00404670
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push DirectSoundEnumerateW
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x34]
push str.Realtek_HD_Audio_CPL_for_Vista
push eax
push edi
mov ecx, esi
call fcn.004ff4e6
push 0x5b6ea8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ebp, [esi + 0x78]
mov dword [esp + 0x18], 0x20
push edi
push edi
push edi
push edi
call ebx
mov dword [ebp], eax
add ebp, 4
sub dword [esp + 0x18], 1
jne 0x411582
push edi
push 1
push edi
push edi
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0xf8], eax
call ebx
push edi
push 4
push edi
push edi
push esi
push 0x412bd0
mov dword [esi + 0xfc], eax
call fcn.00504fe7
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x4116d1
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push edi
push edi
lea eax, [esi + 0x100]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x2c]
push eax
push edx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
push edi
push edi
push edi
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x104], eax
call ebx
push edi
push 4
push edi
push edi
push esi
push 0x414590
mov dword [esi + 0x108], eax
call fcn.00504fe7
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x41164b
mov byte [esp + 0x24], 9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4116ea
push 2
push edi
push edi
lea eax, [esi + 0x10c]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x2c]
push eax
push edx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
push edi
push edi
push edi
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x14c], eax
call ebx
push edi
push 4
push edi
push edi
push esi
push 0x414790
mov dword [esi + 0x150], eax
call fcn.00504fe7
mov ebx, eax
cmp ebx, edi
je 0x41162d
push 2
push edi
push edi
lea eax, [esi + 0x154]
push eax
call ebp
mov ecx, dword [ebx + 0x2c]
push eax
push ecx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [ebx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call fcn.004136f0
mov byte [esp + 0x24], 9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4116f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4