Function at 0x424170
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a26d9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x188
mov eax, dword [0x4cf22c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 8]
cmp byte [eax + 0x38], 0
jne 0x424523
push ecx
lea ecx, [esi + 0x10]
call fcn.00409510
mov eax, dword [esi + 4]
mov byte [eax + 0x38], 1
lea eax, [ebp - 0x160]
push eax
mov dword [ebp - 0x160], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4243fb
mov eax, dword [ebp - 0x15c]
cmp eax, 6
jae 0x4243fb
cmp eax, 5
jne 0x424213
cmp dword [ebp - 0x158], 1
je 0x4243fb
cmp byte [0x4cfc50], 0
je 0x424523
push 0x18
push str.__disable_to_use_pipe_:
lea ecx, [ebp - 0x2c]
mov byte [0x4cfc50], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0040b740
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0x10
push str.major_version_
cmp eax, 0x10
jb 0x424286
cmp edx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ecx + 0x10]
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.0047e090
add esp, 0xc
mov byte [esi + 0x10], 0
jmp 0x42429d
mov byte [ebp - 0x164], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x164]
push 0x10
call fcn.00411410
mov edx, dword [ebp - 0x15c]
lea ecx, [ebp - 0x180]
call fcn.004240c0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00409760
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x16c]
cmp edx, 0x10
jb 0x4242f9
mov ecx, dword [ebp - 0x180]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4242ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424543
push edx
push ecx
call fcn.00466e3f
add esp, 8
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0x12
push str.__minor_version_
cmp eax, 0x12
jb 0x424330
cmp edx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ecx + 0x12]
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.0047e090
add esp, 0xc
mov byte [esi + 0x12], 0
jmp 0x424347
mov byte [ebp - 0x164], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x164]
push 0x12
call fcn.00411410
mov edx, dword [ebp - 0x158]
lea ecx, [ebp - 0x198]
call fcn.004240c0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00409760
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x184]
cmp edx, 0x10
jb 0x4243a3
mov ecx, dword [ebp - 0x198]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424399
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424548
push edx
push ecx
call fcn.00466e3f
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.00409920
mov ecx, str.CCefInputPipeServerThread::Init
call fcn.00410710
mov edx, dword [ebp - 0x18]
add esp, 0x18
cmp edx, 0x10
jb 0x424523
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4243ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42454d
push edx
push ecx
call fcn.00466e3f
add esp, 8
jmp 0x424523
push 0xc
call fcn.00466a94
mov edi, eax
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x42441f
lock inc dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [edi], eax
mov eax, dword [esi + 8]
mov dword [edi + 4], eax
mov dword [edi + 8], 0x424560
mov dword [ebp - 0x164], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
call fcn.00402010
mov dword [ebp - 0x48], 0x4bc340
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x48]
call fcn.004020e0
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x168], esi
test esi, esi
je 0x4244bd
mov esi, dword [esi + 4]
test esi, esi
je 0x4244ad
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4244ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4244ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0xc
push dword [ebp - 0x168]
call fcn.00466e3f
add esp, 8
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
push esi
call fcn.00465267
add esp, 4
test eax, eax
je 0x4244dd
push eax
call fcn.004647e5
add esp, 4
push esi
call fcn.004651ab
add esp, 4
push edi
call fcn.0046447e
add esp, 4
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x42450a
push 1
call fcn.00464812
mov eax, dword [ebp - 0x30]
add esp, 4
push eax
push dword [ebp - 0x34]
call fcn.0046555f
add esp, 8
test eax, eax
je 0x424523
push eax
call fcn.004647e5
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004667cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004852a9
call fcn.004852a9
call fcn.004852a9
int3