Function at 0x411c40
Capabilities:
Check os version
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x5524b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.004ffdf5
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esi], vtable.CBackProcWnd.0
mov dword [esi + method.CArray_int__int_const__.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], 0xa
lea eax, [esi + 0x12c]
push eax
mov byte [esp + 0x28], 1
call fcn.004174d0
lea ecx, [esi + 0x170]
push ecx
mov byte [esp + 0x28], 2
call fcn.004a7ce0
lea edx, [esi + 0x1f4]
push edx
mov byte [esp + 0x28], 3
call fcn.0041a7e0
lea ecx, [esi + 0x248]
mov byte [esp + 0x24], 4
call fcn.0050ad51
push 0x1d3
lea ebp, [esi + 0x250]
push ebp
mov byte [esp + 0x2c], 5
call fcn.004b5460
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.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x411d46
push 0x80004005
call fcn.004021d0
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.004ab6c0
lea edx, [esi + 0x468]
push edx
mov byte [esp + 0x28], 8
call fcn.004df870
mov byte [esp + 0x24], 9
lea ebx, [esi + 0x10c]
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 [ebx], 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 [0x5bef2c], edi
jne 0x411e0f
push 0x5bef28
mov dword [0x5bef28], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x5bef2c], 6
jne 0x411e27
cmp dword [0x5bef30], edi
jne 0x411e27
mov eax, 1
jmp 0x411e29
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 + 0x460], edi
mov dword [esi + 0x464], edi
mov dword [esi + 0x58], 1
mov dword [0x5bee00], edi
call fcn.00503c19
push eax
lea ecx, [esp + 0x1c]
call fcn.00405ee0
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push DirectSoundCreate
mov byte [esp + 0x44], 0xa
mov eax, dword [esp + 0x38]
push 0x56ac44
push eax
push edi
mov ecx, esi
call fcn.00502f1b
push 0x5beedc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
call ebp
push edi
push edi
push edi
push edi
mov dword [esi + 0x104], eax
call ebp
push edi
push 4
push edi
push edi
push esi
push 0x414d30
mov dword [esi + 0x108], eax
call fcn.005093c6
mov ebp, eax
cmp ebp, edi
je 0x411eee
push 2
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
call edi
mov ecx, dword [ebp + 0x2c]
push eax
push ecx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [ebp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [esp + 0x24], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f13
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