Function at 0x10004570
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x100351e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11c
lea eax, [ebp - 0x180]
mov esi, ecx
push 0
push eax
call fcn.10015970
add esp, 0xc
mov dword [ebp - 0x180], 0x11c
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x17c], 6
jb 0x100047df
push esi
call fcn.10003b80
test eax, eax
je 0x100047df
cmp dword [esi], 0
je 0x100045ef
push str.Hook_break
call fcn.1000e7a0
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012e1a
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov ecx, esi
call fcn.100038b0
mov dword [esi], 1
call fcn.10011600
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10011ad0
cmp dword [0x100364b0], 0
movups xmm0, xmmword [str.kernelbase.dll]
mov eax, dword [0x1002b16c]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x30], eax
movq xmm0, qword [0x1002b164]
movzx eax, word [0x1002b170]
movq qword [ebp - 0x38], xmm0
movups xmm0, xmmword [str.kernel32.dll]
mov word [ebp - 0x2c], ax
movzx eax, word [0x1002a7a4]
mov word [ebp - 0x4c], ax
mov eax, dword [0x1002b17c]
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0xc], eax
movq xmm0, qword [0x1002a79c]
movzx eax, word [0x1002b180]
movq qword [ebp - 0x54], xmm0
movq xmm0, qword [str.CreateProcessW]
mov word [ebp - 8], ax
movzx eax, byte [0x1002b182]
movq qword [ebp - 0x14], xmm0
movups xmm0, xmmword [0x1002b184]
mov byte [ebp - 6], al
movzx eax, byte [0x1002b194]
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x18], al
jne 0x100046f4
lea eax, [ebp - 0x48]
push eax
call esi
test eax, eax
je 0x100046f4
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
mov edi, eax
mov dword [0x100364b0], edi
test edi, edi
je 0x100046f4
push 0x10003e10
push 0x100364b0
call fcn.10011060
push 0x10003e10
push edi
lea eax, [ebp - 0x14]
push eax
push str.Hook__s:_p__p
call fcn.1000e7a0
add esp, 0x10
cmp dword [0x100364b4], 0
jne 0x10004740
lea eax, [ebp - 0x64]
push eax
call esi
test eax, eax
je 0x10004740
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
mov edi, eax
mov dword [0x100364b4], edi
test edi, edi
je 0x10004740
push 0x10003db0
push 0x100364b4
call fcn.10011060
push 0x10003db0
push edi
lea eax, [ebp - 0x14]
push eax
push str.Hook__s:_p__p
call fcn.1000e7a0
add esp, 0x10
cmp dword [0x100364b8], 0
jne 0x1000478c
lea eax, [ebp - 0x48]
push eax
call esi
test eax, eax
je 0x1000478c
lea ecx, [ebp - 0x28]
push ecx
push eax
call ebx
mov edi, eax
mov dword [0x100364b8], edi
test edi, edi
je 0x1000478c
push 0x10003e40
push 0x100364b8
call fcn.10011060
push 0x10003e40
push edi
lea eax, [ebp - 0x28]
push eax
push str.Hook__s:_p__p
call fcn.1000e7a0
add esp, 0x10
cmp dword [0x100364bc], 0
jne 0x100047d8
lea eax, [ebp - 0x64]
push eax
call esi
test eax, eax
je 0x100047d8
lea ecx, [ebp - 0x28]
push ecx
push eax
call ebx
mov esi, eax
mov dword [0x100364bc], esi
test esi, esi
je 0x100047d8
push 0x10003de0
push 0x100364bc
call fcn.10011060
push 0x10003de0
push esi
lea eax, [ebp - 0x28]
push eax
push str.Hook__s:_p__p
call fcn.1000e7a0
add esp, 0x10
call fcn.10011660
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10012e1a
mov esp, ebp
pop ebp
ret