Function at 0x10141cf0
Capabilities:
Check for peb ntglobalflag flag
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, ecx
cmp byte [edx + 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
je 0x10141f75
inc dword [edx + 0x40]
lea esi, [edx + 0x70]
mov eax, dword [edx + 0x5c]
mov dword [edx + 0x60], eax
mov eax, dword [edx + 0x98]
mov ecx, dword [edx + 0x9c]
mov dword [edx + 0xa0], eax
mov dword [edx + 0xa4], ecx
mov eax, dword [edx + 0x58]
mov dword [edx + 0x5c], eax
mov eax, dword [edx + 0x90]
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x98], eax
mov dword [edx + 0x9c], ecx
mov eax, dword [edx + 0x54]
mov dword [edx + 0x58], eax
mov eax, dword [edx + 0x88]
mov ecx, dword [edx + 0x8c]
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], ecx
mov eax, dword [edx + 0x50]
mov dword [edx + 0x54], eax
mov eax, dword [edx + 0x80]
mov ecx, dword [edx + 0x84]
mov dword [edx + 0x88], eax
mov dword [edx + 0x8c], ecx
mov eax, dword [edx + 0x4c]
mov dword [edx + 0x50], eax
mov eax, dword [edx + 0x78]
mov ecx, dword [edx + 0x7c]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov eax, dword [edx + 0x48]
mov dword [edx + 0x4c], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx + 0x78], eax
mov dword [edx + 0x7c], ecx
movss xmm3, dword [edx + 0x44]
movss dword [edx + 0x48], xmm3
mov eax, dword [edx + 0x68]
mov ecx, dword [edx + 0x6c]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [ebp - 8], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x11d0c5b8]
mov dword [edx + 0x68], ebx
mov dword [edx + 0x6c], edi
mov dword [edx + 0xa8], ebx
mov eax, dword [eax + ecx*4]
mov dword [edx + 0xac], edi
mov byte [ebp + 0xf], 0
mov eax, dword [eax + 0x10]
movss xmm2, dword [eax + 0x7fe0]
movss dword [edx + 0x44], xmm2
movss xmm0, dword [edx + 0xd0]
mov eax, dword [edx + 0x30]
minss xmm0, xmm2
mov dword [ebp - 4], eax
movss dword [edx + 0xd0], xmm0
movss xmm0, dword [edx + 0xd4]
maxss xmm0, xmm2
movss dword [edx + 0xd4], xmm0
movss xmm0, dword [0x1122d24c]
comiss xmm0, xmm2
setae cl
sub eax, 0
je 0x10141f36
sub eax, 1
je 0x10141eb7
sub eax, 1
je 0x10141e5b
xor ebx, ebx
jmp 0x10141f2f
test cl, cl
je 0x10141e69
mov ebx, 1
jmp 0x10141f44
cvtps2pd xmm0, xmm3
cvtps2pd xmm1, xmm2
mulsd xmm0, qword [0x1122d2c0]
comisd xmm0, xmm1
ja 0x10141e54
mov ecx, dword [edx + 0x38]
add ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x3c]
adc eax, dword [edx + 0x2c]
cmp edi, eax
ja 0x10141e54
jb 0x10141e93
cmp ebx, ecx
ja 0x10141e54
comiss xmm2, dword [0x1122d340]
jb 0x10141f5f
mov eax, dword [edx + 0x34]
cmp eax, dword [edx + 0x18]
jb 0x10141f5f
mov byte [ebp + 0xf], 1
xor ebx, ebx
jmp 0x10141f44
test cl, cl
jne 0x10141f5f
mov eax, dword [edx + 0x34]
cmp eax, dword [edx + 0x1c]
jbe 0x10141ece
mov ebx, 2
jmp 0x10141f44
xor eax, eax
sub ebx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, ebx
sbb edi, dword [ebp - 0xc]
mov ecx, edi
shld ecx, eax, 2
shl eax, 2
add ebx, eax
adc edi, ecx
mov ecx, 1
shld edi, ebx, 1
mov dword [ebp - 0xc], edi
add ebx, ebx
mov eax, dword [edx + 0x34]
mov edi, 6
cmp eax, 6
mov dword [ebp - 8], ecx
cmova eax, edi
cmp ecx, eax
jae 0x10141f41
mov ecx, dword [esi]
sub ecx, dword [esi + 8]
mov eax, dword [esi + 4]
sbb eax, dword [esi + 0xc]
cmp eax, dword [ebp - 0xc]
ja 0x10141f2a
jb 0x10141f21
cmp ecx, ebx
ja 0x10141f2a
mov ecx, dword [ebp - 8]
inc ecx
add esi, 8
jmp 0x10141ef6
mov ebx, 2
cmp ebx, dword [edx + 0x30]
je 0x10141f62
jmp 0x10141f44
test cl, cl
je 0x10141f5f
mov ebx, 1
jmp 0x10141f44
mov ebx, dword [ebp - 4]
mov eax, dword [edx + 0xa8]
mov ecx, dword [edx + 0xac]
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], ecx
mov dword [edx + 0x34], 0
jmp 0x10141f62
mov ebx, dword [ebp - 4]
inc dword [edx + 0x34]
cmp byte [ebp + 0xf], 0
mov dword [edx + 0x30], ebx
je 0x10141f75
mov ecx, edx
call fcn.10141a70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8