Function at 0x30003f4a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30008f1e
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x3000207c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 8], 0
jne 0x30003f8e
call fcn.300027f1
test al, al
jne 0x30003f8e
xor al, al
jmp 0x3000419e
lea eax, [ebp - 0x32c]
push eax
xor edi, edi
mov dword [ebp - 0x32c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x30003fe5
cmp dword [ebp - 0x328], 6
jb 0x30003fe5
push 0x30001cdc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x30003fe5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x30001cc8
push esi
call edi
push 0x30001cac
push esi
mov ebx, eax
call edi
test ebx, ebx
mov edi, eax
je 0x30003fe5
call ebx
call fcn.30002ab2
mov byte [0x3000b269], al
call fcn.300036b0
xor ebx, ebx
cmp dword [0x3000b28c], ebx
je 0x30003f87
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x30001c84
call esi
push 0x30001c54
mov dword [0x3000b26c], eax
call esi
push 0x30001c34
mov dword [0x3000b270], eax
call esi
cmp edi, ebx
mov dword [0x3000b274], eax
je 0x30004031
push 1
push eax
call edi
push 0x30001bfc
call esi
push 0x30001bb8
mov dword [0x3000b278], eax
call esi
push 0x30001b84
mov dword [0x3000b27c], eax
call esi
push 0x30
lea ecx, [ebp - 0x360]
push ebx
push ecx
mov dword [0x3000b280], eax
call sub.MSVCR80.dll_memset
mov eax, dword [0x3000b288]
add esp, 0xc
push 0x6b
push eax
mov dword [ebp - 0x360], 0x30
mov dword [ebp - 0x358], 0x30005472
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x338], 0x30001298
call dword [sym.imp.USER32.dll_LoadIconW]
lea edx, [ebp - 0x360]
push edx
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x334], ebx
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, dword [0x3000b28c]
push 0xff
lea eax, [ebp - 0x210]
push eax
push 0x2711
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [0x3000b288]
push ebx
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x80000000
lea eax, [ebp - 0x210]
push eax
push 0x30001298
push 0x8000080
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
cmp esi, ebx
je 0x30003f87
push ebx
push esi
push ebx
push 1
mov ecx, 0x3000b4ec
mov dword [0x3000b284], esi
call fcn.30005cb4
cmp byte [0x3000b269], 0
je 0x3000419c
cmp byte [0x3000b26a], 0
je 0x3000419c
call fcn.300026bc
test al, al
je 0x3000419c
push 0x5c
call fcn.3000762a
mov dword [ebp - 0x330], eax
mov ecx, dword [0x3000b27c]
mov edx, dword [0x3000b278]
push ecx
push edx
push esi
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.300060c0
cmp eax, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [0x3000b4c4], eax
je 0x3000419c
push 0x3000b49c
mov ecx, eax
call fcn.30006106
test eax, eax
jl 0x3000419c
mov ecx, dword [0x3000b4c4]
call fcn.30006185
test eax, eax
jne 0x3000419c
mov eax, dword [0x3000b4c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [0x3000b4c4], ebx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.300068d0
mov esp, ebp
pop ebp
ret 4